Skip to Content
0
Nov 23, 2018 at 08:28 AM

MII Servlet Reresh

49 Views

I have two dropdown list in the page, Shift and Shift clock, the requirement is the shift clock need to be updated automatically when the shift changed.

Below is the code:

   <td class="objectField"></td>
		<td align="right">{##SHIFT}:</td>
		<td>
        	<SERVLET NAME="Illuminator">
                <PARAM NAME= "QueryTemplate" VALUE="CommScope/Common/Query/ShiftByPlantBrowserSelectQuery">
                <PARAM NAME="Param.1" VALUE="{Plant}"> 
                <PARAM NAME= "Stylesheet" VALUE="/XMII/CM/CommScope/Common/Transformations/IllumRowsetSelect.xsl">
                <PARAM NAME= "Content-Type" VALUE="text/html">
                <PARAM NAME = "SelectName" VALUE="ID_SHIFT">
                <PARAM NAME = "FirstLabel" VALUE="- {##ALL} -">
                <PARAM NAME = "FirstValue" VALUE="">
              <PARAM NAME = "onChange" VALUE="drillDownClock()">
            </SERVLET> 
        </td>
        <td class="objectField"></td>
		<td align="right">{##CLOCK}:</td>
		<td>
        	<SERVLET NAME="Illuminator">
                <PARAM NAME= "QueryTemplate" VALUE="CommScope/Common/Query/ShiftClockByShiftBrowserSelectQuery">
                <PARAM NAME="Param.1" VALUE="document.getElementById("ID_SHIFT").value"> 
                <PARAM NAME= "Stylesheet" VALUE="/XMII/CM/CommScope/Common/Transformations/IllumRowsetSelect.xsl">
                <PARAM NAME= "Content-Type" VALUE="text/html">
                <PARAM NAME = "SelectName" VALUE="ID_CLOCK">
                <PARAM NAME = "FirstLabel" VALUE="- {##ALL} -">
                <PARAM NAME = "FirstValue" VALUE="">
            </SERVLET>
        </td>

how can i right the function in drillDownClock make the CLOCK show up in the page?