[JBoss JIRA] Created: (RF-2516) Drag-n-Drop Tree with Context Menu
by Ralf Loechte (JIRA)
Drag-n-Drop Tree with Context Menu
----------------------------------
Key: RF-2516
URL: http://jira.jboss.com/jira/browse/RF-2516
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4, 3.2.0
Reporter: Ralf Loechte
I have a rich:tree with drag-n-drop support and an attached rich:contextMenu to the nestet rich:treeNode. if you click left on a node, the contectMenu will open. After click on the
<rich:treeNode
type="member"
dragType="member"
dragValue="#{item}"
acceptedTypes="member">
<h:outputText value="#{item.name}" />
<rich:dndParam name="label" type="drag" value="#{item.name}" />
<rich:contextMenu event="oncontextmenu" attached="true"
submitMode="ajax">
<rich:menuItem value="Ausschneiden" limitToList="true"
reRender="treehierarchypanel"
disabled="#{!olapAdminMainBean.editMode}"
actionListener="#{hierarchyMainBean.processCutElement}">
</rich:menuItem>
--
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
15 years, 1 month
[JBoss JIRA] Created: (RF-3552) rich:simpleTogglePanel strange behavior with a4j:repeat and rich:dataTable
by Pulkk Pulkk (JIRA)
rich:simpleTogglePanel strange behavior with a4j:repeat and rich:dataTable
--------------------------------------------------------------------------
Key: RF-3552
URL: http://jira.jboss.com/jira/browse/RF-3552
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0, 3.1.2
Environment: Apache-Tomcat 6.0.18, Faces 1.2
Reporter: Pulkk Pulkk
When using rich:simpleTogglePanel inside a looping tag such as a4j:repeat or rich:dataTable, the open/close behavior gets strange.
For example:
<a4j:repeat>
<rich:simpleTogglePanel>
...
</rich:simpleTogglePanel>
</a4j:repeat>
When working with the panels, the following happens depending on the switchType value:
- Server: when one is opened or closed, all the rest open and close respectively
- Client/Ajax: when one is opened or closed, the rest remain (the correct behavior). However, when the enclosing component is reRendered, they all open or close respectively depending on the last operation.
It seems that when rich:simpleTogglePanel is put into a looping tag, all the resulting panels are treated as one in open/close operations. To illustrate:
<a4j:repeat>
<rich:simpleTogglePanel>
...
</rich:simpleTogglePanel>
<rich:simpleTogglePanel>
...
</rich:simpleTogglePanel>
</a4j:repeat>
In this case, when opening or closing an odd-numbered panel in the output, all the odd-numbered panel open or close respectively but the even ones remain intact. Same goes for even ones.
--
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
15 years, 1 month