Integration of scripaculous form element

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Integration of scripaculous form element

dtrussardi@tiscali.it
 Hello All,

i work with VW7.4.1 and seaside support.
 
About my problem
I'm interested to port one scripaculous form element ( for example one Check-Box ) in an form with standard submitButton.
 
Lukas answer:
   
....
<In other words, submitting a single check-box or a single multi-select
<list does not work, since for those elements Seaside generates some
<additional hidden form elements that do not get submitted. Of course
<it can be made working, but then you somehow need to submit those
<hidden fields as well. Believe me, it is the easiest if you just put a
<form> around check-boxes and multi-select lists ;-)

Now my question is :
   
    if i use form for check-boxes and multi-select lists what do i do for other element in the page?
 
    For textInput how i manage the callback ?
 
    In the SUFormTest class,  for textInput the callback is trigger by submitButton inside the relative form.
    But it is not a elegant solution.
 
    I have test the liveCallback solution and it work fine, but it's one right solution?
    I can manage the delta time relative to trigger one specific liveCallback?
 
 
Thank for any consideration,

Dario Trussardi Romano
 
 
 
 

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Integration of scripaculous form element

Lukas Renggli
> About my problem
> I'm interested to port one scripaculous form element ( for example
> one Check-Box ) in an form with standard submitButton.

I think I do not properly understand what you are asking ...

> Now my question is :
>
>     if i use form for check-boxes and multi-select lists what do i do for
> other element in the page?
>
>     For textInput how i manage the callback ?
>
>     In the SUFormTest class,  for textInput the callback is trigger by
> submitButton inside the relative form.
>     But it is not a elegant solution.

What about the onBlur: or onEnter: Javascript events? Especially
onBlur (triggered when an element loses the focus) is nice, however it
doesn't seem to properly work  on all browsers.

 >     I have test the liveCallback solution and it work fine, but it's one
> right solution?
>     I can manage the delta time relative to trigger one
> specific liveCallback?

I don't understand ...

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside