Are you still asking the proxy how to get parameters?
Source: Internet
Author: User
Suddenly, as the spring breeze of the night, many new people and headhunters flood into the lotus advanced development group. Of course new people are not only chatting, but also having problems. For example, how to pass parameters to the proxy.
As a result, I tried to teach people to fish and asked them what a bsstructure is? Tell them the get and post methods. My mother-in-law is preparing to check what is going on under Domino. When it comes to how to deal with it, new people are impatient: all these know, I don't want to listen to this, I want to pass parameters. I'm so angry! Later I thought, why. Everyone can't eat mixed meals. In this industry, the environment is poor, Domino talents are scarce, but there are a lot of projects, companies are reluctant to spend money, they can only recruit some cheap, not necessarily beautiful.
1. Generally, execute the button of the proxy to submit parameters.
Refer to Lotus to submit the form. In the second method, we can see that after the domino form is parsed into HTML, it is eventually the same form as that parsed by ASP,. net, and Java. In this case, we can use Doc. Field, Doc. query_string_decoded in the proxy like request. Form and request. querystring in. net.
2. Ajax calls proxy through XMLHTTP in JS
The same is the CGI of Domino. The only difference is:
Set thisdoc = ss. documentcontext
Querystr = ucase (thisdoc. query_string_decoded (0 ))
Then parse querystr.
3. Call a proxy in the proxy
For details, refer to: personal favorites lotuser advanced series (transfer)-passing parameters between two proxies, but passing parameters is noteid, not unid. Therefore, you can also write the parameters to the Notes document and delete the document after passing the parameters.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.