[Seaside] Form extended with ajax and callbacks

Paul DeBruicker pdebruic at gmail.com
Fri Dec 2 16:25:05 UTC 2011


On 11-12-02 07:57 AM, Norbert Hartl wrote:
> I'm asking myself if I do something wrong or if it is not supported in seaside. I have a form that is rendered the first time. The form includes a select that when being changed triggers an ajax call and this inserts a new input field inside the form. Should it work that I get a value from the input field when the form is being submitted?
>
> thanks,
>
> Norbert_______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


I would have guessed that would work.  Is it a textInput or something 
that requires you to serializeWithHidden?  Does your input have a 'name' 
property after its inserted? Does the input's id or name conflict with 
anything else in the page/form? Can you see in Firebug if the parameter 
is sent back to Seaside?  Why not just show/hide the textInput?  Are you 
submitting the form with ajax or in the traditional way?


More information about the seaside mailing list