Return-Path: Delivered-To: apmail-roller-user-archive@www.apache.org Received: (qmail 40940 invoked from network); 4 Mar 2009 16:47:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2009 16:47:39 -0000 Received: (qmail 2497 invoked by uid 500); 4 Mar 2009 16:47:39 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 2355 invoked by uid 500); 4 Mar 2009 16:47:38 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 2344 invoked by uid 99); 4 Mar 2009 16:47:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 08:47:38 -0800 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.176.201.22] (HELO mailhost3.uk.fujitsu.com) (194.176.201.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 16:47:29 +0000 Received: from evs03b.fujitsu.local (evs03b.fujitsu.local [172.18.193.223]) by mailhost3.uk.fujitsu.com (8.13.6/8.13.6) with SMTP id n24GlEi3003056 for ; Wed, 4 Mar 2009 16:47:14 GMT Received: from (172.19.193.236) by evs03b.fujitsu.local via smtp id 4a6a_1d69468c_08dc_11de_9eed_0030482aabfb; Wed, 04 Mar 2009 16:47:14 +0000 Received: from EUROPEM017.europe.fs.fujitsu.com (europem017.europe.fs.fujitsu.com [172.19.203.20]) by imr03a.uk.fujitsu.com (8.13.4/8.13.4) with ESMTP id n24GlDqu011084 for ; Wed, 4 Mar 2009 16:47:14 GMT Received: from EUROPEV004.europe.fs.fujitsu.com ([172.19.205.19]) by EUROPEM017.europe.fs.fujitsu.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 4 Mar 2009 16:47:13 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C99CE8.DD765731" Subject: custom java class not found when searching a weblog Date: Wed, 4 Mar 2009 16:47:15 -0000 Message-ID: <43DC6C643A22184C9CA15E6C1B5869EA02162FF8@EUROPEV004.europe.fs.fujitsu.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: custom java class not found when searching a weblog Thread-Index: Acmc6N+8XSX436urTQmWWdGGtsf6Kg== From: "Mullan Colm" To: X-OriginalArrivalTime: 04 Mar 2009 16:47:13.0419 (UTC) FILETIME=[DE63ADB0:01C99CE8] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C99CE8.DD765731 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi, =20 I have added a new custom java class to obtain file-paths, as below: and updated the template code to use the new model name to return the new paths - this which works fine. (But not when searching) =20 Updated roller-custom.properties file: Ie. FooPathModel rendering.pageModels=3D\ org.apache.roller.ui.rendering.model.PageModel,\ org.apache.roller.ui.rendering.model.FooPathModel,\ =20 However the path is not found when I do a search. I then added the new custom class to rendering.searchModels as below: =20 # Set of models to be made available for weblog search rendering rendering.searchModels=3D\ org.apache.roller.ui.rendering.model.SearchResultsModel,\ org.apache.roller.ui.rendering.model.FooPathModel=20 =20 But this causes a Classnotfound exception. How can my new class be available when I do a search also?=20 =20 Any Help on this is greatly appreciated. Thanks Colm =20 ------_=_NextPart_001_01C99CE8.DD765731--