Hi
I wrote a gecko embedder in C++.
I load the folowing jsp from a jetty server into the browser.
******************************************************************************
<html>
<body>
Valeur de param : ${param.p1}
<form name="form" action="http://www.yahoo.fr" >
<input type="text" name="p1" value="v1" />
<a href="javascript: document.form.submit(); " >Submit</a>
</form>
</body>
</html>
******************************************************************************
The page is well diplayed.
When I do a submit using mypWebBrowserEmbedded-
>executeScript("document.form.submit();");. executeScript is a
function which executes a script usingtheScriptContext-
>EvaluateString. I never get the yahoo's page displayed.
After I do the submit , OnStateChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, PRUint32 aStateFlags, nsresult aStatus) of the
chrome is called, with aStateFlags & STATE_STOP) && (aStateFlags &
STATE_IS_DOCUMENT), but the page is still the same, the new page is
not loaded.
If I do the same thing with mozilla , it works OK.
Any idea of what is the problem
thank's for your responses
philippe
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom