Skip to Content

Cannot call CreationEvent from Param of Servlet - SAP MII

Hello experts,

We are in process of Moving from MII12.1 to MII15.1, and i occur the problem.

In MII 12.1, we using the Applet:

 <APPLET NAME="CommentsiGrid" ID="CommentsiGrid" CODEBASE="/XMII/Classes" CODE="iGrid" ARCHIVE="illum8.zip" WIDTH="740" HEIGHT="300" MAYSCRIPT tabindex="-1">
        <PARAM NAME="QueryTemplate" VALUE=".../GetCommentsQuery">
        <PARAM NAME="DisplayTemplate" VALUE="../GetCommentsiGrid"> 
        <param name="HorizontalGridLineCount" value="4" />
        <param name="Param.1" value="0"/>                            <!-- passwd -->
        <param name="Param.2" VALUE="0"/>                         <!-- UserID -->  <PARAM NAME="RowHeight" VALUE="20"/>             
        <PARAM NAME="CreationEvent" VALUE="getComments"/>
      </APPLET>

After changed to MII 15.1, we using Servlet instead of Applet:

<SERVLET NAME="Illuminator" >
<HR>
Illuminator Content Here
<HR>
        <PARAM NAME="QueryTemplate" VALUE="../GetCommentsQuery">
        <PARAM NAME="DisplayTemplate" VALUE="../GetCommentsiGrid">                                   
        <param name="HorizontalGridLineCount" value="4" />
        <param name="Param.1" value="0"/>                            <!-- passwd -->
        <param name="Param.2" VALUE="0"/>                         <!-- UserID -->
        <PARAM NAME="RowHeight" VALUE="20"/>             
        <PARAM NAME="CreationEvent" VALUE="getComments"/>
</SERVLET>

Currently, we need to call the function getComments(), but the Servlet is not effect with param name="CreationEvent".

Could you please help us to advise.

Thank you so much,

Cuong

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 13 at 03:04 PM

    The servlet tag is used to render html on the server side before sending the results back to the browser/client. This is similar to how a java servlet or jsp works. Because of this there are no events triggered on the client side. Basically your content would just be there when the page loads.

    Regards,
    Christian

    Add comment
    10|10000 characters needed characters exceeded