[
https://issues.apache.org/struts/browse/WW-2804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45334#action_45334
]
Musachy Barroso commented on WW-2804:
-------------------------------------
Dave is right, the problem is in the Text provider util class. We had the same
problem with the "text" tag, and I ended up by adding a "searchValueStack"
attribute:
https://issues.apache.org/struts/browse/WW-2732
we can't just change the behavior (not to search the stack) because it will
break backward compatibility in a lot of (unseen) places.
> 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
> Priority: Minor
> Fix For: 2.1.3
>
>
> 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.