I have been tasked with upgrading our Mason install from 1.02 to the latest
version (1.4.2) and all went smoothly until I tried to access certain
components that appear to be missing their inheritance chain.

I have a component (/top_level) that contains...

<% $m->call_next() %>

<& /_methods/_submit_notice &>

<%attr>
submit_notice_message => "Your request is being processed..."
</%attr>

In the child component (/_method/_submit_notice) I have...

<div id="submit_notice">
  <% $m->base_comp->attr('submit_notice_message') %>
</div>

The child component simply accesses the attribute defined in the calling
component however when I run this I get this Mason error:

"no attribute 'submit_notice_message' for component /_methods/_submit_notice
[html]"

If I Dumper the $m->base_comp component I can see that the
/_method/_submit_notice component is the object that is having ->attr()
called on it and I can additionally see that in the code_cache
------------------------------------------------------------------------------
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to