Q Rahman

Greenhorn
+ Follow
since Jul 09, 2009
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Q Rahman

I have got a rich modal panel that gets displayed once the user hits the save button. However, if the form validation fails, the modal panel should not be displayed. Within the save button action method savePromotion(), I set a boolean displayModalPanel property to false if validation fails and to true if if it succeeds (by default it's set to true). Then using rich:componentControl, I display the modal panel which should be rendered only if the displayModalPanel is true. I use the rendered attribute of componentControl to control that. The problem: the modal panel always displays even if the displayModalPanel set to false within savePromotion()method. It seems somehow the rendered is not being re-evaluated. I am not sure how I can get this to work. Any help will be greatly appreciated.

13 years ago
JSF
The listener method never gets called. What am I doing wrong here? BTW, I am using richfaces version 3.3.1.



13 years ago
JSF
Interestingly it doesn't work for me!
13 years ago
JSF
Would you have any code example how to accomplish what you suggested? I tried the following, but am pretty sure this is not what you suggested.

<a4j:support event="oncomplete" reRender="promoList"/>

13 years ago
JSF
I am trying to automatically reRender a datatable when user click on Ok button on a modal panel. For whatever reason it isn't refreshing. What am I doing wrong here? Any help will be greatly appreciated.

13 years ago
JSF