Hey Toby,

I did try that out and it works - but the problem is that I want the ability to 
actually submit the form normally with a submit button and do something else on 
that submit. If I use the form's zone parameter then there is no way to 
actually submit / reload the page. At least from what I understand. 

- Mike


----- Original Message -----
From: "Toby Hobson" <[EMAIL PROTECTED]>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Thursday, August 7, 2008 5:53:20 PM (GMT-0500) America/New_York
Subject: Re: T5: Trigger zone reload with just javascript?

Hi Mike,

Have you tried using the t:zone parameter in your form? then you can perform
a submit in your onchange handler e.g.

    <t:zone t:id="zone">
        <t:form t:id="form" t:zone="zone">
            <t:textfield t:id="name" value="name"
onchange="document.forms[0].submit()" />
        </t:form>
    </t:zone>

Toby

2008/8/7 Mike Leonardo <[EMAIL PROTECTED]>

> Hey All,
>
> I have a form where I want to be able to change one value and have the
> other values in the form update. I have a zone around the whole form, and
> I'd like to use the onchange event to reload the Zone, but what javascript I
> use to trigger the reloading?
>
> Thanks for any help!
> - Mike
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to