On Wed, 2006-08-02 at 11:40 +0200, Thomas Martin wrote:
> <c:forEach items="${test}" var="link" varStatus="status">
> <a href="?id=${link.UUID}">${link.handle}</a><br />
> </c:forEach>
I found a better way of doing this. Inside a contentNodeIterator you can
get the UUID like this:
---
Content content = (Content) request.getAttribute("contentObj");
String id = content.getUUID();
---
> String sql = "SELECT * FROM nt:base where jcr:uuid
> like '"+uuid+"'";
There has to be a better way than writing SQL statements.
Thanks for your help, Thomas!
--
Sami Honkonen
Reaktor Innovations Oy
[EMAIL PROTECTED]
+358 40 535 3463
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------