[
https://jira.jboss.org/jira/browse/RF-4248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Belaevski resolved RF-4248.
--------------------------------
Fix Version/s: (was: Future)
Resolution: Duplicate Issue
Assignee: Tsikhon Kuprevich (was: Nick Belaevski)
Duplicates https://jira.jboss.org/jira/browse/RF-4387
> a serious design defect
> -----------------------
>
> Key: RF-4248
> URL: https://jira.jboss.org/jira/browse/RF-4248
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.4
> Reporter: zhou careprad
> Assignee: Tsikhon Kuprevich
> Priority: Minor
>
> We encounter a serious problem in the project that based on richfaces.
> for example:
> <h:panelGrid id="boxGrid" binding="#{bean.boxGrid}">
>
> </h:panelGrid>
> <a4j:commandButton ajaxSingle="true" id="testButton" value="TEST"
>
> binding="#{bean.testButton}"></a4j:commandButton>
> <h:panelGrid style="display:none">
> <a4j:poll id="poll"
> actionListener="#{pollRequestBean.poll}"
> binding="#{pollRequestBean.pollButton}" interval="2000"
> />
> </h:panelGrid>
> as you see,we want to modify the panelGrid(id="boxGrid") when user click the
> button(id="testButton"),then when rerender,some changes will show in the
> content
> of the panelgrid.And,the poll is also what we needed(the reason is
> affirmative). But this has a big problem--synchronization!
> in such case:a user click a button,richfaces fire the event to it's
> listener(alias as 'la'),and the listener(la) began to update the boxGrid(the
> back-binding of the
> panelGrid),in the same time,the poll also come to request,what happen--the
> new comming request will update the richfaces' component tree,the boxGrid(the
> back-binding)
> also update,but the listener(la) did not know this,it still hold the old
> model,this cause the change to the model has no mean to the ui.
> We have try many method to solve this problem,but all is in vain.you may
> think push,the push alos will update the component tree when the event is
> fired.
> I think this a serious problem to richfaces.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues