Hi,

I'd like some of my display components to have two views - summarized and
complete - depending their context. For example a summary could be
displayed in a "home page" context, and the complete contents on a leaf
node of the website.

I was thinking of using two <%def>'s within the same component and
calling them from the main <%init> depending on passed <%args>.

Would that be a typical use of <%def> ?

Thanks,

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to