[Seaside] AJAX Evaluator and Event Handler

John Thornborrow john at pinesoft.co.uk
Thu Oct 4 11:57:55 UTC 2007


 html evaluator
   triggerFormElement: myElement;
   callback: [ :script |
     script insertion top id: #xyz; with: [ :r| r text 'TOP'].
     script insertion bottom; id: #xyz; with: [ :r| r text 'BOTTOM'].
     script alert: 'Insertion complete'
   ]

Regards,
John

www.pinesoft.co.uk

Thomas Fischer wrote:
> Hi group,
> I use the following code to insert something via AJAX, but I have
> to trigger a   alert("insertion complete")   if the insertion is completed.
> How can I do this? There are no Event Handler here - right? 
> 
>  
> html evaluator
>   triggerFormElement: myElement;
>   callback: [ :script |
>     script insertion top id: #xyz; with: [ :r| r text 'TOP'].
>     script insertion bottom; id: #xyz; with: [ :r| r text 'BOTTOM'].
>   ]
> .
> 
> salute
> Thomas


Pinesoft Computers are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA



This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com



More information about the seaside mailing list