-
1. How ro reRender different rich:scrollableDataTable onchange of value?
ilya40umov Jan 17, 2011 1:53 AM (in response to hereisrudro)Could you post your java/xhtml code, please?
-
2. How ro reRender different rich:scrollableDataTable onchange of value?
blabno Jan 17, 2011 2:58 AM (in response to ilya40umov)1 of 1 people found this helpfulPost indexAction source.
From looking at the facelet I can tell that you don't need reRender attribute in your a4j:support cause stuff you want to re render is in a4j:outputPanel which will be updated on each ajax request.
-
3. How ro reRender different rich:scrollableDataTable onchange of value?
blabno Jan 17, 2011 3:12 AM (in response to blabno)Please post the entire class cause this piece of code is insufficient for the diagnosis. My bet is you have both flags on at component creation. Do you use any additional framework or just pure JSF?
-
4. How ro reRender different rich:scrollableDataTable onchange of value?
hereisrudro Jan 17, 2011 3:21 AM (in response to blabno)Hi Bernard
"Both flags on at component Creation."Do you mean to say that I have initialized the variables to true.Then I have not initialized it to true.
If you see ,
lFlag = false;
druckDoc = false;
initially.
Now when I change the dropdown the a4j:support calls the method
dropDownChange() setting one of the flags to true and the other to false.
My guess is at the Java end nothing is wrong as I have debugged that part.I am using JSf+Richfaces thats it.
In Index Action only this much is relevent code wrt to my problem.
Please do let me let me know if this sufficient info or something else you want me to specify.
Thanks for your inputs...
-
5. How ro reRender different rich:scrollableDataTable onchange of value?
ilya40umov Jan 17, 2011 4:11 AM (in response to hereisrudro)Please, try to specify process="tables" attribute for your a4j:support.
-
6. How ro reRender different rich:scrollableDataTable onchange of value?
hereisrudro Jan 17, 2011 4:28 AM (in response to ilya40umov)Nope,Problem still persists.
I have to refresh from the browser to get the correct/desired page.
-
7. How ro reRender different rich:scrollableDataTable onchange of value?
ilya40umov Jan 17, 2011 4:47 AM (in response to hereisrudro)1 of 1 people found this helpful1) put rich:messages on your page
2) Try the same but in a simpler manner( may be you have too many components on you page and too much code in the bean to find out where your problem is). Because it definitely should work.
Like it's described here(post 10):
-
8. How ro reRender different rich:scrollableDataTable onchange of value?
hereisrudro Jan 18, 2011 3:50 AM (in response to hereisrudro)I changed a few things in my approach and now its working fine.
Thanks Everyone for your Inputs