Never mind, I wasn't reading the documentation properly. Resource bundle....
On 25 March 2010 07:45, Aaron Stromas <passog...@gmail.com> wrote:
> Greetings,
>
> Is it possible to have the attributes of the submit tag generated from bean
> properties? The documentation reads:
>
> The tag will set its value using the first non-null result from the
> following list:
>
> - resource: {actionFQN}.{buttonName}
> - resource: {actionPath}.{buttonName} (deprecated)
> - resource: {buttonName}
> - the body of the tag
> - the value attribute of the tag
>
>
> I expected that if I had a property foo with getter and setter in the bean,
> I could have submit tag attributes generated from the value of that
> property, i.e., if property set to "Clear" and the tag is <s:submit
> id="foo" name="${foo}"/>, Stripes would render <input id="foo"
> type="submit" name="Clear" value="Clear"/> but this is not happening. It
> seems to fit the third option, but it didn't work.
> Neither of <s:submit id="foo" name="foo" value="${foo}"/> nor <s:submit
> id="foo" name="foo">${foo}</s:submit> work. What am I missing?
>
> Thanks!
>
>
> --
> Aaron Stromas
>
>
>
--
Aaron Stromas
Mobile: +1 703 203 9169
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users