Hmmmmm.  Why not create a Filter to do that?  It seems more natural than
trying to use Maverick.

Jeff

> -----Original Message-----
> From: Jonas Van Poucke [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 24, 2003 8:19 AM
> To: [EMAIL PROTECTED]
> Subject: [Mav-user] Newbie: Default transforming *.html/*.jsp or
whatever
> 
> Hi,
> I have a question on doing the following:
> 1. If a command exists in maverick, execute it
> 2. If it does not exist, e.g. for MyPage.html then do:
>    a. Load theat page (DocumentView)
>    b. perform any default transformation
>       (e.g. like stripping out any attributes on some tag, using XSLT)
>    c. Show the transformed document.
> 
> It seems that two things are missing:
> 1. Reading in any *.extension command
> 2. Views need a "path" attribute, but something like path="." (taking
> the command as a path) does not work.
> 
> To summarize, I would need something like:
>     <commands>
>         <command name="*.html">
>             <view name="success" type="document" path=".">
>                 <transform type="xslt"
path="DoSomethingWithHTML.xsl"/>
>             </view>
>         </command>
>     </commands>
> 
> Is there something to support this already? Do I need to create my own
> View? Or modify DispathedViewFactory? Any help welcome!
> 
> Jonas Van Poucke
> Actonomy
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> [INVALID FOOTER]


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
[INVALID FOOTER]

Reply via email to