ちょっと混乱

2006年7月6日 (木曜日) - 18:44:06 by webmaster

ActionClassのPerformメソッドとかで遷移名を指定するんだけれど、例えば、こんな場合。

function perform()
{
    if ( $this->af->validate() == 0) {
        return 'hogehoge'
    }
    return 'hoge';
}

アクションフォームのValidate()でエラーが無い場合、次に処理されるのはhogehogeのActionClassだと思ってたら、
hogehogeのViewClassなのね。
飛び先のActionClassから処理をさせる場合の処理を考えてあげないといけないかも知れない。

Leave a Reply

XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>