2008年12月2日星期二

[fw-mvc] Help Dojo tabContainer

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

--
View this message in context: http://www.nabble.com/Help-Dojo-tabContainer-tp20794184p20794184.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: