-
1. Re: Any way to cancel reRender/conditional reRender
ilya_shaikovsky Nov 9, 2009 4:56 AM (in response to raihankibria)you could point reRender to List of ids or just String(comma separated list) and fill the list in your action. If submission is not successful - the action will not be called and the list will remains empty.
-
2. Re: Any way to cancel reRender/conditional reRender
raihankibria Nov 15, 2009 2:00 AM (in response to raihankibria)Thanks a lot. It works fine just like you told. I really appreciate from the bottom of my heart your solution.
I am just wondering whether to make a new feature request. It looks as if it will do good if we could write something like
<a4j:commandButton reRender="ContainerPanel" reRenderCondition="#{serverSide.successfulOperationBoolean}" action=...
I have been developing with richfaces for quite a while now..and find richfaces excellent in every aspect. My style designer likes to rearrange forms including changing IDs of the components. Having to mention IDs on the server side diminishes the loose coupling of UI with server side actions and beans. Just wondering whether a new feature request is warranted.
You guys are great. Thanks a lot for everything.
Raihan -
3. Re: Any way to cancel reRender/conditional reRender
nbelaevski Nov 15, 2009 6:43 AM (in response to raihankibria)Hi Raihan,
This can be rewritten as:<a4j:commandButton reRender="#{serverSide.successfulOperationBoolean ? 'ContainerPanel' : null}" action=...
Are you ok with such solution? -
4. Re: Any way to cancel reRender/conditional reRender
raihankibria Nov 16, 2009 2:29 AM (in response to raihankibria)Hi,
Thanks for your really prompt reply. I have nothing to say but just profound gratitude. The solution you provided is perfect for me.
Over the years I have converted some applications made with MyFaces/ tomahawk to richfaces. When I had started jsf richfaces were not so popular, therefore, I had to stick to myfaces/tomahawk. My experience was that to work independently with a style designer, it helps to de-couple UI from the backing beans.
Your solution is perfectly in line with my development. Just awesome!
Thanks and hope I will from time to time ask for some fore advice.
Regards.
raihan