We have uploaded the component to the Jsf-Component (SF-)project. In this way we can collaborate better on this component. Yesterday we discovered that some additional work is needed to make the usage easier. We want to be able to use EL-expressions instead of the described code in the managed-bean
regards Alexander -----Original Message----- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Friday, November 25, 2005 5:51 AM To: MyFaces Discussion Subject: Re: focus component looks good. I think you did already open a jira on this, right? If not, please do it right now. I'll review this some time during next week, when I will hopefully get my open bugs closed as well ;) regards, Martin On 11/24/05, Rogerio Pereira <[EMAIL PROTECTED]> wrote: > Hi guys! > > I wrote a simple component that can set the focus in any form control > across multiple submissions, this is useful to control form > navigation. > > How to use: > > In jsp (before close h:form): > > <s:focus id="focus" component="txtId" /> > > in managed bean: > > private HtmlFocus focus; > focus = (HtmlFocus)form.findComponent("focus"); > focus.setComponent("txtNome"); > > > -- > Yours truly (Atenciosamente), > > Rogério > > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces