cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Enable wizard button by default

TG_10272716
12-Amethyst

Enable wizard button by default

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

ACCEPTED SOLUTION

Accepted Solutions

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%>">

 

View solution in original post

1 REPLY 1

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%>">

 

Announcements

Top Tags