Marco Rolappe wrote:

hi derek,

AFAIR the nodebuilder for <map:act> type nodes (and probably others) doesn't
resolve those variable references for @type attributes. thus I think it's
not possible.



Exactly. The "type" attribute on all map:xxx elements does not go through the variable resolution mechanism.


Why so ? Because dynamically choosing the type of component doesn't really make sense most of the time, and would complicate the understanding of the sitemap.

Now, if you really want to do that, I suggest you write a "meta-action" that calls an action whose type is given as a parameter.

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