Thread Rating:
  • 371 Vote(s) - 2.92 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sonntag でCommand を呼び出す
08-02-2011, 09:24 AM,
#5
RE: Sonntag でCommand を呼び出す
Command がパラメータを扱う場合は CommandImpl.prepare や CommandImpl.prompt を正しく実装するというのがCommand 本来の作法のようです。(詳しくは CommandImpl の APIリファレンス参照)
ただし Sonntag でスクリーンコマンドを定義するための define-screen-command はこれらの実装を定義できるようになっていないため、実行時の処理の一環として Screen から値を取得したりする必要があります。


Messages In This Thread
Sonntag でCommand を呼び出す - by umemura - 07-25-2011, 05:57 PM
RE: Sonntag でCommand を呼び出す - by fukuta - 08-02-2011, 09:24 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Sonntag MVC without strings or name RobertShiplett 3 4,726 08-09-2011, 01:12 AM
Last Post: RobertShiplett
  Sonntag で別画面(Screen)のイベントを呼ぶ umemura 2 4,048 08-04-2011, 02:47 AM
Last Post: RobertShiplett
Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('156')