I got a requirement like adding listener at run time.
I found two ways.
way 1:
1. In this approach "setValueChangeListener" we can do.
2. By with the help of MethodBinding to invoke the listener in the same class it self
3. MethodBinding and el class has been deprecated in this approach.
way 2:
1. In this approach "addValueChangeListener" we can do.
2. You need a additional class to perform this.
3. ProcessValueChange you can grab the value.
Step 1: Two methods are implemented
Step 2: final rendering of page.
Download here
I found two ways.
way 1:
1. In this approach "setValueChangeListener" we can do.
2. By with the help of MethodBinding to invoke the listener in the same class it self
3. MethodBinding and el class has been deprecated in this approach.
way 2:
1. In this approach "addValueChangeListener" we can do.
2. You need a additional class to perform this.
3. ProcessValueChange you can grab the value.
Step 1: Two methods are implemented
Step 2: final rendering of page.
Download here
No comments:
Post a Comment