#: Christoph Bütler changed the world a bit at a time by saying on 9/16/2005
11:47 AM :#
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
Chris are these sites online? Can you post at least a couple of links?
I think this may help some of the user to better understand the power behind
Magnolia.
Thanks for considering,
:alex |.::the_mindstorm::.|
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
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------