<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=862321904-16032006><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=862321904-16032006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=862321904-16032006><FONT face=Arial
size=2>Here is one way to get title property</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=862321904-16032006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial size=2> <cms:contentloop
element="RelatedNews"></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2> <c:set var="<SPAN
class=862321904-16032006>relatedNews</SPAN>"><BR> <cms:contentshow
element="<SPAN class=862321904-16032006><Name of the element></SPAN>"
/><BR> </c:set><BR></FONT><FONT><BR><FONT
face=Arial size=2> <a
href="<cms:link> <cms:contentshow/> </cms:link>">
<cms:property name="Title" file="${<SPAN
class=862321904-16032006>pageContext.<SPAN
class=862321904-16032006>relatedNews</SPAN></SPAN>}"/>
</a><BR>
</cms:contentloop></FONT></FONT><BR><BR><SPAN
class=862321904-16032006><FONT face=Arial size=2>Do not forget to include taglib
</FONT></SPAN></DIV>
<DIV><SPAN class=862321904-16032006><FONT face=Arial size=2><%@ taglib
prefix="c" uri="<A href="http://java.sun.com/jstl/core"><FONT
color=#000000>http://java.sun.com/jstl/core</FONT></A>"
%></FONT></SPAN></DIV>
<DIV><SPAN class=862321904-16032006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=862321904-16032006><FONT face=Arial
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=862321904-16032006>Shishank</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#000000 size=2><SPAN
class=862321904-16032006><A
href="http://www.pcmspace.com">http://www.pcmspace.com</A></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN
class=862321904-16032006></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN
class=862321904-16032006></SPAN><SPAN
class=862321904-16032006></SPAN></FONT></FONT></FONT> </DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Ruben
Martin<BR><B>Sent:</B> Wednesday, March 15, 2006 7:15 PM<BR><B>To:</B>
opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev] getting a file property
inside a contentloop <BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>Hello list,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am trying to iterate over a list of related news
on a structured content. Each related new is a string with the path to a file in
the VFS. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How can i get the title property of that file
?? <FONT face=Arial size=2>I can't do: <cms:property name="Title"
file="<cms:contentshow/>"/></FONT></FONT><FONT face=Arial
size=2></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> <cms:contentloop
element="RelatedNews"><BR> <a
href="<cms:link> <cms:contentshow/> </cms:link>">
<cms:property name="Title" file="${ ?????? }"/>
</a><BR> </cms:contentloop><BR></DIV>
<DIV></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>By the way, anyone knows how to configure a
<FONT face="Times New Roman" size=3>VfsFileWidget so that it only shows files on
a certain directory</FONT></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial
size=2>**********************************************************<BR>Rubén
Martín Calderero<BR>Fundación CTIC<BR>Parque Científico y Tecnológico de
Gijón<BR>Edif. Centros Tecnológicos<BR>33203 Cabueñes - Gijón - Asturias<BR>T.
+34 984291212; Fax +34 984390612<BR>E-mail: <A
href="mailto:ruben.martin@fundacionctic.org">ruben.martin@fundacionctic.org</A><BR>**********************************************************<BR>Este
e-mail y cualquiera de sus ficheros anexos son confidenciales y pueden incluir
información privilegiada. Si usted no es el destinatario adecuado (o responsable
de remitirlo a la persona indicada), agradeceríamos lo notificase o reenviase
inmediatamente al emisor. No revele estos contenidos a ninguna otra persona, no
los utilice para otra finalidad, ni almacene y/o copie esta información en medio
alguno.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Opiniones, conclusiones y otro tipo de información
relacionada con este mensaje que no sean relativas a la actividad propia de CTIC
deberán ser entendidas como exclusivas del
emisor.<BR></FONT></DIV></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000><br>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. <br>
<br>
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.<br>
<br>
www.wipro.com<br>
</font></td></tr></table>