Re: [greenstone-users] Query string format

From Chaitra Rao
DateFri, 8 Jul 2005 18:52:25 +0530 (IST)
Subject Re: [greenstone-users] Query string format
In-Reply-To (200507051746-29271-robleyd-ozemail-com-au)
Thanx David.I was not able to eliminate the x and y values. But, I wrote
an intermediate jsp script to reconstruct and redirect the URL to
http://url?a=q&q=query&c=collname and remove the x and y values here.
Thanx again.

Regards,
Chaitra

On Tue, 5 Jul 2005, David Robley wrote:

> Is it possible you are using an image as your submit button? The result of
> clicking such an image is the x and y coordinates of the mouse pointer in
> the submit image. If you have something like <INPUT TYPE="IMAGE"
> src="image.gif"> without a NAME attribute for the INPUT tag, the
> coordinate values for the x and y positions will be named x and y; if
> however the INPUT tag has a NAME attribute assigned, the output will be
> name.x and name.y
>
> On Tue, 5 Jul 2005 16:37, Chaitra Rao wrote:
> > Hi Katherine,
> > Thanks for the response. There's still a small problem. The html page
> > from where I'm passing args seems to pass 2 extra values x and y along
> > with the other parameters(c,a,q). However, such a parameter is not set
> > anywhere in the page, nor do we have any hidden variable with that
> > name. I don't know where exactly these parameters are getting added. Is
> > ther any way I can filter them at the server side or better, at the
> > client side itself?
> >
> > Regards,
> > Chaitra
> >
> > On Wed, 22 Jun 2005, Katherine Don wrote:
> > > Hi Chaitra
> > >
> > > This means that you have an empty c argument - you need to make sure
> > > that you get c=<collname> into the arguments.
> > >
> > > Regards,
> > > Katherine
> > >
> > > Chaitra Rao wrote:
> > > > Hi,
> > > > There was a small problem with the fix mentioned in this e-mail.
> > > > The search page does not resemble the main page of the collection
> > > > and when I click on the collection name, it gives the following
> > > > error message: "This collection (called "") is not installed on
> > > > this Greenstone digital library system."
> > > >
> > > > How do I fix this problem? Please help.
> > > >
> > > >
> > > > Regards,
> > > > Chaitra
> > > >
> > > > On Fri, 27 May 2005, Chaitra Rao wrote:
> > > >>Thanx John. I tried this code. It works!
> > > >>
> > > >>Thanx again! :)
> > > >>
> > > >>
> > > >>Regards,
> > > >>Chaitra
> > > >>
> > > >>On Fri, 27 May 2005, John R. McPherson wrote:
> > > >>>On Fri, May 27, 2005 at 11:58:24AM +0530, Chaitra Rao wrote:
> > > >>>>Hi Katherine,
> > > >>>> Thank you for the response. I am able to get to the search page
> > > >>>> using the following URL format:
> > > >>>>http://web_address/library?a=q&c=coll_name&ct=l&qt=0&q=searchterm
> > > >>>>.
> > > >>>>
> > > >>>>Now, I want to be able to send a form request to this page from
> > > >>>> another page. This doesn't work. I have written a javascript
> > > >>>> that does something like:
> > > >>>>
> > > >>>>script{
> > > >>>>document.form.action=http://web_address/library?a=q&c=coll_name&c
> > > >>>>t=l&qt=0&q=searchterm; }
> > > >>>>
> > > >>>>When I do this the home page opens, instead ofthe search page.
> > > >>>> Can you tell me if something's missing?
> > > >>>
> > > >>>I do this on another site, although not using javascript to
> > > >>> submit:
> > > >>>
> > > >>><form action="http://www.wlug.org.nz/gsdl/cgi-bin/library"
> > > >>> method="GET" accept-charset="UTF-8">
> > > >>><div>
> > > >>><input type="text" value="" name="q" size="30" title="Search
> > > >>> terms"> <input type="hidden" name="c" value="wiki">
> > > >>><input type="hidden" name="a" value="q">
> > > >>><input type="submit" class="button" value="Fulltext Search">
> > > >>></div>
> > > >>></form>
> > > >>>
> > > >>>
> > > >>>John
> > > >
>
>
>
> Cheers
> --
> David Robley
>
> Windows would look better with curtains.
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>