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.

Reply via email to