Great Sameer

Now it works!

I just had to add some lines:

Iterator paraIterator = child.getChildren(ItemType.NT_CONTENTNODE,"paraName").iterator();
while (paraIterator.hasNext()) {
  Content para = (Content)paraIterator.next();
                        
  //Get the nodeDatas
  Iterator paraNodes = para.getChildren().iterator();
  Content nodes = (Content)paraNodes.next();

  out.print("-"+nodes.getNodeData("text1").getString());
  out.print("-"+nodes.getNodeData("text2").getString());
  out.print("-"+nodes.getNodeData("text3").getString());
}

> for older versions <2.1 use ItemType.NT_CONTENTNODE
>

hmmm. I'm using  2.1 final...

BTW: I'd like to say, that I've built several sites with magnolia and all customers where sold on it! Great job!

Thanks
Christoph

Sameer Charles schrieb:
perhaps you are using old version or you missed jsp page directive "import"



hope this helps
- Sameer


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to