Hi Mary, Yes - if you define a "tag function", then by default its parameters won't be parsed before it's called. (There's actually a way to change that behavior, as of version 1.16, I think, but I don't remember what it is.) The easiest solution is to instead define it as a parser function - so it would be called as {{#refSuggest:...}} instead.
-Yaron On Fri, Feb 17, 2012 at 10:37 AM, Beebe, Mary J <bee...@battelle.org> wrote: > Sorry if this is a duplicate. I am not sure it went through the first time. > > > > I have a semantic form that sends variables to a template. The template has > these lines in it: > > > > <refSuggest>{{{ReferenceType|}}}:{{{ReferenceID|}}}</refSuggest> > > > > refSuggest is a tag extension that I am creating. I would like to receive > the values of the variables but what I actually receive is > {{{ReferenceType|}}}:{{{ReferenceID|}}}. If I run it through the parser the > values of the variables are no longer active. > > > > I would like the variables to be rendered to their values before sending > them to my extension. I could use a different type of extension if that is > necessary. > > > > Thanks, > > > > Mary > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Semediawiki-devel mailing list > Semediawiki-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel > -- WikiWorks · MediaWiki Consulting · http://wikiworks.com ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel