Skip to main content
10-Marble
April 30, 2022
Question

How to create an action on GWT action model without jsp

  • April 30, 2022
  • 1 reply
  • 3084 views

I wanted to create one action on the right click of part structure but In that action I am not using JSP . Is there any way to implement like wise?

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
May 2, 2022

Hello @Pushpak_Old 

 

Based on a limitation of GWT customization an answer is "there is no way how to create custom action in GWT without jsp."

 

If you want to add action to GWT menu, (right click in a structure) you need to meet some rules. And this rules limits the usage.

 

It is a fact and as I know there is no way how to add an action to that menu to avoid actual rules. 

 

JSP is needed.

 

PetrH

10-Marble
May 2, 2022

Hi @HelesicPetr ,

Thanks for your reply!!!!

But if you saw their are some actions on right click like checkout and copy there we don't have jsp. So by extending that OOTB classes can we able to do?

 

And  can you please provide the documentation link for GWT rules

HelesicPetr
22-Sapphire II
22-Sapphire II
May 2, 2022

Hi @Pushpak_Old 

Yes OOTB. But you can not extend the OOTB functions as you wish. 

If you copy the OOTB function (create own class), you follow all settings that are mentioned in any customization guides, help and own knowhow,

in the end the action is not shown. 

 

It is hardcoded.

There is hidden logic which allows OOTB actions but the logic is not know. If so, the community would has shared that in my opinion.

 

PetrH