File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes JSF h:inputTextArea    problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "JSF h:inputTextArea    problem" Watch "JSF h:inputTextArea    problem" New topic
Author

JSF h:inputTextArea problem

srinivasreddy karla
Greenhorn

Joined: Dec 23, 2008
Posts: 6
I am facing strange problem in displaying <h:inputtextarea> in custom tab . The tab should contain one button at top and rest of space should be occupied by the input text area. In my case text area is occupying less space on left top corner of the tab after button. I want to set the height and width of text area to a larger value. Setting rows and cols is is not working. My code is below

<xyz:tab name="name " accessKey="u">
<h:panelGrid columns="1" >
<h:commandButton styleClass="commandButton" value="#{xyz.key_Refresh}" action="#{xyz.doRefresh}" />
<h:panelGrid width="100%">
<h:inputTextarea rows="100" cols="50" value="#{xyz.inputtextarea}" />
</h:panelGrid>
</h:panelGrid>
</xyz:tab>

any hint will be appreciated.
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Crossposted: http://forums.sun.com/thread.jspa?threadID=5357160&tstart=0
Please read this: http://faq.javaranch.com/java/BeForthrightWhenCrossPostingToOtherSites


Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
srinivasreddy karla
Greenhorn

Joined: Dec 23, 2008
Posts: 6
I have done changes as per the information in blogs, but strange thing is when i check the source code for it is giving the following code

<td><textarea name="j_id_id66:j_id_id129" class="layout">index 0
index 1
index 99
</textarea></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div></div><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id9:j_id11" />
</form></td>
</tr>
</tbody>
</table>

information of rows, col and css is missing,

i am using mojara 1.2.8 to update glassfish server(FYI), please give me pointer where i am going wrong.
srinivasreddy karla
Greenhorn

Joined: Dec 23, 2008
Posts: 6
Thank you for the replay, i found the solution to my problem.
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
For others who found this topic through Google, it would be very kind of you if you tell more about the solution.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF h:inputTextArea problem
 
Similar Threads
Saffari does not support html content on textarea
Issue with Textarea in JSF Popup...
Text area in JSF page Issue..........
Saffari browser does not support the html content on textarea
problems with form