Author: dpillot
Date: Fri May 25 12:05:59 2007
New Revision: 682
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D682&repname=
=3Dcorporate_portal_templates_v2
Log:
TEMPLATES-232
Added:
branches/JAHIA-5-0-SP-BRANCH/src/jsp/doc/folderDocumentBox.jsp
Modified:
branches/JAHIA-5-0-SP-BRANCH/src/jsp/doc/detail.jsp
Modified: branches/JAHIA-5-0-SP-BRANCH/src/jsp/doc/detail.jsp
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/src/jsp/doc/detail.jsp&rev=3D682&repname=3Dcorporate_portal_templat=
es_v2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/src/jsp/doc/detail.jsp (original)
+++ branches/JAHIA-5-0-SP-BRANCH/src/jsp/doc/detail.jsp Fri May 25 12:05:59=
2007
@@ -1,24 +1,61 @@
<%--
Copyright 2002-2006 Jahia Ltd
=
-Licensed under the JAHIA COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (JCDD=
L), =
-Version 1.0 (the "License"), or (at your option) any later version; you ma=
y =
-not use this file except in compliance with the License. You should have =
-received a copy of the License along with this program; if not, you may ob=
tain =
-a copy of the License at =
+Licensed under the JAHIA COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (JCDD=
L),
+Version 1.0 (the "License"), or (at your option) any later version; you may
+not use this file except in compliance with the License. You should have
+received a copy of the License along with this program; if not, you may ob=
tain
+a copy of the License at
=
http://www.jahia.org/license/
=
-Unless required by applicable law or agreed to in writing, software =
-distributed under the License is distributed on an "AS IS" BASIS, =
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. =
-See the License for the specific language governing permissions and =
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
limitations under the License.
--%><%@ include file=3D"../common/declarations.inc"%>
<%@ include file=3D"../common/common_vars.inc"%>
=
-<%@ include file=3D"sources.inc"%>
-<%@ include file=3D"types.inc"%>
+<%
+StringBuffer sourceValues =3D new StringBuffer("None");
+Vector sourceVector =3D new Vector(); // used for filters
+Vector sourceVector2 =3D new Vector(); // used for filters
+
+JahiaContainerList sourceContainerList =3D jData.containers().getAbsoluteC=
ontainerList( "sourceContainer", jData.gui().getLevelID( 1 ) );
+ContainerListBean sourceContainerListBean =3D new ContainerListBean(source=
ContainerList,jParams);
+
+Enumeration sourceEnumeration =3D sourceContainerList.getContainers();
+int sourceCount =3D 0;
+while (sourceEnumeration.hasMoreElements()) {
+ JahiaContainer sourceContainer =3D (JahiaContainer)sourceEnumeration.n=
extElement();
+ ContainerBean sourceContainerBean =3D new ContainerBean(sourceContaine=
r,jParams);
+ String sourceValue =3D sourceContainer.getFieldValue("sourceValue","",=
true , jData.params());
+ sourceValues.append(":");
+ sourceValues.append(org.jahia.data.fields.ExpressionMarker.drawMarker(=
"currentSite.homePage.containerLists[\"sourceContainer\"].getContainerByID(=
"+sourceContainer.getID()+").fields[\"sourceValue\"].value", true));
+ sourceVector.add(org.jahia.data.fields.ExpressionMarker.drawMarker("cu=
rrentSite.homePage.containerLists[\"sourceContainer\"].getContainerByID("+s=
ourceContainer.getID()+").fields[\"sourceValue\"].value", true));
+ sourceVector2.add(sourceValue);
+ }
+
+StringBuffer typeValues =3D new StringBuffer("None");
+Vector typeVector =3D new Vector(); // used for filters
+Vector typeVector2 =3D new Vector(); // used for filters
+
+JahiaContainerList typeContainerList =3D jData.containers().getAbsoluteCon=
tainerList( "typeContainer", jData.gui().getLevelID( 1 ) );
+ContainerListBean typeContainerListBean =3D new ContainerListBean(typeCont=
ainerList,jParams);
+
+Enumeration typeEnumeration =3D typeContainerList.getContainers();
+int typeCount =3D 0;
+while (typeEnumeration.hasMoreElements()) {
+ JahiaContainer typeContainer =3D (JahiaContainer)typeEnumeration.nextE=
lement();
+ ContainerBean typeContainerBean =3D new ContainerBean(typeContainer,jP=
arams);
+ String typeValue =3D typeContainer.getFieldValue("typeValue","", true =
, jData.params());
+ typeValues.append(":");
+ typeValues.append(org.jahia.data.fields.ExpressionMarker.drawMarker("c=
urrentSite.homePage.containerLists[\"typeContainer\"].getContainerByID("+ty=
peContainer.getID()+").fields[\"typeValue\"].value", true));
+ typeVector.add(org.jahia.data.fields.ExpressionMarker.drawMarker("curr=
entSite.homePage.containerLists[\"typeContainer\"].getContainerByID("+typeC=
ontainer.getID()+").fields[\"typeValue\"].value", true));
+ typeVector2.add(typeValue);
+ }
+ %>
<%@ include file=3D"filters.inc"%>
<%@ include file=3D"definitions.inc"%>
=
@@ -166,4 +203,4 @@
}%>
<%@ include file=3D"container_revisions_listing.jsp"%>
<% } %>
- =
+
Added: branches/JAHIA-5-0-SP-BRANCH/src/jsp/doc/folderDocumentBox.jsp
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/branches/JAHIA=
-5-0-SP-BRANCH/src/jsp/doc/folderDocumentBox.jsp&rev=3D682&repname=3Dcorpor=
ate_portal_templates_v2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/src/jsp/doc/folderDocumentBox.jsp (added)
+++ branches/JAHIA-5-0-SP-BRANCH/src/jsp/doc/folderDocumentBox.jsp Fri May =
25 12:05:59 2007
@@ -0,0 +1,402 @@
+<%--
+Copyright 2002-2006 Jahia Ltd
+
+Licensed under the JAHIA COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (JCDD=
L), =
+Version 1.0 (the "License"), or (at your option) any later version; you ma=
y =
+not use this file except in compliance with the License. You should have =
+received a copy of the License along with this program; if not, you may ob=
tain =
+a copy of the License at =
+
+ http://www.jahia.org/license/
+
+Unless required by applicable law or agreed to in writing, software =
+distributed under the License is distributed on an "AS IS" BASIS, =
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. =
+See the License for the specific language governing permissions and =
+limitations under the License.
+--%><%@ page language=3D"java" %>
+<%@ page import=3D"org.jahia.engines.calendar.CalendarHandler" %>
+<%@ page import=3D"org.jahia.views.engines.versioning.actions.*" %>
+<%@ page import=3D"org.jahia.views.engines.versioning.ContentVersioningVie=
wHelper" %>
+<%@ include file=3D"../common/declarations.inc"%>
+<%@ include file=3D"../common/common_vars.inc"%>
+<%!
+public String getPath (JahiaPage link, JahiaData jData)
+throws JahiaException
+{
+ return getPath(link, jData, false);
+}
+
+public String getPath (JahiaPage link, JahiaData jData, boolean skipHome)
+throws JahiaException
+{
+ if (link =3D=3D null){
+ return "";
+ }
+
+ int linkPID =3D -1;
+ StringBuffer fullPath =3D new StringBuffer();
+ JahiaPage aPage;
+ int count =3D 0;
+ if (link.getPageType() =3D=3D 0) {
+ linkPID =3D link.getID();
+ } else if (link.getPageType() =3D=3D 1) {
+ linkPID =3D link.getPageLinkID();
+ }
+ if (linkPID !=3D -1){
+ ContentPage contentPage =3D ContentPage.getPage(linkPID);
+ Enumeration thePath =3D contentPage.getPagePath(jData.params().ge=
tEntryLoadRequest(),
+
jData.params().getOperationMode(),
+ jData.params().getUser());
+ if ((thePath.hasMoreElements()) && (skipHome)){
+ thePath.nextElement();// skip home page
+ }
+ while (thePath.hasMoreElements()) {
+ aPage =3D (JahiaPage) thePath.nextElement();
+ if (aPage !=3D null) {
+ count++;
+ if (count > 1){
+ fullPath.append(" / ");
+ }
+ fullPath.append("<a href=3D\"");
+ fullPath.append(aPage.getURL(jData.params()));
+ fullPath.append("\">");
+ fullPath.append(aPage.getTitle());
+ fullPath.append("</a>");
+ }
+ }
+ }
+ if (fullPath.length() > 0) {
+ fullPath.insert(0, "(");
+ fullPath.append(")");
+ }
+ return fullPath.toString();
+}
+
+
+public CalendarHandler getCalHandler(String calIdentifier,
+ long initialDate,
+ ProcessingContext jParams){
+ Long date =3D new Long(initialDate);
+ CalendarHandler calHandler =3D
+ new CalendarHandler(jParams.settings().getJahiaEnginesHttpPath=
(),
+ calIdentifier,
+ ContentVersioningAction.DATE_FORMAT,
+ date,
+ jParams.getLocale(),
+ new Long(0));
+ return calHandler;
+}
+
+public ContentVersioningViewHelper initContainerRevisionsListing(String ob=
jectKey,
+ ProcessingContext jParams, HttpServletRequest request) throws JahiaExcep=
tion, ClassNotFoundException {
+ =
+ ContentObject contentObject =3D null;
+ // Prepage a new engine view helper
+ EntryLoadRequest loadRequest =3D EntryLoadRequest.VERSIONED;
+ contentObject =3D ContentObject.getContentObjectInstance(ObjectKey.getIn=
stance(objectKey));
+ CalendarHandler cal =3D this.getCalHandler("restoreDateCalendar",0,jPara=
ms);
+ ContentVersioningViewHelper versViewHelper =3D ContentVersioningViewHelp=
er.getInstance(contentObject,cal);
+ cal =3D this.getCalHandler("fromRevisionDateCalendar",0,jParams);
+ versViewHelper.setFromRevisionDateCalendar(cal);
+ cal =3D this.getCalHandler("toRevisionDateCalendar",0,jParams);
+ versViewHelper.setToRevisionDateCalendar(cal);
+
+ long toDate =3D versViewHelper.getToRevisionDateCalendar().getDateLong()=
.longValue();
+ if ( toDate =3D=3D 0 ){
+ toDate =3D Calendar.getInstance(TimeZone.getTimeZone("UTC")).getTime=
InMillis();
+ }
+ toDate +=3D versViewHelper.getToRevisionDateCalendar().getTimeZoneOffSet=
().longValue()
+ + versViewHelper.getToRevisionDateCalendar().getServerClientTimeDiff().l=
ongValue();
+
+ loadRequest =3D
+ new EntryLoadRequest(EntryLoadRequest.VERSIONED_WORKFLOW_STATE,
+ (int) (toDate / 1000),
+ jParams.getEntryLoadRequest().getLocales());
+
+ // prepare Revisions List
+ ContentTreeRevisionsVisitor revisionsVisitor =3D
+ versViewHelper.getContentTreeRevisionsVisitor(
+ jParams.getUser(),loadRequest, ProcessingContext.EDIT);
+
+ revisionsVisitor.setWithDeletedContent(true);
+ revisionsVisitor.setWithStagingRevisions(true);
+ long fromDate =3D versViewHelper.getFromRevisionDateCalendar().getDateLo=
ng().longValue();
+ if ( fromDate > 0 ){
+ fromDate +=3D versViewHelper.getFromRevisionDateCalendar().getTimeZo=
neOffSet().longValue()
+ + versViewHelper.getFromRevisionDateCalendar().getServerClientTimeDi=
ff().longValue();
+ }
+ revisionsVisitor.setFromRevisionDate(fromDate);
+ revisionsVisitor.setToRevisionDate(toDate);
+
+ revisionsVisitor.loadRevisions(false);
+ revisionsVisitor.sortRevisions(
+ jParams.getLocale().toString(),
+ versViewHelper.getSortAttribute(),
+ versViewHelper.getSortOrder(), false);
+
+ ArrayList revisions =3D revisionsVisitor.getRevisions();
+ ArrayList filteredRevisions =3D new ArrayList();
+ int size =3D revisions.size();
+ // remove deleted revisions, we don't want to restore at deleted revision
+ RevisionEntrySet revEntrySet;
+ if ( (versViewHelper.isRestoringPage() || versViewHelper.isRestoringCont=
ainer() )) {
+ boolean isEditMode =3D jParams.getOperationMode().equals(ProcessingC=
ontext.EDIT);
+ for (int i =3D 0; i < size; i++) {
+ revEntrySet =3D (RevisionEntrySet) revisions.get(i);
+ if ((revEntrySet.getWorkflowState() !=3D
+ EntryLoadRequest.DELETED_WORKFLOW_STATE)
+ && !(revEntrySet.getWorkflowState() > EntryLoadRequest.A=
CTIVE_WORKFLOW_STATE && !isEditMode) ) {
+ filteredRevisions.add(revEntrySet);
+ }
+ }
+ } else {
+ filteredRevisions =3D revisions;
+ }
+ if ( filteredRevisions =3D=3D null ){
+ filteredRevisions =3D new ArrayList();
+ }
+ request.setAttribute("revisions", filteredRevisions);
+ return versViewHelper;
+}
+
+
+
+
+%>
+<% String id=3D"documentbox";
+
+
+
+
+
+%>
+<%=3DresBundleID%>
+<content:declareContainerList name=3D'<%=3D"filesContainer" + id%>'
+ title=3D"Files Container"
+ titleKey=3D"filesContainer"
+ bundleKey=3D"<%=3DresBundleID%>"
+ aliasNames=3D"boxFiles"
+ >
+ <content:declareContainer>
+ <content:declareField name=3D'file'
+ title=3D"File"
+ titleKey=3D"file"
+ bundleKey=3D"<%=3DresBundleID%>"
+ type=3D"File"
+ aliasNames=3D"boxFile"
+ />
+ <content:declareField name=3D'description'
+ title=3D"Description"
+ titleKey=3D"description"
+ bundleKey=3D"<%=3DresBundleID%>"
+ type=3D"SmallText"
+ aliasNames=3D"boxFileDesc"
+ />
+ </content:declareContainer>
+</content:declareContainerList>
+
+
+
+
+<%//----------------------------------------------------------------- %>
+<content:declareContainerList name=3D'<%=3D"linksContainer" + id%>'
+ title=3D"Links Container"
+ titleKey=3D"linksContainer"
+ bundleKey=3D"<%=3DresBundleID%>"
+ aliasNames=3D"boxLinks"
+ >
+ <content:declareContainer>
+ <content:declareField name=3D'boxlink'
+ title=3D"Link"
+ titleKey=3D"link"
+ bundleKey=3D"<%=3DresBundleID%>"
+ type=3D"Page"
+ aliasNames=3D"boxLink"
+ />
+ <content:declareField name=3D'linkDesc'
+ title=3D"Description"
+ titleKey=3D"description"
+ bundleKey=3D"<%=3DresBundleID%>"
+ type=3D"SmallText"
+ =
+ />
+ </content:declareContainer>
+</content:declareContainerList>
+
+
+
+<content:declareContainerList name=3D'<%=3D"contentContainer" + id%>'
+ titleKey=3D"contentContainer"
+ title=3D"Content Container"
+ bundleKey=3D"<%=3DresBundleID%>"
+>
+ <content:declareContainer>
+ <content:declareField name=3D'<%=3D"subTitle" + id%>'
+ title=3D"Title"
+ titleKey=3D"title"
+ bundleKey=3D"<%=3DresBundleID%>"
+ type=3D"SmallText"
+ />
+ <content:declareField name=3D'<%=3D"mainContent" + id%>'
+ title=3D"Content"
+ titleKey=3D"content"
+ bundleKey=3D"<%=3DresBundleID%>"
+ type=3D"BigText"
+ />
+ <content:declareField name=3D'<%=3D"picture" + id%>'
+ title=3D"Image"
+ titleKey=3D"image"
+ bundleKey=3D"<%=3DresBundleID%>"
+ type=3D"File"
+ />
+ <content:declareField name=3D'<%=3D"align" + id%>'
+ title=3D"Image align"
+ titleKey=3D"imageAlign"
+ bundleKey=3D"<%=3DresBundleID%>"
+ type=3D"SharedSmallText"
+ value=3D"<jahia_multivalue[left:right]>left"
+ />
+ </content:declareContainer>
+</content:declareContainerList>
+<%
+int descSize =3D jData.containers().getContainerList("contentContainer" + =
id).getFullSize();
+int fileSize =3D jData.containers().getContainerList("filesContainer" + id=
).getFullSize();
+int linkSize =3D jData.containers().getContainerList("linksContainer" + id=
).getFullSize();
+int descBorderSize =3D 1;
+boolean editMode =3D jData.gui().isEditMode();
+if ((descSize > 0) || (editMode)){%>
+<table width=3D"100%" border=3D"0" cellspacing=3D"2" cellpadding=3D"0">
+<tr><td <%if (editMode){%>class=3D"boxEPbordercolor1"<%}%>><table width=3D=
"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2">
+<content:containerList name=3D'<%=3D"contentContainer" + id%>' id=3D"conte=
ntContainerList">
+ <tr><td><table width=3D"100%" border=3D"0"><content:container id=3D"co=
ntentContainer">
+ <tr><td><jahiaHtml:actionMenu name=3D"contentContainer" namePo=
stFix=3D"" resourceBundle=3D"jahiatemplates.Corporate_portal_templates">
+ <content:containerDiffHighlight id=3D"contentContainerHighLigh=
t" name=3D"contentContainer"/>
+ <content:textField name=3D'<%=3D"subTitle" + id%>'
defaultValue=3D"" di=
ffActive=3D"true" display=3D"false" valueId=3D"subTitle"/>
+ <logic:notEmpty name=3D"subTitle">
+ <h3><content:textField name=3D'<%=3D"subTitle" + id%>' def=
aultValue=3D"" diffActive=3D"true"/></h3>
+ </logic:notEmpty>
+ <div class=3D"justify">
+ <logic:present name=3D"contentContainer" property=3D'<%=3D=
"field(picture" + id + ")"%>'>
+ <bean:define id=3D"picture" name=3D"contentContainer" =
property=3D'<%=3D"field(picture" + id + ").object"%>'/>
+ <logic:present name=3D"picture">
+ <logic:equal name=3D"picture" property=3D"image" v=
alue=3D"true">
+ <content:textField name=3D'<%=3D"align" + id%>' di=
splay=3D"false" id=3D"align" defaultValue=3D""/>
+ <img src=3D"<bean:write name=3D'picture' prope=
rty=3D'downloadUrl'/>" border=3D"0" alt=3D"<bean:write name=3D'picture' pr=
operty=3D'fileFieldTitle' filter=3D'false'/>" <logic:present name=3D"align"=
>align=3D"<bean:write name=3D"align"/></logic:present>"/>
+ </logic:equal>
+ </logic:present>
+ </logic:present>
+ <content:bigTextField name=3D'<%=3D"mainContent" + id%>' d=
efaultValue=3D"" diffActive=3D"true"/>
+ </div>
+ <br/>
+ <logic:present name=3D"contentContainerHighLight">
+ </fieldset>
+ </logic:present>
+ </jahiaHtml:actionMenu></td></tr>
+ <%@ include file=3D"container_revisions_listing.jsp"%>
+ </content:container></td></tr></table>
+</content:containerList>
+</table></td></tr></table>
+<%if (editMode){%><br><%}%>
+<content:containerList name=3D'<%=3D"contentContainer" + id%>'>
+
+<content:addContainerURL id=3D"addContentContainerUrl" display=3D"none"/>
+<logic:present name=3D"addContentContainerUrl">
+ <a href=3D"<bean:write name=3D'addContentContainerUrl'/>"><img src=3D'=
<content:contextURL/>/img/add.gif' border=3D0> <%=3DResourceBundle.get=
Bundle("jahiatemplates.Corporate_portal_templates",jData.params().getLocale=
()).getString("addText")%></a>
+</logic:present>
+
+</content:containerList><%}%>
+<%if ((fileSize > 0) || (editMode)){%>
+<table width=3D"100%" border=3D"0" cellspacing=3D"2" cellpadding=3D"0">
+<tr><td class=3D"boxEPbordercolor1"><table width=3D"100%" border=3D"0" cel=
lspacing=3D"0" cellpadding=3D"2">
+<content:containerList name=3D'<%=3D"filesContainer" + id%>' id=3D"filesCo=
ntainerList" parentContainerName=3D"boxContainer">
+ <content:container id=3D"filesContainer">
+ <logic:present name=3D"filesContainer" property=3D'field(file)'>
+ <bean:define id=3D"fileObject" name=3D"filesContainer" propert=
y=3D'field(file).object'/>
+ <logic:notEmpty name=3D"fileObject">
+ <bean:define id=3D"fileRealName" name=3D"fileObject" prope=
rty=3D"realName"/>
+ <logic:notEmpty name=3D"fileName">
+ <bean:define id=3D"fileName" name=3D"fileObject" prope=
rty=3D"fileFieldTitle"/>
+ </logic:notEmpty>
+ <logic:empty name=3D"fileName">
+ <bean:define id=3D"fileName" name=3D"fileRealName"/>
+ </logic:empty>
+ <%String picto =3D getPicto((String) pageContext.findAttri=
bute("fileRealName"));%>
+ <logic:equal name=3D"fileObject" property=3D"downloadable"=
value=3D"true"><!-- provided by CODEVA-->
+ <tr class=3D"boxEPcontentcolor1">
+ <td><content:textField valueId=3D"description" name=
=3D'<%=3D"description" + id%>' diffActive=3D"true" display=3D"false" defaul=
tValue=3D""/></td>
+ <td class=3D"nowrap" valign=3D"top" width=3D"16"><a
href=3D"<bean:write=
name=3D'fileObject' property=3D'downloadUrl'/>" target=3D"new"><img src=3D=
"<%=3DcontextURL%>/img/icons/standard/<%=3Dpicto%>.gif" width=3D"16" height=
=3D"16" border=3D"0"/></a></td>
+ <td class=3D"nowrap" width=3D"5"><img src=3D"<%=3Dcon=
textURL%>/img/pix.gif" width=3D"5" height=3D"1" alt=3D""/></td>
+ <td class=3D"nowrap" valign=3D"top"
width=3D"100%"><b><a class=3D"box"
+ href=3D"<bean:write name=3D'fileObject' property=
=3D'downloadUrl'/>" target=3D"new"><bean:write name=3D'fileName' filter=3D"=
false"/></a></b></td>
+ <bean:parameter id=3D"displayDetails" name=3D"display=
Details" value=3D"false"/>
+ <td class=3D"nowrap"> <bean:write name=3D'fil=
eObject' property=3D'formatedSize' filter=3D"false"/> </td>
+ <td class=3D"nowrap">/ <bean:write name=3D'fi=
leObject' property=3D'formatedLastModifDate' filter=3D"false"/> </td>
+ <logic:equal name=3D"filesContainer" property=3D"acti=
onURIsEmpty" value=3D"false">
+ <td align=3D"right"><jahiaHtml:actionMenu name=3D"=
filesContainer" namePostFix=3D"" resourceBundle=3D"jahiatemplates.Corporate=
_portal_templates" useFieldSet=3D"false"/></td>
+ </logic:equal>
+ </tr>
+ <tr class=3D"boxEPcontentcolor1">
+ <td></td><td></td><td></td><td colspan=3D"4" valign=3D=
"top" width=3D"100%"><logic:notEmpty name=3D"description"><bean:write name=
=3D"description" filter=3D"false"/></logic:notEmpty></td>
+ </tr>
+ </logic:equal>
+ </logic:notEmpty>
+ </logic:present>
+ <logic:notPresent name=3D"filesContainer" property=3D'field(file)'>
+ <logic:equal name=3D"currentRequest" property=3D"editMode" value=
=3D"true">
+ <tr class=3D"boxEPcontentcolor1">
+ <td>No Files</td>
+ </tr>
+ </logic:equal>
+ </logic:notPresent>
+ </content:container>
+</content:containerList>
+</table></td></tr></table>
+<%if (editMode){%><br><%}%>
+<jahiaHtml:actionMenu name=3D"filesContainerList" namePostFix=3D"" resourc=
eBundle=3D"jahiatemplates.Corporate_portal_templates"
+ useFieldSet=3D"false" actionIcon=3D'<%=3DcontextURL + "/img/box_upload=
.gif"%>' labelKey=3D"uploadFile">
+</jahiaHtml:actionMenu><%}%>
+<%if ((linkSize > 0) || (editMode)){
+PageBean linkBean;%>
+<table width=3D"100%" border=3D"0" cellspacing=3D"2" cellpadding=3D"0">
+<tr><td class=3D"boxEPbordercolor1"><table width=3D"100%" border=3D"0" cel=
lspacing=3D"0" cellpadding=3D"2">
+<content:containerList name=3D'<%=3D"linksContainer" + id%>' id=3D"linksCo=
ntainerList" parentContainerName=3D"boxContainer">
+ <content:container id=3D"linksContainer">
+ <tr class=3D"boxEPcontentcolor1">
+ <content:pageField valueId=3D"link" name=3D'link'>
+ <logic:notEmpty name=3D"link">
+ <logic:notEmpty name=3D"link" property=3D"url">
+ <td valign=3D"top">-</td>
+ <%linkBean =3D (PageBean) pageContext.findAttribute("link"=
);%>
+ <td valign=3D"top" width=3D"100%"><a class=3D"box" <logic:=
equal name=3D"link" property=3D"type" value=3D"2">target=3D"_new"</logic:eq=
ual> href=3D"<bean:write name=3D'link' property=3D'url'/>">
+ <b><bean:write name=3D"link" property=3D"title" fi=
lter=3D"false"/></b></a>
+ <%=3DgetPath(linkBean.getJahiaPage(), jData)%></td>
+ <td align=3D"right"><jahiaHtml:actionMenu name=3D"=
linksContainer" namePostFix=3D"" resourceBundle=3D"jahiatemplates.Corporate=
_portal_templates" useFieldSet=3D"false"/></td>
+ </tr>
+ <content:textField valueId=3D"linkDesc" name=3D'linkDesc' =
display=3D"false" defaultValue=3D""/>
+ <logic:notEmpty name=3D"linkDesc">
+ <tr class=3D"boxEPcontentcolor1"><td></td>
+ <td colspan=3D"2" width=3D"100%"><span
class=3D"grey"=
><bean:write name=3D"linkDesc" filter=3D"false"/></span></td></tr>
+ </logic:notEmpty>
+ </logic:notEmpty>
+ </logic:notEmpty>
+ <logic:empty name=3D"link">
+ <logic:equal name=3D"currentRequest" property=3D"editMode"
va=
lue=3D"true">
+ <td valign=3D"top">-</td>
+ <td valign=3D"top"><content:resourceBundle
resourceBundle=
=3D"jahiatemplates.Corporate_portal_templates" resourceName=3D"noLink"/></t=
d></tr>
+ </logic:equal>
+ </logic:empty>
+ </content:pageField>
+ </content:container>
+</content:containerList>
+</table></td></tr></table>
+<%if (editMode){%><br><%}%>
+
+
+<content:containerList name=3D'<%=3D"linksContainer" + id%>'>
+<content:addContainerURL id=3D"addLinksContainerUrl" display=3D"none"/>
+<logic:present name=3D"addLinksContainerUrl">
+ <a href=3D"<bean:write name=3D'addLinksContainerUrl'/>"><img src=3D'<c=
ontent:contextURL/>/img/add.gif' border=3D0> <%=3DResourceBundle.getBu=
ndle("jahiatemplates.Corporate_portal_templates",jData.params().getLocale()=
).getString("addLink")%></a>
+</logic:present>
+</content:containerList><%}
+if (jData.gui().isEditMode()) {%><img src=3D"<content:contextURL/>/img/pix=
.gif" alt=3D"" width=3D"147" height=3D"12"/><%}%>
\ No newline at end of file
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list