Author: bpapez
Date: Thu Sep 20 09:22:27 2007
New Revision: 1241

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D1241&repname=
=3Dcorporate_portal_templates
Log:
Added alias names to be able to import blogs from templates using the previ=
ous definition names

Modified:
    branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/include/blog_definitions.inc

Modified: branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/include/blog_definition=
s.inc
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/src/view/jsp/include/blog_definitions.inc&rev=3D1241&repname=3Dcorp=
orate_portal_templates
=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/view/jsp/include/blog_definitions.inc =
(original)
+++ branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/include/blog_definitions.inc =
Thu Sep 20 09:22:27 2007
@@ -24,38 +24,38 @@
 =

 <content:declareContainerList name=3D"blogEntries" title=3D"List of entrie=
s"
     containerBeanName=3D"jahiatemplates.org.jahia.corporateportal.validati=
on.beans.BlogValidationBean"
-    validatorKey=3D"blogValidationBean">
+    validatorKey=3D"blogValidationBean" aliasNames=3D"entries">
 <content:declareContainer>
     <content:declareField name=3D"blogTitle" title=3D"Title" type=3D"Small=
Text"
-        titleKey=3D"blog.title" bundleKey=3D"<%=3DresBundleID%>"/>
+        titleKey=3D"blog.title" bundleKey=3D"<%=3DresBundleID%>" aliasName=
s=3D"title"/>
     <content:declareField name=3D"blogBody" title=3D"Body" type=3D"BigText"
-        titleKey=3D"blog.body" bundleKey=3D"<%=3DresBundleID%>"/>
+        titleKey=3D"blog.body" bundleKey=3D"<%=3DresBundleID%>" aliasNames=
=3D"body"/>
     <content:declareField name=3D"blogAttachement" title=3D"Attachment ass=
ociated" type=3D"File"
-        titleKey=3D"blog.attachement" bundleKey=3D"<%=3DresBundleID%>"/>
+        titleKey=3D"blog.attachement" bundleKey=3D"<%=3DresBundleID%>" ali=
asNames=3D"attachement"/>
     <content:declareField name=3D"blogDate" title=3D"Date" type=3D"Date" v=
alue=3D"<jahia_calendar[dd.MM.yyyy / HH:mm]>now"
-        titleKey=3D"blog.date" bundleKey=3D"<%=3DresBundleID%>"/>
+        titleKey=3D"blog.date" bundleKey=3D"<%=3DresBundleID%>" aliasNames=
=3D"date"/>
     <content:declareField name=3D"blogAuthor" title=3D"Author" type=3D"Sha=
redSmallText"
         value=3D'<jahia-expression expr=3D"currentUser.username" storeMark=
er=3D"false"/>'
-        titleKey=3D"blog.author" bundleKey=3D"<%=3DresBundleID%>"/>
+        titleKey=3D"blog.author" bundleKey=3D"<%=3DresBundleID%>" aliasNam=
es=3D"author"/>
     <content:declareField name=3D"blogExcerpt"
             title=3D"The Excerpt of this post" type=3D"BigText"
-            titleKey=3D"blog.excerpt" bundleKey=3D"<%=3DresBundleID%>"/>
+            titleKey=3D"blog.excerpt" bundleKey=3D"<%=3DresBundleID%>" ali=
asNames=3D"excerpt"/>
     <content:declareField name=3D"blogKeyWords"
             title=3D"Comma seperated Keywords for this post" type=3D"Small=
Text"
-            titleKey=3D"blog.keyWords" bundleKey=3D"<%=3DresBundleID%>"/>
+            titleKey=3D"blog.keyWords" bundleKey=3D"<%=3DresBundleID%>" al=
iasNames=3D"keyWords"/>
 =

     <content:declareContainerList name=3D"comments" title=3D"List of comme=
nts">
     <content:declareContainer>
         <content:declareField name=3D"commentAuthor" title=3D"Name of the =
author" type=3D"SharedSmallText"
             titleKey=3D"blog.commentAuthor" bundleKey=3D"<%=3DresBundleID%=
>"
-            value=3D'<jahia-expression expr=3D"user/username" storeMarker=
=3D"false"/>'/>
+            value=3D'<jahia-expression expr=3D"user/username" storeMarker=
=3D"false"/>' aliasNames=3D"author"/>
         <content:declareField name=3D"commentTitle" title=3D"Title of this=
 comment" type=3D"SmallText"
-            titleKey=3D"blog.commentTitle" bundleKey=3D"<%=3DresBundleID%>=
"/>
+            titleKey=3D"blog.commentTitle" bundleKey=3D"<%=3DresBundleID%>=
" aliasNames=3D"title"/>
         <content:declareField name=3D"commentBody" title=3D"Body of this c=
omment" type=3D"BigText"
-            titleKey=3D"blog.commentBody" bundleKey=3D"<%=3DresBundleID%>"=
/>
+            titleKey=3D"blog.commentBody" bundleKey=3D"<%=3DresBundleID%>"=
 aliasNames=3D"body"/>
         <content:declareField name=3D"commentDate" title=3D"Date" type=3D"=
Date"
             value=3D"<jahia_calendar[dd.MM.yyyy / HH:mm]>"
-            titleKey=3D"blog.commentDate" bundleKey=3D"<%=3DresBundleID%>"=
/>
+            titleKey=3D"blog.commentDate" bundleKey=3D"<%=3DresBundleID%>"=
 aliasNames=3D"date"/>
     </content:declareContainer>
     </content:declareContainerList>
 =


_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to