[opencms-dev] How to obtain ResourceName in contentload

Patricia Ferre Zudaire pferre at sgi.es
Tue Dec 20 21:48:14 CET 2005


Hello list,

   I'm using cms targets to show files located in a folder. My code is
something like this:

<cms:contentload collector="allInFolderDateReleasedDesc"
param="${pageContext.nav}*.htm*|Fototeca">

	<div class="txt1negrotam10">
	  <strong>
	  <cms:contentcheck ifexists="Title">
	    <cms:contentshow element="Title" />
	  </cms:contentcheck>
	  </strong>
	</div>
	
	<br>
	<div>
	  <cms:contentloop element="Image">
	    <a href="<cms:link>#</cms:link>"><img
src="<cms:link><cms:contentshow element="Image" /></cms:link>"
class="borde0" height="49" width="72"  alt="<cms:contentshow
element="AlternativeText" />" title="<cms:contentshow
element="AlternativeText" />"></a>
	  </cms:contentloop>
	</div>	
	<div class="filetelisoazul">
	<br class="espacio">
	</div>
</cms:contentload>

----------------------

   How can I obtain the ResourceName, the path to put it in the href ?

    Thanks a lot and best regards,

         Patricia

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.
______________________



More information about the opencms-dev mailing list