Re: NameService usage in wicket ?

2009-04-01 Thread FaRHaN
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 nino.martinez.w...@gmail.com wrote:

From: nino martinez wael nino.martinez.w...@gmail.com
Subject: Re: NameSpace usage in wicket ?
To: users@wicket.apache.org
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 farhan.ba...@ymail.com:
 Is there any way to use NameSpace in wicket applicatin ?
 Please reply...

 Regards,
 FaRHaN BaJWa.





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




  

Re: NameService usage in wicket ?

2009-04-01 Thread FaRHaN
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 nino.martinez.w...@gmail.com wrote:

From: nino martinez wael nino.martinez.w...@gmail.com
Subject: Re: NameService usage in wicket ?
To: users@wicket.apache.org
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 farhan.ba...@ymail.com:
 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 nino.martinez.w...@gmail.com wrote:

 From: nino martinez wael nino.martinez.w...@gmail.com
 Subject: Re: NameSpace usage in wicket ?
 To: users@wicket.apache.org
 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 farhan.ba...@ymail.com:
 Is there any way to use NameSpace in wicket applicatin ?
 Please reply...

 Regards,
 FaRHaN BaJWa.





 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




  

Re: NameService usage in wicket ?

2009-04-01 Thread nino martinez wael
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 farhan.ba...@ymail.com:
 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 nino.martinez.w...@gmail.com wrote:

 From: nino martinez wael nino.martinez.w...@gmail.com
 Subject: Re: NameSpace usage in wicket ?
 To: users@wicket.apache.org
 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 farhan.ba...@ymail.com:
 Is there any way to use NameSpace in wicket applicatin ?
 Please reply...

 Regards,
 FaRHaN BaJWa.





 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: NameService usage in wicket ?

2009-04-01 Thread nino martinez wael
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 farhan.ba...@ymail.com:
 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 nino.martinez.w...@gmail.com wrote:

 From: nino martinez wael nino.martinez.w...@gmail.com
 Subject: Re: NameService usage in wicket ?
 To: users@wicket.apache.org
 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 farhan.ba...@ymail.com:
 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 nino.martinez.w...@gmail.com wrote:

 From: nino martinez wael nino.martinez.w...@gmail.com
 Subject: Re: NameSpace usage in wicket ?
 To: users@wicket.apache.org
 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 farhan.ba...@ymail.com:
 Is there any way to use NameSpace in wicket applicatin ?
 Please reply...

 Regards,
 FaRHaN BaJWa.





 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org






 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org