In what way are you invoking the link?

Ben Johansen - http://www.pcforge.com
Authorized Witango & MDaemon Reseller 
Available for Witango Developement


-----Original Message-----
From: Wilcox, Jamileh (HSC) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 13, 2004 8:38 AM
To: [EMAIL PROTECTED]
Subject: RE: Witango-Talk: Passing search arguments across links

Right, the URL I gave works (those are underscores, not spaces), but
leaves the arguments in the address window.  Even with hidden args, a
form requires a button & takes up room that I don't really have readily
available.  That's why I was trying to figure out if there was some
sneaky third method known only to wizened gurus and Witango experts.
;^)
 
Thanks.     j
 

        -----Original Message-----
        From: Rick Sanders [mailto:[EMAIL PROTECTED] 
        Sent: Tuesday, July 13, 2004 10:22 AM
        To: [EMAIL PROTECTED]
        Subject: Re: Witango-Talk: Passing search arguments across links
        
        
         
        Hi!
         
        First off, yes you can pass those parameters in the URL. Just be
sure that if you use spaces, that you put in the %20 parameter for
spaces if the argument value contains spaces:
         
        DSL modem would be: DSL%20Modem.
         
        In the link you provided after the function=list there looks
like there is a space between the & and the word type. If it's an
underscore, then that's ok. If it is a space, you'll have to put the
word search right after the &.
         
        As far as getting the values out of the address window, simply
create a form with hidden values:
         
        <input type=hidden name="type" value="search">
        <input type=hidden name="beg" value="1">
         
        etc.......
         
        Then, it won't be displayed on the page, or in the address.
         
        Rick Sanders


                I have an app that gives web access to pdf documents
(policies & procedures).  It includes a search form that allows users to
search all of the db fields and list appropriate policies.

                I have a completely separate webapp.  I need to add a
link within that app that will bring up the p&p app, with specific
policies listed.  The policies that need to be listed have matching
policy numbers, so the correct listing can be created by putting the
proper info in the search form.

                I can create a link that will do exactly what I want,
like so: 

        
http://ourintranet/PnP/index.taf?_function=list&_type=search&_beg=1&Sear
chFor=frmidx
<http://ourintranet/PnP/index.taf?_function=list&_type=search&_beg=1&Sea
rchFor=frmidx>  

                The search argument is listed in the link reference
(SearchFor=frmidx). 


                Question:  is there another way to pass this search arg
info (and keep it out of the browser address)?  There's not really room
to set up a form on the other page, there's barely enough room for a
link title.


                Thanks for any suggestions! 




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

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


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
------_=extPart_001_01C468EF.54CCFC82
Content-Type: text/html;
        charset=s-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=756143115-13072004><FONT face=Arial size=2>Right, the
URL I 
gave works (those are underscores, not spaces), but leaves the arguments
in the 
address window.&nbsp; Even with hidden args, a form requires a button
&amp; 
takes up room that&nbsp;I don't really have readily available.&nbsp;
That's why 
I was trying to figure out if there was some sneaky third method known
only to 
wizened gurus and Witango experts.&nbsp; ;^)</FONT></SPAN></DIV>
<DIV><SPAN class=756143115-13072004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=756143115-13072004><FONT face=Arial 
size=2>Thanks.&nbsp;&nbsp;&nbsp;&nbsp; j</FONT></SPAN></DIV>
<DIV><SPAN class=756143115-13072004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px
solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Rick
Sanders 
  [mailto:[EMAIL PROTECTED] <BR><B>Sent:</B> Tuesday, July 13, 2004
10:22 
  AM<BR><B>To:</B> [EMAIL PROTECTED]<BR><B>Subject:</B> Re:
Witango-Talk: 
  Passing search arguments across links<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Hi!</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>First off, yes you can pass those
parameters in 
  the URL. Just be sure that if you use spaces, that you put in the %20 
  parameter for spaces if the argument value contains
spaces:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>DSL modem would be:
DSL%20Modem.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>In the link you provided after the
function=list 
  there looks like there is a space between the &amp; and the word type.
If it's 
  an underscore, then that's ok. If it is a space, you'll have to put
the word 
  search right after the &amp;.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>As far as getting the values out of the
address 
  window, simply create a form with hidden values:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>&lt;input type=hidden name="type" 
  value="search"&gt;</FONT></DIV>
  <DIV><FONT face=Arial size=2>&lt;input type=hidden name="beg" 
  value="1"&gt;</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>etc.......</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Then, it won't be displayed on the page,
or in 
  the address.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Rick Sanders</FONT></DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV><BR></DIV><!-- Converted from text/rtf format -->
    <P><FONT face=Arial size=2>I have an app that gives web access to
pdf 
    documents (policies &amp; procedures).&nbsp; It includes a search
form that 
    allows users to search all of the db fields and list appropriate 
    policies.</FONT></P>
    <P><FONT face=Arial size=2>I have a completely separate
webapp.&nbsp; I need 
    to add a link within that app that will bring up the p&amp;p app,
with 
    specific policies listed.&nbsp; The policies that need to be listed
have 
    matching policy numbers, so the correct listing can be created by
putting 
    the proper info in the search form.</FONT></P>
    <P><FONT face=Arial size=2>I can create a link that will do exactly
what I 
    want, like so:</FONT> </P>
    <P><A 
 
href="http://ourintranet/PnP/index.taf?_function=list&amp;_type=search&a
mp;_beg=1&amp;SearchFor=frmidx"><U><FONT 
    face=Arial color=#0000ff 
 
size=2>http://ourintranet/PnP/index.taf?_function=list&amp;_type=search&;
amp;_beg=1&amp;SearchFor=frmidx</FONT></U></A> 
    </P>
    <P><FONT face=Arial size=2>The search argument is listed in the link

    reference (SearchFor=frmidx).</FONT> </P><BR>
    <P><FONT face=Arial size=2>Question:&nbsp; is there another way to
pass this 
    search arg info (and keep it out of the browser address)?&nbsp;
There's not 
    really room to set up a form on the other page, there's barely
enough room 
    for a link title.</FONT></P><BR>
    <P><FONT face=Arial size=2>Thanks for any suggestions!</FONT> 
 
</P><BR><BR><BR><PRE>___________________________________________________
_____________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
</PRE></BLOCKQUOTE><PRE>________________________________________________
________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
</PRE></BLOCKQUOTE></BODY></HTML>

<HTML><BODY><PRE>
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
</PRE></BODY></HTML>
------_=extPart_001_01C468EF.54CCFC82--


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

Reply via email to