<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1" plain;
text Content-type:>
<META content="MSHTML 6.00.2900.2838" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=830320711-06042006>Doh!</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=830320711-06042006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=830320711-06042006>A quick search of the docs would have lead me to use
search.getSearchPage() instead..</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=830320711-06042006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=830320711-06042006>Cheers,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=830320711-06042006>Phil.</SPAN></FONT></DIV>
<DIV> </DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Phil Launchbury<BR>IT
Manager<BR>------------------------------------------------------<BR>TSSI
Systems Ltd,<BR>Rutland House, Hargreaves Road,<BR>Groundwell Industrial
Estate,<BR>Swindon, Wiltshire, SN25 5AZ, U.K.<BR><BR>Tel: +44
(0) 8450 707 898<BR>Email: support@tssi.co.uk <BR>Website:
www.tssi.co.uk<BR><BR>'Securing Business Around the
World'<BR>-------------------------------------------------------<BR></FONT></P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of
</B>Phil.Launchbury@tssi.co.uk<BR><B>Sent:</B> 06 April 2006 12:03<BR><B>To:</B>
opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev] OpenCMS 6.2 - search -
method getPage()<BR></FONT><BR></DIV>
<DIV></DIV>.. Appears to have disappeared! <BR><BR><BR><BR>What do I use to
replace it? I have a bit of code as follows: <BR><BR><BR><BR>if (pageNumber !=
search.getPage()) { <BR><BR>%> <BR><BR><A
href="<%= pageLink %>&fields=<%= fields %>"><%=
<BR>pageNumber %></A><BR><BR><%
<BR>
<BR> } else {
<BR>
<BR>%><BR><BR><SPAN class=currentpage><%= pageNumber %></SPAN><BR><BR><%
<BR><BR>} <BR><BR><BR><BR>Which works out where I am in the list of pages
returned by the search - <BR>and now it fails :-( <BR><BR><BR><BR>Cheers,
<BR><BR>Phil. <BR><BR><BR><BR>Phil Launchbury <BR><BR>IT Manager
<BR><BR>------------------------------------------------------ <BR><BR>TSSI
Systems Ltd, <BR><BR>Rutland House, Hargreaves Road, <BR><BR>Groundwell
Industrial Estate, <BR><BR>Swindon, Wiltshire, SN25 5AZ, U.K.
<BR><BR><BR><BR>Tel: +44 (0) 8450 707 898 <BR><BR>Email: support@tssi.co.uk
<BR><BR>Website: www.tssi.co.uk <BR><BR><BR><BR>'Securing Business Around the
World' <BR><BR>-------------------------------------------------------
<BR><BR><BR>This e-mail message (including any attachments) is from TSSI and
intended <BR>for the addressee only. It may contain information that is
privileged and <BR>confidential. If you are not the intended recipient, you must
not copy, <BR>distribute or take any action in reliance of it. If this
communication has <BR>been sent to you in error, please notify us immediately by
either replying <BR>to this e-mail or by telephoning our offices on (+44) 1793
747700. TSSI <BR>accept no responsibility for any changes made to this message
after it has <BR>been sent by the original author. This email or any of its
attachments may <BR>contain data that falls within the scope of the Data
Protection Acts. You <BR>must ensure that any handling or processing of such
data by you is fully <BR>compliant with the terms and provisions of the Data
Protection Act 1984 and <BR>1998.
<BR><BR><BR>________________________________________________________________________
<BR>This e-mail has been scanned for all viruses by Star. The <BR>service is
powered by MessageLabs. For more information on a proactive <BR>anti-virus
service working around the clock, around the globe, visit:
<BR>http://www.star.net.uk
<BR>________________________________________________________________________
<BR><BR>_______________________________________________ <BR>This mail is sent to
you from the opencms-dev mailing list <BR>To change your list options, or to
unsubscribe from the list, please visit
<BR>http://lists.opencms.org/mailman/listinfo/opencms-dev
<BR><BR>________________________________________________________________________
<BR>This e-mail has been scanned for all viruses by Star. The <BR>service is
powered by MessageLabs. For more information on a proactive <BR>anti-virus
service working around the clock, around the globe, visit:
<BR>http://www.star.net.uk
<BR>________________________________________________________________________
<BR>
<BR>
________________________________________________________________________<BR>
This e-mail has been scanned for all viruses by Star. The<BR>
service is powered by MessageLabs. For more information on a proactive<BR>
anti-virus service working around the clock, around the globe, visit:<BR>
http://www.star.net.uk<BR>
________________________________________________________________________<BR>
</BODY></HTML>