cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnson" <john...@soho.club.tw>
Subject Re: using ODMG in Form definition
Date Fri, 28 May 2004 00:14:03 GMT
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" <joerg.heinicke@gmx.de>
To: <users@cocoon.apache.org>
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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message