<%--
  Copyright 2003 Sun Microsystems, Inc. All rights reserved 
  Use is subject to license terms.
 --%>
<%@page info="EditPortletPreferences" language="java"%>
<%@taglib uri="/WEB-INF/jato.tld" prefix="jato"%>
<%@taglib uri="/WEB-INF/console.tld" prefix="console"%>

<jato:useViewBean 
    className="com.sun.portal.portlet.admin.EditPortletPreferencesViewBean"
    fireChildDisplayEvents="true">
<jsp:useBean id="viewBean" 
    type="com.sun.portal.portlet.admin.EditPortletPreferencesViewBean"/>

<html>

<head>
    <title><jato:text name="titleHtmlPage" /></title>
    <link rel="stylesheet" href="../console/css/adminstyle.css">
    <link rel="stylesheet" href="../ps/css/psadminstyle.css">
    <script language="javascript" src="../console/js/consolecomp.js"></script>
</head>

<body bgcolor="#ffffff" leftMargin=0 rightMargin=0 topMargin=0
  marginheight="0" marginwidth="0">
<script language="javascript">
var pageLoaded = 0;
</script>

  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr class="breadcrumb-row">
      <td colspan="3" nowrap>
        <div class="breadcrumb-text">
          <img alt="" border="0" height="1" width="2"
               src="../console/images/spacer.gif">
          <console:href name="DesktopLink">
            <jato:text name="DesktopLinkLabel"/>
          </console:href>
          <jato:text name="PageTitle"/>
        </div>
      </td>
    </tr>

    <tr>
      <td colspan="3" nowrap><img alt="" border="0" height="3" width="1"
          src="../console/images/spacer.gif"></td>
    </tr>
    <!--Begin Parentage paths for container and collection-->

    <tr>
      <td width="1%"><img alt="" border="0" height="1" width="10"
               src="../console/images/spacer.gif"></td>
      <td width="1%" nowrap>
        <div class="path-breadcrumb-text">
          <jato:text name="ContainerPathLabel"/>:&nbsp;
        </div>
      </td>
      <td width="99%" nowrap>
         <console:parentagepath name="ContainerPath" bgColor="white"/>
      </td>
    </tr>
    <jato:content name="CollectionPathBlock">
    <tr>
      <td colspan="3" nowrap>
         <img alt="" border="0" height="1" width="10"
              src="../console/images/spacer.gif"></td>
    </tr>
    <tr>
      <td width="1%"><img alt="" border="0" height="1" width="10"
               src="../console/images/spacer.gif"></td>
      <td width="1%" nowrap>
        <div class="path-breadcrumb-text">
          <jato:text name="CollectionPathLabel"/>:&nbsp;
        </div>
      </td>
      <td width="99%" nowrap>
        <console:parentagepath name="CollectionPath" bgColor="white"/>
      </td>
    </tr>
    </jato:content>

    <!--End Parentage paths for container and collection-->
    <tr>
      <td colspan="3" nowrap><img alt="" border="0" height="3" width="1"
          src="../console/images/spacer.gif"></td>
    </tr>
    <tr>
      <td colspan="3" bgcolor="000000"><img alt="" border="0" height="1" width="1"
          src="../console/images/spacer.gif"></td>
    </tr>
    <tr>
      <td colspan="3" nowrap><img alt="" border="0" height="15" width="1"
          src="../console/images/spacer.gif"></td>
    </tr>
  </table>
<console:form name="EditPortletPreferences">

  <!-- set 10 pixel right margin for everything below -->
  <div class="sub-body-margin">

