I don't know why the simple.xsp was done the way it was but I believe
you should also be able to write it this way:
xsp:logic
for (int i=0; i lt; 3; i++) {
liItem xsp:expri/xsp:expr/li
}
/xsp:logic
I think wrapping it in CDATA sections is just to make it possible to use
the in the for
, I know I am. I dont understand a thing at all Any
input apriciated.
Best regards
Søren
-Oprindelig meddelelse-
Fra: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
Sendt: 6. november 2001 08:24
Til: [EMAIL PROTECTED]
Emne: Fwd: Re: Newbie XSP question - why dosn't this work?
Søren
: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
Sendt: 6. november 2001 08:24
Til: [EMAIL PROTECTED]
Emne: Fwd: Re: Newbie XSP question - why dosn't this work?
Søren,
OK. Problem solved.
Frank was right. util:include-expr is the way to go. It will parse the
text that you pass
I think either of these will work:
xsp:logic![CDATA[
String msg = ContactBO.getContacts(xsl:value-of select=pim:nummer/);
]]/xsp:logic
or
xsp:logic
String msg = ContactBO.getContacts(lt;xsl:value-of
select=pim:nummer/gt;);
/xsp:logic
If not, I'll try to come up with