On Sun, 16 Mar 2014 10:46:36 -0300, John <[email protected]> wrote:
It's another approach to solving the click once issue on my form which
invokes a long running server side response.
Tapestry by itself doesn't support that.
But rather than disabling all the inputs (and other event links) in the
form and rest of the dialog (makes the client side rather complex),
instead I want to display a modal dialog (that can't be closed) to
advise the user, and then submit the form. When the server response
returns the dialog with the form and advise will both be hidden by
rerendering the outer container.
Imagine if the following was possible, that the dialog->open was
triggered only if the onValidate was successful and then the
form->submit triggered. Is there any way to get that result?
<input t:type="submit" value="${message:button.submit}"
onclick="javascript:
$('#processingDialog').dialog('open');document.forms["myform"].submit()"
t:mixins="jquery/button"/>
John
----- Original Message -----
From: Thiago H de Paula Figueiredo
To: Tapestry users
Sent: Sunday, March 16, 2014 12:33 PM
Subject: Re: display zone, jquery dialog or message after onValidate
success
On Sun, 16 Mar 2014 06:45:16 -0300, John <[email protected]> wrote:
> Is there a way to display a message (zone or dialog) of some kind
after
> a successful onValidate just before the onSuccess method is invoked?
I'm sorry, but that doesn't make much sense to me. It's almost like
asking
for a request having two different responses, which HTTP doesn't
support.
In a higher level of abstraction, what exactly are you trying to do?
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---
This email is free from viruses and malware because avast! Antivirus
protection is active.
http://www.avast.com
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]