Advertisement
jamessmith73

menu

Dec 8th, 2012
870
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 29.52 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:wcshell="http://xmlns.oracle.com/webcenter/shell" xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich" xmlns:wcdc="http://xmlns.oracle.com/webcenter/spaces/taglib" xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable" xmlns:trh="http://myfaces.apache.org/trinidad/html" xmlns:rtc="http://xmlns.oracle.com/webcenter/collab/rtc" xmlns:c="http://java.sun.com/jsp/jstl/core">
  3.    <af:pageTemplateDef var="attrs">
  4.       <af:xmlContent>
  5.          <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
  6.             <display-name>WCSiteRRTemplateTopNavFlow</display-name>
  7.             <facet>
  8.                <facet-name>auxiliary1</facet-name>
  9.             </facet>
  10.             <facet>
  11.                <facet-name>content</facet-name>
  12.             </facet>
  13.             <attribute>
  14.                <attribute-name>auxiliary1Size</attribute-name>
  15.                <attribute-class>int</attribute-class>
  16.                <default-value>200</default-value>
  17.             </attribute>
  18.             <attribute>
  19.                <attribute-name>templateFixedWidth</attribute-name>
  20.                <attribute-class>java.lang.String</attribute-class>
  21.                <default-value>#{not empty WCAppContext.currentPageTemplate.attributesMap['templateFixedWidth'].value ? WCAppContext.currentPageTemplate.attributesMap['templateFixedWidth'].value : '1000'}</default-value>
  22.             </attribute>
  23.             <attribute>
  24.                <attribute-name>topPanelHeight</attribute-name>
  25.                <attribute-class>java.lang.String</attribute-class>
  26.                <default-value>#{not empty WCAppContext.currentPageTemplate.attributesMap['topPanelHeight'].value ? WCAppContext.currentPageTemplate.attributesMap['topPanelHeight'].value : '44'}</default-value>
  27.             </attribute>
  28.             <attribute>
  29.                <attribute-name>panelSeparatorHeight</attribute-name>
  30.                <attribute-class>java.lang.String</attribute-class>
  31.                <default-value>#{not empty WCAppContext.currentPageTemplate.attributesMap['panelSeparatorHeight'].value ? WCAppContext.currentPageTemplate.attributesMap['panelSeparatorHeight'].value : '14'}</default-value>
  32.             </attribute>
  33.             <attribute>
  34.                <attribute-name>panelFooterHeight</attribute-name>
  35.                <attribute-class>java.lang.String</attribute-class>
  36.                <default-value>#{WCAppContext.currentPageTemplate.attributesMap['panelFooterHeight'].value}</default-value>
  37.             </attribute>
  38.             <attribute>
  39.                <attribute-name>brandingImageUrl</attribute-name>
  40.                <attribute-class>java.lang.String</attribute-class>
  41.                <default-value>#{not empty WCAppContext.currentPageTemplate.attributesMap['brandingImageUrl'].value ? WCAppContext.currentPageTemplate.attributesMap['brandingImageUrl'].value : ''}</default-value>
  42.             </attribute>
  43.             <attribute>
  44.                <attribute-name>footerNavigationModelPath</attribute-name>
  45.                <attribute-class>java.lang.String</attribute-class>
  46.                <default-value>#{empty WCAppContext.currentPageTemplate.attributesMap['footerNavigationFile'].value ? '' :
  47.                                 'modelPath='}#{empty WCAppContext.currentPageTemplate.attributesMap['footerNavigationFile'].value ? '' :
  48.                                  WCAppContext.currentPageTemplate.attributesMap['footerNavigationFile'].value}</default-value>
  49.             </attribute>
  50.          </component>
  51.       </af:xmlContent>
  52.       <f:verbatim>
  53.          <style type="text/css">  
  54.          /* Spaces Top Nav Style */
  55. .xnm.x1r6
  56. {
  57.     height: 56px;
  58.     width: 100%;
  59. }    
  60. .WCSiteTemplateBackground,.x1ng, #home_root_document, .x11v, .x1pv
  61. #home_root_document, .x11v
  62. {
  63. background-color: #ffffff ! important;  
  64. }
  65. .AFBrandingBarItem, .xo5
  66. {
  67.    background:white;
  68.     background-image:none;
  69.    
  70. }
  71. .WCSiteTemplateBackground, .x1nj
  72. {
  73.    background-repeat: repeat-x;
  74. }
  75. .x1a.x1r8
  76. {    
  77.    /* background:white; */
  78.     background-image:none;
  79. }
  80. .x1a
  81. {
  82.      background: white ;
  83.      background-repeat: repeat-x;
  84.      /*color: Black;*/
  85. }
  86. .xnm.x1r7
  87. {
  88.   background: Fuchsia;
  89.   height: 70px;
  90.   background-image: none;
  91. }
  92. .xnm.x1r7
  93. {  
  94.     background:white;
  95.     background-image: none;  
  96. }
  97. .xq2[theme="webcenter"]
  98. {
  99.     background-color: white;  
  100.     background-image: none;
  101.     height:150px;
  102. }
  103. .xq2  
  104. {
  105.     background-color: white;  
  106.     background-image: none;
  107.     height:150px;
  108. }
  109. .xpy[theme="webcenter"]
  110. {
  111.   background-color: white;
  112.   background-image: none;
  113.   height:0px;
  114. }
  115. .xpy
  116. {
  117.   background-color: white;
  118.   background-image: none;
  119.   height:0px;
  120. }
  121. .xq6  
  122. {
  123.   background-color: white;
  124.   background-image: none;
  125.   height: 0px;
  126. }
  127. .xq6[theme="webcenter"]
  128. {
  129.   background-color: white;
  130.   background-image: none;
  131.   height: 0px;
  132. }
  133. .xq4[theme="webcenter"]
  134. {
  135.   background-color: white;
  136.   background-image: none;
  137. }
  138. .xq4
  139. {
  140.   background-color: white;
  141.   background-image: none;
  142. }
  143. .xq1[theme="webcenter"]
  144. {
  145.   background-color: white;
  146.   background-image: none;
  147. }
  148. .xq1
  149. {
  150.   background-color: white;
  151.   background-image: none;
  152. }  
  153. .xpx[theme="webcenter"]
  154. {
  155.   background-color: white;
  156.    background-image: none;
  157. }  
  158. .xpx
  159. {
  160.   background-color: white;
  161.    background-image: none;
  162. }
  163. .xq0[theme="webcenter"]
  164. {
  165.   background-color: white;
  166.    background-image: none;
  167. }
  168. .xq0
  169. {
  170.   background-color: white;
  171.   background-image: none;
  172. }
  173. .xq5[theme="webcenter"]
  174. {
  175.   background-color: white;
  176.    background-image: none;
  177. }
  178. .xq5
  179. {
  180.   background-color: white;
  181.    background-image: none;
  182. }
  183. .xq7
  184. {
  185.   background-color: white;
  186.    background-image: none;
  187. }
  188. .xq7[theme="webcenter"]
  189. {
  190.   background-color: white;
  191.    background-image: none;
  192. }
  193. .x11w
  194. {
  195.    /*background-color: black;*/
  196.    background-image: none;
  197. }
  198. .x11w[theme="webcenter"]
  199. {
  200.    /*background-color: black;*/
  201.    background-image: none;  
  202. }
  203. .xde
  204. {
  205.   /*background-color: black;*/
  206.   background-image: none;  
  207.  /* color:white;*/
  208. }
  209.  
  210. .x6e.x1r8 .xdt, .x6e.x1r8 .xdr, .x6e.x1r8 .xds
  211. {    
  212.   /*  color:white;*/
  213. }
  214. .xdt, .xdr, .xds, .xzs
  215. {  
  216.     color:black;
  217. }
  218. .x193
  219. {
  220.    background-color: white;
  221.    background-image: none;
  222.    color: Black;
  223. }
  224. .x6e.x1r8 .xdt, .x6e.x1r8 .xdr, .x6e.x1r8 .xds {
  225.    /* color: white; */
  226. }
  227. webcenterfx-desktop-z3che6-en-ltr-gecko-linux-
  228. .x6e.x1r8 .xdt, .x6e.x1r8 .xdr, .x6e.x1r8 .xds {
  229.     /* background-color: transparent; */
  230.     height: 29px;
  231.     font-weight: bold;
  232.     border: medium none;
  233.     padding: 15px 15px 0px;
  234. }
  235.  
  236. .xdt, .xdr, .xds {
  237. }
  238. webcenterfx-desktop-z3che6-en-ltr-gecko-linux-
  239. .xdt, .xdr, .xds {
  240.     font-family: Tahoma,Verdana,Helvetica,sans-serif;
  241.     font-weight: normal;
  242.     font-size: 11px;
  243.     cursor: default;
  244.     white-space: nowrap;
  245.     height: 17px;
  246.     padding: 3px 1px 1px;
  247. }
  248. .x6e {
  249.     font-family: Tahoma,Verdana,Helvetica,sans-serif;
  250.     font-weight: normal;
  251.     font-size: 11px;
  252.    /* color: white;*/
  253. }
  254. .x11w {
  255.     font-family: Tahoma,Verdana,Helvetica,sans-serif;
  256.     font-weight: normal;
  257.     font-size: 11px;
  258.     /*color: white;*/
  259. }
  260. .x19g .x101.x19h .x6e .xyj, .x19g .x101.x19h .x10h, .xnm[theme="webcenter"] .xft, .xnm[theme="webcenter"]
  261. .xfd, .xnm[theme="webcenter"] .x107, .xnm[theme="webcenter"]
  262. .x106, .x6e.x1r8 .xym.x1r9 .xyj, .x6e.x1r8 .xym.x1r9 .xyk, .x6e.x1r8 .xyn.x1r9 .xyj, .x6e.x1r8 .xyn.x1r9 .xyl
  263. {
  264.     color: black;
  265. }
  266. .x25, .WCInputText, .x1nt
  267. {  
  268. border-style: solid;
  269. border-width: 1px;
  270. border-color: black;
  271. width:100px;
  272. }
  273.          /* Spaces Top Nav Style End */
  274.          
  275. /* start nav */
  276.  
  277. #navbox
  278. {
  279.        
  280.     -webkit-border-radius: 5px;
  281.     -moz-border-radius: 5px;  
  282.         background: url("http://james:16200/cs/groups/personalspaces/documents/document/x2dy/ywrp/~edisp/jamesbank_gradient.png") repeat-x;
  283.         background-repeat:repeat-x ! important;
  284.         height: 46px;
  285.        
  286. }
  287.  
  288. #nav
  289. {
  290.         float: left;
  291.         color: #333333;
  292.         font-family: Verdana,Arial,Helvetica,sans-serif;
  293.         list-style:none;
  294.         width:990px;                
  295.         float: left;
  296.         margin: 0;
  297.         padding: 0;              
  298.     margin: 0;
  299.     padding: 0px 0px 0;
  300.      line-height: 100%;
  301.     border-radius: 3px;
  302.     -webkit-border-radius: 3px;
  303.     -moz-border-radius: 3px;
  304.         margin-left: auto;
  305.     margin-right: auto;
  306.         margin-top: 0px;
  307.          
  308. }
  309.  
  310. /* main level link hover */
  311. #nav .current a, #nav li:hover > a
  312. {              
  313.        
  314.         /* mouse over on the main top navigation that has HOME, Services, Careers */
  315.          
  316.         color: #333333;
  317.         font-family: Verdana,Arial,Helvetica,sans-serif;
  318.     -moz-border-radius-bottomright: 0px;
  319.     border-bottom-right-radius: 0px;
  320.     -moz-border-radius-bottomleft: 0px;
  321.     border-bottom-left-radius: 0px;
  322.     -moz-border-radius-topright: 0px;
  323.     border-top-right-radius: 0px;
  324.     -moz-border-radius-topleft: 0px;
  325.     border-top-left-radius: 0px;
  326.     background: #FBFBFB; /* for non-css3 browsers */
  327.     filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#FBFBFB', endColorstr='#DEDDDC');  
  328.     background: -webkit-gradient(linear, left top, left bottom, from(#FBFBFB), to(#DEDDDC));  
  329.     background: -moz-linear-gradient(top,  #FBFBFB,  #DEDDDC);  
  330.        
  331. }
  332.  
  333. #nav li
  334. {        
  335.     /*margin: 0 5px;*/
  336.     /*padding: 0 0 8px;*/
  337.     float: left;
  338.     position: relative;
  339.     list-style: none;
  340. }
  341.  
  342. /* main level link */
  343. #nav a
  344. {      
  345.     color: #333333;
  346.     border-left: 1px solid #CCCCCC;    
  347.     display: block;
  348.     font-size: 1.8em;
  349.     padding: 15px 20px 20px 15px;
  350.     /* text-align: center; */
  351.     text-decoration: none;
  352. }
  353. #nav a:hover {
  354.      
  355.     color: black;
  356. }
  357.  
  358.  
  359.  
  360. /* sub levels link hover */
  361.  
  362. #nav ul li:hover a, #nav li:hover li a
  363. {
  364.      
  365.         background-color: #FBFAFA;
  366.         text-decoration: none;
  367.     -webkit-box-shadow: none;
  368.     -moz-box-shadow: none;  
  369.          color: #333333;      
  370.        
  371.     -webkit-border-radius: 0;
  372.     -moz-border-radius: 0;
  373.     text-shadow: 0 1px 1px rgba(0, 0, 0, .1);
  374.         font-family: Verdana,Arial,Helvetica,sans-serif;
  375.         font-size: 1em;
  376.         text-decoration: none;
  377.     display: block;  
  378.     margin: 0;
  379.         font-weight: bold;
  380. }
  381. #nav ul a:hover
  382. {        
  383.     color: #333333 !important;
  384.     -webkit-border-radius: 0;
  385.     -moz-border-radius: 0;
  386. }
  387.  
  388. /* dropdown */
  389. #nav li:hover > ul {
  390.     display: block;
  391.         z-index: 101;
  392. }
  393.  
  394. /* level 2 list */
  395. #nav ul {
  396.     display: none;
  397.     margin: 0;
  398.     padding: 0;
  399.     width: 185px;
  400.     position: absolute;  
  401.     left: 0;
  402.     -webkit-border-radius: 3px 3px 3px 3px;
  403.     -moz-border-radius: 3px 3px 3px 3px;
  404.     border-radius: 3px 3px 3px 3px;
  405.     -webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
  406.     -moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
  407.     box-shadow: 0 1px 3px rgba(0,0,0, .3);
  408. }
  409. #nav ul li {
  410.     float: none;
  411.     margin: 0;
  412.     padding: 0;
  413. }
  414.  
  415. #nav ul a {
  416.     font-weight: normal;
  417.     /*text-shadow: 0 1px 0 #fff;*/
  418. }
  419.  
  420. /* level 3+ list */
  421. #nav ul ul {
  422.     left: 181px;
  423.     top: -3px;
  424. }
  425.  
  426. /* rounded corners of first and last link */
  427. #nav ul li:first-child > a {
  428.     -webkit-border-top-left-radius: 3px;
  429.     -moz-border-radius-topleft: 3px;
  430.  
  431.     -webkit-border-top-right-radius: 3px;
  432.     -moz-border-radius-topright: 3px;
  433. }
  434. #nav ul li:last-child > a {
  435.     -webkit-border-bottom-left-radius: 3px;
  436.     -moz-border-radius-bottomleft: 3px;
  437.  
  438.     -webkit-border-bottom-right-radius: 3px;
  439.     -moz-border-radius-bottomright: 3px;
  440. }
  441.  
  442. /* clearfix */
  443. #nav:after {
  444.     content: ".";
  445.     display: block;
  446.     clear: both;
  447.     visibility: hidden;
  448.     line-height: 0;
  449.     height: 0;
  450. }
  451. #nav {
  452.     display: inline-block;
  453. }
  454. html[xmlns] #nav {
  455.     display: block;
  456. }
  457.  
  458. * html #nav {
  459.     height: 1%;
  460. }
  461.  
  462.  
  463.  
  464. /* end nav */
  465.  
  466. /* login box */
  467. #loginbox
  468. {    
  469.         margin-top:-15px;
  470.         width:295px;
  471.         background: #CF1321 none;
  472.         color: white;
  473.         float: left;
  474.         height: 70px;
  475.         -moz-box-shadow: 3px 0px 3px rgba(0,0,0,0.4);
  476.         -webkit-box-shadow: 5px 0px 5px rgba(0,0,0,0.2);          
  477.         box-shadow: 3px 0px 3px rgba(0,0,0,0.4);
  478.         z-index: 4;
  479.         position: relative;
  480.         padding: 0 32px;        
  481. }
  482. #postloginbox
  483. {    
  484.         margin-top:-15px;
  485.         width:295px;
  486.         background: #0A50A1 none;
  487.         color: white;
  488.         float: left;
  489.         height: 70px;
  490.         -moz-box-shadow: 3px 0px 3px rgba(0,0,0,0.4);
  491.         -webkit-box-shadow: 5px 0px 5px rgba(0,0,0,0.2);
  492.         box-shadow: 3px 0px 3px rgba(0,0,0,0.4);
  493.         z-index: 4;
  494.         position: relative;
  495.         padding: 0 32px;        
  496. }
  497. #postloginbox a
  498. {      
  499.    font-family: Verdana,Arial,Helvetica,sans-serif;
  500.    font-size: 0.8em;
  501.    color: #ffffff;  
  502.    border-left: none;  
  503.    height:10px;
  504. }
  505. #postloginbox a:hover
  506. {
  507.     color: white;    
  508.     border-left: none;      
  509. }
  510. #loginbox h2
  511. {
  512.         font-family: Verdana,Arial,Helvetica,sans-serif;
  513.         font-size: 0.8em;
  514.         color: #ffffff;
  515.         margin: 20px 0 4px;
  516.         padding: 2px 0 0;
  517. }
  518. .AFLabelText, .xa, .xq, .xr, .xs, .xt, .xu, .xv, .xw, .xx, .xy, .xz, .x10, .x11, .x12,
  519. .x13, .x14, .x15, .portlet-form-label, .xd2, .portlet-icon-label, .xd5, .portlet-dlg-icon-label,
  520. .xd6, .portlet-form-field-label, .xd7, .xgg, .xun, .xuo, .x113, .xg6, .x16t, .x16u {
  521.     color: white;
  522.     font-family: Tahoma,Verdana,Helvetica,sans-serif;
  523.     font-size: 11px;
  524.     font-weight: normal;
  525.     padding: 0 6px 0 0;
  526.     text-align: right;
  527. }
  528. /* login box */
  529. /* topmost nav box */
  530.   .nav-module {
  531.     border-left: 1px solid #DADADA;
  532.     float: right;
  533.     height: 17px;
  534.     margin: 0;
  535.     padding: 3px 15px;
  536.     background: url("http://james:16200/cs/groups/personalspaces/documents/document/dhgt/c3by/~edisp/hp-repeatx-sprite.png");
  537. }      
  538.  .last-module
  539.  {
  540.     border-right: 1px solid #DADADA;
  541.      background: none;
  542. }        
  543. /* topmost nav box */
  544. /* footer */
  545. .xng.x1r4 {
  546.     background-color: white;
  547.     font-family: Tahoma,Verdana,Helvetica,sans-serif;
  548.     font-size: 11px;
  549.     color: black;
  550.     padding: 0 10px;
  551.     white-space: nowrap;
  552. }
  553.  
  554. /* footer */
  555.          </style>
  556.       </f:verbatim>
  557.       <af:resource type="javascript" source="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"/>
  558.       <af:panelGroupLayout id="pt_pgl3" layout="scroll" styleClass="WCSiteTemplateRoot">
  559.          <af:panelGroupLayout id="pt_pgl5" layout="vertical" styleClass="WCSiteTemplateBackground">
  560.             <div id="topbox" style="padding: 0px 0px 0px 0px;width:990px;margin-left:0px;margin-top:0px;background:red;">
  561.                <af:panelGroupLayout id="pt_pgl2" inlineStyle="width:990px;">
  562.                   <table border="0" cellspacing="0" cellpadding="0" bgcolor="white" align="center" width="990px">
  563.                      <tr align="right">
  564.                         <td>
  565.                            <af:commandLink text="About Us" id="pt_cl31" styleClass="nav-module">
  566.                               <af:image source="http://james:16200/cs/groups/personalspaces/documents/document/zmxh/z3nj/~edisp/sm_flagscape.gif" id="pt_i1"/>
  567.                            </af:commandLink>
  568.                             <af:commandLink text="Enterprise Architecture" id="pt_cl32" styleClass="nav-module"/>
  569.                            <af:commandLink text="Webcenter" id="pt_cl33" styleClass="nav-module"/>
  570.                            <af:commandLink text="SOA BPM" id="pt_cl34" styleClass="nav-module"/>
  571.                            
  572.                            <af:goLink text="James Smith's Blogs" id="pt_gl2" styleClass="nav-module last-module"
  573.                                       destination="http://jamessmith73.wordpress.com"
  574.                                       targetFrame="_self"/>                
  575.                         </td>
  576.                      </tr>
  577.                   </table>
  578.                </af:panelGroupLayout>
  579.             </div>
  580.             <af:panelGroupLayout id="pt_pbl1" layout="vertical" inlineStyle="width:#{attrs.templateFixedWidth}px;margin:0px auto;padding-top:0px;">
  581.                <af:panelGroupLayout id="top_globalContainer" layout="vertical" inlineStyle="height:0.0px;">
  582.                   <wcdc:siteTemplateMetadata type="start"/>
  583.                </af:panelGroupLayout>
  584.                <af:panelGroupLayout id="pprIndicator" inlineStyle="height:0.0px;" visible="false">
  585.                   <wcdc:spacesAction id="statusIndiWcLink" type="statusIndicator"/>
  586.                </af:panelGroupLayout>
  587.                <af:decorativeBox id="db1" theme="webcenter" styleClass="WCSiteTemplateHeader">
  588.                   <f:facet name="center">
  589.                      <af:panelBorderLayout id="gtbppbl1" styleClass="AFStretchWidth" inlineStyle="padding-top:3px; vertical-align:middle;">
  590.                         <f:facet name="start">
  591.                            <cust:panelCustomizable id="pcust1" layout="horizontal" inlineStyle="padding:0px;">
  592.                               <af:panelGroupLayout valign="middle" id="pt_pgl7" layout="vertical">
  593.                                  <af:panelGroupLayout id="gtbrspmxpgl2" layout="horizontal">
  594.                                     <img src="http://james:16200/cs/groups/personalspaces/documents/document/yw5r/x2xv/~edisp/james_bank_logo3.png" style="padding: 0px 0px 0px 0px; margin-top: 0px; margin-left: 0px; margin-bottom:0px;"/>
  595.                                  </af:panelGroupLayout>
  596.                               </af:panelGroupLayout>
  597.                            </cust:panelCustomizable>
  598.                         </f:facet>
  599.                         <af:panelBorderLayout id="gtbppbl2" styleClass="AFStretchWidth">
  600.                            <f:facet name="end">
  601.                               <af:panelGroupLayout layout="vertical" styleClass="AFBrandingBarItem" id="gtbppgl3" halign="end">
  602.                                  <af:panelGroupLayout layout="horizontal" id="globNavItms" valign="middle" halign="end" inlineStyle="height:24.0px;">
  603.                                     <cust:panelCustomizable id="pcust2" layout="horizontal" inlineStyle="padding:0px;" valign="middle">
  604.                                        <af:region value="#{bindings.localToolbarSearch.regionModel}" id="searchbox"/>
  605.                                        <af:spacer width="15" height="10" id="pt_s3"/>
  606.                                        <wcdc:userProfile id="currUserWcLink" immediate="false" text="#{security.userDisplayName}" shortDesc="#{security.userDisplayName}" inlineStyle="white-space:nowrap;"/>
  607.                                        <af:spacer styleClass="WCGlobalNavSeparator" rendered="#{security.authenticated}" id="gtbps31"/>
  608.                                        <wcdc:spacesSwitcher id="wcCmdLinkGSSwit" __taskFlowId="createGroupSpaceRegion" immediate="false" inlineStyle="white-space:nowrap;" styleClass="WCLinkMenu" text="#{uib_o_w_s_r_Spaces.LABEL_COMMUNITIES}" shortDesc="#{uib_o_w_s_r_Spaces.LABEL_COMMUNITIES_DESC}"/>
  609.                                        <af:spacer width="10" id="gtbps4"/>
  610.                                        <wcdc:favoritesMenu immediate="false" id="wcCmdLinkGSFav" __taskFlowId="favoritesTaskFlow" inlineStyle="white-space:nowrap;" text="#{uib_o_w_w_r_WebCenter.LABEL_FAVORITES}" shortDesc="#{uib_o_w_w_r_WebCenter.LABEL_FAVORITES_DESC}"/>
  611.                                        <af:spacer styleClass="WCGlobalNavSeparator" id="gtbps32"/>
  612.                                        <af:region value="#{bindings.languageSelectorRegion.regionModel}" id="lang" rendered="#{!security.authenticated}"/>
  613.                                        <af:spacer width="10" id="gtbps5" rendered="#{!security.authenticated}"/>
  614.                                        <wcdc:spacesAction id="wcAdminLink" type="administration" immediate="false" inlineStyle="white-space:nowrap;" text="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_ADMINISTRATION}" shortDesc="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_ADMINISTRATION_DESC}"/>
  615.                                        <af:spacer width="10" id="gtbps52" rendered="#{security.webCenterConfigAllowed and security.authenticated}"/>
  616.                                        <wcdc:userPreferences id="wcPreferLink" __taskFlowId="preferenceRegion" inlineStyle="white-space:nowrap;" text="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_PREFERENCES}" shortDesc="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_PREFERENCES_DESC}"/>
  617.                                        <af:spacer styleClass="WCGlobalNavSeparator" id="gtbps33"/>
  618.                                        <wcdc:spacesAction id="globalHelpWcLink" type="globalHelp" immediate="false" text="#{uib_o_w_w_r_WebCenter.LABEL_HELP}" shortDesc="#{uib_o_w_w_r_WebCenter.LABEL_HELP_DESC}" inlineStyle="white-space:nowrap"/>
  619.                                        <af:spacer width="10" id="gtbps6" rendered="#{boilerBean.webCenterHelpConfigured}"/>
  620.                                        <wcdc:spacesAction id="wcLogoutLink" type="logout" inlineStyle="white-space:nowrap" text="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_LOGOUT}" shortDesc="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_LOGOUT_DESC}"/>
  621.                                        <af:spacer width="10" id="gtbps61" rendered="#{security.authenticated}"/>
  622.                                        <wcdc:spacesAction id="wcLoginLink" type="login" inlineStyle="white-space:nowrap" text="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_LOGIN}" shortDesc="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_LOGIN}"/>
  623.                                        <af:spacer width="10" id="gtbps6133" rendered="#{security.authenticated}"/>
  624.                                        <af:goLink text="Back to Portal" id="pt_gl1" rendered="#{security.authenticated}" destination="http://james:8888/webcenter"/>
  625.                                        <af:spacer width="10" id="gtbps62" rendered="#{changeModeBean.inEditMode or !security.authenticated}"/>
  626.                                        <wcdc:spacesAction id="selfRegWcLink" type="selfRegistration" text="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_SELFREG}" shortDesc="#{uib_o_w_w_r_WebCenter.GLOBAL_LINK_SELFREG_DESC}" inlineStyle="white-space:nowrap"/>
  627.                                        <af:spacer width="10" id="gtbps63" rendered="#{changeModeBean.inEditMode or                                             (WCAppContext.application.applicationConfig.publicregistrationEnabled and                                             !security.authenticated)}"/>
  628.                                     </cust:panelCustomizable>
  629.                                  </af:panelGroupLayout>
  630.                                  <trh:script id="edvkloastar54" text="                 function wcNavigate(event)                 {                   window.location = event.getSource().getProperty('wcDestination');                   event.cancel();                 }                 function wcLaunchWindow(event)                 {                   window.open(event.getSource().getProperty('wcDestination'));                   event.cancel();                 }               "/>
  631.                               </af:panelGroupLayout>
  632.                            </f:facet>
  633.                         </af:panelBorderLayout>
  634.                      </af:panelBorderLayout>
  635.                   </f:facet>
  636.                </af:decorativeBox>
  637.                <div id="navbox" style="padding: 0px 0px 0px 0px;width:990px;margin-left:0px;margin-top:0px;">
  638.                   <c:set var="navNodes" value="${navigationContext.defaultNavigationModel.listModel['startNode=/, includeStartNode=false']}" scope="session"/>
  639.                   <ul id="nav" style="height:30px;margin-left:0px;margin-top:0px;">
  640.                      <li>
  641.                         <br/>
  642.                         <c:choose>
  643.                            <c:when test="${!securityContext.authenticated}">
  644.                               <div id="loginbox">
  645.                                  <table border="0" cellpadding="2" cellspacing="2">
  646.                                     <tr>
  647.                                        <td valign="middle">
  648.                                           <af:inputText id="pt_it1" value="#{o_w_s_l_LoginBackingBean.userName}" label="Username" inlineStyle="color:white;"/>
  649.                                        </td>
  650.                                        <td/>
  651.                                        <td rowspan="2">
  652.                                           <img src="http://james:16200/cs/groups/personalspaces/documents/document/mdaw/zw5y/~edisp/enroll.png"/>
  653.                                           <br/>
  654.                                           <br/>
  655.                                             Enroll
  656.                                        </td>
  657.                                     </tr>
  658.                                     <tr>
  659.                                        <td valign="middle">
  660.                                           <af:inputText id="pt_it2" secret="true" value="#{o_w_s_l_LoginBackingBean.password}" label="Password" inlineStyle="color:white;"/>
  661.                                        </td>
  662.                                        <td>
  663.                                           <af:commandLink id="pt_logincb" text="Sign In" action="#{o_w_s_l_LoginBackingBean.doLogin}" inlineStyle="border: medium none;color: #FFFFFF;cursor: pointer;float: left;font-family:  Tahoma;font-size: 1.2em;font-weight: bold;text-align:  center;width:45px;height:5px;background:blue;padding-bottom: 6px;"/>
  664.                                        </td>
  665.                                     </tr>
  666.                                  </table>
  667.                               </div>
  668.                            </c:when>
  669.                            <c:when test="${securityContext.authenticated}">
  670.                               <div id="postloginbox">
  671.                                  <table border="0" cellpadding="2" cellspacing="2">
  672.                                     <tr>
  673.                                        <td valign="middle">
  674.                                           <br/>
  675.                                                Welcome &nbsp;&nbsp;
  676.                                           <b>${securityContext.userName}</b>
  677.                                        </td>
  678.                                        <td rowspan="2">
  679.                                           <img src="http://james:16200/cs/groups/personalspaces/documents/document/mdaw/mdaw/~edisp/wl.jpg"/>
  680.                                        </td>
  681.                                        <td valign="middle">
  682.                                           <br/>
  683.                                             Help / Support
  684.                                        </td>
  685.                                     </tr>
  686.                                     <tr>
  687.                                        <td>
  688.                                            Edit Profile
  689.                                        </td>
  690.                                        <td>
  691.                                             Savings account  
  692.                                        </td>
  693.                                     </tr>
  694.                                  </table>
  695.                               </div>
  696.                            </c:when>
  697.                         </c:choose>
  698.                      </li>
  699.                      <c:forEach var="menu" varStatus="vs" items="${navNodes}">
  700.                         <li class="parentnode">
  701.                            <a href="/webcenter${menu.goLinkPrettyUrl}" class="${menu.selected}">${menu.title}</a>
  702.                            <c:if test="${not empty menu.children}">
  703.                               <ul>
  704.                                  <c:forEach var="child" items="#{menu.children}">
  705.                                     <li class="childnode">
  706.                                        <a href="/webcenter${child.goLinkPrettyUrl}">${child.title}</a>
  707.                                        <c:if test="${not empty child.children}">
  708.                                           <ul>
  709.                                              <c:forEach var="grandchild" items="#{child.children}">
  710.                                                 <li class="grandchildnode">
  711.                                                    <a href="/webcenter${grandchild.goLinkPrettyUrl}">${grandchild.title}</a>
  712.                                                 </li>
  713.                                              </c:forEach>
  714.                                           </ul>
  715.                                        </c:if>
  716.                                     </li>
  717.                                  </c:forEach>
  718.                               </ul>
  719.                            </c:if>
  720.                         </li>
  721.                      </c:forEach>
  722.                   </ul>
  723.                </div>
  724.                <af:panelGroupLayout id="pt_pglc" layout="vertical" inlineStyle="min-height:600px;padding:#{attrs.panelSeparatorHeight}px 0px 12px;" styleClass="WCContent">
  725.                   <af:region value="#{bindings.spacesNavigationPageHeader.regionModel}" id="wcSpcInd"/>
  726.                   <af:skipLinkTarget/>
  727.                   <af:facetRef facetName="content"/>
  728.                </af:panelGroupLayout>
  729.                <af:panelBorderLayout id="appftpsl1" styleClass="WCSiteTemplateFooter" rendered="#{changeModeBean.inEditMode or                                                    (WCAppContext.currentScope.default and !WCAppContext.application.applicationConfig.footerHidden) or                                                   (!WCAppContext.currentScope.default and boilerBean.footerDisplayedInSpace)}">
  730.                  James Smith Bank   © 2012 jamessmith73.wordpress.com
  731.                </af:panelBorderLayout>
  732.             </af:panelGroupLayout>
  733.          </af:panelGroupLayout>
  734.       </af:panelGroupLayout>
  735.    </af:pageTemplateDef>
  736. </jsp:root>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement