You're
on! The beer fridge is stocked...
Thanks
for the help.
Joel McConaughy
Managing Partner
Displayware
800 Fifth Ave., #101-316
Seattle, WA 98104-3191
206-300-4732 Direct
206-382-2188
Fax
[EMAIL PROTECTED]
-----Original Message-----
From: Mark Lundquist [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 17, 2004 11:04 AM
To: [EMAIL PROTECTED]
Subject: Re: Hibernate, Woody and repeaters
On Apr 17, 2004, at 10:28 AM, Joel McConaughy wrote:
I think maybe we're getting to problem.
/smaller>/color>/fontfamily>
Definitely, I would say so... :-)
I haven't created a binding under the (probably mistaken) assumption that there is a default jxpath binding that maps the structure of the form definition file to a corresponding bean -- this binding runs for example when form.getModel() is called. So, I have been trying to use this default binding as is, substituting the bean created by hbm2java. In the form2bean sample, I can't even find a binding file. Do I need one?
/smaller>/color>/fontfamily>
Yep... can't do load()/save() without a binding. From the samples sitemap, here's the pipeline that invokes the form2bean controller:
<map:match pattern="form2bean.flow">
<map:call function="handleForm">
<map:parameter name="function" value="form2bean"/>
<map:parameter name="form-definition" value="forms/form2_model.xml"/>
<map:parameter name="bindingURI" value="forms/form2_bind_bean.xml"/>
</map:call>
</map:match>
/fontfamily>
The parameter "bindingURI" specifies the binding descriptor — so have a look-see in forms/form2_bind_bean.xml, and you'll be well on your way!
~mark
P.S. One gets so used to corresponding with people all over the world on these lists, so when I saw that you're in Seattle, it felt like we're practically neighbors (I'm in Portland)... "tell you what, forget the email, I'll hop on I-5 and come up and just come up and look at your code..." :-)
