%-- * Licensed Materials - Property of IBM * * 5724-U18 * * (C) COPYRIGHT IBM CORP. 2006, 2014 All Rights Reserved. * * US Government Users Restricted Rights - Use, duplication or * disclosure restricted by GSA ADP Schedule Contract with * IBM Corp. --%><%@ include file="../common/simpleheader.jsp"%><% String serverMessage = (String)app.get("servermessage"); String serverMessageType = (String)app.get("servermessagetype"); if(wcs.hasLongOpStarted()) { serverMessage=""; serverMessageType=""; } else { app.put("servermessage", ""); app.put("servermessagetype", ""); } boolean modal = !component.getProperty("modal").equalsIgnoreCase("false"); String control_events="onmousedown='hideAllMenus();'";//moveable_onmousedown(event,this);'"; control_events+="onkeypress=\"if(hasKeyCode(event,'KEYCODE_ESC')) {sendEvent('dialogcancel','"+id+"', null, null); }\""; if(!designmode) { if(modal) control_events+="ondragstart='return false;' "; control_events+="ondblclick=\"toggleMinimize('"+id+"')\" "; } String DIALOG_CONTENT_SUFFIX = "_content"; int expChars = 60; boolean collapsed = false; String dialogState = (collapsed) ? "display:none" : ""; String width = component.getProperty("width"); String height = component.getProperty("height"); String defaultbutton = component.getProperty("defaultbutton"); String popme = (String)currentPage.get("popme"); boolean dialogMessage = !wcs.getForceMessagesToMainPage(); Map reportParams = (Map)currentPage.get("reportparams"); int max = -1; boolean messageBox = false; if(control.getType().equals("messagebox")) { max=450; messageBox = true; } if (designmode) max = 400; boolean rerender = (component.needsRender() && ((ControlInstance)control.getParentInstance()).needsRender()); JSONObject autoFillInfo = ((PageInstance)control).getAutoFillInfo(); if( !WebClientRuntime.isNull(popme) && popme.equals("true") ) { replaceMethod = "NONE"; %><%@ include file="../common/componentholder_start.jsp" %> <%@ include file="../common/componentholder_end.jsp" %> <% } else if (rerender || (component.needsRender() && (WebClientRuntime.isNull((String)currentPage.get("popped"))))) { if(control.getPage().get("currentfocusid")==null) control.setFocus(); // Prevent multi-popping currentPage.put("popped", "true"); if(debug){%><%}%> <% String innerdialogwaitAutoId=""; String innerAutoId=""; String firstAutoId=""; if(automation) { innerdialogwaitAutoId="automationid=\""+id+"_inner_dialogwait\""; innerAutoId="automationid=\""+realId+"_inner\""; firstAutoId="automationid=\""+realId+"_first\""; } String positionX = control.getProperty("positionX"); String positionY = control.getProperty("positionY"); boolean positionAtTop = Boolean.valueOf(control.getProperty("positionattop")).booleanValue(); boolean uiskin = !wcs.getSkin().equals("") && !wcs.getSkin().equals("classic"); String labelledById =component.getLabelledByRenderId(); if (WebClientRuntime.isNull((String)currentPage.get("rerendering"))) { if(hiddenFrame) { replaceMethod = "addDialog"; %><%@ include file="../common/componentholder_start.jsp" %><% } else { %>
| valign="BOTTOM" style="padding:0px;<%if(accessibilityMode){%>background:#ffffff;border:3px solid #fff;<%}%> %>">
<% if(ctr==0)
{ //don't output whitespace around the following image
%> |
<% ctr++;
%>