Re: RE: Does Tapestry work with XHTML?
I agree completely that tapestry - as a web application framework - should definitely strive to be compliant with various standards whenever possible. The article I referenced was more to present a counter argument for anyone that is spending a lot of time making their app w3c compliant when they don't need to. On 5/31/06, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: +1 for XHTML and standards. btw. there is a firefox extension for validating pages "on the fly": HTML Validator: https://addons.mozilla.org/firefox/249/ IMHO every web developer should use it :) best regards, kris "Townson, Chris" <[EMAIL PROTECTED] .com> An "Tapestry users" 31.05.2006 11:33 Kopie Bitte antwortenThema an RE: Does Tapestry work with XHTML? "Tapestry users" <[EMAIL PROTECTED] pache.org> Please don't give up on the XHTML thing. Alex Russell is completely wrong in the article Jesse referred to. His condemnation of so-called "academics" (Alex's label) smacks of narrow-mindedness, lack of forethought and wilful unawareness of the very history of web development he briefly covers (i.e. tag soup et al) Yes, he's correct that implementing some standards can be testing and that an overly pedantic approach to them can be debilitating (as one commenter points out in that article: they are "recommendations", not edicts). However, that doesn't mean that one should ditch them: the development of standards will, by definition, _always_ be in advance of practice. The idea is that one should always be working _towards_ the fullest possible implementation of relevant standards within the constraints of pragmatism ... for Tapestry, one of those standards _has_ to be XHTML because, in combination with other standards - such as CSS, it is the _only_ solution which offers the possibility of a consistent interface with the client-side - with the added benefit of a transparent incorporation of multi-format documents (e.g. XHTML + SVG + MathML etc) Whilst there is a degree of dissent about the relative merits of standards for client-side technologies at present (caused, in large part, by the failure of a certain leading browser manufacturer to propery implement them), this situation is only exacerbated by developer abandonment. As for Tapestry components that aren't able to produce valid XHTML ... they really should be able to by now and I think it's a bit weak that they don't. But, saying that, it is open source and you would be free to hack these components to produce the required XHTML. Chris > -Original Message- > From: Galam [mailto:[EMAIL PROTECTED] > Sent: 30 May 2006 17:10 > To: Tapestry users > Subject: Re: Does Tapestry work with XHTML? > > Thanks everyone for the tips and advices. I'll stick with HTML then. > > > > On 5/29/06, Todd Orr <[EMAIL PROTECTED]> wrote: > > > > Yet, not all of Tapestry's components produce compliant > xhtml, so you > > may be wasting your time going through these measures. > > > > On 5/29/06, Paul Cantrell <[EMAIL PROTECTED]> wrote: > > > Right. And just to be clear: the ".xhtml" is not > necessary for XHTML, > > > not just for Tapestry, but in *any* content -- and I > don't think the > > > "text/xml" mime type is necessary either. It's the > DOCTYPE that has > > > the last word. > > > > > > Use the W3C validator when in doubt! Use it when not in > doubt, too. > > > > > > Cheers, > > > > > > Paul > > > > > > > > > On May 29, 2006, at 2:11 AM, Kristian Marinkovic wrote: > > > > > > > hi, > > > > > > > > to use XHTML it is NOT necessary to rename the .html file > > > > to .xhtml. all > > > > you > > > > have to do is to add the dtd and the . the > only reason i > > > > could > > > > imagine you want to rename it to .xhtml is because you > could configure > > > > your webserver to set the correct mime-type (text/xml). > but if you > > > > do so > > > > IE6 (and before) won't be able to display your document > correctly. > > > > > > > > btw. if you put into > > > > your document IE6 will run in quirksmode and not in > standard compliant > > > > mode! this may caus
RE: RE: Does Tapestry work with XHTML?
+1 for XHTML and standards. btw. there is a firefox extension for validating pages "on the fly": HTML Validator: https://addons.mozilla.org/firefox/249/ IMHO every web developer should use it :) best regards, kris "Townson, Chris" <[EMAIL PROTECTED] .com> An "Tapestry users" 31.05.2006 11:33 Kopie Bitte antwortenThema an RE: Does Tapestry work with XHTML? "Tapestry users" <[EMAIL PROTECTED] pache.org> Please don't give up on the XHTML thing. Alex Russell is completely wrong in the article Jesse referred to. His condemnation of so-called "academics" (Alex's label) smacks of narrow-mindedness, lack of forethought and wilful unawareness of the very history of web development he briefly covers (i.e. tag soup et al) Yes, he's correct that implementing some standards can be testing and that an overly pedantic approach to them can be debilitating (as one commenter points out in that article: they are "recommendations", not edicts). However, that doesn't mean that one should ditch them: the development of standards will, by definition, _always_ be in advance of practice. The idea is that one should always be working _towards_ the fullest possible implementation of relevant standards within the constraints of pragmatism ... for Tapestry, one of those standards _has_ to be XHTML because, in combination with other standards - such as CSS, it is the _only_ solution which offers the possibility of a consistent interface with the client-side - with the added benefit of a transparent incorporation of multi-format documents (e.g. XHTML + SVG + MathML etc) Whilst there is a degree of dissent about the relative merits of standards for client-side technologies at present (caused, in large part, by the failure of a certain leading browser manufacturer to propery implement them), this situation is only exacerbated by developer abandonment. As for Tapestry components that aren't able to produce valid XHTML ... they really should be able to by now and I think it's a bit weak that they don't. But, saying that, it is open source and you would be free to hack these components to produce the required XHTML. Chris > -Original Message----- > From: Galam [mailto:[EMAIL PROTECTED] > Sent: 30 May 2006 17:10 > To: Tapestry users > Subject: Re: Does Tapestry work with XHTML? > > Thanks everyone for the tips and advices. I'll stick with HTML then. > > > > On 5/29/06, Todd Orr <[EMAIL PROTECTED]> wrote: > > > > Yet, not all of Tapestry's components produce compliant > xhtml, so you > > may be wasting your time going through these measures. > > > > On 5/29/06, Paul Cantrell <[EMAIL PROTECTED]> wrote: > > > Right. And just to be clear: the ".xhtml" is not > necessary for XHTML, > > > not just for Tapestry, but in *any* content -- and I > don't think the > > > "text/xml" mime type is necessary either. It's the > DOCTYPE that has > > > the last word. > > > > > > Use the W3C validator when in doubt! Use it when not in > doubt, too. > > > > > > Cheers, > > > > > > Paul > > > > > > > > > On May 29, 2006, at 2:11 AM, Kristian Marinkovic wrote: > > > > > > > hi, > > > > > > > > to use XHTML it is NOT necessary to rename the .html file > > > > to .xhtml. all > > > > you > > > > have to do is to add the dtd and the . the > only reason i > > > > could > > > > imagine you want to rename it to .xhtml is because you > could configure > > > > your webserver to set the correct mime-type (text/xml). > but if you > > >
RE: Does Tapestry work with XHTML?
Please don't give up on the XHTML thing. Alex Russell is completely wrong in the article Jesse referred to. His condemnation of so-called "academics" (Alex's label) smacks of narrow-mindedness, lack of forethought and wilful unawareness of the very history of web development he briefly covers (i.e. tag soup et al) Yes, he's correct that implementing some standards can be testing and that an overly pedantic approach to them can be debilitating (as one commenter points out in that article: they are "recommendations", not edicts). However, that doesn't mean that one should ditch them: the development of standards will, by definition, _always_ be in advance of practice. The idea is that one should always be working _towards_ the fullest possible implementation of relevant standards within the constraints of pragmatism ... for Tapestry, one of those standards _has_ to be XHTML because, in combination with other standards - such as CSS, it is the _only_ solution which offers the possibility of a consistent interface with the client-side - with the added benefit of a transparent incorporation of multi-format documents (e.g. XHTML + SVG + MathML etc) Whilst there is a degree of dissent about the relative merits of standards for client-side technologies at present (caused, in large part, by the failure of a certain leading browser manufacturer to propery implement them), this situation is only exacerbated by developer abandonment. As for Tapestry components that aren't able to produce valid XHTML ... they really should be able to by now and I think it's a bit weak that they don't. But, saying that, it is open source and you would be free to hack these components to produce the required XHTML. Chris > -Original Message- > From: Galam [mailto:[EMAIL PROTECTED] > Sent: 30 May 2006 17:10 > To: Tapestry users > Subject: Re: Does Tapestry work with XHTML? > > Thanks everyone for the tips and advices. I'll stick with HTML then. > > > > On 5/29/06, Todd Orr <[EMAIL PROTECTED]> wrote: > > > > Yet, not all of Tapestry's components produce compliant > xhtml, so you > > may be wasting your time going through these measures. > > > > On 5/29/06, Paul Cantrell <[EMAIL PROTECTED]> wrote: > > > Right. And just to be clear: the ".xhtml" is not > necessary for XHTML, > > > not just for Tapestry, but in *any* content -- and I > don't think the > > > "text/xml" mime type is necessary either. It's the > DOCTYPE that has > > > the last word. > > > > > > Use the W3C validator when in doubt! Use it when not in > doubt, too. > > > > > > Cheers, > > > > > > Paul > > > > > > > > > On May 29, 2006, at 2:11 AM, Kristian Marinkovic wrote: > > > > > > > hi, > > > > > > > > to use XHTML it is NOT necessary to rename the .html file > > > > to .xhtml. all > > > > you > > > > have to do is to add the dtd and the . the > only reason i > > > > could > > > > imagine you want to rename it to .xhtml is because you > could configure > > > > your webserver to set the correct mime-type (text/xml). > but if you > > > > do so > > > > IE6 (and before) won't be able to display your document > correctly. > > > > > > > > btw. if you put into > > > > your document IE6 will run in quirksmode and not in > standard compliant > > > > mode! this may cause some misbehaviours when using css :) > > > > (boxmodel...) > > > > although it is not absolutly correct you may omit > > > > > > > > completly (or you generate it depending on the current > > > > browser :)). > > > > > > > > > > > > regards, > > > > kris > > > > > > > > > > > > > > > > > > > > > > > > Galam > > > > <[EMAIL PROTECTED] > > > > > > > > om>An > > > > "Tapestry users" > > > > 29.05.2006 04:32 > > > > > > K > > > > opie > > > > > > > > Bitte > > > > antwortenThema > > > > an Does Tapestry > work with XHTML? > >
Re: Does Tapestry work with XHTML?
Thanks everyone for the tips and advices. I'll stick with HTML then. On 5/29/06, Todd Orr <[EMAIL PROTECTED]> wrote: Yet, not all of Tapestry's components produce compliant xhtml, so you may be wasting your time going through these measures. On 5/29/06, Paul Cantrell <[EMAIL PROTECTED]> wrote: > Right. And just to be clear: the ".xhtml" is not necessary for XHTML, > not just for Tapestry, but in *any* content -- and I don't think the > "text/xml" mime type is necessary either. It's the DOCTYPE that has > the last word. > > Use the W3C validator when in doubt! Use it when not in doubt, too. > > Cheers, > > Paul > > > On May 29, 2006, at 2:11 AM, Kristian Marinkovic wrote: > > > hi, > > > > to use XHTML it is NOT necessary to rename the .html file > > to .xhtml. all > > you > > have to do is to add the dtd and the . the only reason i > > could > > imagine you want to rename it to .xhtml is because you could configure > > your webserver to set the correct mime-type (text/xml). but if you > > do so > > IE6 (and before) won't be able to display your document correctly. > > > > btw. if you put into > > your document IE6 will run in quirksmode and not in standard compliant > > mode! this may cause some misbehaviours when using css :) > > (boxmodel...) > > although it is not absolutly correct you may omit > > > > completly (or you generate it depending on the current > > browser :)). > > > > > > regards, > > kris > > > > > > > > > > > > Galam > > <[EMAIL PROTECTED] > > > > om>An > > "Tapestry users" > > 29.05.2006 04:32 > > K > > opie > > > > Bitte > > antwortenThema > > an Does Tapestry work with XHTML? > > "Tapestry users" > > <[EMAIL PROTECTED] > > pache.org> > > > > > > > > > > > > > > > > Hi all, > > > > Does Tapestry work with XHTML? > > > > I renamed "Home.html" to "Home.xhtml" in my test application, but I > > got an > > exception saying that > > > > "Could not find template for page Home in locale en_US." > > > > > > --- > > > > org.apache.hivemind.ApplicationRuntimeException Could not find > > template for > > page Home in locale en_US. component: [EMAIL PROTECTED] location: > > context:/WEB-INF/Home.page, > > line 4, column 55 > > 1 2 > specification > > PUBLIC "-//Apache Software Foundation//Tapestry Specification 4.0// > > EN" 3 " > > http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> 4 > > > class="com.ttdev.HelloWorld.Home"> 5 > type="Insert"> > > 6 7 8 > > > > > > > > > > Thanks! > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > _ > Piano music podcast: http://inthehands.com > Other interesting stuff: http://innig.net > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does Tapestry work with XHTML?
Yes, you may be wasting your time in general... http://alex.dojotoolkit.org/?p=498 On 5/29/06, Todd Orr <[EMAIL PROTECTED]> wrote: Yet, not all of Tapestry's components produce compliant xhtml, so you may be wasting your time going through these measures. On 5/29/06, Paul Cantrell <[EMAIL PROTECTED]> wrote: > Right. And just to be clear: the ".xhtml" is not necessary for XHTML, > not just for Tapestry, but in *any* content -- and I don't think the > "text/xml" mime type is necessary either. It's the DOCTYPE that has > the last word. > > Use the W3C validator when in doubt! Use it when not in doubt, too. > > Cheers, > > Paul > > > On May 29, 2006, at 2:11 AM, Kristian Marinkovic wrote: > > > hi, > > > > to use XHTML it is NOT necessary to rename the .html file > > to .xhtml. all > > you > > have to do is to add the dtd and the . the only reason i > > could > > imagine you want to rename it to .xhtml is because you could configure > > your webserver to set the correct mime-type (text/xml). but if you > > do so > > IE6 (and before) won't be able to display your document correctly. > > > > btw. if you put into > > your document IE6 will run in quirksmode and not in standard compliant > > mode! this may cause some misbehaviours when using css :) > > (boxmodel...) > > although it is not absolutly correct you may omit > > > > completly (or you generate it depending on the current > > browser :)). > > > > > > regards, > > kris > > > > > > > > > > > > Galam > > <[EMAIL PROTECTED] > > > > om>An > > "Tapestry users" > > 29.05.2006 04:32 > > K > > opie > > > > Bitte > > antwortenThema > > an Does Tapestry work with XHTML? > > "Tapestry users" > > <[EMAIL PROTECTED] > > pache.org> > > > > > > > > > > > > > > > > Hi all, > > > > Does Tapestry work with XHTML? > > > > I renamed "Home.html" to "Home.xhtml" in my test application, but I > > got an > > exception saying that > > > > "Could not find template for page Home in locale en_US." > > > > > > --- > > > > org.apache.hivemind.ApplicationRuntimeException Could not find > > template for > > page Home in locale en_US. component: [EMAIL PROTECTED] location: > > context:/WEB-INF/Home.page, > > line 4, column 55 > > 1 2 > specification > > PUBLIC "-//Apache Software Foundation//Tapestry Specification 4.0// > > EN" 3 " > > http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> 4 > > > class="com.ttdev.HelloWorld.Home"> 5 > type="Insert"> > > 6 7 8 > > > > > > > > > > Thanks! > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > _ > Piano music podcast: http://inthehands.com > Other interesting stuff: http://innig.net > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
Re: Does Tapestry work with XHTML?
Yet, not all of Tapestry's components produce compliant xhtml, so you may be wasting your time going through these measures. On 5/29/06, Paul Cantrell <[EMAIL PROTECTED]> wrote: Right. And just to be clear: the ".xhtml" is not necessary for XHTML, not just for Tapestry, but in *any* content -- and I don't think the "text/xml" mime type is necessary either. It's the DOCTYPE that has the last word. Use the W3C validator when in doubt! Use it when not in doubt, too. Cheers, Paul On May 29, 2006, at 2:11 AM, Kristian Marinkovic wrote: > hi, > > to use XHTML it is NOT necessary to rename the .html file > to .xhtml. all > you > have to do is to add the dtd and the . the only reason i > could > imagine you want to rename it to .xhtml is because you could configure > your webserver to set the correct mime-type (text/xml). but if you > do so > IE6 (and before) won't be able to display your document correctly. > > btw. if you put into > your document IE6 will run in quirksmode and not in standard compliant > mode! this may cause some misbehaviours when using css :) > (boxmodel...) > although it is not absolutly correct you may omit > > completly (or you generate it depending on the current > browser :)). > > > regards, > kris > > > > > > Galam > <[EMAIL PROTECTED] > > om>An > "Tapestry users" > 29.05.2006 04:32 > K > opie > > Bitte > antwortenThema > an Does Tapestry work with XHTML? > "Tapestry users" > <[EMAIL PROTECTED] > pache.org> > > > > > > > > Hi all, > > Does Tapestry work with XHTML? > > I renamed "Home.html" to "Home.xhtml" in my test application, but I > got an > exception saying that > > "Could not find template for page Home in locale en_US." > > > --- > > org.apache.hivemind.ApplicationRuntimeException Could not find > template for > page Home in locale en_US. component: [EMAIL PROTECTED] location: > context:/WEB-INF/Home.page, > line 4, column 55 > 1 2 specification > PUBLIC "-//Apache Software Foundation//Tapestry Specification 4.0// > EN" 3 " > http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> 4 > class="com.ttdev.HelloWorld.Home"> 5 type="Insert"> > 6 7 8 > > > > > Thanks! > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > _ Piano music podcast: http://inthehands.com Other interesting stuff: http://innig.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does Tapestry work with XHTML?
Right. And just to be clear: the ".xhtml" is not necessary for XHTML, not just for Tapestry, but in *any* content -- and I don't think the "text/xml" mime type is necessary either. It's the DOCTYPE that has the last word. Use the W3C validator when in doubt! Use it when not in doubt, too. Cheers, Paul On May 29, 2006, at 2:11 AM, Kristian Marinkovic wrote: hi, to use XHTML it is NOT necessary to rename the .html file to .xhtml. all you have to do is to add the dtd and the . the only reason i could imagine you want to rename it to .xhtml is because you could configure your webserver to set the correct mime-type (text/xml). but if you do so IE6 (and before) won't be able to display your document correctly. btw. if you put into your document IE6 will run in quirksmode and not in standard compliant mode! this may cause some misbehaviours when using css :) (boxmodel...) although it is not absolutly correct you may omit completly (or you generate it depending on the current browser :)). regards, kris Galam <[EMAIL PROTECTED] om>An "Tapestry users" 29.05.2006 04:32 K opie Bitte antwortenThema an Does Tapestry work with XHTML? "Tapestry users" <[EMAIL PROTECTED] pache.org> Hi all, Does Tapestry work with XHTML? I renamed "Home.html" to "Home.xhtml" in my test application, but I got an exception saying that "Could not find template for page Home in locale en_US." --- org.apache.hivemind.ApplicationRuntimeException Could not find template for page Home in locale en_US. component: [EMAIL PROTECTED] location: context:/WEB-INF/Home.page, line 4, column 55 1 2 specification PUBLIC "-//Apache Software Foundation//Tapestry Specification 4.0// EN" 3 " http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> 4 class="com.ttdev.HelloWorld.Home"> 5 type="Insert"> 6 7 8 Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Piano music podcast: http://inthehands.com Other interesting stuff: http://innig.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Does Tapestry work with XHTML?
hi, to use XHTML it is NOT necessary to rename the .html file to .xhtml. all you have to do is to add the dtd and the . the only reason i could imagine you want to rename it to .xhtml is because you could configure your webserver to set the correct mime-type (text/xml). but if you do so IE6 (and before) won't be able to display your document correctly. btw. if you put into your document IE6 will run in quirksmode and not in standard compliant mode! this may cause some misbehaviours when using css :) (boxmodel...) although it is not absolutly correct you may omit completly (or you generate it depending on the current browser :)). regards, kris Galam <[EMAIL PROTECTED] om>An "Tapestry users" 29.05.2006 04:32 Kopie Bitte antwortenThema an Does Tapestry work with XHTML? "Tapestry users" <[EMAIL PROTECTED] pache.org> Hi all, Does Tapestry work with XHTML? I renamed "Home.html" to "Home.xhtml" in my test application, but I got an exception saying that "Could not find template for page Home in locale en_US." --- org.apache.hivemind.ApplicationRuntimeException Could not find template for page Home in locale en_US. component: [EMAIL PROTECTED] location: context:/WEB-INF/Home.page, line 4, column 55 1 2 http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> 4 5 6 7 8 Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Does Tapestry work with XHTML?
Hi all, Does Tapestry work with XHTML? I renamed "Home.html" to "Home.xhtml" in my test application, but I got an exception saying that "Could not find template for page Home in locale en_US." --- org.apache.hivemind.ApplicationRuntimeException Could not find template for page Home in locale en_US. component: [EMAIL PROTECTED] location: context:/WEB-INF/Home.page, line 4, column 55 1 2 http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> 4 5 6 7 8 Thanks!