cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bobby Mitchell <>
Subject ParameterSelector
Date Wed, 23 Apr 2003 18:13:26 GMT
I'm using Cocoon-2.1-dev, RedHat-8, Sun j2sdk1.4.1_02.

I want to implement the following selector using 

   <map:selectors default="parameter">
     <map:selector name="parameter" 

       <map:select type="parameter">
         <map:parameter name="parameter-selector-test" value="{1}"/>

         <map:when test="starts-with({1},'test')">
           <map:generate type="serverpages" src="{1}.xsp"/>
           <map:transform src="stylesheets/test2html.xsl"/>
           <map:serialize type="xml"/>

If I use test="test" it works, test="starts-with({1},'test') does not work.
Will ParameterSelector use "starts-with" in the test?
If so, is the syntax correct?


Robert J. (Bobby) Mitchell
Systems Administrator
NASA Institute for Advanced Concepts
555A 14th St Atlanta, Ga. 30318
Phone: (404)347-9633 Fax: (404)347-9638

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message