cancel
Showing results for 
Search instead for 
Did you mean: 

Calling jsp from custom action..

g_rathod
Star Contributor
Star Contributor
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
1 REPLY 1

buurd
Champ in-the-making
Champ in-the-making
Is there a way to do this without writing a javaclass? I have a javascript-action that i'd like to feed with parameters from an htmlform.

//Roland