<%@ page info="Manager" language="java" %> 
<%@page contentType="text/html;charset=UTF-8"%> 
<%--
 ******************************************************************************* 
 * $RCSfile: Applicability.jsp,v $
 *
 * Description: This file displays the Policy Repository
 *
 * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
 * Use of this product is subject to license terms.
 *
 *******************************************************************************
 * Source Code Control System - Header
 *
 * $Header: 
 *******************************************************************************--%>

<%@taglib uri="/WEB-INF/tld/com_iplanet_jato/jato.tld" prefix="jato"%> 
<%@taglib uri="/WEB-INF/tld/com_sun_web_ui/cc.tld" prefix="cc"%>

<jato:useViewBean className="com.sun.apoc.manager.ProfilesApplicabilityViewBean">

    <cc:header  pageTitle="Choose Applicability" copyrightYear="2003"
                baseName="com.sun.apoc.manager.resource.apoc_manager"
                bundleID="apocBundle" isPopup="true">

        <script type="text/javascript">
        <!--
            function callApplicabilityCallback() {
                var radioElement = document.forms[0]['ProfilesApplicability.ApplicabilityRadio'];
                for(var i = 0; i < radioElement.length; i++) {
                    if(radioElement[i].checked) {
                        top.opener.applicabilityCallback(radioElement[i].value);
                        break;
                    }
                }
    		}
         // -->
        </script> 
	
        <cc:secondarymasthead name="Masthead" bundleID="apocBundle"
             src="/apoc/images/popuptitle.gif"/>

        <cc:form name="ApplicabilityForm" method="post" onSubmit="javascript:return false;">

            <cc:pagetitle name="ApplicabilityTitle" 
                bundleID="apocBundle"
                pageTitleText="Choose the Applicability for the new Profile"
                pageTitleHelpMessage="Please select either 'Organization' or 'Domain'."
                showPageTitleSeparator="true"
                showPageButtonsTop="false"
                showPageButtonsBottom="true"> 


                <cc:propertysheet name="ApplicabilitySheet" 
                    bundleID="apocBundle" 
                    showJumpLinks="false"/>
                
            </cc:pagetitle> 
        </cc:form>
    </cc:header>
</jato:useViewBean>  
