There's probably a number of way you can do this. Two come to mind. 

   1. When you create your var do it like this: <@Assign Local$Framevar
"isellit/products/products.taf?_function=list&Prod_No=10.2035">  Then
replace the troublesome characters like so:

<@Assign Local$Framevar <@Replace Str="<@Var Local$Framevar>"
Findstr="&" ReplaceStr="^">>
<@Assign Local$Framevar <@Replace Str="<@Var Local$Framevar>"
Findstr="?" ReplaceStr="!">>

   Then reverse the process at the other end like so:

<@Assign Local$Framevar <@Replace Str="<@Var Local$Framevar>"
Findstr="^" ReplaceStr="&">>
<@Assign Local$Framevar <@Replace Str="<@Var Local$Framevar>"
Findstr="!" ReplaceStr="?">>

   2. Create a system var called Frameset. The do the assign to a
variable in the Frameset class:

<@Assign Frameset$Framevar
"isellit/products/products.taf?_function=list&Prod_No=10.2035"> Then you
don't have to pass it at all. Just check, as you're building your frame,
whether a value exists in that variable or not. If so use it then purge
it otherwise take a default action.

   Hope that helps. Even better, I hope I understood your question
exactly. *laughs*

-----Original Message-----
From: Wayne Irvine [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 09, 2007 9:58 PM
To: [email protected]
Subject: Witango-Talk: Passing a path with arguments as an ARG

I wish to pass a string such as:

isellit/products/products.taf?_function=list&Prod_No=10.2035

To a TAF that builds a frameset. Unfortunately by the time it gets there
it
is:

isellit/products/products.taf?_function=list

Obviously the ampersand is throwing me but I'm not sure what very
obvious thing I am doing wrong.

To test it I built a little test taf:

http://www.kayellaustralia.com.au/frametest.taf

Enter: isellit/products/products.taf?_function=list&Prod_No=10.2035

And it works!!

But the actual implementation is for a Newsletter that is built from a
content management system and sent as HTML email. You can view a sample
one
here:

http://www.kayellaustralia.com.au/sample_newsletter.html

The links in question are the 'Related Products' links.

I cannot fathom what the difference is except one argument string is
sent from a form and the other hard coded into a A HREF.

Anyone got some pointers?

Wayne Irvine


                  Byte Services Pty Ltd
               http://www.byteserve.com.au/
                  [EMAIL PROTECTED]
   Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to