[ic] multiple args in area/page clarification

Kevin Walsh interchange-users@icdevgroup.org
Thu Nov 28 07:53:00 2002


Paul Jordan [paul@gishnetwork.com] wrote:
> 
> Hi guys... I just spent a whole many hours very stupidly.
> 
> I usually pass multiple args in the area/page tag by doing this:
> 
> <a href="[area href='cg/view_bill' form=|
>                         b_num=[bill-code]
>                          t_id=[bill-param trip_id]
>                       |]">[filter 25.][bill-param t_title][/filter]</a>
> 
> This works great... however today I needed to use this particular one,
> iterating within an existing <form></form> so.... I ASSUMED (first
> mistake) that I could not do it this way, since you cannot nest
> forms....
> 
> SO I hit the docs because I remember seeing:
> 
> [area href=dir/page.html arg="arg1=AA/arg2=BB"]
> 
> I could not "get" the multiple args out of this...??
> 
> tried [cgi arg1] [value arg1] [scratch arg1] [data session arg1]
> 
> 
> As it turns out, the form parameter doesn't actually "build" a
> <form></form> like I assumed it would... as in a macro for <form>
> creation.. maybe it builds it in the session? I don't know, but the form
> parameter works within a form, so problem solved but for completion...
> how would I pull the args out of:
> 
> [area href=dir/page.html arg="arg1=AA/arg2=BB"]
> 
You'd need some Perl to parse the information out of [cgi arg].

> 
> BTW, am I the only one that feels the only useful way to search the
> archives anymore is with the google toolbar for IE? I get "no matches"
> 90% of the time with swish even when searching for simple things, and
> all google results return redhat urls that are dead.
> 
> Am I missing some other way to search the archives??
> 
Have you tried the "Swish search" on the following page?

    http://www.icdevgroup.org/i/dev/mailinglists.html

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/