Re: Question about Model Driven Interface

2013-10-15 Thread Amol Ghotankar
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

Question about Model Driven Interface

2013-10-15 Thread Umesh Awasthi
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