on 03-15-2012 10:40 AM
Hi Experts,
I am creating a web dynpro application .
Scenario : The application has two views .. The main view conatins 4 fields "Name", "Street1","Street2",City"". and one button "Locate".
Aftre clicking the "Locate " button, the second view will come, there it should show, "<Name> is looking fopr the place <street1>, <street2>,,<city>. Click here to locate the place on google map (This one is a link to action)".. If that "click here to locate the place on google map" is clicked, then it should go the google map page containg the url having the exact location address of the place that person is searching for..
Here in that click action method i am concatinating " hhttp://maps.google.co.in/maps?f=q&source=s_q&hl=en&geocode=&q=ttp://maps.google.co.in/maps?f=q&source=s_q&hl=en&geocode=&q=" lv_street1 lv_street2 lv_city into another variable lv_final_place .
No w i am calling the method "create_external_window" which is there in the class "IF_WD_WINDOW_MANAGER".. i am passing the url got after concatination of the above mentioned strings.. But while executing the application in the browser it is getting terminated throwing the error "URL http://maps.google.co.in/maps?f=q&source=s_q&hl=en&geocode=&q= 1st cross Vinayak Nagar Bangalore may contain fatal script".
Kindly tell me how to resolve this issue.
Regards,
Swarnadeepta
Hi,
Thanks for the response..
Regards,
Swarnadeepta
I checked the application.. And i found a conclusion, i don't know whether it's correct or not.
But i checked if i pass the texts as without space in the input field, then it's getting connected to the google map and showing the place.
With space it's throwing the same error mentioned above, "Fatal script"..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nelson,
I too had done the same thing.. It was getting connected to google map page.. Some modifications are still needed in that application. like as a part of bussiness pupose , we should not enter the location as without space.. as because i am removing this space, even though it's getting conncted to the google map page but it's failing to locate the exact place.. and if i give space it's showing that error.
Regards,
Swarnadeepta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.