cancel
Showing results for 
Search instead for 
Did you mean: 

Wizard Step question

Former Member
0 Kudos

Hi,

I am having a wizard in the pop-up, which on first call starts by default with Step 1 and all other subsequent calls start with Step 2. What do I need to do that it always starts with Step 1 and not Step 2?

The default layer setting of the wizard is set to Step 1.

Best regards,

Dharmi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dharmi,

Can you please attach a snapshot of the storyboard?

Thanks in advance,

Udi

Former Member
0 Kudos

Hi Udi,

Hereby the [screenshot|http://img363.imageshack.us/img363/8796/quotationdesignfv0.jpg]. Kindly ignore the red block. There is just one wizard, The wizard also now does not have the close flow.

Best regards,

Dharmi

Former Member
0 Kudos

Hi Dharmi,

I noticed you created a Trasition from Step1 to Step2 and the event of the Trasition is the signal out of B2BArticle. Have you tried to set the evet of the Transition from Step2 to Step1 as the signal out of NewArticle?

Regards,

Udi

Former Member
0 Kudos

Hi Udi,

Tried it on your advice, doesn't work. Hereby the new [printscreen|http://img501.imageshack.us/img501/2/quotation2iy7.jpg]

Regards,

Dharmi

p.s. When it had a close flow, it was always at step 1 but then, I use to get [error|; with popup engine.

Edited by: Dharmi Tanna on May 6, 2008 3:42 PM

Former Member
0 Kudos

Hi Dharmi

Another thing you can try:

Instead of launching the Popup with a transition, open it using the "Open Window" action.

If you do this, you can insert a transition action on the same action sequence just after the open window action.

Regards,

Shai

Former Member
0 Kudos

Hi Dharmi,

What I ment was that you change the event on the Transition line from Step2 to Step1 from 'close' to the name of out plug on the NewArticle nested component.

Regards,

Udi

Former Member
0 Kudos

Hi Shai,

I tried what you mentionen, and I get the following error:

The initial exception that caused the request to fail, was:<br>

<br>

<div style="font-size:8pt;color:#FF0000">&nbsp;&nbsp;

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Viewmanager for window Generic is already used and must not be used twice at the same time.

</div>

<br>

&nbsp;&nbsp;&nbsp;&nbsp;at com.sap.tc.webdynpro.progmodel.window.ViewManager.allocate(ViewManager.java:97)<br>

&nbsp;&nbsp;&nbsp;&nbsp;at com.sap.tc.webdynpro.progmodel.window.InterfaceView.manageEmbeddedViewManager(InterfaceView.java:145)<br>

&nbsp;&nbsp;&nbsp;&nbsp;at com.sap.tc.webdynpro.progmodel.window.InterfaceView.initController(InterfaceView.java:56)<br>

&nbsp;&nbsp;&nbsp;&nbsp;at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:209)<br>

&nbsp;&nbsp;&nbsp;&nbsp;at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:352)<br>

&nbsp;&nbsp;&nbsp;&nbsp;... 57 more<br>

<br>

<p>See <a href="#exceptionchain">full exception chain</a> for details.

<br>

<br>

Here by the [Screenshot of action - open window|http://img212.imageshack.us/img212/5756/engineactionnv3.jpg] and [Transition|http://img382.imageshack.us/img382/5361/engineaction1el1.jpg]

Best regards,

Dharmi

Former Member
0 Kudos

Hi Udi,

Yes, this works. Thank you.

I would however like it to go on step 1 again without the user actually seeing it.

The flow now is:

1. Click on the Button "New Article"

2. The pop-up is called : which has this 2 step wizard.

3. The user goes upto step 2 clicks ok and after that goes back to step 1

4. Then close button to close the popup

5. The line gets inserted in table

The flow required is:

1. Click on button "New Article"

2. The popup is called: which has this 2 step wizard

3. The user goes upto step 2 and there clicks OK (pop-up gets closed and when user clicks on "New Article" again, it is on Step 1 and not step 2 )

4. Line gets inserted in table.

Can you please advice?

Best regards,

Dharmi

Former Member
0 Kudos

Hi Dharmi,

I did some testing (VC SP5) and came up with the following solution:

1. you need to drag the close element into Step2 layer.

2. create a transition between Step1 and Step2 named 'close'

this will close the popup and afterwards will switch wizard's steps ([Like this|http://img186.imageshack.us/my.php?image=img1iu9.jpg]).

Udi

Former Member
0 Kudos

Hi Udi,

Thank you once again. It works.

Best regards,

Dharmi

Former Member
0 Kudos

Hi Udi,

If the close button is clicked on step 2, the wizard closes but on reopening the wizard, the pop-up is still on step 2 instead of Step 1.

Please suggest. Here the screenshots of [design|http://img410.imageshack.us/my.php?image=b2barticledesignwi2.jpg] , [runtime|http://img241.imageshack.us/my.php?image=b2barticlertap9.jpg]

Many thanks,

Dharmi

Former Member
0 Kudos

Solved it using "Back" button

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

changethe default layer to Tab2 from tab 1 go for configuration of any one thelayers and change then

Regards,

Govindu

Former Member
0 Kudos

Hi Govindu,

Do you read the question by any chance ???

There is no mention of Tabs in my question and also your answer never has made sense to me.

Regards,

Dharmi