Hello,

I am a Cocoon beginner, and I need to user LDAPTransformer. But, I have seen a
mistake in this node:

In inner class LDAPQuery, method execute(), before:

if (showAttribute) {
    transformer.start(attrID, attr);
}                               
String attrVal = (String)vals.nextElement();
...
if (showAttribute) {
    transformer.end(attrID);
}

After:

while( vals.hasMoreElements()) {

if (showAttribute) {
    transformer.start(attrID, attr);
}                               
String attrVal = (String)vals.nextElement();
...
if (showAttribute) {
    transformer.end(attrID);
}

}

vals is an Enumeration, and some values don't display if this loop doesn't
exists.

Thank you to valid this change, or explain my error.

Didier Rano
Serv'N Data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to