File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSF
Bookmark "Loosing focus on a inputText box?" Watch "Loosing focus on a inputText box?" New topic

Loosing focus on a inputText box?

viswanath yadav

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="#{}" size="12" onchange="submit()" valueChangeListener="#{distribLines.modifyBuVCL}" styleClass="#{}" >

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

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,


I agree. Here's the link:
subject: Loosing focus on a inputText box?
It's not a secret anymore!