Sorry, didn't see it and it had never been talked about in the archives. May I suggest though that it be added to the API docs for html:html at http://jakarta.apache.org/struts/userGuide/struts-html.html#html
Thanks Adam
On 09/09/2003 06:26 PM David Graham wrote:
Add <html:xhtml/> to each of your tiles. Each page fragment must decide how it will be rendered, not the containing page.
David
--- Adam Hardy <[EMAIL PROTECTED]> wrote:
I'm using the struts html taglib, well actually the html-el taglib but the problem is with both, and I am outputting XHTML, but the input taglib doesn't output XHTML when it's in a different Tile.
I have my Tiles layout page with the doctype declaration and the
<html:html xhtml="true">
and the
<tiles:insert attribute="bodyContent" />
to include my content.
Anything nested nicely inside the <html:html xhtml="true"> tags in the layout tile is given proper XHTML syntax, but in the other tiles, it's not. i.e. instead of:
<input type="image" name="" src="edit.png" title="Edit" alt="Edit" />
it gives:
<input type="image" name="" src="edit.png" title="Edit" alt="Edit">
Before I go off to bugzilla, assuming I haven't overlooked something important, what is it a bug of? html-taglib or tiles?
Thanks, Adam
-- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]