cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <>
Subject Re: form-validation
Date Tue, 16 Apr 2002 06:37:27 GMT
On 16.Apr.2002 -- 10:24 AM, Niket Anand wrote:
> I want to return map in act() method as
> Map siteparams=new HashMap();
> siteparams("validate", true);
> return siteparams;
> How can I use variable "validate" in sitemap such that If it is true then redirect to
resource1 else redirect to resource2.
> How can I deal it like if-else condition like <xsl:if test=""> 

Please have a look at the document about actions. They provide such a
mechanism in that the code nested is only included in your pipeline if
the action succeeds.

Other possibilities include selectors (see document on matchers and
selectors for more info).


C h r i s t i a n       H a u l
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message