Używam morska (2,8 w Squeakiem 4.2) i mam normalnie aktualizację tak:Okresowa zmiana JQuery w Seaside
html div
onClick: ((html jQuery: '#asdf') load html: [:h|h text: 'qwer'])
; with: 'asdf'.
Ale tym razem mam do aktualizacji div okresowo.
Użyłem PT periodicalEvaluator
w innym projekcie, jednak w tym nie mogę, muszę trzymać się JQ.
Próbowałem użyć JQInstance na delay:millis
we wszystkich kombinacjach mogłem pomyśleć:
onClick: (((html jQuery id: 'chattertext') delay: 1000; yourself) load html: [:h| self renderTextOn: h])
; onClick: (((html jQuery id: 'chattertext') delay: 1000) load html: [:h| self renderTextOn: h])
; onClick: (((html jQuery id: 'chattertext') delay: 1000; load) html: [:h| self renderTextOn: h])
and others
jakiegoś powodu zmiana jest chwilowa zamiast po 1000 Millis które muszę.
To jest, dzięki! Nie można jeszcze dać +1, ponieważ wymaga 15 powtórzeń. – ben
nie zapomniałem ;-) – ben