[Seaside] Re: Update a component after a Jquery

Hilaire hilaire at drgeo.eu
Fri May 29 20:11:26 UTC 2015


Le 29/05/2015 03:40, Paul DeBruicker a écrit :
> mail client coding but something like this should work:
>
>
> (html jQuery new datepicker onSelect: (html jQuery
> ajax serializeThis;onSuccess:((html jQuery id: 'myTableContainerId') load
> html: [:h | h render: myTable])).
>

Thanks. I am not sure I can apply it.

The change in the model results in a new div element, containing a table
populated with content. Moreover depending on the imputed date, the div
element position may vary in the DOM tree. I think a whole refresh,
server side, may be simpler.

Hilaire

-- 
Dr. Geo
http://drgeo.eu
http://google.com/+DrgeoEu



More information about the seaside mailing list