-
1. Re: datascroller update problem?
sergeysmirnov Jun 5, 2007 10:05 AM (in response to yevgen_78)post the code snippet of the page
-
2. Re: datascroller update problem?
yevgen_78 Jun 5, 2007 10:15 AM (in response to yevgen_78)there no code :)
simple
<rich:dataTable binding="#{jobsBean.table}" id="test"/>
<rich:datascroller for="test" maxPages="20" />
the dataTable will be dynamic created
on the bean side there is no code for the datascroller (must be???) -
3. Re: datascroller update problem?
yevgen_78 Jun 5, 2007 10:18 AM (in response to yevgen_78)and one more thing
if i change the order of creation
from<rich:dataTable binding="#{jobsBean.table}" id="test"/> <rich:datascroller for="test" maxPages="20" />
to<rich:datascroller for="test" maxPages="20" /> <rich:dataTable binding="#{jobsBean.table}" id="test"/>
exceptionjava.lang.IllegalArgumentException: could not dataTable with id 'test' org.richfaces.component.UIDatascroller.getDataTable(UIDatascroller.java:210) org.richfaces.renderkit.html.DataScrollerRenderer.encodeBegin(DataScrollerRenderer.java:52) javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:703)
-
4. Re: datascroller update problem?
sergeysmirnov Jun 5, 2007 10:27 AM (in response to yevgen_78)about order problem see my comment at : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051173#4051173
-
5. Re: datascroller update problem?
yevgen_78 Jun 5, 2007 10:37 AM (in response to yevgen_78)ok, thanks (good to know :)
could you reproduce a first problem (with datascroller) or you need more information from me? -
6. Re: datascroller update problem?
sergeysmirnov Jun 5, 2007 10:41 AM (in response to yevgen_78)I cannot reproduce as soon as I understand almost nothing from what you see
-
7. Re: datascroller update problem?
yevgen_78 Jun 5, 2007 10:44 AM (in response to yevgen_78)Wow:
it works. I mean the first and the second example.
I surrounded simple my table and scroller with panelgroup and
now no refresh problems.
!!!
But one problem still exists.
I can't set table id only in my jsp (not from the programm). Otherwise exception that table with id (for example test) not found. So only in jsp.
Is it well-known problem? -
8. Re: datascroller update problem?
yevgen_78 Jun 5, 2007 10:45 AM (in response to yevgen_78)...
I can set table id only in my jsp (not from the programm).
...