2008年12月3日星期三

Re: [fw-mvc] Help Dojo tabContainer

I think you should include account page in tab content (not using
remote loading)

2008/12/2 barry hembree <gbhembree@comcast.net>:
>
> Hi All,
>
> I don't know if this is a Dojo question or a ZF question or both. I have a
> page with some tabContainers. One of them is to display an account page. It
> is defined as follows:
>
> <? $this->contentPane()->captureStart('account', array('title' => 'My
> Account',
> 'preload' => false,
> 'href' => $this->url(
> array(
> 'controller'=>'account',
> 'action'=>'index')
> ),
> 'class' => 'account-tab')) ?>
>
> <?= $this->contentPane()->captureEnd('account') ?>
>
> When I select this tab I acces the indexAction of the Account controller. If
> the user is logged in, I display their account summary in this tab. If they
> are not logged in I want to display a login page but not in the
> tabContainer. I would like to re-paint the page with a different layout.
> I've tried several diiferent things but none of them work. Does anyone have
> any ideas?
>
> Thanks for your help,
> Barry
>


--
Kamus Online - http://kamus.landak.com/

没有评论: