You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Pedro Roson Fernandez (JIRA)" <de...@myfaces.apache.org> on 2006/03/09 19:06:40 UTC

[jira] Commented: (TOMAHAWK-184) Popup+tree2+commandLink - backing bean action loop called

    [ 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