On Mon, 3 May 2010, al...@h4c.kr wrote:

> Sorry, maybe I should proof read before sending.
>
> On Mon, May 03, 2010 at 01:53:21PM +1000, al...@h4c.kr wrote:
>> I'm managed to narrow it down tothe attributes not liking the arrayref.
>> When I change the leftnav_selected value to be a comma-seperated string,
>> I can't fault it. Could it be  When I change the leftnav_selected value
>> to be a comma-seperated string, I can't fault it.
>
> I've managed to narrow it down to the attributes being arrayrefs. If I
> change the leftnav_selected attribute value to be a comma-seperated
> string and perform a split in my display_navigation module, I can't
> fault it. In other words, it will *always* work.
>
> When I dump $m->request_comp()->attributes() I do see leftnav_selected
> as a key, but its value is an empty arrayref!

Are you _modifying_ the attribute value in your code? The array reference 
is only created once, so if you change it, you're changing it for all 
future accesses as well.


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

------------------------------------------------------------------------------
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to