cancel
Showing results for 
Search instead for 
Did you mean: 

Call action if request has parameters

Former Member
0 Kudos

Hi all,

i have a view with some inputfields. for each field there is an eventhandler (<b><i>onActionSearchPressed</i></b>) for the event <i><b>onEnter</b></i>. the action calls some rfc and then fire the outboundplug of the view. now i want to call the action if the http request has some parameters, parsed with <b><i>WDWebContextAdapter.getWebContextAdapter().getRequestParameter("partner")</i></b>.

here the call: <i><b>wdThis.onActionDisplayPressed(null);</b></i>

in the application log there is an entry for the call, but the outboundplug will never be fired.

what's the solution ?

thx

snyder

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Are you sure the request parameter test is executed correctly?

Is the RFC call executed correctly? Are you silently catching exceptions?

Armin

Former Member
0 Kudos

#Are you sure the request parameter test is executed correctly?

yes

Is the RFC call executed correctly?

yes

Are you silently catching exceptions?

yes, for debuging i have for each step/call a log entry, there no exceptions

snyder

Former Member
0 Kudos

found the solution

i have to fire the corresponding event in the Application InterfaceView (<b>onPlugDefault</b>).

Then the eventhandler for this event can fire the outboundplug.

... solved

Message was edited by: Sebastian Schmidt