You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Uwe Gerger <Uw...@bmw.de> on 2003/07/15 16:07:32 UTC

Beans as input for cocoon

Hello,
we have some Java-beans wich contains the data we wish to transform with
cocoon into PDF. Is there a way how we can get the data from the bean
into cocoon? Maybe there is a special bean-transformer or something like
this?

Thanks in advance
	Uwe
-- 
Uwe Gerger                                _/_/_/   _/    _/  _/    _/
BMW AG, TG-53 IT-Technologie             _/   _/  _/_/_/_/  _/    _/
80788 Muenchen                          _/_/_/   _/ _/ _/  _/ _/ _/
Tel: +49 89 382 35687                  _/   _/  _/    _/  _/_/_/_/
Fax: +49 89 382 49040                 _/_/_/   _/    _/  _/    _/
mailto:Uwe.Gerger@bmw.de


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Beans as input for cocoon

Posted by Alexander Schatten <al...@gmx.at>.
Uwe Gerger wrote:

>Hello,
>we have some Java-beans wich contains the data we wish to transform with
>cocoon into PDF. Is there a way how we can get the data from the bean
>into cocoon? Maybe there is a special bean-transformer or something like
>this?
>
>  
>
Hm, a BeanGenerator could be a nice idea? but where would this bean get 
the data from? it would be initialized by the generator, so is "empty"; 
off course you could read a file or something in the bean constructor or 
access a database; but for both things there seem to be more elegant 
options.

in fact you can access beans from within XSP scripts or actions, maybe 
this is a convenient solution.


alex



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Beans as input for cocoon

Posted by Frank Taffelt <fr...@interface-business.de>.
take a look into castor transformer. maybe this could ease your task.

hth,
frank

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org