Hi Lorenzo,

 

The example cited in the doc works fine in corporate_portal_templates\include\main_content.jsp. Have a look at this example and see if you follow the same syntax. Get back to us if that doesn’t help.

 

Regards

 

Marc

 

 


From: Lorenzo Patocchi [mailto:[EMAIL PROTECTED]
Sent: 01 July 2005 17:10
To: [email protected]
Subject: <content:fileField>

 

Hello,
in the online-doc (http://www.jahia.org/taglibdoc/) i found this example about content:fileField

<content:declareField name='image' title='Image' type='File'/>
...
<content:fileField name="image" id="imageField"/>
<logic:present name="imageField">
  <img src="" name='imageField' property='downloadUrl'/>"/>
  <img src="" name='imageField' property='formatedSize'/>"/>
</logic:present>


But in jahia 4.10 I had to use this syntax to get out downloadURL and formattedSize

<bean:write name="imageField" property="jahiaField.object.downloadUrl" />
<bean:write name="imageField" property="jahiaField.object.formatedSize" />


Is this correct and the doc is not Up to date ? Or did I used something wrong ?

Thanks Lorenzo


-- 
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL
[EMAIL PROTECTED] - www.cryms.com
Tel: +41 91 60 55266
Cel: +41 79 375 0891
Fax: +41 91 223 9797
 
Cryms sagl
Via Cantonale 34a
6928 Manno - Lugano
Switzerland




Reply via email to