ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] [alterator] синхронность activity
@ 2012-05-11  4:38 Michael Shigorin
  2012-05-11  8:39 ` Lenar Shakirov
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Shigorin @ 2012-05-11  4:38 UTC (permalink / raw)
  To: devel

	Здравствуйте.
Помогите сняться с ручника:

(extra-button (when clicked
                (begin
                  (format #t "HERE1\n")
                  (extra-button activity #f)
                  (form-update-activity '("extra-button") #f)
                  (format #t "HERE2\n")
                  (commit-interface)
                  (format #t "HERE3\n")
                  )))

Кнопка деактивируется уже после возврата commit-interface,
которое представляет из себя ходока в бэкенд:

(define (commit-interface)
  (catch/message
    (lambda()
      (woo-write "/backend" 'var (form-value "var")))))

Т.е. в выводе наблюдаю:

HERE1
HERE2
[выполнение команд бэкендом]
HERE3

...и при этом на HERE2 extra-button нажимабельная,
а после HERE3 -- уже нет.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-05-11 16:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-11  4:38 [devel] [alterator] синхронность activity Michael Shigorin
2012-05-11  8:39 ` Lenar Shakirov
2012-05-11  9:34   ` Paul Wolneykien
2012-05-11 10:52     ` Lenar Shakirov
2012-05-11 10:56       ` Paul Wolneykien
2012-05-11 16:02         ` Michael Shigorin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git