Hello,
 
I need to pass an object of arbitrary type from one action down to another along a sitemap pipeline, but unfortunately it seems that they are all cast to String.
 
This is an example:
 
   <map:match pattern="myHello2.html">
       <map:act type="ObjectRetriever">
         <map:act type="CheckParamType">
              <map:parameter name="objParam" value="{objParam}"/>
                  <map:generate src=""/>
                  <map:transform src="">
                        <map:parameter name="zzz" value="20"/>
                        <map:parameter name="objParam" value="{objParam}"/>
                  </map:transform>
                  <map:serialize type="html"/>
         </map:act>
      </map:act>
   </map:match>

 
"ObjectRetriever" puts an object into its return hashmap, with key "objParam". It is passed to "CheckParamType" with the same name.
Unfortunately, tracing code in "CheckParamType"  logs the fact that objParam is of type java.lang.String, when it should be something else (like a Vector, for instance).
 
Any ideas how I could do that?
 
Thanks,
 
Julio Lerm
Chicago, IL

Reply via email to