on 9/12/2000 4:12 PM, "Magn�s ��r Torfason" <[EMAIL PROTECTED]> wrote:

>>> I subclassed org.apache.ecs.html.Html
>>> with my very own WML element, and output the
>>> mandatory header in a subclass of Layout.
>> 
>> Gag. What is wrong with just defining your own Layout?
> 
> Nothing wrong with defining my own Layout, but I don't like
> subclassing the org.apache.ecs.html.Html
> element with a my.package.Wml element.
> 
> What I was pointing out was that org.apache.ecs.Document
> is output, with <html></html> tags, no matter what I do,
> and the subclassing was the only way I found to
> suppress it.  

And what I'm saying is exactly what I just told Joe...define your own
getLayout() to get around the default behavior of Turbine.

> OK, but what is a clean way of bypassing org.apache.ecs.Document
> completely, so that I can avoid the html-ness of that class,
> and do all the wml construction myself?

Huh? Everything in Turbine returns a ConcreteElement.

-jon

-- 
http://scarab.tigris.org/    | http://noodle.tigris.org/
http://java.apache.org/      | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/       | http://www.sourcexchange.com/




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to