PMDefaultAuthSchemeConditionAdd.jsp revision e8721886dbfd32e88cc7077cbee4b6bb1b44b443
69fe9aaafdd6a141610e86a777d325db75422070Mark Andrews DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews The contents of this file are subject to the terms
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews of the Common Development and Distribution License
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews (the License). You may not use this file except in
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews compliance with the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews You can obtain a copy of the License at
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews https://opensso.dev.java.net/public/CDDLv1.0.html or
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews See the License for the specific language governing
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews permission and limitations under the License.
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews When distributing Covered Code, include this CDDL
c7817270552b2faab56466b89731b6f290b352a4Mark Andrews Header Notice in each file and include the License file
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein If applicable, add the following below the CDDL Header,
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews with the fields enclosed by brackets [] replaced by
c7817270552b2faab56466b89731b6f290b352a4Mark Andrews your own identifying information:
c7817270552b2faab56466b89731b6f290b352a4Mark Andrews "Portions Copyrighted [year] [name of copyright owner]"
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews $Id: PMDefaultAuthSchemeConditionAdd.jsp,v 1.4 2009/12/08 06:22:31 si224302 Exp $
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews<%@ page info="PMDefaultAuthSchemeConditionAdd" language="java" %>
12040a4f5c29f430cc3e0ced6b912b8cf7f5d301Mark Andrews<%@taglib uri="/WEB-INF/jato.tld" prefix="jato" %>
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews<%@taglib uri="/WEB-INF/cc.tld" prefix="cc" %>
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews<jato:useViewBean
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews className="com.sun.identity.console.policy.PMDefaultAuthSchemeConditionAddViewBean"
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews fireChildDisplayEvents="true" >
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews<cc:i18nbundle baseName="amConsole" id="amConsole"
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews locale="<%=((com.sun.identity.console.base.AMViewBeanBase)viewBean).getUserLocale()%>"/>
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews<cc:header name="hdrCommon" pageTitle="webconsole.title" bundleID="amConsole" copyrightYear="2004" fireDisplayEvents="true" onUnload="closeWin()">
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews<script language="javascript">
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews var selectWin = null;
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews function openSelectWindow() {
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews selectWin = window.open('../policy/SelectRealm','selectWindow',
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews 'height=500,width=650,top=' +
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews ((screen.height-(screen.height/1.618))-(500/2)) +
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews ',scrollbars,resizable');
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews function selectAllElements(frm) {
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews var sel = frm.elements['PMDefaultAuthSchemeConditionAdd.AuthScheme'];
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews for (var i = 0; i < sel.options.length; i++) {
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews sel.options[i].selected = true;
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews function closeWin() {
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews if (selectWin) {
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews function deleteSelected() {
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews var frm = document.forms['PMDefaultAuthSchemeConditionAdd'];
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews var sel = frm.elements['PMDefaultAuthSchemeConditionAdd.AuthScheme'];
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews for (var i = sel.options.length-1; i >-1; --i) {
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews if (sel.options[i].selected) {
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews function addOption(label, value) {
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews var o = new Option(label, value);
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews<cc:form name="PMDefaultAuthSchemeConditionAdd" method="post" defaultCommandChild="/btnFilter" onSubmit="selectAllElements(this)">
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews<script language="javascript">
18d0b5e54be891a1aa938c165b6d439859121ec8Mark Andrews function confirmLogout() {
18d0b5e54be891a1aa938c165b6d439859121ec8Mark Andrews return confirm("<cc:text name="txtLogout" defaultValue="masthead.logoutMessage" bundleID="amConsole"/>");
18d0b5e54be891a1aa938c165b6d439859121ec8Mark Andrews<cc:primarymasthead name="mhCommon" bundleID="amConsole" logoutOnClick="return confirmLogout();" locale="<%=((com.sun.identity.console.base.AMViewBeanBase)viewBean).getUserLocale()%>"/>
18d0b5e54be891a1aa938c165b6d439859121ec8Mark Andrews<cc:breadcrumbs name="breadCrumb" bundleID="amConsole" />
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews<table border="0" cellpadding="10" cellspacing="0" width="100%">
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews <cc:alertinline name="ialertCommon" bundleID="amConsole" />
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews<%-- PAGE CONTENT --------------------------------------------------------- --%>
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews<cc:pagetitle name="pgtitleTwoBtns" bundleID="amConsole" pageTitleText="page.title.policy.condition.create" showPageTitleSeparator="true" viewMenuLabel="" pageTitleHelpMessage="" showPageButtonsTop="true" showPageButtonsBottom="false" />
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews<cc:propertysheet name="propertyAttributes" bundleID="amConsole" showJumpLinks="false"/>
b312748a11d27fe387984973ba79975a9d6863c4Mark Andrews</jato:useViewBean>