cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot call CreationEvent from Param of Servlet - SAP MII

Former Member
0 Kudos
186

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185280
Active Contributor
0 Kudos

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