[JBoss JIRA] Closed: (RF-916) org.richfaces.event.NodeSleectEvent class missed
by Aleksej Yanul (JIRA)
[ http://jira.jboss.com/jira/browse/RF-916?page=all ]
Aleksej Yanul closed RF-916.
----------------------------
> org.richfaces.event.NodeSleectEvent class missed
> ------------------------------------------------
>
> Key: RF-916
> URL: http://jira.jboss.com/jira/browse/RF-916
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Reporter: Alexey Kakunin
> Assigned To: Aleksej Yanul
> Fix For: 3.2.0
>
>
> I just migrated from 3.0.1 to 3.1 and found followed issue: class org.richfaces.event.NodeSelectedEvent used as argument method binding for nodeSelectListener attribute in rich:tree tag seems was removed from sources.
> Anyway, then I try to use AjaxActionEvent instead of it - I still got error then I select the node:
> /categoryQuestions.xhtml @22,57 nodeSelectListener="#{questionsController.onNodeSelect}": Method not found: com.auctionpal.admin.web.bean.QuestionsController(a)129a3fd.onNodeSelect(org.richfaces.event.NodeSelectedEvent)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 6 months
[JBoss JIRA] Closed: (RF-409) dataScroller, missing reRender attribute handling
by Viktor Volkov (JIRA)
[ http://jira.jboss.com/jira/browse/RF-409?page=all ]
Viktor Volkov closed RF-409.
----------------------------
> dataScroller, missing reRender attribute handling
> -------------------------------------------------
>
> Key: RF-409
> URL: http://jira.jboss.com/jira/browse/RF-409
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.0.1
> Environment: win32, tomcat5.5
> <myfaces.version>1.1.4<tomahawk.version>1.1.6<facelets.version>1.1.12<ajax4jsf.version>1.1.1<richfaces.version>3.0.1
> Reporter: Wojtas Koziej
> Fix For: 3.1.0
>
>
> in documentation we can read: attribute reRender - Id['s] (in format of call UIComponent.findComponent()) of components, rendered in case of AjaxRequest caused by this component. Can be single id, comma-separated list of Id's, or EL Expression with array or Collection.
> I didn't found such handling in this component. reRender doesn't work if I want to rerender component outside the rich:dataTable.
> I've tried some code modifications in UIDataScroller and it helps me:
> Index: C:/eclipse/workspace/richfaces/3_0_1/richfaces/datascroller/src/main/java/org/richfaces/component/UIDatascroller.java
> ===================================================================
> --- C:/eclipse/workspace/richfaces/3_0_1/richfaces/datascroller/src/main/java/org/richfaces/component/UIDatascroller.java (revision 1443)
> +++ C:/eclipse/workspace/richfaces/3_0_1/richfaces/datascroller/src/main/java/org/richfaces/component/UIDatascroller.java (working copy)
> @@ -21,6 +21,7 @@
>
> package org.richfaces.component;
>
> +import java.util.StringTokenizer;
> import javax.faces.FacesException;
> import javax.faces.component.ActionSource;
> import javax.faces.component.UICommand;
> @@ -95,6 +96,18 @@
> AjaxRendererUtils.addRegionByName(context, this, this.getId());
> AjaxRendererUtils.addRegionByName(context, this, this.getFor());
>
> +
> + String reRenderList = this.getAttributes().get("reRender").toString();
> + StringTokenizer tokenizer = new StringTokenizer(reRenderList
> + .replace(" ", ""), ",");
> + int tokenCnt = tokenizer.countTokens();
> + while (tokenCnt > 0) {
> + String token = tokenizer.nextToken();
> + AjaxRendererUtils.addRegionByName(context, this, token);
> + tokenCnt--;
> + }
> +
> MethodBinding scrollerListener = getScrollerListener();
> if (scrollerListener != null) {
> scrollerListener.invoke(context, new Object[] {event});
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 6 months