on 09-04-2012 5:16 PM
Hi Friends,
i'm using below code which executes the query template and its written inside .irpt page .
<APPLET NAME="ByProd_Applet" CODEBASE="/XMII/Classes" CODE="iCommand" ARCHIVE="illum8.zip" WIDTH="1" HEIGHT="1" MAYSCRIPT>
<PARAM NAME="QueryTemplate" VALUE="HEM-MES/PhaseConfirm/Xacute_Complete_Save_Button">
</APPLET>
while executing the QT seperately it works fine and returns the success message( eg : in my case " Phase confirmation successful " ). When QT is embedded with applet it returns false value . Inside the .irpt page calling complete.js file .while executing the applet
complet.js code :
if ( document.ByProd_Applet.executeCommand())
{
// Actual process which i want to be executed
}
else
{
alert(document.ByProd_Applet.getLastError());
}
document.ByProd_Applet.executeCommand() returns false value. it should be true since BLT & QT returns success message. Else part causes Pop Up " Last Error messge : , Message : Successfully displayed " which i dont want.
Why executeCommand getting failed though QT returns success message. Do i need to do anything with applet MII12.2.3 ??
kindly do the needul .
Regards,
Annamalai.
Does your Xacute QT return a FatalError message (using the Terminate action block is an easy test)? If you are returning an XML document using the FatalError action block, then I assume that should work too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
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.