sai k rishna595 8.Oct.12 11:20 AM a Web browser Applications Development All Releases All Platforms
i am opening a form in a web in edit mode . my web form have one iframe and src of iframe iss one more form.
user enter details in the iframe form and submits.
i am submitting iframe form using js code
iframe = document.getElementById("myiframeid")
framedoc = iframe.Document
iframe.forms.submit // this is creating documents
calling LS agent
after submitting i am calling the agent and passing one casecode to agent to retrieve the list of documents for that case code.(Here i want retrieve the existing and newly created by user as well)
retriving the result of agent and inserting into a atable then refreshing the iframe
first time i submit the iframe form it creates the document and able to retrieve the created document and inserting in the table using js
after 2secs again i try to add one more document using the iframe form and submit it , LS agent does not list me the newly added document(second document). i refresh the whole page manually and add the third document then it retrieves only first 2 documents. Again i need to refresh the page to see the third document in the table.
in my onload of the form also i m calling the LS agent.
In my LS agent ,i m refreshing the view
in my view ,i have set to automatic refresh but still no luck
my LS agent is simple
get the view
print some required values