<!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.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=269352015-10102006><FONT face=Arial size=2>Hello Alessandro.
</FONT></SPAN></DIV>
<DIV><SPAN class=269352015-10102006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=269352015-10102006><FONT face=Arial size=2>Did you solve the
problem you post to the list? Is was about how show a gallery file title with
<cms:contentshow> tag</FONT></SPAN></DIV>
<DIV><SPAN class=269352015-10102006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=269352015-10102006><FONT face=Arial size=2>If you do, could you
tell me the solution? </FONT></SPAN></DIV>
<DIV><SPAN class=269352015-10102006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=269352015-10102006><FONT face=Arial size=2>Thanks very
much.</FONT></SPAN></DIV>
<DIV><SPAN class=269352015-10102006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=269352015-10102006><FONT face=Arial size=2>Your
message:</FONT></SPAN></DIV>
<DIV><SPAN class=269352015-10102006><PRE>Hello All,
I am learning to use opencms 6, and I found very useful the XML
document feature.
I have an XML document with multiple files attached, choosen from a
download gallery. I would like to show the list of files, with the
description that is assigned in the download gallery in the "Title"
field.
Here's the element definition in the document XSD:
<xsd:element name="Allegati" type="OpenCmsVfsFile" minOccurs="0"
maxOccurs="10" />
And here is the JSP snippet:
<ul>
<cms:contentloop element="Allegati">
<li>
<a href="<cms:link><cms:contentshow /></cms:link>">
<!-- here goes the item "title" as given in the gallery -->
</a>
</li>
</cms:contentloop>
</ul>
Is it possible to see the file "title" in place of the comment in the JSP ?
TIA,
Alessandro Magnolo</PRE></SPAN></DIV></BODY></HTML>