What about client side XSL transformation support in the Maverick?
I think it should be useful for intranet-like systems where users
can be forced to install IE6/Netscape7/Mozilla.

Proposed way for all Views together:

<transform-factory type="xslt" 
provider="org.infohazard.maverick.transform.XSLTransformFactory">
  <default-output-type value="text/html"/>
  <!-- default to false -->
  <client-side-transform value="true"/>
</transform-factory>

or/and for each <view> (for example, some View can not be applyed on the client due to 
unsupported
XSLT functions)

<command name="login">
<controller class="com.romanpetrov.tiers.web.auth.LoginController"/>
  <view name="success" client-side-transform="true">
    <transform path="xsl/login.xsl"/>
  </view>
</command>

By this Maverick can serialize Model to XML, append xsl link and send to browser.
IMHO, there are no need to support browser XSL availability detecting.

Roman Petrov.


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

Reply via email to