Descargar
Desarrollar
Cuenta
Descargar
Desarrollar
Entrar
Forgot Account/Password
Crear Cuenta
Idioma
Ayuda
Idioma
Ayuda
×
Entrar
Nombre de usuario
Contraseña
×
Forgot Account/Password
Translation Status of Español
Categoría:
Software
Gente
PersonalForge
Magazine
Wiki
Buscar
OSDN
>
Buscar Software
>
Software Development
>
Build Tools
>
マスカット
>
Foros
>
公開ディスカッション
>
アンパサンド表示時エラーについて
Descripción
Project Summary
Developer Dashboard
Página Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Historial
Descargas
List of Releases
Stats
Código Fuente
Code Repository list
Subversion
Ver Repositorio
Incidencia
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Communication
Foros
List of Forums
公開ディスカッション (1319)
Mailing Lists
list of ML
maskat-develop
maskat-general
maskat-report
Noticias
Foros:
公開ディスカッション
(Thread #30146)
Return to Thread list
RSS
アンパサンド表示時エラーについて (2011-08-15 11:18 by
Anónimo
#59152)
Responder
アンパサンド(&)をラベルに出力しようすると「maskat.autoCallBackFunc呼び出し時(受信電文処理)にエラーが発生しました。:[object Error]」が表示されます。
これはアンパサンドがマスカットの予約文字であることを推測しますが、標準機能での回避策等ありますでしょうか?
なければ、全角アンパサンドに置き換えなどして対応しようと思っています。
以上、お手数ですがご教授よろしくお願い致します。
Responder al #59152
×
Sujeto
Body
Reply To Message #59152 > アンパサンド(&)をラベルに出力しようすると「maskat.autoCallBackFunc呼び出し時(受信電文処理)にエラーが発生しました。:[object Error]」が表示されます。 > > これはアンパサンドがマスカットの予約文字であることを推測しますが、標準機能での回避策等ありますでしょうか? > > なければ、全角アンパサンドに置き換えなどして対応しようと思っています。 > > 以上、お手数ですがご教授よろしくお願い致します。
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Entrar
Nickname
Vista previa
Post
Cancelar
RE: アンパサンド表示時エラーについて (2011-08-15 11:57 by
kominen
#59153)
Responder
手元で簡単なサンプルを作成して確認しましたが、問題なく動作させることができました。
■レイアウト定義
<?xml version="1.0" encoding="UTF-8"?>
<layoutDef xmlns:dojo="
http://maskat.sourceforge.jp/widget/dojo/1.0.0">
<layout name="layout">
<label name="lblNew1" top="75" left="15" text="新規ラベル"/>
<button name="btnNew" top="75" left="105" width="88" tabIndex="-1" title="新規ボタン" adaptToText="false"/>
</layout>
</layoutDef>
■イベント定義
<?xml version="1.0" encoding="UTF-8"?>
<eventDef>
<component id="btnNew">
<event id="onclick" start="setValue" type="local"/>
</component>
</eventDef>
■コールバック関数
function setValue(event) {
event.layout.getWidget("lblNew1").setValue("&");
}
お手数ですが、どのようなレイアウト/イベント定義を行ったのか、
コールバック関数の内容も併せてお教えいただけませんか?
Responder al
#59152
Responder al #59153
×
Sujeto
Body
Reply To Message #59153 > 手元で簡単なサンプルを作成して確認しましたが、問題なく動作させることができました。 > > ■レイアウト定義 > <?xml version="1.0" encoding="UTF-8"?> > <layoutDef xmlns:dojo="http://maskat.sourceforge.jp/widget/dojo/1.0.0"> > <layout name="layout"> > <label name="lblNew1" top="75" left="15" text="新規ラベル"/> > <button name="btnNew" top="75" left="105" width="88" tabIndex="-1" title="新規ボタン" adaptToText="false"/> > </layout> > </layoutDef> > > ■イベント定義 > <?xml version="1.0" encoding="UTF-8"?> > <eventDef> > <component id="btnNew"> > <event id="onclick" start="setValue" type="local"/> > </component> > </eventDef> > > > ■コールバック関数 > function setValue(event) { > event.layout.getWidget("lblNew1").setValue("&"); > } > > お手数ですが、どのようなレイアウト/イベント定義を行ったのか、 > コールバック関数の内容も併せてお教えいただけませんか?
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Entrar
Nickname
Vista previa
Post
Cancelar