Is it possible to achieve the effect of wrapping child component content by
its parent with internal components?
For request component I could use


form/Base.mc:
--------------------
<%class>
has form => (is =>'ro', required =>1);
</%class>

<%method wrap>
<form .....>
% inner();
</form>
</%method>


form/login.mc:
---------------------
<% $.field(...) %>
<% $.field(...) %>


But when called from other component, method main is called directly and
wrap is skipped.

<& /form/login.mc, form=>$login_form &>


I appreciate any tip

Roman Daniel
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to