You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2009/08/12 20:28:59 UTC

[jira] Commented: (WW-3144) Label tag doesn't use "key" attribute properly

    [ https://issues.apache.org/struts/browse/WW-3144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46607#action_46607 ] 

Musachy Barroso commented on WW-3144:
-------------------------------------

assuming "labelKey" is set to "baz":

<s:label key="labelKey"/>

outputs:

<label id="labelKey">baz</label>

isn't that what it is supposed to do? I am confused

> Label tag doesn't use "key" attribute properly
> ----------------------------------------------
>
>                 Key: WW-3144
>                 URL: https://issues.apache.org/struts/browse/WW-3144
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.6
>            Reporter: Dave Newton
>            Priority: Minor
>             Fix For: 2.1.8
>
>
> <s:label name="foo"/> works
> <s:label name="foo" label="%{getText('foo')}"/> works
> <s:label key="foo"/> puts the foo msg into the not-label label.
> Positively labelous.

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