I've never used FreeMarker, but it appears to be equivalent to this in
Struts <label>${user.userName} <html:text property="user.userName"></label>.
(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.textfield name="user.userName"
               value="%{user.userName}"
               label="%{getText('user.userName')}"/>

Is anyone aware of a shortcut so that I can eliminate the redundancy?
It would be nice if there was something like:

     <@s.textfield property="user.userName"/>

that would accomplish a similar thing.  Anyone else running into this
inefficiency?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to