RE: Dynamic values for rows attribute of s:textarea

2010-02-04 Thread Jim Talbut
That's it, thank you. Jim -Original Message- From: Wes Wannemacher [mailto:w...@wantii.com] Sent: 04 February 2010 20:08 To: Struts Users Mailing List Subject: Re: Dynamic values for rows attribute of s:textarea If you're calculating your

Re: Dynamic values for rows attribute of s:textarea

2010-02-04 Thread Wes Wannemacher
If you're calculating your value with s:set and setting a variable called, "len" did you try the following - On Thu, Feb 4, 2010 at 2:27 PM, Jim Talbut wrote: > Hi, > > I have: >                     name="requestDefinition" labelSeparator="" labelposition="left" > readonly="true" cols="80" row

Dynamic values for rows attribute of s:textarea

2010-02-04 Thread Jim Talbut
Hi, I have: Sometimes I have a LOT of data to display in the box, other times I have none at all. I'd like the box to resize based on the amount of data. My best effort involved getting the length of requestDefinition (using s:set), calculating a decent row count based on t