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]



Reply via email to