form variations based on plus cards?

Support Ticket


If I go with one cardtype (Resource) on then the question is how to handle the slight variations.

I could use the content of "|Resource|+Resource Type" to generate an appropriate right form with the extra formatting wanted by Resoures of a particular "type". But this:


...has problems:

  1. The inner inclusion is returning double brackets around the foo even though I specified item:name
  2. Seems like we're not recognizing the nested inclusion (perhaps something we didn't think anyone was twisted enough to try :-). Seems like we could render the inner one first, then the outer one?

I don't think the nested inclusion has much chance.  It assumes an inside-out process order that isn't how wagn works.


I think the way to go is a search.  You can refer to _self and what is referred to in a single search and append whatever you need to.  So long as you're ok with having a process where not everything is added in the initial card creation, this should work pretty smoothly for now.

Nice. Seems like it ought to work, but from (+this way) I'm guessing append doesn't accept card definitions.

  --John Abbe.....Sun Feb 20 16:21:43 -0800 2011

switch it around. prepend "_left".

  --Ethan McCutchen.....Sun Feb 20 21:49:53 -0800 2011

hehe, nice. anyway, ticket/idea let append and prepend accept card definitions?

  --John Abbe.....Sun Feb 20 21:59:57 -0800 2011

Sure. Fairly low pri. *may* not be that hard to implement

  --Ethan McCutchen.....Mon Feb 21 08:22:32 -0800 2011