Skip to Content
0

Cannot call CreationEvent from Param of Servlet - SAP MII

Apr 13 at 04:36 AM

48

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

christian libich Apr 13 at 03:04 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded