RE: [Mav-user] Proposed XSLTransform Modification

2003-10-04 Thread Marco Pas
Seems a nice feature to implement! 

-Original Message-
From: Mike Moulton
To: [EMAIL PROTECTED]
Sent: 10/4/2003 3:15 AM
Subject: [Mav-user] Proposed XSLTransform Modification

This is a repost as I sent it yesterday and it never showed up. Sorry 
if it's a duplicate for anyone.

I would like to propose a minor modification to maverick that would 
allow XSL templates used in a XSLTransform to be loaded from a 
java.net.URL. Additionally, any template that was loaded from a 'file:' 
URL could optionally be monitored, to have the cache (if used) updated 
if and when the monitored file is changed.

An example of how the change would effect the maverick.xml file is 
shown below:

 command name=index
 controller class=some.controller.package.Index /
 view name=success type=domify
 transform type=xslt 
path=file:/home/mmoulton/xsl/index.xsl monitored=true/
 transform type=xslt 
path=file:/home/mmoulton/xsl/template.xsl /
 /view
 /command

In this example the index.xsl would be loaded from the local path of 
/home/mmoulton/xsl, if this file is modified on the system, then those 
changes would be reflected in the compiled XSL. Similarly the 
template.xsl would be loaded from the local filesystem, however changes 
would not be detected and a maverick config reload / app server restart 
would be required to reflect any changes.

Is this functionally beneficial to maverick as a whole?



---
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]


[Mav-user] Question on xsl translation of static xml

2003-09-30 Thread Marco Pas
Hi,

i want to do a xml translation on a specific file and am using the following
in my maverick.xml:


command name=testfile
view path=data.xml
transform path=xslfile.xsl/
/view
/command

The problem is that i receive my xsl file and not the transformation..
Any hints on how to accomplish this ?

Marco


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


[Mav-user] Displaying data from the model using JSP technology

2003-09-03 Thread Marco Pas
 hi,
 
 i was wondering if it  was possible to display data that has been
 retrieved bij controllers/handlers in the following manner:
 
 %=Clients.name%
 
 What is the most easiest way to display the data ?
 Do i need to use the taglibs as mentioned in the friendbook example ?
 
 Kind Regards,
 Marco


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