p:inputTextarea + <html dir=rtl

UI Components for JSF
Post Reply
eikal
Posts: 2
Joined: 29 Oct 2011, 14:23
Contact:

29 Oct 2011, 14:28

when i define: <html dir=rtl...

the p:inputTextarea create bug that expand the width of the document to 99999px

its occour in 2.2.1 and 3.0.m3
Eitan perkal

User avatar
daniel_r
Posts: 199
Joined: 02 Mar 2009, 16:35

30 Oct 2011, 21:49

not sure how you set it to rtl,
but this way worked fine for me

Code: Select all

<script type="text/javascript">
jQuery(document).ready(function($) {
    $("j_idt33:inputtextlist").contents().find('html').attr('dir', 'rtl');                          
}); 
replace the j_idt33:inputtextlist with your ID

Daniel.
Primefaces 3.4 , MyFaces 2.0.11
Tomcat 6
Win7 32bit

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 42 guests