Thats not a problem with wicket I think? Im not sure how you've implemented the nameservice (usually you do that with static methods), but I'd use IOC instead, it avoids some of the anti patterns you get into when doing the servicelocator pattern or the factory pattern..
regards Nino 2009/4/1 FaRHaN <[email protected]>: > when i access NameService methods such as NameService service = > NameService.(dot) the intellisense only shows class rather than all methods > of NameService. Is there anything missing ? > Thanx again... > > --- On Wed, 4/1/09, nino martinez wael <[email protected]> wrote: > > From: nino martinez wael <[email protected]> > Subject: Re: NameService usage in wicket ? > To: [email protected] > Date: Wednesday, April 1, 2009, 9:27 AM > > This should not be a problem.. Im not sure why you get that problem? > Why is it not accessible from you wicket application, it's not > different from any other app. Now there might be something with an > application context. > > 2009/4/1 FaRHaN <[email protected]>: >> Sorry, it was NameService instead of NameSpace. >> I want to use NameService for finding (extracting) values stored in an array. >> >> For Example, i want to use: >> List names = new ArrayList(); >> names.add("Abe"); >> names.add("Abel"); >> String prefix = request.getParameter("name"); >> NameService service = NameService.getInstance(names); >> List matching = service.findNames(prefix); >> >> but getInstance() method of NameService not being eccessible in java class >> of wicket appplication. >> >> Thanks, >> FaRHaN. >> >> --- On Wed, 4/1/09, nino martinez wael <[email protected]> wrote: >> >> From: nino martinez wael <[email protected]> >> Subject: Re: NameSpace usage in wicket ? >> To: [email protected] >> Date: Wednesday, April 1, 2009, 8:34 AM >> >> Can you be more descriptive? >> >> Are you thinking of Javascripts name spaces? You can look at the >> openlayers integration on wicketstuff if so. >> >> 2009/4/1 FaRHaN <[email protected]>: >>> Is there any way to use NameSpace in wicket applicatin ? >>> Please reply... >>> >>> Regards, >>> FaRHaN BaJWa. >>> >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
