sorry about that!  i'm also a newbie to cocoon-users and although i
*thought* i searched for this question adequately, you proved otherwise! ;-)
the solution ended up being what i thought...but it's good to compare
w/others.

cheers,
chris

> -----Original Message-----
> From: Sylvain Wallez [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 13, 2003 11:50 AM
> To: [EMAIL PROTECTED]
> Subject: Re: dynamically load an action in a resource?
> 
> 
> Delis, Christopher E. wrote:
> 
> >i'm a newbie cocoon2 developer who is trying to create a 
> map:resource for
> >commonly-used pipelines for use with my XMLForms.  
> apparently (here, my
> >newbie status
> >begins to show prominently ;-), you can send map:parameters 
> to map:resources
> >quite easily via map:call (i've done this quite a bit 
> already).  also, i
> >think you can even use map:actions within a map:resource.  
> however, i can
> >not dynamically load a map:action (which is the controller 
> bean) within my
> >map:resource like so:
> >
> ><map:resource name="my-xmlform">
> >...
> >   <map:act type="{target}">
> >   ...
> >   </map:act>
> >...
> ></map:resource>
> >
> >do "map:act" types have to be declared statically (i.e., a 
> static value for
> >"type")?  or, is this a bug?  or, is this a design choice 
> (for security
> >reasons, etc.)?  perhaps, this is a bad way of going about 
> this.  i suppose
> >i could write a more generic action and have it do what i want, but i
> >thought it would be good to know why i can't do this.
> >  
> >
> 
> This has been discussed recently :
> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104689753426755&w=2
> 
> Sylvain
> 
> -- 
> Sylvain Wallez                                  Anyware Technologies
> http://www.apache.org/~sylvain           http://www.anyware-tech.com
> { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to