<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=276062508-23102003>Hi
all,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276062508-23102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=276062508-23102003>While working on a
new Backoffice module I came across the problem of having a large number of
records and the fixed filters(the one's you don't need to give a parameter)
where to limited. In the news module you have the option to give a parameter.
How can I realize that?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276062508-23102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=276062508-23102003>In my
getFilterMethods methode I use the following code to incude the filter
methode.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276062508-23102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276062508-23102003>
filterMethods<BR>
.addElement(new
CmsFilterMethod(<BR>
"list Giving Result size and start ...",
<BR>
ContactContentDefinition<BR>
.class<BR>
.getMethod("getStartSizeContactList",
<BR> new
Class[] {Integer.class,
Integer.class}),<BR>
new Object[] {ListStart, ListSize},"30"));// 30 should be the default number of
records returned.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276062508-23102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=276062508-23102003>The function
declaration look's like this;</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276062508-23102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276062508-23102003>
public static Vector getStartSizeContactList(Integer StartContact, Integer Size
)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276062508-23102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276062508-23102003>Regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276062508-23102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276062508-23102003>Martijn</SPAN></FONT></DIV></BODY></HTML>