[JBoss JIRA] Created: (RF-3316) NPE in ajax single tree
by Nick Belaevski (JIRA)
NPE in ajax single tree
-----------------------
Key: RF-3316
URL: http://jira.jboss.com/jira/browse/RF-3316
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Nick Belaevski
Assigned To: Nick Belaevski
Fix For: 3.2.1
<rich:tree id="tree" value="#{bean.data}" var="data" limitToList="false"
ajaxSingle="true"
switchType="ajax"
ajaxSubmitSelection="true"
toggleOnClick="false"
immediate="false"
showConnectingLines="false"
rendered="true">
</rich:tree>
java.lang.NullPointerException
at org.richfaces.model.AbstractTreeDataModel.processElement(AbstractTreeDataModel.java:124)
at org.richfaces.model.TreeDataModel.doWalk(TreeDataModel.java:112)
at org.richfaces.model.TreeDataModel.doWalk(TreeDataModel.java:157)
at org.richfaces.model.TreeDataModel.walk(TreeDataModel.java:181)
at org.richfaces.model.CacheableTreeDataModel.walk(CacheableTreeDataModel.java:126)
at org.richfaces.model.AbstractTreeDataModel.walk(AbstractTreeDataModel.java:58)
at org.richfaces.model.CacheableTreeDataModel.convertToKey(CacheableTreeDataModel.java:147)
at org.richfaces.component.UITree.invokeOnComponent(UITree.java:923)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:161)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:260)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:161)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:260)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:161)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:260)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:161)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:260)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:161)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:260)
at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:237)
at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:450)
at org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:32)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:148)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
at org.ajax4jsf.Filter.doFilter(Filter.java:175)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
--
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
16 years, 8 months
[JBoss JIRA] Created: (RF-2939) rich:tree expand doesnt work in 3.2.0.GA
by Andreas Höhmann (JIRA)
rich:tree expand doesnt work in 3.2.0.GA
----------------------------------------
Key: RF-2939
URL: http://jira.jboss.com/jira/browse/RF-2939
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: facelets 1.1.14
myfaces 1.2.2
Reporter: Andreas Höhmann
it seems the last node is never expand *but* only in 3.2.0.GA ... 3.1.4/3.1.5-SNAPSHOT is working ...
tree.xhtml (<my:tree id="foobar" manager="#{bean} .../>) :
<h:form id="#{id}_form">
<rich:tree
id="#{id}"
binding="#{manager.tree}"
value="#{manager.rootNode}"
var="item"
nodeFace="#{item.nodeType}"
limitToList="false"
ajaxSingle="true"
switchType="ajax"
ajaxSubmitSelection="true"
toggleOnClick="false"
immediate="false"
showConnectingLines="false"
rendered="true"
nodeSelectListener="#{manager.onSelect}"
changeExpandListener="#{manager.onExpand}"
adviseNodeSelected="#{manager.adviseNodeSelected}">
...
</h:form>
in the bean's onExpand i log the event ....
i can't log a "onExpand" event if i click on the last node of the tree / subtree (but sometimes also other nodes not expandable)
hmmm ... its hard to describe the problem :-/
any idea?
--
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
16 years, 8 months
[JBoss JIRA] Updated: (RF-764) rich:message: FuncSpec-RF-M-CL-015-1.0. The result is not that expected
by Nick Belaevski (JIRA)
[ http://jira.jboss.com/jira/browse/RF-764?page=all ]
Nick Belaevski updated RF-764:
------------------------------
Fix Version/s: Future
(was: 3.2.2)
> rich:message: FuncSpec-RF-M-CL-015-1.0. The result is not that expected
> -----------------------------------------------------------------------
>
> Key: RF-764
> URL: http://jira.jboss.com/jira/browse/RF-764
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: richfaces-demo
> Reporter: Sergey Smirnov
> Assigned To: Nick Belaevski
> Fix For: Future
>
>
> FuncSpec-RF-M-CL-015-1.0 passed state rendering
> Message should not show "passed" state in case of initial rendering. Any state of message should be shown only after some submit occurs (after some validation).
> The current version does not work like this. The "passed" facet is shown event the field is not validated.
> Example:
> <h:form>
> <h:panelGrid columns="3">
> <h:outputText value="Name:" />
> <h:inputText label="Name" id="name" required="true" value="#{userBean.name}">
> <a4j:support event="onblur" ajaxSingle="true" />
> </h:inputText>
> <rich:message for="name">
> <f:facet name="passedMarker">
> <h:outputText value="V" />
> </f:facet>
> <f:facet name="errorMarker">
> <h:outputText value="X" />
> </f:facet>
> </rich:message>
>
> <h:outputText value="Job:" />
> <h:inputText label="Job" id="job" required="true" value="#{userBean.job}">
> <a4j:support event="onblur" ajaxSingle="true"/>
> </h:inputText>
> <rich:message for="job">
> <f:facet name="passedMarker">
> <h:outputText value="V" />
> </f:facet>
> <f:facet name="errorMarker">
> <h:outputText value="X" />
> </f:facet>
> </rich:message>
>
> <h:outputText value="Address:" />
> <h:inputText label="Address" id="address" required="true" value="#{userBean.address}">
> <a4j:support event="onblur" ajaxSingle="true"/>
> </h:inputText>
> <rich:message for="address">
> <f:facet name="passedMarker">
> <h:outputText value="V" />
> </f:facet>
> <f:facet name="errorMarker">
> <h:outputText value="X" />
> </f:facet>
> </rich:message>
>
> </h:panelGrid>
> </h:form>
--
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
16 years, 8 months
[JBoss JIRA] Created: (RF-2800) Context menu from a tab panel appears below other components in IE
by Olivier Martin (JIRA)
Context menu from a tab panel appears below other components in IE
------------------------------------------------------------------
Key: RF-2800
URL: http://jira.jboss.com/jira/browse/RF-2800
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: RF 3.1.4, JSF 1.1 RI
Reporter: Olivier Martin
Attachments: screenshot-1.jpg
As you can see in the screenshot, I have a context menu from a Tab header that appears below another Tab below.
Included in this report : screenshot + sample code.
---
<rich:tabPanel>
<rich:tab label="First">
<f:facet name="label">
<rich:dropDownMenu direction="bottom-right" horizontalOffset="-11">
<rich:menuItem value="Foo 1"/>
<rich:menuItem value="Foo 2"/>
<rich:menuItem value="Foo 3"/>
<rich:menuItem value="Foo 4"/>
</rich:dropDownMenu>
</f:facet>
Here is tab #1
</rich:tab>
<rich:tabPanel>
<rich:tab>
Another Tab
</rich:tab>
</rich:tabPanel>
</rich:tabPanel>
--
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
16 years, 8 months