incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balaji Phani Krishna Annangi" <balaji.anna...@Chordiant.com>
Subject How to set focus to an inputText
Date Tue, 27 Mar 2007 12:54:47 GMT
Everyone,
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:

<ui:composition>
...
...
...
<tr:panelGroupLayout layout="vertical">
<tr:inputText id="addressLine1"
label="#{addressProps.values.addressLine1}"> 
<tr:inputText id="addressLine2"
label="#{addressProps.values.addressLine2}">
<tr:inputText id="addressLine3"
label="#{addressProps.values.addressLine3}">
...
...
...
</ui:composition>

How to set the focus to addressLine1 inputText?
Many thanks in advance

--Krishna

Mime
View raw message