File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Loosing focus on a inputText box? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Loosing focus on a inputText box?" Watch "Loosing focus on a inputText box?" New topic
Author

Loosing focus on a inputText box?

viswanath yadav
Greenhorn

Joined: May 25, 2009
Posts: 15
Hi Everybody !

I am loosing the focus of the Text box when i tabbed out from one text box to another. I had a code like this,

<h:inputText id="BUField" value="#{DATA_ROW.data.glUnit}" size="12" onchange="submit()" valueChangeListener="#{distribLines.modifyBuVCL}" styleClass="#{DATA_ROW.data.buStyle}" >

<h:inputText id="account" value="#{DATA_ROW.data.account}" size="6" onchange="submit()" valueChangeListener="#{distribLines.modifyAccountVCL}" styleClass="#{DATA_ROW.data.accountStyle}" >

In the above code, while i am tabbing out from first filed to second field, i am not getting the focus of the curosr, the focus is going to some where else.


Please give me a solution to get the focus of the cursor as for the order of the inputText boxes.


Thanks in Advance,


A.Viswanath

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Loosing focus on a inputText box?