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: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to