[JBoss JIRA] Created: (RF-4248) a serious design defect
by zhou careprad (JIRA)
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
Priority: Minor
Fix For: 3.1.x
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
14 years, 7 months
[JBoss JIRA] Created: (RF-4064) Problem with a4j:commandLink
by Bob Corcoran (JIRA)
Problem with a4j:commandLink
-----------------------------
Key: RF-4064
URL: https://jira.jboss.org/jira/browse/RF-4064
Project: RichFaces
Issue Type: Bug
Environment: Windows
Reporter: Bob Corcoran
Priority: Minor
We have a page with a few a4j:commandLinks as well as an h:inputText and h:inputTextarea, among other markup. It works fine until we add the attribute required="true" to either the inputText or InputTextarea. When we add the required="true" to either the inputText or InputTextarea, one of the a4j:commandLinks's (further up on the page) breaks. It still renders fine, but the method on the backing bean (in this case a SEAM stateful bean) is not called, because the link does not fire. What's even more odd is that the remaining a4j:commandLinks on the page continue to work according to specs. These links are contained in separate rich:column tags.
--
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
14 years, 7 months