cancel
Showing results for 
Search instead for 
Did you mean: 

WDConfirmationDialog on mobile??

Former Member
0 Kudos

Hi everybody,

I' ve made some WebDynpro applications and found usefull help on issues on this site. But for my last issue i can't find an answer.

Is it possible to show WDConfirmationDialog on a mobile ? I'm able to show this on a "normal" webdynpro application but when i'm using a Symbol MC9090 (Mobile device) i can't. Does anybody could help me? or suggest me something else?

I don't want to create a new view just to show messages and answers like yes or no.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

BvD-it,

Unfortunately neither WDConfirmationDialog nor pop-up windows in general are supported for hand-helds.

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Former Member
0 Kudos

And how would you do if you have to ask a user something like "Are you sure you want to delete? Yes/ No

Former Member
0 Kudos

Create separate "Confirmation" view with one inbound plug and 2 outbound plugs yes/no. Include this view in navigation with original views.

Pass confirmation text via context mapping (all views shares text attribute via component controller)

The rest should be obvious

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Former Member
0 Kudos

Yes that's what i was thinking about, but if i remember well, when i made a test. When the program reach the code wdFirePlug.... it doesn't stop untill is has the return of the second view.

I mean, if i have something like

...

wdThis.wdFirePlugToListPicking();

wdContext.current....

it does the Fire and then directly it is executing wdContext....

Or i would like it to wait untill i have answered Yes or No on the second view.

Former Member
0 Kudos

You have split your code after firing outbound plug to confirmation up to 2 parts.

First part is executed in inbound plug that handles return from Confirmation.YES, second (obviously) to the inbound plug handler that is linked with Confirmation.NO.

Btw, when using confirmation dialog, you must to exactly the same -- but your code will be placed in event handlers rather then in plug handlers.

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Answers (0)