You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andy Pahne <ap...@net22.de> on 2008/09/23 15:31:25 UTC
[T5] - XHtml - wiki info outdated
How do I make T 5.0.15 emit XHTML?
The Howto at http://wiki.apache.org/tapestry/Tapestry5HowToXhtml is
outdated, because MarkupWriterFactory now has another method that is not
mentioned in the wiki:
public MarkupWriter newMarkupWriter(String pageName);
I tried the very same implementation that T5's MarkupWriterFactoryImpl uses:
@Override
public MarkupWriter newMarkupWriter(String pageName) {
Page page = cache.get(pageName);
ContentType contentType = analyzer.findContentType(page);
return newMarkupWriter(contentType);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: [T5] - XHtml - wiki info outdated
Posted by ProAdmin Dariusz Dwornikowski <da...@proadmin.com.pl>.
It works, method you mention can return null. My only problem is that
my form does not work with XHTML
2008/9/24 Francois Armand <fa...@linagora.com>:
> Andy Pahne wrote:
>>
>> How do I make T 5.0.15 emit XHTML?
>>
>> The Howto at http://wiki.apache.org/tapestry/Tapestry5HowToXhtml is
>> outdated, because MarkupWriterFactory now has another method that is not
>> mentioned in the wiki: [...]
>
> I just posted an update to the wiki that works with 5.0.14 (and I think
> nothing change for 5.0.15 in this aera). Hope it help !
>
>
> --
> Francois Armand
> Etudes & Développements J2EE
> Groupe Linagora - http://www.linagora.com
> Tél.: +33 (0)1 58 18 68 28
> -----------
> InterLDAP - http://interldap.org FederID - http://www.federid.org/
> Open Source identities management and federation
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Pozdrawiam,
Dariusz Dwornikowski
------------------------------------
ProAdmin - Outsourcing IT
ul. Królowej Jadwigi 44/2 61-872 Poznań
tel: 061 623-20-92 kom: 0601 59-64-74 fax: 061 623-20-93
www.proadmin.com.pl
Re: [T5] - XHtml - wiki info outdated
Posted by Francois Armand <fa...@linagora.com>.
Andy Pahne wrote:
>
> How do I make T 5.0.15 emit XHTML?
>
> The Howto at http://wiki.apache.org/tapestry/Tapestry5HowToXhtml is
> outdated, because MarkupWriterFactory now has another method that is
> not mentioned in the wiki: [...]
I just posted an update to the wiki that works with 5.0.14 (and I think
nothing change for 5.0.15 in this aera). Hope it help !
--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
InterLDAP - http://interldap.org
FederID - http://www.federid.org/
Open Source identities management and federation
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: [T5] - XHtml - wiki info outdated
Posted by Luther Baker <lu...@gmail.com>.
I didn't add it to the wiki ... my solution is in this forum.
http://www.nabble.com/I%27d-like-to-generate-valid-XHTML-to19247190s302.html#a19247190
There are several branches in this thread, I'm referring to this one: Post:
Luther Baker Sep 12, 2008; 01:21am
Hth,
-Luther
On Tue, Sep 23, 2008 at 8:50 AM, Andy Pahne <ap...@net22.de> wrote:
>
> Which page do you mean? A search for xhtml only produces the link I
> mentioned in my first post. And that page was edited the last time four
> months ago...
>
>
>
> Luther Baker schrieb:
>
>> I've posted a solution based on the wiki last week sometime (based on
>> 5.0.14).
>>
>> Did 5.0.15 obviate that solution? or has anyone had problems with it? I
>> wouldn't suggest it is complete as I am fairly new and there may be
>> something I am missing - I just pulled a few resources together and it
>> seemed to work for me.
>>
>> -Luther
>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: [T5] - XHtml - wiki info outdated
Posted by Andy Pahne <ap...@net22.de>.
Which page do you mean? A search for xhtml only produces the link I
mentioned in my first post. And that page was edited the last time four
months ago...
Luther Baker schrieb:
> I've posted a solution based on the wiki last week sometime (based on
> 5.0.14).
>
> Did 5.0.15 obviate that solution? or has anyone had problems with it? I
> wouldn't suggest it is complete as I am fairly new and there may be
> something I am missing - I just pulled a few resources together and it
> seemed to work for me.
>
> -Luther
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: [T5] - XHtml - wiki info outdated
Posted by Luther Baker <lu...@gmail.com>.
I've posted a solution based on the wiki last week sometime (based on
5.0.14).
Did 5.0.15 obviate that solution? or has anyone had problems with it? I
wouldn't suggest it is complete as I am fairly new and there may be
something I am missing - I just pulled a few resources together and it
seemed to work for me.
-Luther
On Tue, Sep 23, 2008 at 8:31 AM, Andy Pahne <ap...@net22.de> wrote:
>
> How do I make T 5.0.15 emit XHTML?
>
> The Howto at http://wiki.apache.org/tapestry/Tapestry5HowToXhtml is
> outdated, because MarkupWriterFactory now has another method that is not
> mentioned in the wiki:
>
> public MarkupWriter newMarkupWriter(String pageName);
>
>
>
> I tried the very same implementation that T5's MarkupWriterFactoryImpl
> uses:
>
>
> @Override
> public MarkupWriter newMarkupWriter(String pageName) {
> Page page = cache.get(pageName);
> ContentType contentType = analyzer.findContentType(page);
> return newMarkupWriter(contentType);
> }
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>