struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RogerV <roger.var...@googlemail.com>
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!

Regards

-- 
View this message in context: http://old.nabble.com/OGNL-expression-help-tp26373897p26387022.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message