You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Partogi, Joshua" <Jo...@AIG.com> on 2008/05/09 08:34:40 UTC

T5: How to update zone after form submission?

Dear all,

I want to update a zone and show a message after form is submitted. I could
not find the docs regarding this in the component reference. Could someone
guide me through this or perhaps you have a sample source code?

Thanks in advance

IMPORTANT NOTICE: 
The information in this email (and any attachments) is confidential. If you are not the intended recipient, you must not use or disseminate the information. If you have received this email in error, please immediately notify me by "Reply" command and permanently delete the original and any copies or printouts thereof.  Although this email and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by American International Group, Inc. or its subsidiaries or affiliates either jointly or severally, for any loss or damage arising in any way from its use.

Re: T5: How to update zone after form submission?

Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
<t:zone t:id="myzone">
   ...
</t:zone>

<t:form t:id="form" t:zone="myzone">
   ...
   <t:submit/>
</t:form>

Object onSuccessFromForm() {
   return ...; // block or component
}

http://tapestry.apache.org/tapestry5/tapestry-core/guide/ajax.html

-Filip

Partogi, Joshua skrev:
> Dear all,
> 
> I want to update a zone and show a message after form is submitted. I could
> not find the docs regarding this in the component reference. Could someone
> guide me through this or perhaps you have a sample source code?
> 
> Thanks in advance
> 
> IMPORTANT NOTICE: 
> The information in this email (and any attachments) is confidential. If you are not the intended recipient, you must not use or disseminate the information. If you have received this email in error, please immediately notify me by "Reply" command and permanently delete the original and any copies or printouts thereof.  Although this email and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by American International Group, Inc. or its subsidiaries or affiliates either jointly or severally, for any loss or damage arising in any way from its use.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org