Javascript runs on the client browser, the @If is evaluated on the
server....

What are you trying to accomplish ?!?!?!?!?


-----Original Message-----
From: Karthik N [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 4. August 2006 14:45
To: Tapestry users
Subject: Forcing all @If to evaluate to True on Form Submit

I have a rather bizzare requirement  (I think)

My Form has 3 or 4 @If components.  At any point only one of the @If is
True, all others are false.

But, for a particular Submit button I want all the @If to force-evaluate
to
True on the Rewind.

One ugly way is to actually change the HTML using javascript so that all
the
@Ifs have 'True' set in their values.

But is there a more elegant way?

If not, I guess I'll have to write my own custom component.

Thanks, Karthik

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

Reply via email to