on 09-18-2008 6:04 PM
Hello All,
I have a WDj app. I am asking the user to enter user name and password and validating it against LDAP and then showing the user a second view. It just has one ui Elment LINK TO URL.
I want the link to open in the same browser window as the wdj app is runing.
Is it possible to achieve following things
1> Call the url directly after the user is authnticated as in redirecting the url.
2> Oepn the link in the same window
I have tried _MAIN, _SELF and "" but it does not open the link in the same window.
3> Open the brwser in the new window and close the parent window.
Thanks and Regards
Pradeep
Hi,
>Call the url directly after the user is authnticated as in redirecting the url.
You can use exit plugs on the WD and pass the URL as a parameter.
>Oepn the link in the same window
No, The standard targets "_self", "_parent" and the others have been deactivated for the LinkToURL UI element. By default a link will open in a new window and you cannot change this. You can use portal navigation though.
>Open the brwser in the new window and close the parent window.
Search this forum by clicking [here|https://forums.sdn.sap.com/search.jspa?threadID=&q=close+window&objID=f52&dateRange=all&numResults=15&rankBy=10001].
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
If I understand your requirement, I suggest you to go for LinkToAction
instead of LinkToURL.
Place both views in a window and define navigation between them using outbound and inbound plugs.
In Action of LinkToAction, After validating user, fire Plug to
SecondView from FirstView as
wdThis.wdFirePlug<OutboundPlug to SecondView>();
Regards
LN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All,
let me put my requirements in a more detailled way:
http://<servername>:50000/webdynpro/dispatcher/local/<App name>/<ComponentName>
now it has 2 view
first view
and second view
first view has controls for allowing users to enter user id and password and a log on button.
Second view has a linkto URL element.
On click of this element I am trying to open up google.com.
Now I do not want to navigate to secnd view for this, is it possible to open google.com (or any other URL) from action of the button. i also want the link to open in the same " browser" i.e http://<servername>:50000/webdynpro/dispatcher/local/<App name>/<ComponentName>
should be replaces by http://www.google.com
I Hope I am bit more clear on my requirments now.
Thanks and Regards
Pradeep Bhojak
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.