ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Paul Wolneykien <manowar@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] [alterator] синхронность activity
Date: Fri, 11 May 2012 13:34:09 +0400
Message-ID: <4FACDD11.50507@altlinux.org> (raw)
In-Reply-To: <4FACD02F.6050307@cg.ru>

11.05.2012 12:39, Lenar Shakirov написал:
> 11.05.2012 08:38, Michael Shigorin пишет:
>> Здравствуйте.
>> Помогите сняться с ручника:
>>
>> (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,
>> которое представляет из себя ходока в бэкенд:

   А сама процедура extra-button что из себя представляет?

>>
>> (define (commit-interface)
>> (catch/message
>> (lambda()
>> (woo-write "/backend" 'var (form-value "var")))))
>>
>> Т.е. в выводе наблюдаю:
>>
>> HERE1
>> HERE2
>> [выполнение команд бэкендом]
>> HERE3
>>
>> ...и при этом на HERE2 extra-button нажимабельная,
>> а после HERE3 -- уже нет.
>>
>
> Воспроизводится на p6 и branch 4.0.
>
>



  reply	other threads:[~2012-05-11  9:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11  4:38 Michael Shigorin
2012-05-11  8:39 ` Lenar Shakirov
2012-05-11  9:34   ` Paul Wolneykien [this message]
2012-05-11 10:52     ` Lenar Shakirov
2012-05-11 10:56       ` Paul Wolneykien
2012-05-11 16:02         ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FACDD11.50507@altlinux.org \
    --to=manowar@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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