[mapserver-users] Query error messages

Marc Jacquin jacquin@geosys-inc.com
Mon, 9 Sep 2002 14:04:35 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0037_01C25809.D3CEF1A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Matt,

Check the ERROR [url] keyword in the Web object.

Marc


  -----Original Message-----
  From: owner-mapserver-users@lists.gis.umn.edu
[mailto:owner-mapserver-users@lists.gis.umn.edu]On Behalf Of Matthew Hatcher
  Sent: lundi 9 septembre 2002 09:57
  To: mapserver-users@lists.gis.umn.edu
  Subject: [mapserver-users] Query error messages


  Hi everyone.

  This is probably a really optimistic question, but is there any way to
customise the error messages you get from a query without using MapScript?

  What I want to do is have a query that yields no results go to a custom
page of my choice, rather than simply show the "Search returned no results"
message.

  Is this possible?

  Cheers,
  Matt Hatcher



  **********************************************************************
  The information contained in this email and any subsequent
  correspondence is private and is intended solely for the
  intended recipient(s). For those other than the intended
  recipient(s) any disclosure, copying, distribution, or any
  action taken or omitted to be taken in reliance on such
  information is prohibited and may be unlawful.
  **********************************************************************


------=_NextPart_000_0037_01C25809.D3CEF1A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3DISO-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D460230312-09092002><FONT face=3DArial color=3D#0000ff =

size=3D2>Matt,</FONT></SPAN></DIV>
<DIV><SPAN class=3D460230312-09092002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D460230312-09092002><FONT face=3DArial color=3D#0000ff =
size=3D2>Check=20
the ERROR [url] keyword in the Web object.</FONT></SPAN></DIV>
<DIV><SPAN class=3D460230312-09092002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D460230312-09092002><FONT face=3DArial color=3D#0000ff =

size=3D2>Marc</FONT></SPAN></DIV>
<DIV><SPAN class=3D460230312-09092002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D460230312-09092002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  owner-mapserver-users@lists.gis.umn.edu=20
  [mailto:owner-mapserver-users@lists.gis.umn.edu]<B>On Behalf Of =
</B>Matthew=20
  Hatcher<BR><B>Sent:</B> lundi 9 septembre 2002 09:57<BR><B>To:</B>=20
  mapserver-users@lists.gis.umn.edu<BR><B>Subject:</B> [mapserver-users] =
Query=20
  error messages<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D00085807-09092002><FONT face=3DTahoma size=3D2>Hi=20
  everyone.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D00085807-09092002><FONT face=3DTahoma=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D00085807-09092002><FONT face=3DTahoma size=3D2>This =
is probably a=20
  really optimistic question, but is there any way to customise the =
error=20
  messages you get from a query without using =
MapScript?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D00085807-09092002><FONT face=3DTahoma=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D00085807-09092002><FONT face=3DTahoma size=3D2>What =
I want to do=20
  is have a query that yields no results go to a custom page of my =
choice,=20
  rather than simply show the "Search returned no results"=20
  message.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D00085807-09092002><FONT face=3DTahoma=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D00085807-09092002><FONT face=3DTahoma size=3D2>Is =
this=20
  possible?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D00085807-09092002><FONT face=3DTahoma=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D00085807-09092002><FONT face=3DTahoma=20
  size=3D2>Cheers,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D00085807-09092002><FONT face=3DTahoma size=3D2>Matt =

  Hatcher</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV><CODE><FONT=20
  =
size=3D3><BR><BR>********************************************************=
**************<BR>The=20
  information contained in this email and any =
subsequent<BR>correspondence is=20
  private and is intended solely for the <BR>intended recipient(s). For =
those=20
  other than the intended<BR>recipient(s) any disclosure, copying, =
distribution,=20
  or any <BR>action taken or omitted to be taken in reliance on such=20
  <BR>information is prohibited and may be=20
  =
unlawful.<BR>************************************************************=
**********<BR></BLOCKQUOTE></FONT></CODE></BODY></HTML>

------=_NextPart_000_0037_01C25809.D3CEF1A0--