AnsweredAssumed Answered

Calling jsp from custom action..

Question asked by g_rathod on Apr 7, 2008
Latest reply on Sep 24, 2008 by buurd
Hi friends,

I am adding new menu item on context menu ( more items ) for any documents in my root space (let say it "test").
for every docs its showing me 'Rate it'.  is there anyway to call jsp ?

my code is like below : ( web-client-config-custom.xml )


<config>
      <actions>
         <action id="custom-action-rate">
         <permissions>
           <permission allow="true">Write</permission>
         </permissions>
         <evaluator>org.fortify.web.action.evaluator.RateEvaluator</evaluator>     
         <label>Rate it</label>
         <tooltip>Runs the specified Jsp for Rating</tooltip>
         <show-link>true</show-link>
       
         <style-class>inlineAction</style-class>
         <image>/images/icons/recover.gif</image>
          <action> ??????? </action>
         <params>
            <param name="id">#{actionContext.id}</param>
         </params>
        </action>
       <action-group id="document_browse_menu">
         <action idref="custom-action-rate"/>         
        </action-group>
    </actions>
</config>


can you help me to get exact path for my jsp ?  without writing java code. ( any way  to link it out directly ? )
like :  <href>#{actionContext.cifsPath}</href>   how do I give my path suppose jsp is inside

Outcomes