-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Struts Dynaforms
PostPosted: Tue Jan 18, 2005 11:48 am 
Newbie

Joined: Fri Dec 03, 2004 4:41 pm
Posts: 15
Has anyone had any luck getting hibernate to work with dynaforms in struts? I've searched but seen no mention of that. That would allow us to go almost completely XML away from getter/setter time w/ automatic validations.

I'm willing to help make a plugin, extension to do this if other people want to lend comments, suggestions, or requests.

FYI: dynaforms are runtime form data holders instead of classes w/ data members

Steven


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 2:06 pm 
Regular
Regular

Joined: Tue Jun 22, 2004 8:01 pm
Posts: 106
Location: PowderTown, Utah, USA
Hibernate 3 has support for dynamic map-based beans. That 's probably the closest you'll get. I'm not sure that a DynaForm would be proxy-able in Hibernate. The kind of introspection the Struts BeanUtils does probably wouldn't work, but it'd be interesting to hear about any experiments you make. Perhaps you could do it using a custom Hibernate Interceptor? Dunno. Going out on a limb with that.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 2:18 pm 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
i use only pojo + dynavalidator forms where i put (most of the cases) only one property name="pojo" type="pojo class"

this is my root class, behind i can easily access all the network graph.

you'll need adaptaters

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.