Hi Umesh,
Both you mentioned are same.
ModelDriven is best used to create new object if they do not exist.
So your getModel method must be
ProfileDTOModel md;
public ProfileDTOModel getModel()
{
if(md != null)// Or Some other condition as required by your model.
Typically check for Id
Hi All,
Have rarely used model driven interface and not sure about how exactly it
work.
Can any one point me what will be difference between
ProfileDTOModel md = new ProfileDTOModel();
publicProfileDTOModel getModel()
{
return md;
}
and
public ProfileDTOModel getMod
2 matches
Mail list logo