Skip to main content
12-Amethyst
August 23, 2022
Solved

Enable wizard button by default

  • August 23, 2022
  • 1 reply
  • 2934 views

Hello,

my edit wizard has 5 steps. You start at the first step, the Apply and Finish buttons are disabled be default.

You have to go through the first 2 steps so the Apply and Finish buttons enable.

 

However, I need them to be enabled all the time by default so you can open the wizard and apply the changes right away.

 

I came up with this: Ext.getCmp("PJL_wizard_ok").enable();

 

This works for enabling the button, however, I need a place to call it. I was thinking about using a listener but I have tried "wizardLoadComplete" which does not work.

 

Is there another way to achieve this?

 

Best regards

Best answer by BjoernRueegg

There is an easy way to accomplish this. You only need to add in your wizard jsp following syntax:

<jca:wizard buttonList="xxx" type="clerk" title="<%=title%>">

 

1 reply

17-Peridot
August 23, 2022

There is an easy way to accomplish this. You only need to add in your wizard jsp following syntax:

<jca:wizard buttonList="xxx" type="clerk" title="<%=title%>">