I would like to know that aswell, so far I have been using javascript with
jquery that is the lib that I use


// somewhere inside the initial function
$("input:text:visible:first").focus();
// or
$("#othercontol").focus();
// if the first control is not a textbox.

On Mon, May 10, 2010 at 15:52, Emi Lu <[email protected]> wrote:

> Good afternoon,
>
> Struts1, I use <html:form focus="field_name" to focus a default field.
>
> For *struts2.1.8.1*, may I know the grammar of setting focus value for
> "s:form" please?
>
> <s:form focus="field_name" > does not work.
>
> Thanks a lot!
>
> --
> Lu Ying
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Ing. Luis Martín Canaval Sánchez
Keep it small and simple.

Reply via email to