<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
First I want to tank you all for good hints added to the
mailinglist ad XML content.<br>
<br>
I just created my own schema and i created a list.jsp to lists all
instances i find in a directory. I did that by using something like
that:<br>
<br>
<pre><small><cms:contentload collector="allInFolder" param="/galeries/|101" editable="true"></small></pre>
<pre><small>
<div class="element"></small></pre>
<pre><small><h3><cms:contentshow element="product.title" /></h3></small></pre>
<pre><small>
<p></small></pre>
<pre><small><cms:contentshow element="product.title" /></br></small></pre>
<pre><small><cms:contentloop element="product.image"><img border="0" src="<cms:link><cms:contentshow /></cms:link>" /></br></small></pre>
<pre><small></cms:contentloop></small></pre>
<pre><small>
<cms:contentshow element="product.price" /></br></small></pre>
<pre><small><small></small></pre>
<pre><small><a href="<cms:link><cms:contentshow element="${opencms.filename}" /></cms:link>">read more...</a></small></pre>
<pre><small></small></small></pre>
<pre><small></p></small></pre>
<pre><small></div></small></pre>
<pre><small>
</cms:contentload></small></pre>
<br>
All works like a charm.<br>
<br>
I want to present the products in another way now. I want to present
them in a table with four columns like below:<br>
<table border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td valign="top">prod 1<br>
</td>
<td valign="top">prod 2<br>
</td>
<td valign="top">prod 3<br>
</td>
<td valign="top">prod 4<br>
</td>
</tr>
<tr>
<td valign="top">prod 5<br>
</td>
<td valign="top">prod 6<br>
</td>
<td valign="top">prod 7<br>
</td>
<td valign="top">...<br>
</td>
</tr>
</tbody>
</table>
<br>
A pager will be also interesting.<br>
<br>
Any ideea how to do that ?<br>
<br>
Is that another way that to use the scriptlets instead of taglib to be
able to have a productcounter and to check if my counter is divisible
with 4 and if yes to add a "<tr>" .... and so on ?<br>
<br>
Or there is a more elegant way ?<br>
<br>
Can I use contentLoad / contentShow taglib anymore ?<br>
<br>
Best Regards<br>
Marius<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Let your workings remain a mystery.
Just show people the results,
Lao-Tsu,Tao Te Ching</pre>
</body>
</html>