%--
* 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.
--%><%@ include file="../common/simpleheader.jsp" %><%
String height = component.getProperty("height");
height = component.getWebClientSession().attachUOM(height);
String align = component.getProperty("align");
//for buttongroups on dialogs
height = height.equals("")?"":"height:"+height;
if (component.needsRender())
{
%>
class="dialogb" width="100%" style="position:relative;top:0px;margin:0px;" height="100%" ondblclick="cancelEvent(event);">
| 0){%>align="<%=align%>"<%}%>>
<% } %>
<% component.renderChildComponents();
if (component.needsRender())
{ %>
|
<% }
else
{
String expand = ((Dialog)control).toggleExpand();
if(expand!=null)
{
boolean expanded = "true".equals(expand);
%>
>
el=parent.document.getElementById("<%=id%>");
if(el)
{
dialog=parent.document.getElementById("<%=component.getParentInstance().getRenderId()%>_inner");
if(dialog)
topPos=getTopPosition(dialog);
var dialogBody = el.parentNode.parentNode;
dialogBody.style.visibility="<%=(expanded?"visible":"hidden")%>";
dialogBody.setAttribute("aria-hidden","<%=(expanded?"false":"true")%>");
if(dialog)
dialog.style.top=topPos;
}
]]>
<% }
} %>
<%@ include file="../common/componentfooter.jsp" %>