struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RogerV <>
Subject Re: OGNL expression help
Date Tue, 17 Nov 2009 09:48:23 GMT

Chris Pratt wrote:
> Like Neil suggested, use "attrib.length()"  The extra parens cause OGNL to
> call getAttrib().length() rather than getAttrib().getLength().
>   (*Chris*)

Thanks, that does work in that the textfield re-sizes according to the
length of the string. Doesn't help unfortunately as the length of the string
in characters is not the same as the space required to display it in full!


View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message