cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: Sv: if-tags
Date Mon, 22 Jan 2001 17:35:56 GMT
"Per Steffensen" <steff@brics.dk> wrote:
>I think I know a fair deal of XSP, but I dont think that I would be able to 
>make the things that I describe.

There is an example of intermixing content and logic in the XSP docs.

>Please help me, by giving me some example-xsp that does supports the things 
>that I described. Remember that the Java-test-condition should be written 
>among the tags.

<x>
<xsp:logic>
  if (request.getParameter ("foo").equals ("bar")) {
    <y/>
  }
  else {
    <z/>
  }
</xsp:logic>
</x>



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Mime
View raw message