on 05-18-2012 10:29 AM
Hi
I have an iBrowser applet whoes initialUpdate value is set to false.
However it still runs the update event function when the page is first loaded.
Is this a bug?
Also tested as below, still running update event.
<HTML>
<HEAD>
<TITLE>Your Title Here</TITLE>
<SCRIPT language="JavaScript">
function disableUpdateEvent(){
document.myBrowser.setUpdateEventEnabled(false);
alert(document.myBrowser.getUpdateEventEnabled());
}
function hello()
{
alert("hello");
}
</SCRIPT>
</HEAD>
<BODY onload="disableUpdateEvent()">
<APPLET NAME="myBrowser" CODEBASE="/XMII/Classes" CODE="iBrowser" ARCHIVE="illum8.zip" WIDTH="640" HEIGHT="400" MAYSCRIPT>
<PARAM NAME = "QueryTemplate" VALUE="EditForms/Queries/MachineGroup_Select_SQL">
<PARAM name="UpdateEvent" value="hello">
</APPLET>
</BODY>
</HTML>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nick,
Where did you set it to false?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Sample code
<html>
<head>
<script>
function hello()
{
alert("hello")
}
</script>
</head>
<body>
<applet name="app1" code="iBrowser" etc>
<param name="QueryTemplate" value="myQuery">
<param name="DisplayTemplate" value="myDisplay">
<param name="InitialUpdate" value="false">
<param name="UpdateEvent" value="hello">
</applet>
</body>
</html>
The drop down list is not updated (correctly), but the update event is still triggered (incorrectly??).
Hi
Scenario is two drop downs, selection from first populates second.
In "add" mode there is no issue, in "edit" mode my logic was as follows
set variable to say this is "first update"
set first value in first dropdown
selection event of first drop down sets parameter of second drop down and updates
update event of second drop down sets value in second drop down, and cancels "first update".
In new MII version
-extra Update event of second dropdown was cancelling "first update" variable before the drop down had even been populated.
-also setting the value of first dropdown in code doesn't seem to trigger selection event.
I have now managed to code round all this, so it's not really an issue, just seemed strange to me that the update event was triggered when I had asked for no initial update.
regards
Nick
Hello All,
Adding more info to this issue.
We are using MII 12.1 and today morning we patched our MII systems to 12.1.10 build (64).
And during testing we found exactly the same issue as described by Nick.
So, assuming this to be bug I am planning on logging OSS ticket, for now we added some workaround.
But please advise if I am missing something here or doing incorrectly.
Regards,
Adarsh
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.