By "ugly" I was alluding to my approach, and not the formatting of the
hidden fields. :-)  I would ideally like not to manipulate the html using js
to set a F to T, even if i know i can do it.

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

But still more efficient than TRUE/FALSE for rendering. They aren't
typically (hidden input fields) meant to be human friendly so I appreciate
the length of statements. (Esp as there are sometimes a great number of
them)

On 8/4/06, Karthik N <[EMAIL PROTECTED]> 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.
> >
> >
>
>
> --
> Thanks, Karthik
>
>


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

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




--
Thanks, Karthik

Reply via email to