• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Advantage of using ModelDriven interface over Domain Object?

 
Ranch Hand
Posts: 72
Hibernate Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

I have a doubt regarding ModelDriven interface and Domain Object concepts in Struts2.
Is there any perticular advantage of using ModelDriven interface over Domain Object?
I have been developing one simple application, where i encountered the following issue:
I have doubleselect tag in my form which has been populated by Action class, i used Domain Object concept in my Action class. When i write

it is working fine (Though i'm using Domain Object)

when i try to refer this property as follows :
(user is my Domain Object)

The <s:doubleselect> is not working as expected.

I Have had most of my doubts clarified in JavaRanch, hope the same on this.

Thanks in advance.
 
Stop it! You're embarassing me! And you are embarrassing this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic