I've used Struts with Torque (a subset of Turbine which allows to generate
an object model that maps to a relational database) and I've found that the
two worked quite nicely together.  The beans generated for the object model
are compatible with Struts with little or no effort.  However, I found that
primary and foreign keys (NumberKey) are not easy to convert for form beans.
For this purpose I decided to use a PropertyEditor.  However PropertyUtils
doesn't support PropertyEditor correctly, so I had to fix my own version of
PropertyUtils.  Once this was done, it was much simpler to convert
NumberKeys back and forth from Strings.

Let me know if you need help with this particular aspect.

HTH

-- Mathieu

-----Original Message-----
From: Hai Hoang [mailto:[EMAIL PROTECTED]]
Sent: February 22, 2002 12:40 PM
To: [EMAIL PROTECTED]
Subject: Struts & Turbine


Have any of you out there using Struts & Turbine
framework together? Can share the experience with us?

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to