on 07-31-2007 8:12 PM
Ive seen several posts on passing url parameters and have read the tutorial. Either they dont relate or Im 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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.