[seam-issues] [JBoss JIRA] Commented: (SEAMFACES-133) UIInputContainer should accept ValueExpression for the label attribute.

Alt Avatar (JIRA) jira-events at lists.jboss.org
Sun May 29 19:54:00 EDT 2011


    [ https://issues.jboss.org/browse/SEAMFACES-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605140#comment-12605140 ] 

Alt Avatar commented on SEAMFACES-133:
--------------------------------------

The workaround is better, but not ideal IMO.

In some, albeit rare, cases, you could want to specify an empty string label explicitly like, and not want the auto label generation to run.

x:input label=""

IIRC, this use-case was supported previously, but doesn't work with the workaround.

I can workaround this issue with a  disableLabel cc.attrs, but it might still be worth considering this regression.

> UIInputContainer should accept ValueExpression for the label attribute.
> -----------------------------------------------------------------------
>
>                 Key: SEAMFACES-133
>                 URL: https://issues.jboss.org/browse/SEAMFACES-133
>             Project: Seam Faces
>          Issue Type: Bug
>          Components: UI Components
>    Affects Versions: 3.0.0.Final
>         Environment: Ubuntu 10.10 64bit, JBoss 6
>            Reporter: Alt Avatar
>            Assignee: José Freitas
>             Fix For: 3.0.2
>
>
> UIInputContainer should evaluate ValueExpressions for the "label" attribute. This is especially useful for internationalization, where the component could be included as: <x:inputcontainer label="#{msg.foo}/><h:inputText...
> Currently, ValueExpressions are ignored and only String literals work.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the seam-issues mailing list