tks I just find the miss,I use a load(bean) in widget but don't apply any binding because load(bean) is not necessary,so I remove it and ok.
Best Regards Johnson ----- Original Message ----- From: "Joerg Heinicke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 28, 2004 6:13 AM Subject: Re: using ODMG in Form definition > On 27.05.2004 03:08, Johnson wrote: > > > Hi! > > > > I'm using ODMG to retrieve postgreSQL data, > > If I wrote the retrieve code in flow to retrieve data,it's ok. > > But I wrote the code into the widget on-value-changed,the system become > > unstable. > > it always show can't open the database com...... > > sometimes it's ok,but If I open another browser,the other browser can't open > > any database. > > can't I put the code to widget,if not how to achieve the same purpose. > > I can only suggest to cleanly separate the form stuff from the > persistence stuff. Better bind your forms to beans and persist them in a > separate step: > http://cocoon.apache.org/2.1/userdocs/forms/binding.html > There are also some samples coming with Cocoon. > > Joerg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]