Hi,
I know that this is a very well documented subject, but I try it, and doesn't work.
 
My pipeline is:
   <map:match pattern="test-*-*">
    <map:generate src="" strip-root="false">
     <map:parameter name="user_id" value="{1}"/>
     <map:parameter name="app_id" value="{2}"/>
    </map:generate>
    <map:serialize type="xml"/>
   </map:match>
 
My xsp file is:
 <select>
  <xsp:logic>
   String app_id = <util:get-sitemap-parameter name="app_id"/>;
   String user_id = <util:get-sitemap-parameter name="user_id"/>;
   <val1><xsp:expr>app_id</xsp:expr></val1>
   <val2><xsp:expr>user_id</xsp:expr></val2>
  </xsp:logic>
 </select>
 
The xsp can't pull the parameters. The result is an empty string. I already try to use the parameters.getParameter("paramname")
but the problem is the same. Can anybody tell me what's wrong here?!
 
Thanks,
Carlos Dias
 

Reply via email to