[JBoss JIRA] Created: (RF-6269) RichDataTable: client id of table wrapped by dataTable is changed after submit button was clicked inside column with sorting feature
by Andrei Markavtsov (JIRA)
RichDataTable: client id of table wrapped by dataTable is changed after submit button was clicked inside column with sorting feature
-------------------------------------------------------------------------------------------------------------------------------------
Key: RF-6269
URL: https://jira.jboss.org/jira/browse/RF-6269
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: RF 3.3.1-SNAPSHOT
Facelets 1.1.14
Reporter: Andrei Markavtsov
Assignee: Nick Belaevski
Steps to reproduce:
1. wrap table by table
2. place command inside the column of inner table
3. the column should have sorting feature
<h:form id="form">
<rich:dataTable id="outerTable" value="#{test3.model}">
<rich:column>
<rich:dataTable id="contCapacityList" value="#{test3.rows}" var="row">
<rich:column
sortOrder="#{test3.ordering}"
sortBy="#{row.value1}"
>
<f:facet name="header">
<h:outputText value="Header"></h:outputText>
</f:facet>
<h:outputText value="#{row.value1}"></h:outputText>
<h:commandButton value="Submit"></h:commandButton>
</rich:column>
</rich:dataTable>
</rich:column>
</rich:dataTable>
</h:form>
Sorting works fine before submit button was clicked.
Then sorting stops to change data ordering but sort icon still works.
Inner table's id was changed after sibmit: '-1' was appended.
--
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
15 years, 9 months
[JBoss JIRA] Deleted: (RF-6457) Tree: illegal state exception moving expanded node
by Nick Belaevski (JIRA)
[ https://jira.jboss.org/jira/browse/RF-6457?page=com.atlassian.jira.plugin... ]
Nick Belaevski deleted RF-6457:
-------------------------------
> Tree: illegal state exception moving expanded node
> --------------------------------------------------
>
> Key: RF-6457
> URL: https://jira.jboss.org/jira/browse/RF-6457
> Project: RichFaces
> Issue Type: Bug
> Reporter: Nick Belaevski
> Assignee: Nick Belaevski
>
> I have a tree on the left and a tree on right , I can move a Parent node (With children) from Left to right but
> whenever I expand the node and move I get a
> java.lang.IllegalStateException: No tree element available or row key not set!
> when i looked at the trace i saw
> SEVERE: Servlet.service() for servlet Faces Servlet threw exception
> java.lang.IllegalStateException: No tree element available or row key not set!
> at org.richfaces.model.TreeDataModel.walk(TreeDataModel.java:176)
> at org.richfaces.model.TreeDataModel.walkModel(TreeDataModel.java:295)
> at org.richfaces.component.UITree.walkModel(UITree.java:426)
> at org.richfaces.component.state.TreeState.visitNodes(TreeState.java:211)
> at org.richfaces.component.state.TreeState.expandNode(TreeState.java:273)
> at org.richfaces.component.state.events.ExpandNodeCommandEvent.execute(ExpandNodeCommandEvent.java:48)
> at org.richfaces.component.state.events.TreeStateCommandEvent.processListener(TreeStateCommandEvent.java:59)
> at org.richfaces.component.UITree.broadcast(UITree.java:565)
> at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:317)
> at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:292)
> at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:249)
> at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:462)
> at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
--
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
15 years, 9 months
[JBoss JIRA] Created: (RF-6457) Tree: illegal state exception moving expanded node
by Nick Belaevski (JIRA)
Tree: illegal state exception moving expanded node
--------------------------------------------------
Key: RF-6457
URL: https://jira.jboss.org/jira/browse/RF-6457
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Reporter: Nick Belaevski
Assignee: Nick Belaevski
Fix For: Future
I have a tree on the left and a tree on right , I can move a Parent node (With children) from Left to right but
whenever I expand the node and move I get a
java.lang.IllegalStateException: No tree element available or row key not set!
when i looked at the trace i saw
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.IllegalStateException: No tree element available or row key not set!
at org.richfaces.model.TreeDataModel.walk(TreeDataModel.java:176)
at org.richfaces.model.TreeDataModel.walkModel(TreeDataModel.java:295)
at org.richfaces.component.UITree.walkModel(UITree.java:426)
at org.richfaces.component.state.TreeState.visitNodes(TreeState.java:211)
at org.richfaces.component.state.TreeState.expandNode(TreeState.java:273)
at org.richfaces.component.state.events.ExpandNodeCommandEvent.execute(ExpandNodeCommandEvent.java:48)
at org.richfaces.component.state.events.TreeStateCommandEvent.processListener(TreeStateCommandEvent.java:59)
at org.richfaces.component.UITree.broadcast(UITree.java:565)
at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:317)
at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:292)
at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:249)
at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:462)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
--
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
15 years, 9 months