Actually, the idea of Tapestry providing additional js functions that would interact
with the html it renders is pretty interesting.
Another (more usual) example of this is for replacing (or even including)
direct link parameters on the client by tweeking the generated urls.
I guess you could log a JIRA request for something like this...

Karthik N wrote:
Yes I meant changing the values of the hidden @If from 'F' to 'T' - rather
ugly.

On 8/4/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:

I'm sure he meant changing the hidden form input fields that control @If
in
javascript ;)

On 8/4/06, Detlef Schulze <[EMAIL PROTECTED]> wrote:
>
> 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]
>
>


--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.





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

Reply via email to