Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Cheatsheet is not recognizing custom command parameters
Cheatsheet is not recognizing custom command parameters [message #1707599] Mon, 07 September 2015 18:45
Rajesh Arumugam is currently offline Rajesh ArumugamFriend
Messages: 24
Registered: October 2013
Junior Member
We are trying to adapt cheat sheet features in our project for training purpose. As part of that, we are invoking some custom command from cheat sheet with some parameter values. When we select perform action in cheat sheet, its hitting our custom handler implementation. so no problem till now.

But, in our custom handler implementation, we do some business logic after reading the parameters from event passed to the command . But this event have only information about command, but not the provided parameters. The same command\handler implementation is working other than in cheatsheet.

Please guide me.

Command:-
       <command
            id="com.test.rac.commands.testCommand"
            name="Test Command">
            <commandParameter
               id="com.test.rac.commands.testCommand.testParam"
               name="param1"
               optional="true">
         </commandParameter>
      </command>


Cheatsheet
   <item
         title="Select">
      <description>
         <b>Select</b>
      </description>
      <command required="true"
 serialization="com.test.rac.commands.testCommand(param1=testParamValue)"/>
   </item>
Previous Topic:JQuery in Eclipse Help HTML Content
Next Topic:Language parameter -nl does not work with the standalone help viewer
Goto Forum:
  


Current Time: Mon Nov 20 08:03:58 GMT 2017

Powered by FUDForum. Page generated in 0.01575 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software