cancel
Showing results for 
Search instead for 
Did you mean: 

URL Parameters and view access.

Former Member
0 Kudos

I’ve seen several posts on passing url parameters and have read the tutorial. Either they don’t relate or I’m just missing something.

I have a simple webdynpro application with a single DC. It has a SearchView and once the user selects from the query results they are taken to the DetailView. How can I bypass the SearchView and go directly to the DetailView if the ID is passed in the URL?

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Greg, create ProxyView, define 2 plugs - toSearch, toDetails, bind them with appropriate plugs on search and detail views, embed ProxyView to window and make it default. Define event, context attribute to keep URL parameter values and define method which takes URL parameter values as parameter in component controller. In interface view define compoennt controller as required, in plug handler call component controller method and pass URL parameters. in custom controller method implementation set context attributes and fire plug there. make component controller as required controller in proxyView and subscribe to event, in event handler fire appropriate plugs depedning on URL parameters values.

Former Member
0 Kudos

Maksim,

That worked like a charm. Thanks for your time.

Answers (0)