You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Volker Weber (JIRA)" <de...@myfaces.apache.org> on 2009/04/02 09:56:12 UTC

[jira] Created: (TOBAGO-751) tc:tree should allow valueBinding in reference attributes

tc:tree should allow valueBinding in reference attributes
---------------------------------------------------------

                 Key: TOBAGO-751
                 URL: https://issues.apache.org/jira/browse/TOBAGO-751
             Project: MyFaces Tobago
          Issue Type: Improvement
    Affects Versions: 1.0.20
            Reporter: Volker Weber
            Assignee: Volker Weber


currently the tc:tree(old) creates a value binding from the refference attributes by concat:

 "#{tobagoTreeNode." + reference + "}"

where "tobagoTreeNode" is the current DefaultMutableTreeNode in the request map.

It should be possible to give real valueBinding expressions here.

You would be able to do e.g.:

labelReference="#{I18nMap[userObject.labelKey]}"

instead of createing your userObject already internationalized.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TOBAGO-751) tc:tree should allow valueBinding in reference attributes

Posted by "Volker Weber (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Volker Weber resolved TOBAGO-751.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.21

> tc:tree should allow valueBinding in reference attributes
> ---------------------------------------------------------
>
>                 Key: TOBAGO-751
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-751
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>    Affects Versions: 1.0.20
>            Reporter: Volker Weber
>            Assignee: Volker Weber
>             Fix For: 1.0.21
>
>
> currently the tc:tree(old) creates a value binding from the refference attributes by concat:
>  "#{tobagoTreeNode." + reference + "}"
> where "tobagoTreeNode" is the current DefaultMutableTreeNode in the request map.
> It should be possible to give real valueBinding expressions here.
> You would be able to do e.g.:
> labelReference="#{I18nMap[userObject.labelKey]}"
> instead of createing your userObject already internationalized.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.