Juno is highlighting my property references as invalid since I added a parameterised class.
public abstract class AbstractBaseAction<viewDataClass extends AbstractViewData>
protected viewDataClass viewData;
public viewDataClass getViewData(){
return viewData;
}
....
}
public class SomeAction extends AbstractBaseAction<SomeViewData>
{
public AbstractMaturingOptionsAction()
{
super(new SomeViewData());
}
@PostConstruct
public void setupViewData(){
....
}
....
}
public class SomeViewData extends AbstractViewData
String someProperty;
public String getSomeProperty(){
return someProperty;
}
....
}
....
property="#{SomeAction.viewData.someProperty}"
Juno is highlighting someProperty
"someProperty cannot be resolved as a member of viewData"
Is this worth investigating, or should I just code it another way?