Did you already figure out the fix to this problem?
Looking at your code, it seems to me that merkmal2 is defined in every
context where it's accessed. Maybe if you look at the full generated
Java code for this XSP page, you can determine why it cannot be resolved.
The generated Java code is
It's already solved. Thank you.
It needed another xsp:logic-Tag surrounding the second if-Clause.
Barthi
-Ursprüngliche Nachricht-
Von: Lars Huttar [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 13. Januar 2006 17:17
An: users@cocoon.apache.org
Betreff: Re: XSP - What wrong??
Did
Hi! I get an Error, that merkmal2 cannot be resolved. Why?
xsp:logic
Set keys = gewichte.keySet();
Iterator key_iter = keys.iterator();
int index = 0;
while (key_iter.hasNext()) {
String merkmal = (String) key_iter.next();
index++;