You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "yma (JIRA)" <de...@myfaces.apache.org> on 2006/03/08 17:52:40 UTC
[jira] Created: (TOMAHAWK-184) Popup+tree2+commandLink - backing
bean action loop called
Popup+tree2+commandLink - backing bean action loop called
---------------------------------------------------------
Key: TOMAHAWK-184
URL: http://issues.apache.org/jira/browse/TOMAHAWK-184
Project: MyFaces Tomahawk
Type: Bug
Components: Popup
Environment: windows XP, jdk 1.5, myfaces 1.0.9
Reporter: yma
Popup+tree2+commandLink
For example, I have a one level tree 2. Only root and leaves. For each leaf, I have a popup. In the popup window, I have a commandLink which calls a method in the backing bean.
The backing bean method will be called as many times as the number of the tree nodes/leaves.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-184) Popup+tree2+commandLink - backing
bean action loop called
Posted by "Pedro Roson Fernandez (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-184?page=comments#action_12369688 ]
Pedro Roson Fernandez commented on TOMAHAWK-184:
------------------------------------------------
More specifically, the backing bean method is called as many times as the number of tree nodes of the kind of the caller that are expanded.
Another example. If the tree represents a system file tree, with folders and files (10 folders a 20 files, for instance), and you have expanded (you can see) 5 folders and 10 files, then clicking on a commandFile of the folder popup produce 5 calls to the corresponding backing bean method, and clicking on the one of the file popup produce 10 calls to the corresponding backing bean method.
Hope this helps.
Carulli
> Popup+tree2+commandLink - backing bean action loop called
> ---------------------------------------------------------
>
> Key: TOMAHAWK-184
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-184
> Project: MyFaces Tomahawk
> Type: Bug
> Components: Popup
> Environment: windows XP, jdk 1.5, myfaces 1.0.9
> Reporter: yma
>
> Popup+tree2+commandLink
> For example, I have a one level tree 2. Only root and leaves. For each leaf, I have a popup. In the popup window, I have a commandLink which calls a method in the backing bean.
> The backing bean method will be called as many times as the number of the tree nodes/leaves.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (TOMAHAWK-184) Popup+tree2+commandLink - backing
bean action loop called
Posted by "sean schofield (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-184?page=all ]
sean schofield updated TOMAHAWK-184:
------------------------------------
Status: Resolved (was: Patch Available)
Fix Version: 1.1.4-SNAPSHOT
Resolution: Fixed
Fixed. Thanks for the patch.
> Popup+tree2+commandLink - backing bean action loop called
> ---------------------------------------------------------
>
> Key: TOMAHAWK-184
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-184
> Project: MyFaces Tomahawk
> Type: Bug
> Components: Popup, Tree2
> Environment: windows XP, jdk 1.5, myfaces 1.0.9
> Reporter: yma
> Fix For: 1.1.4-SNAPSHOT
> Attachments: UITreeData.patch, screen.PNG
>
> Popup+tree2+commandLink
> For example, I have a one level tree 2. Only root and leaves. For each leaf, I have a popup. In the popup window, I have a commandLink which calls a method in the backing bean.
> The backing bean method will be called as many times as the number of the tree nodes/leaves.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-184) Popup+tree2+commandLink - backing
bean action loop called
Posted by "Michael Bauschert (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-184?page=comments#action_12378065 ]
Michael Bauschert commented on TOMAHAWK-184:
--------------------------------------------
I have the same problem and have a little application on http://www.bauschert.de/facesTest.zip (it's an eclipse web application project) and its based on the tree2-example. Only Change and difference from above: The PopupRenderer has been extended to act as an ContextMenu for right mouse button.
If a node with more than one leaf is expanded and one item is choosen from the contexteMenu you'll see in the console that the eventhandling code is called several times.
> Popup+tree2+commandLink - backing bean action loop called
> ---------------------------------------------------------
>
> Key: TOMAHAWK-184
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-184
> Project: MyFaces Tomahawk
> Type: Bug
> Components: Popup
> Environment: windows XP, jdk 1.5, myfaces 1.0.9
> Reporter: yma
>
> Popup+tree2+commandLink
> For example, I have a one level tree 2. Only root and leaves. For each leaf, I have a popup. In the popup window, I have a commandLink which calls a method in the backing bean.
> The backing bean method will be called as many times as the number of the tree nodes/leaves.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (TOMAHAWK-184) Popup+tree2+commandLink - backing
bean action loop called
Posted by "Michal Borowiecki (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-184?page=all ]
Michal Borowiecki updated TOMAHAWK-184:
---------------------------------------
Status: Patch Available (was: Open)
> Popup+tree2+commandLink - backing bean action loop called
> ---------------------------------------------------------
>
> Key: TOMAHAWK-184
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-184
> Project: MyFaces Tomahawk
> Type: Bug
> Components: Popup
> Environment: windows XP, jdk 1.5, myfaces 1.0.9
> Reporter: yma
> Attachments: UITreeData.patch, screen.PNG
>
> Popup+tree2+commandLink
> For example, I have a one level tree 2. Only root and leaves. For each leaf, I have a popup. In the popup window, I have a commandLink which calls a method in the backing bean.
> The backing bean method will be called as many times as the number of the tree nodes/leaves.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-184) Popup+tree2+commandLink - backing
bean action loop called
Posted by "Michal Borowiecki (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-184?page=comments#action_12379135 ]
Michal Borowiecki commented on TOMAHAWK-184:
--------------------------------------------
This was a bug in the tree2 component, not popup.
> Popup+tree2+commandLink - backing bean action loop called
> ---------------------------------------------------------
>
> Key: TOMAHAWK-184
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-184
> Project: MyFaces Tomahawk
> Type: Bug
> Components: Popup
> Environment: windows XP, jdk 1.5, myfaces 1.0.9
> Reporter: yma
> Attachments: UITreeData.patch, screen.PNG
>
> Popup+tree2+commandLink
> For example, I have a one level tree 2. Only root and leaves. For each leaf, I have a popup. In the popup window, I have a commandLink which calls a method in the backing bean.
> The backing bean method will be called as many times as the number of the tree nodes/leaves.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira