RE: Question on view node in maverick.xml

"Schnitzer, Jeff" <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
Since a "type" attribute was not specified for the transform node, it
uses the default transform type.  I'm assuming that it's "document".

 

What will happen is that the output of welcome.jsp is converted to a
String and placed in the request attributes with the key "wrapped".
Then trimOutside.jsp is executed and written to the output.

 

Yes, in some ways this is like tiles, but it's a lot simpler.  If you
like tiles, use it.  I don't.

 

Keep in mind that this is only one type of transform... others include
XSL, DVSL, FOP, Perl, or anything you care to write, and you can chain
them together.

 

Jeff Schnitzer

[email protected]

 

-----Original Message-----
From: Thompson, Kris [mailto:[email protected]] 
Sent: Wednesday, May 28, 2003 6:46 AM
To: [email protected]
Subject: [Mav-user] Question on view node in maverick.xml

 

                <command name="welcome"> 
                        <view path="welcome.jsp"> 
                                <transform path="trimOutside.jsp"/> 
                        </view> 
                </command> 

I don't understand what the transform piece does in the view node above.
It seems to act like tiles sort of, if this is true then is there any
reason to use the above syntax instead of tiles itself?

Thanks 

Kris Thompson 
www-frameworks-boulder.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.