On 17.Sep.2001 -- 02:21 PM, Jeremy Quinn wrote:
> Dear All,
>
> I am trying to use the RequestSelector, without much luck so far.
>
> Can anyone confirm that <a> it works and <b> I am using it correctly.
Jeremy, if you're running HEAD it doesn't work right now. This is
because xalan is broken in two respects: a) before parameters to a
extension function were flattened and b) accessing child elements
throws an exception. I have informed xalan-dev about this but have not
gotten any reply, yet. Please downgrade xalan to Cocoon CVS version
1.4 or xalan-2.2.0-D8.
This problem affects only SourceFactories.
Besides, supplying parameters to components does not involve the map
namespace (in my ignorance I introduced using this syntax for it but
it was cleaned up later). Hence
<map:selectors default="browser">
<!-- tests value of incoming form param 'crudlet.login.action' -->
<map:selector name="form-submitted"
src="org.apache.cocoon.selection.RequestSelectorFactory">
<parameter-name>crudlet.login.action</parameter-name>
</map:selector>
</map:selectors>
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]