<console:messagebox name="MessageBox" imageURI="../console/images" />

  <!--  Buttons -->
  <!-- Begin table containing Save and Cancel Buttons -->
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td colspan="2" align="right">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>
              <console:button name="Save"/>
            </td>
            <td><img src="../console/images/spacer.gif" width="5"
                  height="1" alt=""></td>
            <td>
              <console:button name="Cancel"/>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td nowrap colspan="2"><img alt="" border="0" height="20" width="1"
          src="../console/images/spacer.gif"></td>
    </tr>
  </table>

  <!-- End table containing Save and Cancel Buttons -->
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr>
        <td width="1%"><img alt="" border="0" height="1" width="10" src="../console/images/spacer.gif"></td>
        <td colspan="3" nowrap>
          <div class="properties-normal-text">
            <jato:text name="ChannelNameLabel"/>:
          </div>
        </td>
        <td width="1%"><img alt="" border="0" height="1" width="20" src="../console/images/spacer.gif"></td>
        <td nowrap>
          <jato:text name="ChannelName"/>
        </td>
      </tr>
    <tr>
      <td nowrap colspan="6"><img alt="" border="0" height="10" width="1"
          src="../console/images/spacer.gif"></td>
    </tr>
    <jato:content name="ProviderNameBlock">
      <tr>
        <td width="1%"><img alt="" border="0" height="1" width="10" src="../console/images/spacer.gif"></td>
        <td colspan="3" nowrap>
          <div class="properties-normal-text">
            <jato:text name="PortletNameLabel"/>:
          </div>
        </td>
        <td width="1%"><img alt="" border="0" height="1" width="20" src="../console/images/spacer.gif"></td>
        <td nowrap>
          <jato:text name="ProviderName"/>
        </td>
      </tr>
    </jato:content>
    <jato:content name="CollectionNameBlock">
      <tr>
        <td align="left" height="30">
          <div class="properties-level3-label-text">
            <jato:text name="CollectionNameLabel"/>:
          </div>
        </td>
        <td>&nbsp;</td>
        <td nowrap>
          <jato:text name="CollectionName"/>
        </td>
      </tr>
    </jato:content>
    <jato:content name="PortletPreferenceBlock">

    <tr>
      <td></td>
      <td colspan="5" nowrap>
        <div class="properties-level1-label-text">
          <jato:text name="PreferencesLabel"/><img class="properties-separator"
                alt="" border="0" height="1" width="99%"
                src="../console/images/spacer.gif">
        </div>
      <td>
    </tr>
    <tr>
      <td nowrap colspan="6"><img alt="" border="0" height="10" width="1"
          src="../console/images/spacer.gif"></td>
    </tr>
    <tr>
      <td width="5%"></td>
      <td colspan="5">
        <!-- Begin outer table -->
        <table class="table-frame" border="0" cellspacing="0" cellpadding="1">
          <tr> 
            <td> 
          <!-- Begin inner table -->
              <table class="table-content" border="0" 
                cellspacing="0" cellpadding="0">
                <!-- Top row containing the column headers -->
                <tr class="table-header-row"> 
                  <td>
                    <img alt="" border="0" height="1" width="10" 
                        src="../console/images/spacer.gif">
                  </td>
                  <td> 
                    <div class="table-header-text">
                      <jato:text name="NameLabel"/>
                    </div>
                  </td>
                  <td>
                    <img alt="" border="0" height="1" width="15" 
                        src="../console/images/spacer.gif">
                  </td>
                  <td> 
                    <div class="table-header-text">
                      <jato:text name="ValueLabel"/>
                    </div>
                  </td>
                  <td>
                    <img alt="" border="0" height="1" width="15" 
                        src="../console/images/spacer.gif">
                  </td>
                  <td> 
                    <div class="table-header-text">
                      Action
                    </div>
                  </td>
                  <td>
                    <img alt="" border="0" height="1" width="15" 
                        src="../console/images/spacer.gif">
                  </td>
                  <td> 
                    <div class="table-header-text">
                      <jato:text name="ReadOnlyLabel"/>
                    </div>
                  </td>
                  <td>
                    <img alt="" border="0" height="1" width="10" 
                        src="../console/images/spacer.gif">
                  </td>
                </tr>
                <!-- Container TiledView -->

          <jato:tiledView name="PortletPreferencesTiledView"
            type="com.sun.portal.portlet.admin.PortletPreferencesTiledView"
            fireChildDisplayEvents="true">
            <tr>
              <td class="table-separator-row" colspan="9" ><img
                  src="../console/images/spacer.gif" alt="" width="1"
                  height="1" border="0"></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td align="left" height="30">
                  <jato:text name="Key"/>
              </td>
              <td nowrap valign="middle">&nbsp;</td>
              <td nowrap>
                <jato:text name="StringValue"/>
              </td>
              <td nowrap valign="middle">&nbsp;</td>
              <td nowrap>
                <font color="#CC6600">[</font><console:href name="ArrayHref">
                <font color="#CC6600"><jato:text name="EditLabel"/></font></console:href><font color="#CC6600">]</font>
              </td>
              <td nowrap valign="middle">&nbsp;</td>
              <td nowrap>
                <jato:text name="ReadOnly"/>
              </td>
            </tr>
          </jato:tiledView>
              </table>
              <!--End inner table -->
            </td>
          </tr>
        </table>
      </td>
    </tr>


    </jato:content>

    <tr>
      <td></td>
      <td colspan="5" nowrap>
        <div class="properties-level1-label-text">
          <jato:text name="DisplayPropertiesLabel"/><img class="properties-separator"
                alt="" border="0" height="1" width="99%"
                src="../console/images/spacer.gif">
        </div>
      <td>
    </tr>

    <!-- Begin customized properties title -->
    <tr>
      <td></td>
      <td width="1%"><img alt="" border="0" height="1" width="20" src="../console/images/spacer.gif"></td>
      <td colspan="4" nowrap>
        <div class="properties-level1-label-text">
           <jato:text name="CustomizedPropertiesLabel"/>
        </div>
      </td>
    </tr>
    <!-- End customized properties title -->

    <!-- begin spacer row -->
    <tr><td nowrap colspan="6"><img alt="" border="0" height="10" width="1"
            src="../console/images/spacer.gif"></td></tr>
    <!-- end spacer row -->


    <jato:content name="NoPropertiesBlock">
    <!-- begin spacer row -->
    <tr><td nowrap colspan="6"><img alt="" border="0" height="10" width="1"
            src="../console/images/spacer.gif"></td></tr>
    <!-- end spacer row -->
    <tr>
      <td></td>
      <td></td>
      <td colspan="4">
        <div class="help-small-text">
          <jato:text name="NoCustomPropsMessage"/>
        </div>
      </td>
    </tr>
    </jato:content>

    <!--Channel properties -->

    <jato:tiledView name="PropertiesTiledView"
        type="com.sun.portal.portlet.admin.PropertiesTiledView">
    <!-- begin spacer row -->
    <tr><td nowrap colspan="6"><img alt="" border="0" height="10" width="1"
            src="../console/images/spacer.gif"></td></tr>
    <!-- end spacer row -->
    <tr>
      <td></td>
      <td></td>
      <td colspan="2" nowrap>
        <div class="properties-label-text">
          <jato:hidden name="HiddenPropertyName"/>
          <jato:text name="PropertyName"/>:
        </div>
      </td>
      <td width="1%"><img alt="" border="0" height="1" width="20" src="../console/images/spacer.gif"></td>
      <td nowrap>
        <console:button name="EditCollectionButton" type="mini"/>
        <console:button name="EditConditionalButton" type="mini"/>
        <jato:textField name="StringValue"/>
        <jato:textField name="IntValue" size="4"/>
        <jato:checkbox name="BoolValue"/>
      </td>
    </tr>
    </jato:tiledView>

    <!-- begin spacer row -->
    <tr><td nowrap colspan="6"><img alt="" border="0" height="10" width="1"
            src="../console/images/spacer.gif"></td></tr>
    <!-- end spacer row -->

    <!-- Begin default properties title -->
    <tr>
      <td></td>
      <td width="1%"><img alt="" border="0" height="1" width="20" src="../console/images/spacer.gif"></td>
      <td colspan="4" nowrap>
        <div class="properties-level1-label-text">
           <jato:text name="DefaultPropertiesLabel"/>
        </div>
      </td>
    </tr>
    <!-- End default properties title -->

    <!-- begin spacer row -->
    <tr><td nowrap colspan="6"><img alt="" border="0" height="10" width="1"
            src="../console/images/spacer.gif"></td></tr>
    <!-- end spacer row -->

    <jato:content name="NoProviderPropertiesBlock">
    <!-- begin spacer row -->
    <tr><td nowrap colspan="6"><img alt="" border="0" height="10" width="1"
            src="../console/images/spacer.gif"></td></tr>
    <!-- end spacer row -->
    <tr>
      <td></td>
      <td></td>
      <td colspan="4">
        <div class="help-small-text">
          <jato:text name="NoDefaultPropsMessage"/>
        </div>
      </td>
    </tr>
    </jato:content>

    <!--Provider properties -->
    <jato:tiledView name="ProviderPropertiesTiledView"
        type="com.sun.portal.portlet.admin.PropertiesTiledView">
    <!-- begin spacer row -->
    <tr><td nowrap colspan="6"><img alt="" border="0" height="10" width="1"
            src="../console/images/spacer.gif"></td></tr>
    <!-- end spacer row -->
    <tr>
      <td></td>
      <td></td>
      <td colspan="2" nowrap>
        <div class="properties-label-text">
          <jato:hidden name="HiddenPropertyName"/>
          <jato:text name="PropertyName"/>:
        </div>
      </td>
      <td width="1%"><img alt="" border="0" height="1" width="20" src="../console/images/spacer.gif"></td>
      <td nowrap>
        <console:button name="EditCollectionButton" type="mini"/>
        <console:button name="EditConditionalButton" type="mini"/>
        <jato:textField name="StringValue"/>
        <jato:textField name="IntValue" size="4"/>
        <jato:checkbox name="BoolValue"/>
      </td>
    </tr>
    </jato:tiledView>

  </table>
  <jato:hidden name="LastRead" defaultValue="-1"/>
  <jato:hidden name="nPreferenceTiles"/>
  <jato:hidden name="nChannelTiles"/>
  <jato:hidden name="nProviderTiles"/>
  <!-- Buttons -->
  <!-- Begin table containing Next and Cancel Buttons -->
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td colspan="2" align="right">
        <table border="0" cellpadding="1" cellspacing="0">
          <tr>
            <td>
              <console:button name="Save"/>
            </td>
            <td><img src="../console/images/spacer.gif"
                width="5" height="1" alt=""></td>
            <td>
              <console:button name="Cancel"/>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>

  <!-- end 10 pixel right margin -->
  </div>

</console:form>
</body>
<script language="javascript">
pageLoaded = 1;
</script>
</html>
</jato:useViewBean>
