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

12-Amethyst
May 31, 2023

Hi @HelesicPetr , is this limitation still applicable? I'm trying to create a custom action in Document Structure Browser that will download all the primary content in the structure, package it as a zip and download it in the client. I'm unable to do this by using a class. Any suggested workaround?

HelesicPetr
22-Sapphire II
22-Sapphire II
May 31, 2023

@MV_10441462 

Here is just example how it can look like.

 

javascript method on the jsp page to submit the wizard without the users interaction. 

PTC.onReady(function () {
PTC.wizard.submitWizard();

});

 PetrH