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
posted Dec 23, 2008 14:40:00
0
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
posted Dec 26, 2008 07:36:00
0
For others who found this topic through Google, it would be very kind of you if you tell more about the solution.
subject: JSF h:inputTextArea problem