struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emi Lu <>
Subject Re: how to set default focus field in <s:form> ?
Date Wed, 12 May 2010 18:53:14 GMT

>> By using tiles,<body>  is in global_layout.jsp page, for decedent pages,
>> I will not be able to set body onload.
> Admittedly I don't know tiles, but Sitemesh will copy the body onLoad and
> unload functions to the decorating page and I would be suprised if Tiles
> didn't support this as well.

For the global page.jsp: if body onload is set, it's for all decedents; 
no, I do not want that.

(1) Do not bother to create several parents layout files
(2) Only one file needs default focus;
     Other hundreds of .jsp foucs will be set differently or
     not set at all

So, I do need s:form to support focus.

Lu Ying

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message