You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Koci (JIRA)" <de...@myfaces.apache.org> on 2009/11/15 15:44:39 UTC

[jira] Created: (TRINIDAD-1638) Trindad 2 - support for name/library attributes as an alternative to icon or image

Trindad 2 - support for name/library attributes as an alternative to icon or image
----------------------------------------------------------------------------------

                 Key: TRINIDAD-1638
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1638
             Project: MyFaces Trinidad
          Issue Type: New Feature
    Affects Versions: 2.0.0-core
         Environment: Trinidad 2.0 branch, mojarra 2.0.1
            Reporter: Martin Koci
            Priority: Minor


JSF 2.0 introduced  Resource API and new attributes name/library for resource name/library name. Trinidad should support them too, they are very useful for complex EL expression like <tr:someTagWithIcon library="#{resourcesBean.libraryName}" name="#{resourcesBean.imageName}.#{someOtherBean.imageExtension}" /> which cannot be done with implicit object #{resource}.

Following tags have icon or image attribute:
tr:panelBox
tr:paneHeader
tr:panelPopup
tr:goButton
tr:commandButton
tr:inputListOfValues
tr:navigationPane
tr:image

and h:commandButton (Trinidad redefines default renderer for commandButton)



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


[jira] Updated: (TRINIDAD-1638) Trindad 2 - support for name/library attributes as an alternative to icon or image

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

Martin Koci updated TRINIDAD-1638:
----------------------------------

    Status: Patch Available  (was: Open)

> Trindad 2 - support for name/library attributes as an alternative to icon or image
> ----------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1638
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1638
>             Project: MyFaces Trinidad
>          Issue Type: New Feature
>    Affects Versions: 2.0.0-core
>         Environment: Trinidad 2.0 branch, mojarra 2.0.1
>            Reporter: Martin Koci
>            Priority: Minor
>
> JSF 2.0 introduced  Resource API and new attributes name/library for resource name/library name. Trinidad should support them too, they are very useful for complex EL expression like <tr:someTagWithIcon library="#{resourcesBean.libraryName}" name="#{resourcesBean.imageName}.#{someOtherBean.imageExtension}" /> which cannot be done with implicit object #{resource}.
> Following tags have icon or image attribute:
> tr:panelBox
> tr:paneHeader
> tr:panelPopup
> tr:goButton
> tr:commandButton
> tr:inputListOfValues
> tr:navigationPane
> tr:image
> and h:commandButton (Trinidad redefines default renderer for commandButton)

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