incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Gary VanMatre)
Subject Re: How to set focus to an inputText
Date Tue, 27 Mar 2007 16:04:33 GMT
>Does anybody know how to set initial focus to a <tr:inputText> when a
>jsf page loaded?
>I'm not using <tr:document> tag - so I cannot use initialFocusId
>Sample code:
><tr:panelGroupLayout layout="vertical">
><tr:inputText id="addressLine1"
><tr:inputText id="addressLine2"
><tr:inputText id="addressLine3"
>How to set the focus to addressLine1 inputText?
>Many thanks in advance
You might try using the trh:body component.  It also has a "initialFocusId" attribute.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message