[ic] UI: interpolating usertags

Sonny Cook sonny@akopia.com
Mon, 30 Oct 2000 00:51:55 -0600 (CST)

Without having checked through the code, or really knowing the answer, I
think IC does not interpolate the results of tags unless they are
parameters to other tags.  With that in mind, you could create another
usertag whose purpose in life is to cause some other usertags output to
get parsed.  Just have it set to interpolate, and then return whatever
input it gets.

Sonny Cook 

"I don't want fifteen dollars."  --Franklin D. Rooselvelt

On Sun, 29 Oct 2000, Ton Verhagen wrote:

> Hi all,
> I am wondering how to have the IC UI interpolate the results of an usertag.
> Here is my problem.
> I added the following code to a template. It will generate a select box 
> with the options hdr1.gif ... hdr6.gif. So far so good.
> page_picture:
> 	description: Page picture
> 	widget: select
> 	options: hdr1.gif, hdr2.gif, hdr3.gif, hdr4.gif, hdr5.gif, hdr6.gif
> However, instead of having to type a (static) list of image file names I 
> would like to use a usertag which generates the list dynamically. I already 
> have an usertag that does return the options string as in the above 
> mentioned code. Unfortunately the IC UI treats this whole string as one 
> single option. Obvioulsly the UI executes the usertag properly, but doesn't 
> interpolate the returned string.
> How to go about? Maybe I have overlooked something very obvious.
> Hopefully someone has any ideas or pointers.
> Thanks for any help.
> Ton Verhagen 
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users