Hi all,I have an agent and in the agent i am using the html tag to display the field.the agent is called in the web query open
.I want to get the content and pass it to the other agent .How to get the content .I tried using the session.documentcontext .But i couldn't get the content. Is it possible to get the values from the html tag using document context.Or is there any other way to perform this.Does any one has any idea or suggestion,plz help me. Thanks in advance Shobana JSubject: How to get the value within the HTML tag
If you are calling an agent directly by URL, the document context is the HTTP request and nothing else. No data from the page open in the browser is used, other than cookies and the HTTP_Referer value. You need to submit the form TO an agent (in which case the field content ā all of it ā will be available in the Request_Content CGI field) or to a Notes form using the agent as a WebQuerySave (in which case the field content will be transferred to the document context as NotesItems). See this for more:
http://www-10.lotus.com/ldd/46dom.nsf/0/9ed084a3d9e7dc0b85256f34004342f4
Subject: How to get the value within the HTML tag
Hi Shobana,the WebQueryOpen Agent has access to the notes document, but not the rendered html content that Domino is generating. When working on the backend you would use notes fields to pass around. When you work in the browser you use JavaScript where you can use getElementById to get HTML values.
You also could create a form around your html and post it to the agent.
Hth
stw
Subject: RE: How to get the value within the HTML tag
Hi Stephan ,Thank you for uār quick reply.I am having the form tags
with the form name.Is this
} .Is this is the one u mean?But i have a small doubt .U have mentioned that ,get the value using the getElementById and post it to the agent.How to pass it the agent.I don't know ,Could plz tell me.Thanks in advance
Shobana J