[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Interpret arguments to usertag
Thanks to several people who pointed this out. Sorry, I hadn't noticed =
that in the documentation!
-----Original Message-----
From: Kevin Walsh [mailto:kevin@cursor.biz]
Sent: Tuesday, July 30, 2002 4:12 PM
To: interchange-users@icdevgroup.org
Subject: RE: [ic] Interpret arguments to usertag
> >I'm having difficulty understanding one part of the usertag =
capability. I=20
> >need to pass a dynamic argument to a usertag, but it never seems to =
be=20
> >interpreted properly.
> >
> >Specifically:
> >
> > [tag xyz [data session arg] ]
> >
> >Never interprets [data session arg]. What am I missing?
> >
> >My sample "tag" is defined as follows:
> >
> >UserTag tag Order action arg
> >UserTag tag Interpolate
>=20
> UserTag tag PosNumber 2
>=20
[yourtag action=3D"xyz" arg=3D"[data session arg]"]
If you will always be using [data session arg] then you could drop
the arg parameter altogether and just use $Vend::Session->{arg} in
your UserTag. If you will be passing all manner of values to the
arg then just keep it as it is, but change the calling syntax, as
shown.
--=20
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users