/impl/conf/WEB-INF/struts/tiles-default.xml |
---|
14,7 → 14,7 |
<put name="header" value="/layout/header.jsp"/> |
<put name="topnav" value="/layout/topnavempty.jsp" /> |
<put name="footer" value="/layout/footer.jsp" /> |
<put name="navigationMenu" value="/layout/navigationMenu.jsp"/> |
<put name="navigationMenu" value="/layout/navigationMenu.jsp"/> |
</definition> |
<definition name="base.simple.definition" path="/layout/siteSimpleLayout.jsp"> |
/impl/conf/app.properties |
---|
51,7 → 51,7 |
announcements.automatic.validation.role.3=ci |
announcements.automatic.validation.role.4=administrativeCouncil |
announcements.max.visible=5 |
announcements.max.visible=10 |
announcements.type.0=news |
announcements.type.1=top.flash.news |
/impl/src/web/css/style.css |
---|
1,25 → 1,11 |
<STYLE> |
BODY |
{ |
PADDING-RIGHT: 0; |
BORDER-TOP: 0; |
MARGIN-TOP: 0; |
PADDING-LEFT: 0; |
PADDING-BOTTOM: 0; |
MARGIN-LEFT: auto; |
BORDER-LEFT: 0; |
MARGIN-RIGHT: auto; |
PADDING-TOP: 0; |
BORDER-BOTTOM: 0; |
} |
/*********** Site Struture *************/ |
BODY * |
{ |
FONT-FAMILY: Helvetica; |
FONT-SIZE:1em; |
} |
#body |
{ |
width:950px; |
27,138 → 13,83 |
margin-right: auto; |
} |
th |
#header |
{ |
LEFT: 0; |
WIDTH: 100%; |
BACKGROUND-COLOR: white |
} |
A |
#page |
{ |
COLOR:#4D4D4D; |
FONT-SIZE: 14px; |
LEFT: 0; |
WIDTH: 100% |
} |
H1 |
TD#leftPage |
{ |
VERTICAL-ALIGN: top; |
WIDTH: 160px; |
text-align:left; |
} |
H2 |
#leftPagePosition |
{ |
BORDER-RIGHT: blue 1px solid; |
PADDING-RIGHT: 4px; |
BORDER-TOP: blue 1px solid; |
PADDING-LEFT: 4px; |
FONT-WEIGHT: normal; |
PADDING-BOTTOM: 2px; |
MARGIN: 0; |
BORDER-LEFT: blue 1px solid; |
COLOR: black; |
BOTTOM: 0; |
PADDING-TOP: 2px; |
BORDER-BOTTOM: blue 1px solid; |
TEXT-ALIGN: justify |
CLEAR: left; |
LEFT: 0; |
FLOAT: left; |
PADDING-BOTTOM: 20px; |
PADDING-TOP: 30px; |
} |
H3 |
{ |
BORDER-LEFT-COLOR: #1170a2; |
BORDER-BOTTOM-COLOR: #1170a2; |
COLOR: black; |
BORDER-TOP-COLOR: #1170a2; |
BORDER-RIGHT-COLOR: #1170a2 |
TD#rightPage{ |
VERTICAL-ALIGN: top; |
WIDTH: 160px; |
} |
H4 |
#rightPagePosition |
{ |
BORDER-LEFT-COLOR: #1170a2; |
BORDER-BOTTOM-COLOR: #1170a2; |
COLOR: black; |
BORDER-TOP-COLOR: #1170a2; |
BORDER-RIGHT-COLOR: #1170a2 |
CLEAR: left; |
LEFT: 0; |
FLOAT: left; |
PADDING-BOTTOM: 20px; |
} |
H3 |
#footer |
{ |
BORDER-RIGHT: 1px solid; |
PADDING-RIGHT: 4px; |
BORDER-TOP: 1px solid; |
PADDING-LEFT: 4px; |
FONT-WEIGHT: normal; |
PADDING-BOTTOM: 0; |
MARGIN: 0; |
BORDER-LEFT: 1px solid; |
BOTTOM: 0; |
PADDING-TOP: 0; |
BORDER-BOTTOM: 1px solid; |
TEXT-ALIGN: justify |
HEIGHT: 50px; |
PADDING-TOP: 5px; |
} |
H4 |
#footerStructure TABLE |
{ |
BORDER-RIGHT: 1px solid; |
PADDING-RIGHT: 4px; |
BORDER-TOP: 1px solid; |
PADDING-LEFT: 4px; |
FONT-WEIGHT: normal; |
PADDING-BOTTOM: 0; |
BORDER-RIGHT: 0; |
BORDER-TOP: 0; |
RIGHT: 0; |
LEFT: 0; |
MARGIN: 0; |
BORDER-LEFT: 1px solid; |
BOTTOM: 0; |
BORDER-LEFT: 0; |
WIDTH: 100%; |
PADDING-TOP: 0; |
BORDER-BOTTOM: 1px solid; |
TEXT-ALIGN: justify |
BORDER-BOTTOM: 0; |
TOP: 0; |
border-spacing: 0 |
} |
H5 |
#footerStructure TABLE TD |
{ |
BORDER-RIGHT: 1px solid; |
PADDING-RIGHT: 4px; |
BORDER-TOP: 1px solid; |
PADDING-LEFT: 4px; |
FONT-WEIGHT: normal; |
PADDING-BOTTOM: 0; |
MARGIN: 0; |
BORDER-LEFT: 1px solid; |
BOTTOM: 0; |
PADDING-TOP: 0; |
BORDER-BOTTOM: 1px solid; |
TEXT-ALIGN: justify |
VERTICAL-ALIGN: top |
} |
H1 |
{ |
FONT-SIZE: 20px |
} |
H2 |
{ |
FONT-SIZE: 17px |
} |
H3 |
{ |
FONT-SIZE: 15px |
} |
H4 |
{ |
FONT-SIZE: 14px |
} |
H5 |
{ |
FONT-SIZE: 13px |
} |
/***********Main Page******************/ |
TD #topBar |
{ |
font-weight:bold; |
color:white; |
background-color:#8EC73F; |
padding-left:25px; |
} |
TABLE #indexPage |
TABLE .indexPage |
{ |
width:100%; |
} |
/*************************************/ |
/*************************************************/ |
/**************** Navigation Left Menu**********/ |
#navigationLeftMenu LI A:link |
/**************** Left Menu Style****************/ |
#leftMenuModule LI A:link |
{ |
COLOR:#4D4D4D; |
PADDING-RIGHT: 0; |
FONT-SIZE: 14px; |
DISPLAY: block; |
166,16 → 97,9 |
PADDING-BOTTOM: 0; |
PADDING-TOP: 0; |
HEIGHT: 1%; |
TEXT-DECORATION: none; |
} |
#navigationLeftMenu LI A:hover |
{ |
COLOR:#8EC73F; |
FONT-SIZE: 14px; |
} |
#navigationLeftMenu LI A:visited |
#leftMenuModule LI A:visited |
{ |
PADDING-RIGHT: 0; |
DISPLAY: block; |
184,98 → 108,34 |
PADDING-TOP: 0; |
HEIGHT: 1%; |
FONT-SIZE: 14px; |
TEXT-DECORATION: none; |
} |
#navigationLeftMenu A |
#leftMenuModule P |
{ |
COLOR:#8EC73F; |
MARGIN: 0; |
PADDING-LEFT: 5px ; |
FONT-SIZE: 14px; |
} |
/************************************************/ |
FORM |
#leftMenuModule UL |
{ |
PADDING-RIGHT: 0; |
PADDING-LEFT: 0; |
PADDING-BOTTOM: 0; |
MARGIN: 0; |
PADDING-TOP: 0 |
WIDTH: 155px; |
LINE-HEIGHT: 1.5em; |
} |
TD#title |
{ |
PADDING-LEFT: 0.5em; |
FONT-SIZE: 21px; |
FONT-FAMILY: "Arial", sans-serif; |
VERTICAL-ALIGN: middle; |
TEXT-ALIGN: left |
} |
UL |
{ |
PADDING-LEFT: 1.5em; |
MARGIN-LEFT: 0; |
} |
LI |
{ |
} |
/* header */ |
#header |
#leftMenuModule LI |
{ |
LEFT: 0; |
WIDTH: 100%; |
BACKGROUND-COLOR: white |
COLOR:#8EC73F; |
FONT-SIZE: 14px; |
LIST-STYLE-TYPE: none; |
} |
#header #title |
{ |
COLOR: black |
} |
#header TABLE |
{ |
BORDER-RIGHT: 0; |
BORDER-TOP: 0; |
RIGHT: 0; |
LEFT: 0; |
BORDER-LEFT: 0; |
WIDTH: 100%; |
PADDING-TOP: 0; |
BORDER-BOTTOM: 0; |
TOP: 0; |
border-spacing: 0 |
} |
#header TABLE TD |
{ |
VERTICAL-ALIGN: middle; |
TEXT-ALIGN: left |
} |
#header IMG |
{ |
BORDER-RIGHT: 0; |
BORDER-TOP: 0; |
BORDER-LEFT: 0; |
BORDER-BOTTOM: 0 |
} |
#header #title |
{ |
PADDING-BOTTOM: 0; |
BOTTOM: 10px; |
} |
#header H1 |
{ |
FLOAT: left; |
PADDING-BOTTOM: 0; |
FONT: 20px "bitstream vera sans", "Lucida Grande", "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif |
} |
/* /header */ |
#bigtable |
{ |
LEFT: 0; |
WIDTH: 100% |
} |
/************************************************/ |
/* topnav */ |
/****************** topnav ********************** |
#topnav |
{ |
311,275 → 171,312 |
MARGIN: 0; |
PADDING-TOP: 0 |
} |
/* /topnav */ |
*****************************************************************************************/ |
/* latnav */ |
/************************************** Content Structure ********************************/ |
TD#latnav_containerLeft |
#content1,#content2,#content3,#content4 |
{ |
LEFT: 0; |
RIGHT: 0; |
WIDTH: 100%; |
BORDER-LEFT-COLOR: #002244; |
BORDER-BOTTOM-COLOR: #002244; |
BORDER-TOP-COLOR: #002244; |
BORDER-RIGHT-COLOR: #002244; |
BORDER-RIGHT: 1px solid; |
BORDER-TOP: 1px solid; |
PADDING-BOTTOM: 10px; |
VERTICAL-ALIGN: top; |
WIDTH: 160px; |
text-align:left; |
BORDER-LEFT: 1px solid; |
BORDER-BOTTOM: 1px solid |
} |
TD#latnav_containerRight{ |
VERTICAL-ALIGN: top; |
WIDTH: 160px; |
/*****************************************************************************************/ |
/************************************* Footer Modules ***********************************/ |
#license UL |
{ |
COLOR: #4D4D4D; |
PADDING-RIGHT: 0; |
PADDING-LEFT: 0; |
FONT-SIZE: 12px; |
TEXT-ALIGN: center; |
MARGIN: 0; |
LIST-STYLE-TYPE: none; |
} |
#latnavLeft |
#footer #organizations |
{ |
CLEAR: left; |
LEFT: 0; |
FLOAT: left; |
PADDING-BOTTOM: 20px; |
PADDING-TOP: 30px; |
} |
#latnavRight |
#footer #sponsors |
{ |
CLEAR: left; |
LEFT: 0; |
FLOAT: left; |
PADDING-BOTTOM: 20px; |
} |
#latnavLeft P,#latnavRight P |
/**************************************************************************************/ |
/******************************** Bar Module Color ************************************/ |
TD #topBar |
{ |
FONT-SIZE: 12px; |
BORDER-BOTTOM-COLOR: #003366; |
COLOR: #793B0D; |
PADDING-RIGHT: 0; |
PADDING-LEFT: 5px; |
PADDING-BOTTOM: 0; |
MARGIN: 0; |
WIDTH: 97%; |
PADDING-TOP: 0; |
BORDER-BOTTOM: 2 px solid; |
font-weight:bold; |
color:white; |
background-color:#8EC73F; |
padding-left:10px; |
FONT-SIZE: 18px |
} |
/**************************************************************************************/ |
#latnavLeft UL |
/******************************** Background Color ************************************/ |
/*Gray background*/ |
#backOne |
{ |
COLOR: black; |
PADDING-RIGHT: 0; |
PADDING-LEFT: 0; |
MARGIN: 0; |
WIDTH: 155px; |
LINE-HEIGHT: 1.5em; |
PADDING-TOP: 0; |
LIST-STYLE-TYPE: none |
background-color:#4D4D4D; |
} |
/**************************************************************************************/ |
#latnavRight UL |
/********************************* Link Types Color************************************/ |
/*Gray to green */ |
#linkTypeOne LI A:link |
{ |
COLOR: black; |
PADDING-RIGHT: 0; |
PADDING-LEFT: 0; |
PADDING-BOTTOM: 10px; |
MARGIN: 0; |
WIDTH: 155px; |
LINE-HEIGHT: 1.5em; |
PADDING-TOP: 0; |
LIST-STYLE-TYPE: none |
COLOR:#4D4D4D; |
TEXT-DECORATION: none; |
} |
#latnavLeft LI,#latnavRight LI |
#linkTypeOne UL LI A:hover |
{ |
PADDING-RIGHT: 0; |
DISPLAY: inline; |
PADDING-LEFT: 0; |
PADDING-BOTTOM: 0; |
MARGIN: 0; |
PADDING-TOP: 0 |
COLOR:#8EC73F; |
TEXT-DECORATION: none; |
} |
#latnavLeft LI A:link |
#linkTypeOne LI A:visited |
{ |
COLOR:#4D4D4D; |
PADDING-RIGHT: 0; |
FONT-SIZE: 14px; |
DISPLAY: block; |
PADDING-LEFT: 10px; |
PADDING-BOTTOM: 0; |
PADDING-TOP: 0; |
HEIGHT: 1%; |
TEXT-DECORATION: none; |
} |
/*Gray to green underline*/ |
.linkTypeTwo li a:hover |
{ |
text-decoration: underline; |
color:#8EC73F; |
list-style:none; |
} |
#latnavLeft LI A:hover |
.linkTypeTwo a:link |
{ |
COLOR:#8EC73F; |
FONT-SIZE: 14px; |
text-decoration: none; |
color:#4D4D4D; |
list-style:none; |
} |
.linkTypeTwo a:visited |
{ |
text-decoration: none; |
color:#4D4D4D; |
list-style:none; |
} |
#latnavLeft LI A:visited |
/*Green to green underline*/ |
.linkTypeThree a:hover |
{ |
PADDING-RIGHT: 0; |
DISPLAY: block; |
PADDING-LEFT: 10px; |
PADDING-BOTTOM: 0; |
PADDING-TOP: 0; |
HEIGHT: 1%; |
FONT-SIZE: 14px; |
TEXT-DECORATION: none; |
text-decoration: underline; |
color:#8EC73F; |
list-style:none; |
} |
#latnavLeft A |
.linkTypeThree a:link |
{ |
PADDING-LEFT: 5px ; |
FONT-SIZE: 14px; |
text-decoration: none; |
color:#8EC73F; |
list-style:none; |
} |
/* /latnav */ |
/* Content */ |
#content |
.linkTypeThree a:visited |
{ |
BORDER-LEFT-COLOR: #002244; |
BORDER-BOTTOM-COLOR: #002244; |
COLOR: black; |
BORDER-TOP-COLOR: #002244; |
BACKGROUND-COLOR: white; |
BORDER-RIGHT-COLOR: #002244 |
text-decoration: none; |
color:#4D4D4D; |
list-style:none; |
} |
#contentBoard |
/*Gray underline to green underline*/ |
#linkTypeFour A:link |
{ |
BORDER-COLLAPSE: collapse |
COLOR:#4D4D4D; |
list-style:none; |
} |
#contentBoard |
#linkTypeFour A:hover |
{ |
PADDING-RIGHT: 0.5em; |
PADDING-LEFT: 0.5em; |
PADDING-BOTTOM: 0.5em; |
PADDING-TOP: 0.5em |
list-style:none; |
COLOR:#8EC73F; |
} |
#content |
#linkTypeFour A:visited |
{ |
BORDER-RIGHT: 1px solid; |
BORDER-TOP: 1px solid; |
RIGHT: 0; |
LEFT: 0; |
PADDING-BOTTOM: 10px; |
VERTICAL-ALIGN: top; |
BORDER-LEFT: 1px solid; |
BORDER-BOTTOM: 1px solid |
list-style:none; |
COLOR:#4D4D4D; |
} |
/*White to White underline*/ |
.linkTypeFive a:hover |
{ |
text-decoration: underline; |
color:#FFFFFF; |
list-style:none; |
} |
#content P |
.linkTypeFive a:link |
{ |
PADDING-TOP: 10px; |
TEXT-ALIGN: justify; |
text-decoration: none; |
color:#FFFFFF; |
list-style:none; |
} |
/* /Content */ |
/* Footer */ |
.linkTypeFive a:visited |
{ |
text-decoration: none; |
color:#FFFFFF; |
list-style:none; |
} |
* HTML #footer |
/*Gray*/ |
.linkTypeSix a:hover |
{ |
HEIGHT: 50px; |
color:#4D4D4D; |
list-style:none; |
} |
#footer |
.linkTypeSix a:link |
{ |
COLOR: black; |
PADDING-LEFT: 5px; |
FONT-SIZE: 0.9em; |
LEFT: 0; |
PADDING-TOP: 5px; |
HEIGHT: 50px; |
text-decoration: none; |
color:#4D4D4D; |
list-style:none; |
} |
#footer IMG |
.linkTypeSix a:visited |
{ |
BORDER-RIGHT: 0; |
BORDER-TOP: 0; |
BORDER-LEFT: 0; |
BORDER-BOTTOM: 0; |
HEIGHT: 60px; |
text-decoration: none; |
color:#4D4D4D; |
list-style:none; |
} |
#footer #license UL |
/*Green*/ |
.linkTypeSeven a:hover |
{ |
CLEAR: both; |
PADDING-RIGHT: 0; |
PADDING-LEFT: 0; |
FONT-SIZE: 0.8em; |
PADDING-BOTTOM: 0; |
MARGIN: 0; |
LIST-STYLE-TYPE: none; |
TEXT-ALIGN: center |
color:#8EC73F; |
list-style:none; |
} |
#footer #organizations |
.linkTypeSeven a:link |
{ |
text-decoration: none; |
color:#8EC73F; |
list-style:none; |
} |
#footer #sponsors |
.linkTypeSeven a:visited |
{ |
text-decoration: none; |
color:#8EC73F; |
list-style:none; |
} |
#footer TABLE |
/*White*/ |
.linkTypeHeight a:hover |
{ |
BORDER-RIGHT: 0; |
BORDER-TOP: 0; |
RIGHT: 0; |
LEFT: 0; |
MARGIN: 0; |
BORDER-LEFT: 0; |
WIDTH: 100%; |
PADDING-TOP: 0; |
BORDER-BOTTOM: 0; |
TOP: 0; |
border-spacing: 0 |
color:#FFFFFF; |
list-style:none; |
} |
#footer TABLE TD |
.linkTypeHeight a:link |
{ |
VERTICAL-ALIGN: top |
text-decoration: none; |
color:#FFFFFF; |
list-style:none; |
} |
/* /Fotter */ |
/*BOXES*/ |
.linkTypeHeight a:visited |
{ |
text-decoration: none; |
color:#FFFFFF; |
list-style:none; |
} |
.box |
/*Gray Underline*/ |
.linkTypeNine a:hover |
{ |
border:0; |
margin:0; |
padding:0; |
text-decoration: underline; |
color:#4D4D4D; |
list-style:none; |
} |
.box a:hover |
.linkTypeNine a:link |
{ |
text-decoration: underline; |
color:#8EC73F; |
color:#4D4D4D; |
list-style:none; |
} |
.box th |
.linkTypeNine a:visited |
{ |
text-decoration: underline; |
color:#4D4D4D; |
list-style:none; |
} |
margin:0; |
padding-left:10px; |
padding-top:2px; |
padding-right:15px; |
color:#FFFFFF; |
background-color: #8EC73F; |
font-weight: bold; |
/*Green Underline*/ |
.linkTypeTen a:hover |
{ |
text-decoration: underline; |
color:#8EC73F; |
list-style:none; |
} |
.box li |
.linkTypeTen a:link |
{ |
text-decoration: underline; |
text-decoration: underline; |
color:#8EC73F; |
list-style:none; |
} |
.box td |
.linkTypeTen a:visited |
{ |
margin:0; |
padding-left:5px; |
text-decoration: underline; |
color:#8EC73F; |
list-style:none; |
} |
/**************************************************************************************/ |
/************************Announcements Structure*********************************/ |
.lastAnnouncementsModule td |
{ |
padding-top:3px; |
padding-bottom:3px; |
padding-right:15px; |
color:#793B0D; |
text-align: left; |
} |
.box td ul |
.lastAnnouncementsModule td ul |
{ |
list-style:none; |
padding:0; |
padding-left:5px; |
WIDTH: 155px; |
} |
.padLeft10 |
{ |
padding-left:10px; |
} |
.topSpace |
{ |
padding-Top :10px; |
} |
/**********************************************************************************/ |
.form , .boxHorizontal |
{ |
742,5 → 639,141 |
color:lightblue; |
} |
/********************************************** Navigation Menu ********************************/ |
ul.menubar{ |
margin: 0px; |
padding: 0px; |
background-color: #FFFFFF; /* IE6 Bug */ |
font-size: 100%; |
} |
.submenu |
{ |
font: bold 16px sans; |
} |
.menu |
{ |
font: normal 14px sans; |
} |
ul.menubar .submenu{ |
margin: 0px; |
padding: 0px; |
list-style: none; |
background-color: #FFFFFF; |
float:left; |
} |
ul.menubar ul.menu{ |
display: none; |
position: absolute; |
margin: 0px; |
} |
ul.menubar a{ |
padding: 5px; |
display:block; |
text-decoration: none; |
color: #4D4D4D; |
padding: 5px; |
} |
ul.menubar a:hover{ |
padding: 5px; |
display:block; |
text-decoration: none; |
color: #4D4D4D; |
padding: 5px; |
} |
.menu a:hover{ |
padding: 5px; |
display:block; |
/* border-left: none; |
border-right: none; |
border-top: none; |
border-bottom: none; */ |
padding: 5px; |
} |
ul.menu, ul.menu ul{ |
margin: 0; |
padding: 2px; |
/* border-left: 1px solid #ccc; |
border-bottom: 1px solid #ccc; |
border-top: 1px solid #ccc; |
border-right: 1px solid #ccc; */ |
background-color: #FFFFFF; /* IE6 Bug */ |
} |
ul.menu li{ |
position: relative; |
list-style: none; |
/*border: 0px;*/ |
background-color: #4D4D4D; |
width:250px; |
} |
ul.menu li a{ |
display: block; |
text-decoration: none; |
/* border-bottom: 0px;*/ |
/*color: #4D4D4D;*/ |
/* background-color: #FFFFFF; */ |
color: #4d4d4d; |
background-color: #CCCCCC; |
padding: 5px 10px 5px 5px; |
} |
/* |
.shadow UL{ |
background-color: #666; |
color: inherit; |
position: relative; |
padding-left:1px; |
padding-top :0px; |
padding-bottom:2px; |
padding-right:2px; |
} |
*/ |
.shadow UL |
{ |
background :transparent; |
width:250px; |
color: inherit; |
} |
ul.menu li sup{ |
font-weight:bold; |
font-size:7px; |
color: red; |
} |
/* Fix IE. Hide from IE Mac \*/ |
* html ul.menu li { float: left; height: 1%; } |
* html ul.menu li a { height: 1%; } |
/* End */ |
ul.menu ul{ |
position: absolute; |
display: none; |
left: 149px; /* Set 1px less than menu width */ |
top: 0px; |
} |
ul.menu li.submenu ul |
{ |
display: none; |
} /* Hide sub-menus initially */ |
ul.menu li a:hover |
{ |
background-color: #8EC73F; |
color: #FFFFFF; |
text-decoration :underline; |
} |
/***********************************************************************************************/ |
</STYLE> |
/impl/src/web/layout/navigationMenu.jsp |
---|
1,26 → 1,88 |
<%-- |
Created by IntelliJ IDEA. |
User: Fabio Velez |
Date: 13/Mar/2008 |
Time: 15:28:29 |
To change this template use File | Settings | File Templates. |
--%> |
<%@ page contentType="text/html;charset=UTF-8" language="java" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> |
<%@ taglib uri="/WEB-INF/tlds/estgweb.tld" prefix="estgweb" %> |
<%--//todo mete este width no CSS da um estilo a isto no layout ou aqui esta tabela deve chamar-se navigationTop--%> |
<table width="100%"> |
<tr> |
<td> |
Aqui fica o menu.... |
</td> |
<td width="1%"> |
<estgweb:pageUrlStat><img border="0" alt="<bean:message key="url.stat.page"/>" src="<%=request.getContextPath()%>/imgs/minichart.gif"></estgweb:pageUrlStat> |
</td> |
</tr> |
</table> |
<%-- |
Created by IntelliJ IDEA. |
User: Fabio Velez |
Date: 13/Mar/2008 |
Time: 15:28:29 |
To change this template use File | Settings | File Templates. |
--%> |
<%@ page contentType="text/html;charset=UTF-8" language="java" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> |
<%@ taglib uri="/WEB-INF/tlds/estgweb.tld" prefix="estgweb" %> |
<<<<<<< .mine |
<div> |
<ul id="menu_dropdown" class="menubar"> |
<li class="submenu"><a href="#">Apresentação</a> |
<div class="shadow "> |
<ul class="menu"> |
<li><a href="#">Mensagem do Presidente</a></li> |
<li><a href="#">A ESTG e a sua missão</a></li> |
<li><a href="#">História</a></li> |
<li><a href="#">Localização</a></li> |
<li><a href="#">Factos e números</a></li> |
<li><a href="#">A ESTG em Fotografias</a></li> |
</ul> |
</div> |
</li> |
<li class="submenu"><a href="#">Organização</a> |
<div class="shadow "> |
<ul class="menu"> |
<li><a href="#">Assembleia de Representantes</a></li> |
<li><a href="#">Conselho Directivo</a></li> |
<li><a href="#">Conselho Ciêntifico</a></li> |
<li><a href="#">Conselho Pedagógico</a></li> |
</ul> |
</div> |
</li> |
<li class="submenu"><a href="#">Áreas</a> |
<div class="shadow "> |
<ul class="menu"> |
<li><a href="#">Engenharias</a></li> |
<li><a href="#">Ciências Empresariais</a></li> |
<li><a href="#">Ciências Humanas</a></li> |
<li><a href="#">Design</a></li> |
</ul> |
</div> |
</li> |
<li class="submenu"><a href="#">Ensino</a> |
<div class="shadow "> |
<ul class="menu"> |
<li><a href="#">Cursos</a></li> |
<li><a href="#">Mestrados</a></li> |
<li><a href="#">Pós Graduações</a></li> |
<li><a href="#">Cet´s</a></li> |
<li><a href="#">Formação TIC</a></li> |
<li><a href="#">Formação CTOC</a></li> |
<li><a href="#">Acções de Formação de Curta Duração</a></li> |
</ul> |
</div> |
</li> |
<li class="submenu"><a href="#">I&D</a> |
<div class="shadow "> |
<ul class="menu"> |
<li><a href="#">OTIC-INOVAA</a></li> |
<li><a href="#">POLIEMPRIENDE</a></li> |
<li><a href="#">Gab. Empreendedorismo</a></li> |
<li><a href="#">SGQ</a></li> |
<li><a href="#">Protocolos com o Exterior</a></li> |
<li><a href="#">LAQI Lab. Anal. Qui. e Industriais</a></li> |
</ul> |
</div> |
</li> |
</ul> |
</div>======= |
<%--//todo mete este width no CSS da um estilo a isto no layout ou aqui esta tabela deve chamar-se navigationTop--%> |
<table width="100%"> |
<tr> |
<td> |
Aqui fica o menu.... |
</td> |
<td width="1%"> |
<estgweb:pageUrlStat><img border="0" alt="<bean:message key="url.stat.page"/>" src="<%=request.getContextPath()%>/imgs/minichart.gif"></estgweb:pageUrlStat> |
</td> |
</tr> |
</table>>>>>>>> .r19 |
/impl/src/web/layout/header.jsp |
---|
12,19 → 12,7 |
<table width="100%"> |
<tr> |
<td> |
<!--<a href="http://www.estgp.com" border="0">--><img src="<%=request.getContextPath()%>/imgs/top.jpg"/><!--</a>--> |
<img src="<%=request.getContextPath()%>/imgs/top.jpg"/> |
</td> |
<!-- <td> |
<h1><bean:message key="site.title"/></h1> |
</td> |
<td> |
<div class="small" align="right" style="padding-right:6px"> |
<logic:present name="USER_SESSION_KEY"> |
<logic:present name="USER_SESSION_KEY" property="username"> |
<bean:write name="USER_SESSION_KEY" property="username"/> |
</logic:present> |
</logic:present> |
</div> |
</td>--> |
</tr> |
</table> |
/impl/src/web/layout/navigationRight.jsp |
---|
5,7 → 5,7 |
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> |
<div id="latnavRight"> |
<div id="rightPagePosition"> |
<jsp:include page="/public/announcements/announcements.jsp"/> |
/impl/src/web/layout/footer.jsp |
---|
6,6 → 6,7 |
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> |
<div id="footerStructure"> |
<table> |
<tr> |
<td width="33%"> |
14,7 → 15,7 |
</td> |
<td align="center" width="33%"> |
<div id="license"> |
<ul> |
<ul id="linkTypeFour"> |
<li>Copyright © <a href="http://www.estgp.com">ESTG</a> 2008</li> |
<!--<li>Contact ESTG Webmaster at (webmaster [AT] estgp [DOT] pt)</li>--> |
</ul> |
25,4 → 26,5 |
</div> |
</td> |
</tr> |
</table> |
</table> |
</div> |
/impl/src/web/layout/layout1.jsp |
---|
9,26 → 9,49 |
<head> |
<title><bean:message key="site.title"/> - <tiles:getAsString name="title"/> <%=request.getParameter("title")%></title> |
<jsp:include page="/layout/scripts.jsp"/> |
<script type="text/javascript"> |
function horizontal() { |
var navItems = document.getElementById("menu_dropdown").getElementsByTagName("li"); |
for (var i=0; i< navItems.length; i++) { |
if(navItems[i].className == "submenu") |
{ |
if(navItems[i].getElementsByTagName('ul')[0] != null) |
{ |
navItems[i].onmouseover=function() { |
this.getElementsByTagName('ul')[0].style.display="block";} |
navItems[i].onmouseout=function() {this.getElementsByTagName('ul')[0].style.display="none";} |
} |
} |
} |
} |
</script> |
</head> |
<body class="small" marginwidth="0" marginheight="0" bgcolor="#ffffff" topmargin="0" leftmargin="0"> |
<div id="header"> |
<tiles:insert attribute="header"/> |
<tiles:insert attribute="navigationMenu"/> |
</div> |
<table id="bigtable"> |
<tr> |
<td id="latnav_containerLeft"> |
<tiles:insert attribute="navigation" /> |
</td> |
<td id="content"> |
<tiles:insert attribute="topnav"/> |
<tiles:insert attribute="body" /> |
</td> |
</tr> |
</table> |
<div id="footer"> |
<tiles:insert attribute="footer"/> |
</div> |
<body class="small" marginwidth="0" marginheight="0" bgcolor="#ffffff" topmargin="0" leftmargin="0" onload="horizontal();"> |
<div id="body"> |
<div id="header"> |
<tiles:insert attribute="header"/> |
</div> |
<table id="page"> |
<tr> |
<td colspan="2"><tiles:insert attribute="navigationMenu"/></td> |
</tr> |
<tr> |
<td id="leftPage"> |
<tiles:insert attribute="navigation" /> |
</td> |
<td id="content1"> |
<tiles:insert attribute="topnav"/> |
<tiles:insert attribute="body" /> |
</td> |
</tr> |
</table> |
<div id="footer"> |
<tiles:insert attribute="footer"/> |
</div> |
</div> |
</body> |
</html:html> |
/impl/src/web/layout/layout2.jsp |
---|
9,23 → 9,46 |
<head> |
<title><bean:message key="site.title"/> - <tiles:getAsString name="title"/></title> |
<jsp:include page="/layout/scripts.jsp"/> |
<script type="text/javascript"> |
function horizontal() { |
var navItems = document.getElementById("menu_dropdown").getElementsByTagName("li"); |
for (var i=0; i< navItems.length; i++) { |
if(navItems[i].className == "submenu") |
{ |
if(navItems[i].getElementsByTagName('ul')[0] != null) |
{ |
navItems[i].onmouseover=function() { |
this.getElementsByTagName('ul')[0].style.display="block";} |
navItems[i].onmouseout=function() {this.getElementsByTagName('ul')[0].style.display="none";} |
} |
} |
} |
} |
</script> |
</head> |
<body class="small" marginwidth="0" marginheight="0" bgcolor="#ffffff" topmargin="0" leftmargin="0"> |
<div id="header"> |
<tiles:insert attribute="header"/> |
<tiles:insert attribute="navigationMenu"/> |
</div> |
<table id="bigtable"> |
<tr> |
<td id="content"> |
<tiles:insert attribute="topnav"/> |
<tiles:insert attribute="body" /> |
</td> |
</tr> |
</table> |
<div id="footer"> |
<tiles:insert attribute="footer"/> |
</div> |
<body class="small" marginwidth="0" marginheight="0" bgcolor="#ffffff" topmargin="0" leftmargin="0" onload="horizontal();"> |
<div id="body"> |
<div id="header"> |
<tiles:insert attribute="header"/> |
</div> |
<table id="page"> |
<tr> |
<td><tiles:insert attribute="navigationMenu"/></td> |
</tr> |
<tr> |
<td id="content2"> |
<tiles:insert attribute="topnav"/> |
<tiles:insert attribute="body" /> |
</td> |
</tr> |
</table> |
<div id="footer"> |
<tiles:insert attribute="footer"/> |
</div> |
</div> |
</body> |
</html:html> |
/impl/src/web/layout/navigationLeftMenu.jsp |
---|
1,4 → 1,4 |
<%-- |
<%-- |
Created by IntelliJ IDEA. |
User: Fabio Velez |
Date: 14/Mar/2008 |
12,25 → 12,27 |
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> |
<div id="navigationLeftMenu"> |
<ul> |
<li> |
<a href="http://www.estgp.pt/Alunos/HomeAlunos.asp">Alunos</a> |
</li> |
<li> |
<a href="http://www.estgp.pt/Alunos/HomeAlunos.asp">Docentes</a> |
</li> |
<li> |
<a href="http://www.estgp.pt/Alunos/HomeAlunos.asp">Futuros Alunos</a> |
</li> |
<li> |
<a href="http://www.estgp.pt/Alunos/HomeAlunos.asp">Antigos Alunos</a> |
</li> |
<li> |
<a href="http://www.estgp.pt/Alunos/HomeAlunos.asp">Alunos Internacionais</a> |
</li> |
<li> |
<a href="http://www.estgp.pt/Alunos/HomeAlunos.asp">Comunicação Social</a> |
</li> |
</ul> |
<div id="leftMenuModule"> |
<div id="linkTypeOne"> |
<ul> |
<li> |
<a href="http://www.estgp.pt/Alunos/HomeAlunos.asp">Alunos</a> |
</li> |
<li> |
<a href="http://www.estgp.pt/Alunos/HomeAlunos.asp">Docentes</a> |
</li> |
<li> |
<a href="http://www.estgp.pt/Alunos/HomeAlunos.asp">Futuros Alunos</a> |
</li> |
<li> |
<a href="http://www.estgp.pt/Alunos/HomeAlunos.asp">Antigos Alunos</a> |
</li> |
<li> |
<a href="http://www.estgp.pt/Alunos/HomeAlunos.asp">Alunos Internacionais</a> |
</li> |
<li> |
<a href="http://www.estgp.pt/Alunos/HomeAlunos.asp">Comunicação Social</a> |
</li> |
</ul> |
</div> |
</div> |
/impl/src/web/layout/layout3.jsp |
---|
9,26 → 9,49 |
<head> |
<title><bean:message key="site.title"/> - <tiles:getAsString name="title"/></title> |
<jsp:include page="/layout/scripts.jsp"/> |
<script type="text/javascript"> |
function horizontal() { |
var navItems = document.getElementById("menu_dropdown").getElementsByTagName("li"); |
for (var i=0; i< navItems.length; i++) { |
if(navItems[i].className == "submenu") |
{ |
if(navItems[i].getElementsByTagName('ul')[0] != null) |
{ |
navItems[i].onmouseover=function() { |
this.getElementsByTagName('ul')[0].style.display="block";} |
navItems[i].onmouseout=function() {this.getElementsByTagName('ul')[0].style.display="none";} |
} |
} |
} |
} |
</script> |
</head> |
<body class="small" marginwidth="0" marginheight="0" bgcolor="#ffffff" topmargin="0" leftmargin="0"> |
<div id="header"> |
<tiles:insert attribute="header"/> |
<tiles:insert attribute="navigationMenu"/> |
</div> |
<table id="bigtable"> |
<tr> |
<td id="content"> |
<tiles:insert attribute="topnav"/> |
<tiles:insert attribute="body" /> |
</td> |
<td id="latnav_containerRight"> |
<tiles:insert attribute="navigation" /> |
</td> |
</tr> |
</table> |
<div id="footer"> |
<tiles:insert attribute="footer"/> |
</div> |
<body class="small" marginwidth="0" marginheight="0" bgcolor="#ffffff" topmargin="0" leftmargin="0" onload="horizontal();"> |
<div id="body"> |
<div id="header"> |
<tiles:insert attribute="header"/> |
</div> |
<table id="page"> |
<tr> |
<td colspan="2"><tiles:insert attribute="navigationMenu"/></td> |
</tr> |
<tr> |
<td id="content3"> |
<tiles:insert attribute="topnav"/> |
<tiles:insert attribute="body" /> |
</td> |
<td id="rightPage"> |
<tiles:insert attribute="navigation" /> |
</td> |
</tr> |
</table> |
<div id="footer"> |
<tiles:insert attribute="footer"/> |
</div> |
</div> |
</body> |
</html:html> |
/impl/src/web/layout/layout4.jsp |
---|
9,23 → 9,46 |
<head> |
<title><bean:message key="site.title"/> - <tiles:getAsString name="title"/></title> |
<jsp:include page="/layout/scripts.jsp"/> |
<script type="text/javascript"> |
function horizontal() { |
var navItems = document.getElementById("menu_dropdown").getElementsByTagName("li"); |
for (var i=0; i< navItems.length; i++) { |
if(navItems[i].className == "submenu") |
{ |
if(navItems[i].getElementsByTagName('ul')[0] != null) |
{ |
navItems[i].onmouseover=function() { |
this.getElementsByTagName('ul')[0].style.display="block";} |
navItems[i].onmouseout=function() {this.getElementsByTagName('ul')[0].style.display="none";} |
} |
} |
} |
} |
</script> |
</head> |
<body class="small" marginwidth="0" marginheight="0" bgcolor="#ffffff" topmargin="0" leftmargin="0"> |
<body class="small" marginwidth="0" marginheight="0" bgcolor="#ffffff" topmargin="0" leftmargin="0" onload="horizontal();"> |
<div id="body"> |
<div id="header"> |
<tiles:insert attribute="header"/> |
<tiles:insert attribute="navigationMenu"/> |
</div> |
<table id="bigtable"> |
<table id="page"> |
<tr> |
<td id="latnav_containerLeft"> |
<td colspan="3"><tiles:insert attribute="navigationMenu"/></td> |
</tr> |
<tr> |
<td id="leftPage"> |
<tiles:insert attribute="navigationLeft" /> |
</td> |
<td id="content"> |
<td id="content4"> |
<tiles:insert attribute="topnav"/> |
<tiles:insert attribute="body" /> |
</td> |
<td id="latnav_containerRight"> |
<td id="rightPage"> |
<tiles:insert attribute="navigationRight"/> |
</td> |
</tr> |
/impl/src/web/layout/navigationLeft.jsp |
---|
6,51 → 6,35 |
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> |
<%@ taglib uri="/WEB-INF/tlds/estgweb.tld" prefix="estgweb" %> |
<div id="latnavLeft"> |
<div id="leftPagePosition"> |
<%--ANONIMOUS MENUS--%> |
<jsp:include page="/layout/navigationTop.jsp"/> |
<jsp:include page="/layout/navigationLeftMenu.jsp"/> |
<%--ANONIMOUS MENUS--%> |
<jsp:include page="/layout/navigationTop.jsp"/> |
<jsp:include page="/layout/navigationLeftMenu.jsp"/> |
<%--SUPER USER MENUS--%> |
<estgweb:isSuperUser> |
<p><bean:message key="superuser"/></p> |
<ul> |
<li> |
TESTE |
</li> |
</ul> |
</estgweb:isSuperUser> |
<%-- USER MENUS--%> |
<div id="leftMenuModule"> |
<div id="linkTypeOne"> |
<estgweb:isAuthenticated> |
<%--ADMIN USER MENUS--%> |
<estgweb:isAdmin> |
<p><bean:message key="administration"/></p> |
<ul> |
<li> |
TESTE |
</li> |
</ul> |
</estgweb:isAdmin> |
<%--SERVICES--%> |
<ul> |
<p><bean:message key="services"/></p> |
<li> |
<html:link action="/startSubmitAnnouncement"><bean:message key="submit.announcement"/></html:link> |
</li> |
<%-- USER MENUS--%> |
<estgweb:isAuthenticated> |
<%--SERVICES--%> |
<p><bean:message key="services"/></p> |
<ul> |
<li> |
<html:link action="/startSubmitAnnouncement"><bean:message key="submit.announcement"/></html:link> |
</li> |
</ul> |
<!--OTHER PLACES--> |
<p><bean:message key="Others"/></p> |
<ul> |
<li> |
<html:link action="/user/startCourses"><bean:message key="courses"/></html:link> |
</li> |
<li> |
<a href="<%=request.getContextPath()%>/proxy/layout4/estgp/">ESTG SITE TESTE</a> |
</li> |
</ul> |
</estgweb:isAuthenticated> |
<!--OTHER PLACES--> |
<p><bean:message key="Others"/></p> |
<li> |
<html:link action="/user/startCourses"><bean:message key="courses"/></html:link> |
</li> |
<li> |
<a href="<%=request.getContextPath()%>/proxy/layout4/estgp/">ESTG SITE TESTE</a> |
</li> |
</ul> |
</estgweb:isAuthenticated> |
</div> |
</div> |
</div> |
/impl/src/web/layout/navigationTop.jsp |
---|
5,24 → 5,26 |
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> |
<%@ taglib uri="/WEB-INF/tlds/estgweb.tld" prefix="estgweb" %> |
<ul> |
<li> |
<html:link action="/Welcome"><bean:message key="Home"/></html:link> |
</li> |
<div id="leftMenuModule"> |
<div id="linkTypeOne"> |
<ul> |
<li> |
<html:link action="/Welcome"><bean:message key="Home"/></html:link> |
</li> |
<estgweb:isNotAuthenticated> |
<li> |
<html:link action="/StartAuthentication"><bean:message key="authenticate"/></html:link> |
</li> |
</estgweb:isNotAuthenticated> |
<estgweb:isNotAuthenticated> |
<li> |
<html:link action="/StartAuthentication"><bean:message key="authenticate"/></html:link> |
</li> |
</estgweb:isNotAuthenticated> |
<estgweb:isAuthenticated> |
<li> |
<html:link action="/Logout"><bean:message key="logout"/></html:link> |
</li> |
</estgweb:isAuthenticated> |
<estgweb:isAuthenticated> |
<li> |
<html:link action="/Logout"><bean:message key="logout"/></html:link> |
</li> |
</estgweb:isAuthenticated> |
</ul> |
</div> |
</div> |
</ul> |
/impl/src/web/public/index.jsp |
---|
1,16 → 1,109 |
<%@ page import="java.util.Locale" %> |
<%@ page import="pt.utl.ist.berserk.logic.serviceManager.IServiceManager" %> |
<%@ page import="pt.utl.ist.berserk.logic.serviceManager.ServiceManager" %> |
<%@ page import="pt.estgp.estgweb.domain.views.AnnouncementView" %> |
<%@ page import="java.util.List" %> |
<%@ page import="pt.estgp.estgweb.web.utils.RequestUtils" %> |
<%@page language="java" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
<%@ taglib uri="/WEB-INF/tlds/jomm.tld" prefix="jomm" %> |
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
<% |
IServiceManager sm = ServiceManager.getInstance(); |
String[] names = new String[]{}; |
Object[] args = new Object[]{}; |
List<AnnouncementView> announcementViews = (List<AnnouncementView>) sm.execute(RequestUtils.getRequester(request), "LoadTargetMaxAnnouncements", args, names); |
request.setAttribute("Announcements", announcementViews); |
%> |
<jomm:messages/> |
<html:errors/> |
<table id="indexPage"> |
<table class="indexPage" style=" border-collapse: collapse;"> |
<tr> |
<td id="topBar"> |
<td id="topBar" colspan="2"> |
<bean:message key="mainAnnouncements"/> |
</td> |
</tr> |
</table> |
<tr> |
<td class="topSpace" colspan="2"> |
</td> |
</tr> |
<tr id="backOne"> |
<td style="vertical-align:top; width :100%;"> |
<div class="padLeft10"> |
<logic:iterate length="1" id="item" name="Announcements" type="pt.estgp.estgweb.domain.views.AnnouncementView"> |
<logic:equal value="top.flash.news" name="item" property="type"> |
<div class="linkTypeSeven" style="font-weight :bold ;"> |
<html:link action="/loadAnnouncement?id=${item.id}&dispatch=load">${item.title}</html:link> |
</div> |
<div class="linkTypeHeight" style="padding-top :10px;"> |
<html:link action="/loadAnnouncement?id=${item.id}&dispatch=load" >${item.text}</html:link> |
</div> |
</logic:equal> |
</logic:iterate> |
</div> |
</td> |
<td style="text-align :right;"> |
<img src="<%=request.getContextPath()%>/imgs/destaque_1.jpg"/> |
</td> |
</tr> |
</table> |
<div class="topSpace"> |
<table class="indexPage" style=" border-top-style: dotted; border-top-color:#DEDEDD;"> |
<tr> |
<div class="padLeft10"> |
<logic:iterate length="2" id="item" name="Announcements" type="pt.estgp.estgweb.domain.views.AnnouncementView"> |
<logic:equal value="bottom.flash.news" name="item" property="type"> |
<td> |
<img src="<%=request.getContextPath()%>/imgs/destaque_2_1.jpg"/> |
</td> |
<td style="vertical-align:top; width :200px;"> |
<div class="linkTypeSeven" style="font-weight :bold;padding-left :5px;"> |
</div> |
<div class="linkTypeSix" style="padding-left :5px;"> |
<html:link action="/loadAnnouncement?id=${item.id}&dispatch=load" >${item.text}</html:link> |
</div> |
</td> |
</logic:equal> |
</logic:iterate> |
</div> |
</tr> |
</table> |
</div> |
<div class="topSpace"> |
<table class="indexPage"> |
<tr> |
<div class="padLeft10"> |
<logic:iterate length="5" id="item" name="Announcements" type="pt.estgp.estgweb.domain.views.AnnouncementView"> |
<logic:equal value="news" name="item" property="type"> |
<td style=" width :200px;"> |
<img src="<%=request.getContextPath()%>/imgs/destaque_3_3.gif"/> |
</td> |
</logic:equal> |
</logic:iterate> |
</div> |
</tr> |
<tr> |
<div class="padLeft10"> |
<logic:iterate length="5" id="item" name="Announcements" type="pt.estgp.estgweb.domain.views.AnnouncementView"> |
<logic:equal value="news" name="item" property="type"> |
<td style="vertical-align:top; width :200px;"> |
<div class="linkTypeTen" style="font-weight :bold;padding-left :10px; padding-right:5px;"> |
<html:link action="/loadAnnouncement?id=${item.id}&dispatch=load">${item.title}</html:link> |
</div> |
<div class="linkTypeNine" style="padding-left :10px; padding-right:5px;"> |
<html:link action="/loadAnnouncement?id=${item.id}&dispatch=load" >${item.text}</html:link> |
</div> |
</td> |
</logic:equal> |
</logic:iterate> |
</div> |
</tr> |
</table> |
</div> |
/impl/src/web/public/announcements/announcements.jsp |
---|
14,26 → 14,32 |
List<AnnouncementView> announcementViews = (List<AnnouncementView>) sm.execute(RequestUtils.getRequester(request), "LoadTargetMaxAnnouncements", args, names); |
request.setAttribute("Announcements", announcementViews); |
%> |
<table class="box"> |
<table class="lastAnnouncementsModule" style=" border-collapse: collapse;"> |
<tr> |
<th> |
<td id="topBar"> |
<bean:message key="announcements"/> |
</th> |
</td> |
</tr> |
<tr> |
<td> |
<div class="linkTypeTwo"> |
<ul> |
<logic:iterate id="item" name="Announcements" type="pt.estgp.estgweb.domain.views.AnnouncementView"> |
<li> |
<logic:empty name="item" property="url"> |
<html:link action="/loadAnnouncement?id=${item.id}&dispatch=load">${item.title}</html:link> |
<logic:equal value="news" name="item" property="type"> |
<html:link action="/loadAnnouncement?id=${item.id}&dispatch=load">${item.title}</html:link> |
</logic:equal> |
</logic:empty> |
<logic:notEmpty name="item" property="url"> |
<html:link href="${item.url}">${item.title}</html:link> |
<logic:equal value="news" name="item" property="type"> |
<html:link href="${item.url}">${item.title}</html:link> |
</logic:equal> |
</logic:notEmpty> |
</li> |
</logic:iterate> |
</ul> |
</div> |
</td> |
</tr> |