-
1. Re: rich:scroller data loss
ilya_shaikovsky Nov 3, 2009 4:55 AM (in response to frisch)add ajaxSingle=false to dataScroller component. It's one of the components which has this set to true by default.
-
2. Re: rich:scroller data loss
frisch Nov 3, 2009 9:38 AM (in response to frisch)it works perfectly now
thanks a lot -
3. Re: rich:scroller data loss
adrianoschmidt May 27, 2011 3:51 PM (in response to ilya_shaikovsky)I tried ajaxSingle="false", but when i change the page my checkboxes are unselected. What can I do?
<rich:dataTable id="tblBlocos" rows="10" var="item" value="#{avaliacaoBean.blocosDataModel}" width="100%">
<rich:column width="8%">
<h:selectBooleanCheckbox value="#{item.checked}"/>
<h:selectBooleanCheckbox />
</rich:column>
<rich:column width="12%">
<f:facet name="header">
<h:outputText value="#{bundle.codigo}"></h:outputText>
</f:facet>
<h:outputText value="#{item.data.codigo}"></h:outputText>
</rich:column>
<rich:column width="80%">
<f:facet name="header">
<h:outputText value="a#{bundle.descricao}"></h:outputText>
</f:facet>
<h:outputText value="#{item.data.descricao}"></h:outputText>
</rich:column>
</rich:dataTable>
<rich:datascroller for="tblBlocos" ajaxSingle="false"/>
Thanks,
Adriano Schmidt.
-
4. Re: rich:scroller data loss
ilya_shaikovsky Jun 1, 2011 5:11 PM (in response to adrianoschmidt)maybe you playing with RF 4 already? Then you should use execute="@form" instead.
-
5. Re: rich:scroller data loss
adrianoschmidt Jun 2, 2011 8:18 AM (in response to ilya_shaikovsky)So, in my project with JSF2.0 and RF4 i used execute="@form" and it works... but in my project with JSF1.2 and RF3.3.3 nothing works... do you have any idea?
Thanks,
Adriano Schmidt
-
6. Re: rich:scroller data loss
ilya_shaikovsky Jun 2, 2011 11:13 AM (in response to adrianoschmidt)again.
RF 4. Using execute - make the dataTable processed. e.g. by pointing @form to execute.
RF 3.3 use ajaxSingle="false" to indicate that all the form should be processed.
using that rules all should works. I checked that my inputs in table stored if using dataScroller like that.
Do you have scroller and table in the same form?