Re: Tiles html-taglib producing XHTML

2003-09-09 Thread David Graham
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,

RE: Tiles html-taglib producing XHTML

2003-09-09 Thread Matt Raible
You have to set each tile to be XHTML - here's how I do it: Since every page probably needs taglibs, I have a common/taglibs.jsp file. In this page, I have my taglib declarations and the following line at the end: html:xhtml / Then every page includes that with: %@ include

Re: Tiles html-taglib producing XHTML

2003-09-09 Thread Adam Hardy
Thanks David. 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/

Re: Tiles html-taglib producing XHTML

2003-09-09 Thread Adam Hardy
Good tip. Thanks. On 09/09/2003 06:20 PM Matt Raible wrote: You have to set each tile to be XHTML - here's how I do it: Since every page probably needs taglibs, I have a common/taglibs.jsp file. In this page, I have my taglib declarations and the following line at the end: html:xhtml / Then

Re: Tiles html-taglib producing XHTML

2003-09-09 Thread David Graham
--- Adam Hardy [EMAIL PROTECTED] wrote: Thanks David. 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 That would be helpful.

Re: Tiles and %@ taglib

2003-07-16 Thread Sandeep Takhar
It may depend on your jsp compiler. We have it on each jsp page. sandeep --- Erez Efrati [EMAIL PROTECTED] wrote: In tiles, where should I be best putting the %@ taglib uri=required lib %? Each tile jsp with its own tags or put them all in the layout JSP I use? Thanks, Erez

RE: Tiles and %@ taglib

2003-07-15 Thread Chen, Gin
That's a matter of preference and application server capabilities. I prefer to keep them all in the same layout.jsp but I'm using jboss-3.2.0 with jetty and it doesn't support it that way. From what I know, only JRun currently supports that option. (Correct me if I'm wrong someone). Once you find

RE: Tiles and %@ taglib

2003-07-15 Thread Erez Efrati
I want to make sure I got you right. So, you mean you put in each JSP tile its required [EMAIL PROTECTED] taglibs? Erez -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 7:01 PM To: 'Struts Users Mailing List' Subject: RE: Tiles and %@ taglib