[akabana-user:254] 【質問】Helperの複数インジェク

道広 [E-MAIL ADDRESS DELETED]
2010年 11月 1日 (月) 15:21:52 JST


道広と申します。



元々、yui-frameworks-1.0.0-beta-2-rc1.swcを使っていました。

以下のように、Actionに複数なHelperをインジェクできます。とても便利です。

    public class YuiSampleAction {

        public var yuiSampleHelper:YuiSampleHelper;→YuiSampleView操作

        public var subHelper:SubHelper;→SubView操作

        public var logic:YuiSampleLogic;

}



でも、「yui-frameworks-ds-1.0.0-rc1.swc」を使ったら

YuiSampleActionでsubHelperは、ずっと、NULLになっていました。



YUIの仕様が変更されましたか?どうすれば、Actionで複数なHelperを利用します
か?



YuiSampleClasses.css

YuiSampleView {

    action:ClassReference("myapp.domain.action.YuiSampleAction");

    helper:ClassReference("myapp.domain.helper.YuiSampleHelper");

    logic:ClassReference("myapp.domain.logic.YuiSampleLogic");

}

SubView {

action:ClassReference("myapp.domain.action.SubAction");

    subHelper:ClassReference("myapp.domain.helper.SubHelper");

}



以上です

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://ml.seasar.org/archives/akabana-user/attachments/20101101/32b1f460/attachment.html>


akabana-user メーリングリストの案内