Re: [s2] Freemarker Shortcuts

2006-09-27 Thread David H. DeWolf
Thanks Ted. I'll file an issue and supply a patch later today. David Ted Husted wrote: <@s.textfield name="user.userName" label="%{getText('user.userName')}"/> should work, but, yes, this is an area where the Struts 2 tags are still strangely verbose. Feel free to file a feat

Re: [s2] Freemarker Shortcuts

2006-09-26 Thread Ted Husted
<@s.textfield name="user.userName" label="%{getText('user.userName')}"/> should work, but, yes, this is an area where the Struts 2 tags are still strangely verbose. Feel free to file a feature request for concise alternative syntax. To lookup mesages resources in the S2 validati

Re: [s2] Freemarker Shortcuts

2006-09-23 Thread Chris Pratt
I've never used FreeMarker, but it appears to be equivalent to this in Struts ${user.userName} . (At least I assume that's what the label attribute is for.) (*Chris*) On 9/23/06, David H. DeWolf <[EMAIL PROTECTED]> wrote: I'm finding that I use something similar to this very often: <@s.textfi