struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Newton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-2804) s:textfield lable incorrectly rendered
Date Wed, 17 Sep 2008 15:02:27 GMT

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

Dave Newton commented on WW-2804:
---------------------------------

I like this behavior; as it's an obvious sign something has gone wrong, and I'd rather it
do this than not print anything in the label field--I'm sure not everyone (or anyone) would
agree with me on that one, though.

I'm not sure how trivial the change would be as I think it's embedded in the resource lookup
rather than in the tag. What would your preferred behavior be, just not show anything? If
I'm correct about where the behavior is implemented it couldn't really be handled in the tag
in a generic way.

Consider changing the priority to minor as it's not really a big deal.

> s:textfield lable incorrectly rendered
> --------------------------------------
>
>                 Key: WW-2804
>                 URL: https://issues.apache.org/struts/browse/WW-2804
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.1.1
>         Environment: Struts 2.1.1
>            Reporter: Scott Stanlick
>
> When using the struts tag <s:textfield.../> with only a key and no matching label
key/value pair in a resource properties file, the label is rendered as the text you enter
into the field!  If you either explicitly specify the label attribute *or* add the key/value
pair, the problem vanishes.

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


Mime
View raw message