-
1. Re: a4j:poll does not start polling
ilya_shaikovsky Nov 28, 2007 10:38 AM (in response to ment0r_)why I can't see where the poll will be reRendered after attribute set to true?
-
2. Re: a4j:poll does not start polling
ment0r_ Nov 28, 2007 10:50 AM (in response to ment0r_)Hi,
ah ok i see i thought this component will check itself if the boolean flag is set to true...
I reRender the poll component after the submit button has finished its work, but nothing happens again.
So I removed the pollEnabled flag and let reRender the poll again after the submit method is finished.. but same result
thx -
3. Re: a4j:poll does not start polling
ilya_shaikovsky Nov 28, 2007 11:04 AM (in response to ment0r_)please check the demosite (you may freely get sources) to get the example.
-
4. Re: a4j:poll does not start polling
ment0r_ Nov 28, 2007 11:12 AM (in response to ment0r_)I used the example from the JBoss a4j live-demo page:
http://livedemo.exadel.com/richfaces-demo/richfaces/poll.jsf;jsessionid=87BC61CA56909C24D9D54EECE093CA97?c=poll -
5. Re: a4j:poll does not start polling
ilya_shaikovsky Nov 28, 2007 11:18 AM (in response to ment0r_)so.. did the code from sample doesn't works on your side?
-
6. Re: a4j:poll does not start polling
ment0r_ Nov 28, 2007 11:20 AM (in response to ment0r_)Hi,
just now I found the error.. I reRendered the poll in in the a4j:commandButton, but that does not work because the a4j:commandButton has a a4j:support inside.
I put the reRender stuff into the a4j:support component and now it works!
Thanks for help!
greets mentor -
7. Re: a4j:poll does not start polling
ilya_shaikovsky Nov 28, 2007 11:25 AM (in response to ment0r_)Unfortunatelly we start create open JS API only for components from 3.1.0 version. All such components should have JS API sections in developer guide.. Ask please concrete components where ou need API