File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts TextArea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts TextArea" Watch "Struts TextArea" New topic
Author

Struts TextArea

Meenatchi Sundar
Greenhorn

Joined: Jan 31, 2011
Posts: 12
Hi,
I have an problem with the TextArea.The issue is that my text area doesnt have vertical scroll bar when i give long piece of text.My senior instructed me to use rows and cols for it.i have given <td><s:textarea name="cli.comments" cols="50" rows="10"/></td>..It is coming vertically downwards.But width should be accoding to the dropdown above and height should be of 40 px long..so again i given like this:
<td><s:textarea name="cli.comments" cssStyle="{width:200px;height:60px;border: 1px solid #cccccc}" cols="100" rows="5"/></td>.
They are saying that cssStyle overites the rows and cols mentioned.So its wrong...But i need to apply with rows and columns with the corresponding width:200px and height:60px...can anyone solve it?And also i need an explanation of rows and cols of textarea?

Thanks,
Sundar.R
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts TextArea