Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF h:inputTextArea problem  RSS feed

 
srinivasreddy karla
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2458
 
srinivasreddy karla
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the replay, i found the solution to my problem.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For others who found this topic through Google, it would be very kind of you if you tell more about the solution.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!