Re: Question about file template

"Thomas Feldman" <[email protected]> Thu, 5 Mar 2009 14:23:00 +0100
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============0917932368==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C99D95.821B735C"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C99D95.821B735C
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi !

The following problem has been solved. All metadata field definitions =
can be found, as explained in the jahiapedia, under the =
applicationcontext-metadata.xml file.

=20

Everything is fine now...

=20

=20

Thomas

De : [email protected] =
[mailto:[email protected]] De la part de Alexandre Aubert
Envoy=E9 : mercredi 4 mars 2009 18:43
=C0 : [email protected]
Objet : [template_list] Question about file template

=20

Hi,

=20

I am very new user of Jahia_6 and i was wondering how to modified the =
file template ( filesBoxDisplay ) in order to show informations such as =
=AB creator =BB and =AB  creationdate =BB.=20

=20

I know that the following part should show the creationdate but it =
doesn't work:=20

=20

<span class=3D"resume"><template:field name=3D"fileDesc"/></span>

<template:metadata contentBean=3D"${fileContainer}" =
metadataName=3D"created" asDate=3D"true" =
valueID=3D"creationDate"/><fmt:formatDate pattern=3D"dd/MM/yyyy" =
value=3D"${creationDate}"/>

=20

=20

Thanks

=20

____________________________________________________________

Alexandre AUBERT

Software Engineer
____________________________________________________________

Duke - A Razorfish Company
86-90, rue Notre Dame de Nazareth
75003 Paris - France
T : +33 (0)1 53 44 19 46
F : +33 (0)1 53 44 19 20
[email protected]
http://www.duke-interactive.com
____________________________________________________________

=20

=20


------_=_NextPart_001_01C99D95.821B735C
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>

<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Texte brut Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.TextebrutCar
	{mso-style-name:"Texte brut Car";
	mso-style-priority:99;
	mso-style-link:"Texte brut";
	font-family:Consolas;}
span.EmailStyle19
	{mso-style-type:personal;
	font-family:"Arial","sans-serif";
	color:windowtext;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DFR link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi&nbsp;!<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The following problem has been solved. All metadata field
definitions can be found, as explained in the jahiapedia, under the
applicationcontext-metadata.xml file.<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Everything is fine now&#8230;<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thomas<o:p></o:p></span></p>

<div>

<div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt =
0cm 0cm 0cm'>

<p class=3DMsoNormal><b><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>De&nbsp;:</span></b><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:"Tahoma","sans-serif"'> =
[email protected]
[mailto:[email protected]] <b>De la part de</b> Alexandre =
Aubert<br>
</span><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Envoy=E9&nbs=
p;:</span></b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> mercredi 4 =
mars
2009 18:43<br>
<b>=C0&nbsp;:</b> [email protected]<br>
<b>Objet&nbsp;:</b> [template_list] Question about file =
template<o:p></o:p></span></p>

</div>

</div>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>Hi,<o:p></o:p=
></span></p>

<p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</=
o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>I
am very new user of Jahia_6 and i was wondering how to modified the file
template ( filesBoxDisplay ) in order to show informations such as
=AB&nbsp;creator&nbsp;=BB and =AB&nbsp; creationdate&nbsp;=BB. =
<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</=
o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>I
know that the following part should show the creationdate but it =
doesn&#8217;t work: <o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</=
o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>&lt;span
class=3D&quot;resume&quot;&gt;&lt;template:field
name=3D&quot;fileDesc&quot;/&gt;&lt;/span&gt;<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>&lt;template:=
metadata
contentBean=3D&quot;${fileContainer}&quot; =
metadataName=3D&quot;created&quot;
asDate=3D&quot;true&quot; =
valueID=3D&quot;creationDate&quot;/&gt;&lt;fmt:formatDate
pattern=3D&quot;dd/MM/yyyy&quot; =
value=3D&quot;${creationDate}&quot;/&gt;<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</=
o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</=
o:p></span></p>

<p class=3DMsoNormal><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>Thanks<o:p></=
o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</=
o:p></span></p>

<p class=3DMsoPlainText><span =
style=3D'font-family:"Arial","sans-serif"'>______________________________=
______________________________</span><o:p></o:p></p>

<p class=3DMsoNormal style=3D'margin-top:6.0pt'><b><span =
style=3D'font-size:10.0pt'>Alexandre
AUBERT</span></b><o:p></o:p></p>

<p class=3DMsoNormal style=3D'margin-top:6.0pt'><span =
style=3D'font-size:10.0pt'>Software
Engineer<br>
____________________________________________________________<o:p></o:p></=
span></p>

<p class=3DMsoNormal style=3D'margin-top:6.0pt'><b><span =
style=3D'font-size:10.0pt'>Duke
- A Razorfish Company</span></b><span style=3D'font-size:10.0pt'><br>
86-90, rue Notre Dame de Nazareth<br>
75003 Paris - France<br>
T : +33 (0)1 53 44 19 46<br>
F : +33 (0)1 53 44 19 20<br>
<a =
href=3D"mailto:[email protected]">alexandre@duke-interactive=
.com</a><br>
http://www.duke-interactive.com<br>
____________________________________________________________<o:p></o:p></=
span></p>

<p class=3DMsoNormal>&nbsp;<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>

------_=_NextPart_001_01C99D95.821B735C--

--===============0917932368==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============0917932368==--