%--
* Licensed Materials - Property of IBM
*
* 5724-U18
*
* (C) COPYRIGHT IBM CORP. 2006, 2011 All Rights Reserved.
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with
* IBM Corp.
--%><%!
static final int timeoutwait=200;
%>
<%@ include file="../common/componentheader.jsp" %><%
String frameheight=control.getProperty("height");
frameheight+="px";
EcommFrame ecommcontrol = (EcommFrame) control;
if(component.needsRender())
{
%>
<%
}
if (ecommcontrol.isStartLookup())
{
ecommcontrol.setStartLookup(false);
%>
<%
}
else if (ecommcontrol.getSendEvent() != null)
{
WebClientEvent ev=ecommcontrol.getSendEvent();
String sendevent=hiddenFrame ? "parent." : "";
sendevent+="sendEvent('" + ev.getType() + "','" + ev.getTargetId() + "','" + ev.getValueString() + "')";
%>
<%
ecommcontrol.setSendEvent(null);
}
else if (ecommcontrol.isRefreshStartPage())
{
ecommcontrol.setRefreshStartPage(false);
// strange browser issue, with IE we will lose our iframe on the update so we need to write it
// back out. Firefox does not lose the iframe so just update like we normally would.
if (USERAGENT.equals("IE"))
{
%>
<% } else {
%>
<%
}
}
%>
<%@ include file="../common/componentfooter.jsp" %>