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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to