On Sun, Apr 5, 2009 at 12:27 PM, alex01130 <[email protected]> wrote: > Hi, > > I'd like to handle an "onfocus"-Event of a trinidatd input text field. > > I tried this: > > <tr:inputText id="RequestDate" value="#{customerBean.startDate}" > partialTriggers="timer" onfocus="#{customerBean.stopUpdate}" columns="16" > /> > > public void stopUpdate(javax.faces.event.ActionEvent ae){ > updateTimer = false; > } > > It doesn't work, but renders rubbish on the page. > > How can I handle this event server side? > > Thanks in advance > > alex
It's because onfocus is client side event. You can add javascript that submits the form and calls action (like clicking a command link) -- Although nobody can come back and make a new start, anyone can start now and make a new end

