-
1. Re: Re Render query for a4j button
ilya_shaikovsky Nov 4, 2009 5:02 AM (in response to tanmoyc)you could use EL expressions in reRender and point it to list of strings or comma separated single string of ids. then generate the needed list using parameters in your listeners.
-
2. Re: Re Render query for a4j button
sumeet.singh Nov 4, 2009 5:12 AM (in response to tanmoyc)hi,
I used the way as Ilya suggested. it's working :) -
3. Re: Re Render query for a4j button
tanmoyc Nov 4, 2009 9:58 AM (in response to tanmoyc)Thanks all for your reply.
Current piece of code specifies 4 ids in the rerender attribute of the command button as comma separated strings and not as el expression.
Please let me know if in the current page context only 2 ids among them are required to be rerendered will jsf try to rerender all the 4 components whose ids are mentioned in the rerender attribute of commandbutton.
Excuse me if I asked a basic question but please help me understand the reRender attribute execution. -
4. Re: Re Render query for a4j button
sumeet.singh Nov 4, 2009 10:14 AM (in response to tanmoyc)the number of ID's you pass in reRender, that number of components will be rerendered by JSF
-
5. Re: Re Render query for a4j button
nbelaevski Nov 4, 2009 3:26 PM (in response to tanmoyc)Hello,
Yes, all four IDs will be searched for. But only the existing ones will be re-rendered.