What is the stacktrace when group is null?
On 29/04/2009, HHB wrote:
> Hey,
> I'm trying to employ DataTable in our application.
> *
> public class SortableContactDataProvider
> extends SortableDataProvider {
>
> @SpringBean
> private Service service;
>
> p
Short answer, group is set but the list are null?
2009/4/29 nino martinez wael :
> Hmm I have something similar, though not getting npe (from 1.3 project) :
>
>
>
> /**
> *
> *
> */
> public class SortableSearchDataProvider extends SortableDataProvider {
>
> private SearchParameters sear
Hmm I have something similar, though not getting npe (from 1.3 project) :
/**
*
*
*/
public class SortableSearchDataProvider extends SortableDataProvider {
private SearchParameters searchParameters;
/**
* constructor
*/
public SortableSearchDataProvi
Actually, thats what I'm doing (you can check my code).
The NPE is regarding the Group object instance, not Spring bean.
Willis Blackburn wrote:
>
> Hi,
>
> The @SpringBean annotation is only resolved by Component and its
> subclasses. (Actually it's resolved by SpringComponentInjector--but
Hi,
The @SpringBean annotation is only resolved by Component and its
subclasses. (Actually it's resolved by SpringComponentInjector--but
that only works with components.)
You can call InjectorHolder.getInjector().inject(whatever) to resolve
@SpringBean annotations in the whatever object.
Hey,
I'm trying to employ DataTable in our application.
*
public class SortableContactDataProvider
extends SortableDataProvider {
@SpringBean
private Service service;
private Group group;
public SortableContactDataProvider(Group group) {
if (g