[Mav-user] Pico-enabled Controllers?

2003-11-04 Thread Jozsa Kristof
Hi,

please enlighten me a bit, is it possible to plug a new ControllerFactory
dynamically into Maverick? I'd love to use PicoContainer-enabled maverick
controller classes, so my controllers could get initialized with the
business components I have in pico in IoC3 style. I created a custom
Dispatcher class which initializes the picocontainer (so controllers can
reach it through the servlet context), but I'd really love to use a
custom controllerfactory..

Is there anyone using Maverick this way with picocontainer? Also, anyone who
would be interested in such a feature? I guess adding pico-compatibility
would be quite popular for the masses these days :)

Openions?

dyn
-- 
.Digital.Yearning.for.Networked.Assassination.and.Xenocide


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
[INVALID FOOTER]


[Mav-user] Jakarta poi-hssf

2003-11-04 Thread Paul Knepper
Has anyone used the Jakarta poi-hssf with Maverick?

http://jakarta.apache.org/poi/hssf/index.html

What I'd like to do is just create another xsl 
for output to excel but reuse an existing 
controller that currently uses a different xsl 
for xhtml output.

Thanks,
Paul


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
[INVALID FOOTER]


RE: [Mav-user] Exception on maxTransforms set to x links

2003-11-04 Thread Schnitzer, Jeff
What container and version of xalan?

Jeff

 -Original Message-
 From: Torres, Carlos [AM] [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 31, 2003 4:22 PM
 To: [EMAIL PROTECTED]
 Subject: [Mav-user] Exception on maxTransforms set to x links
 
 I started playing with the friendbook-domify example and I'm getting
the
 following exception when I click on the maxTransforms set to 0 or
 maxTransforms set to 1 links:
 org.apache.xml.utils.WrappedRuntimeException: The output format must
have
 a '{http://xml.apache.org/xalan}content-handler' property!
 
 Any ideas?
 
 
 
 
 ---
 This SF.net email is sponsored by: SF.net Giveback Program.
 Does SourceForge.net help you be more productive?  Does it
 help you create better code?   SHARE THE LOVE, and help us help
 YOU!  Click Here: http://sourceforge.net/donate/
 [INVALID FOOTER]



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
[INVALID FOOTER]


RE: [Mav-user] excel

2003-11-04 Thread Schnitzer, Jeff









Put an output-type attribute
on the transform element like this:



view name=foo

 transform path=blah.xsl
output-type=application/vnd.ms-excel/

/view



You can see the various options in the javadocs
for XSLTransformFactory:



http://mav.sourceforge.net/api/org/infohazard/maverick/transform/XSLTransformFactory.html



Jeff





-Original Message-
From: Paul Knepper
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2003
10:12 AM
To: [EMAIL PROTECTED]
Subject: [Mav-user] excel





I am using betwixt and domify. I want to reuse the
same controller to either output html (which I already do) and excel.











I added another command which uses a different xsl to format
for comma separated value. But, the output method is text so it just
shows as text in the browser. How do I change the content type so the
browser things the response is application/vnd.ms-excel?











Thanks,





Paul


















RE: [Mav-user] Exception on maxTransforms set to x links

2003-11-04 Thread Torres, Carlos [AM]
Tomcat 4.1.27 and version 2.4 of Xalan.


Carlos Torres
100 Stamford Place, 5th Floor
Stamford, CT 06902
(203) 961-4676

-Original Message-
From: Schnitzer, Jeff [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 3:34 PM
To: [EMAIL PROTECTED]
Subject: RE: [Mav-user] Exception on maxTransforms set to x links

What container and version of xalan?

Jeff

 -Original Message-
 From: Torres, Carlos [AM] [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 31, 2003 4:22 PM
 To: [EMAIL PROTECTED]
 Subject: [Mav-user] Exception on maxTransforms set to x links

 I started playing with the friendbook-domify example and I'm getting
the
 following exception when I click on the maxTransforms set to 0 or
 maxTransforms set to 1 links:
 org.apache.xml.utils.WrappedRuntimeException: The output format must
have
 a '{http://xml.apache.org/xalan}content-handler' property!

 Any ideas?




 ---
 This SF.net email is sponsored by: SF.net Giveback Program.
 Does SourceForge.net help you be more productive?  Does it
 help you create better code?   SHARE THE LOVE, and help us help
 YOU!  Click Here: http://sourceforge.net/donate/
 [INVALID FOOTER]



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
[INVALID FOOTER]


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
[INVALID FOOTER]