Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: wEB

$
0
0
Re: wEB
Web Connection User Discussions
Re: wEB
03/08/2012
04:35:32 PM
3G80ZJIKU Show this entire thread in new window
Gratar Image based on email address
From:
To:
Attachments:
None
The javascript places the question mark before the first parameter,(popurl = "update_metdata1.met?OC110414051352~edit_mets" but what I was showing below was what appears in the web connection display window. Using the same approach invariably brings me the results I wanted by parsing the querystring using request.querystring(1), request.querystring(2), etc, but in this case the program never gets to the target class but seems to get intercepted before the class and it appears that the 2nd parameter ends up becoming the function call in the class. I changed the second parameter in the javascript call and everything works fine.

Thanks for the quick response. I have enjoyed your products for many years. Keep up the good work.
--Laurin


Not sure what you're saying. You have to pass a valid URL - looks like you're missing the ? between the URI and the query string.

IAC, I'd recommend you use a scriptmapped page and named parameters instead of positional parameters. This will ensure that any parsing query string issues are addressed.

+++ Rick ---



I am using Version 5.6 dtd Oct 19 2011.
When I pass a function call via javascript such as " update_metdata1.met OC110414051352~edit_mets ", I intend to run the function update_metdata1, passing it two parameters, OC110414051352 and edit_mets. edit_mets also happens to be the name of another function in the .met file that runs different code.

What ends up happening is the function edit_mets runs instead of update_metdata1.

Is there something I am doing wrong?

Thanks,
Laurin




Viewing all articles
Browse latest Browse all 10393

Trending Articles