Hi,

On Mon, Dec 26, 2011 at 2:23 PM, chimaira <death_style2...@hotmail.com> wrote:
> hI Sven Meier, Thanks for the trick ,  but that causes other issues.
>
> firts: I use wicket version 1.4.16 and for some raison I can t upgrade to
> 1.5, and the methode renderHead(IHeaderResponse) is missing. I got only this
> one renderHead(HtmlHeaderContainer container) . Note the given argument on
> the seconde one (HtmlHeaderContainer  and not   (IHeaderResponse).

It must be there. Check again.

>
> Seconde: my form has more than one input field. how to target to wrong
> field. Can I do that by passing variables in  PageParameters ?  because if
> feedback is invoked the onSubmit form methode will not be called, then I
> can't passe variable in page parameters.

In this case you need #onError().
Here just safe a transient reference to the first input field with an
error and use it in renderHead() to do what Sven suggested.

>
> Any idea?
>
> Thanks in advance
> MA
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Control-focus-on-input-after-a-form-feedback-tp4228658p4234482.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to