Thanks David
Thanks Dominik

Getting the string wasn't the problem. Now I have the solution:

if (sNode.equals("0")) {
        out.print("somethinh");
}

The problem was the == operator. The == operator checks to see if two objects are EXACTLY the same object. Two strings may be different objects, but have the same value (have exactly the same characters in them).

Cheers
Christoph

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

Reply via email to