Hello all,
i think i've asked similar questions some time ago, but receive no answers.
And since i've done no progress on this myself, i'd like to ask:
- any ideas how to implement checkbox which onClick auto-submits entire
form via ajax, and on server side it rolls ordinary tapestry 5 form
.nabble.com/AjaxCheckbox-component-tp3218716p3218738.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h
:8080/jumpstart/
http://lombok.demon.co.uk/tapestry5Demo/
http://lombok.demon.co.uk/tapestry5Demo/
Good Luck :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/AjaxCheckbox-component-tp3218716p3218738.html
Sent from the Tapestry - User mailing list archive at Nabble.com
/tapestry5Demo/
http://lombok.demon.co.uk/tapestry5Demo/
Good Luck :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/AjaxCheckbox-component-tp3218716p3218738.html
Sent from the Tapestry - User mailing list archive at Nabble.com
I mean the link that i posted are components
therefore they are the same as checkbox...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/AjaxCheckbox-component-tp3218716p3218786.html
Sent from the Tapestry - User mailing list archive at Nabble.com
while submitting
form.
On Tue, Oct 19, 2010 at 2:10 PM, ael alan-lua...@dash.com.ph wrote:
I mean the link that i posted are components
therefore they are the same as checkbox...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/AjaxCheckbox-component-tp3218716p3218786.html
On Tue, 19 Oct 2010 08:24:46 -0200, Dmitriy Vsekhvalnov
dvsekhval...@gmail.com wrote:
yeah, i've tried this but, the checkbox in-browser state is NOT set until
Zone returned from from handler.
Make your click handling code set the checkbox immediately then submit the
form. Most probably
Thiago, is not.
Here is the mechanics i debug using fire-bug:
1. checkbox in-browser (which means visible to user) set immediately.
2. usual Tapestry form submission JS loop is started
3. linkZone : function(element, zoneId, url)
{
. //until this browser shows modified version of
Hi, Dmitriy!
Isn't this the natural delay between a request, its processing and the
reception of the response? In this case, it's not Tapestry itself, it's
using AJAX.
On Tue, 19 Oct 2010 09:24:23 -0200, Dmitriy Vsekhvalnov
dvsekhval...@gmail.com wrote:
Thiago, is not.
Here is the
Is it what AJAX stands for? :)
i was thinking that ajax is to do things in background, while letting user
see something immediately. And i don't think checkbox falls to area where it
should get response from server to display new state, isn't it?
anyway you can try it yourself and see that it is
On Tue, 19 Oct 2010 14:10:00 -0200, Dmitriy Vsekhvalnov
dvsekhval...@gmail.com wrote:
Is it what AJAX stands for? :)
Yes! :)
i was thinking that ajax is to do things in background, while letting
user see something immediately. And i don't think checkbox falls to area
where it should
Here you go. JS + Java. Let me know if you find something in, which can
cause such behavior :)
JS
Tapestry.AjaxCheckbox = Class.create({
initialize: function(formId, clientId, selectAllMode, radioMode)
{
this.selectAllMode=selectAllMode;
what happens if you omit
Event.stop(event);
in you onClick function ?
On Tue, Oct 19, 2010 at 21:10, Dmitriy Vsekhvalnov
dvsekhval...@gmail.com wrote:
Here you go. JS + Java. Let me know if you find something in, which can
cause such behavior :)
JS
i can't see any visual difference if i remove Event.stop(..).
I grad idea for code from some Tapestry standard component, may be
LinkSubmit or so. And i think it behave pretty standard.
On the other hand i've noticed that when i use it in 'select-all' mode,
where one checkbox sets all others
14 matches
Mail list logo