I have Tomcat running in Eclipse and can debug my own Java classes, that's
no problem at all. Thanks for the suggestion though. :-D
It seems I don't even get to the DAO class. :-(

I have tried to debug the fluscript, but see that I don't even get into the
DAO class. Aparently when I instatiate the DAO class it appears to be
"undefined". Now I'm totally baffled as I see no reason what so ever why
this could be.
The class can certainly be found. It's in the classes directory in the same
package as my bean, which is fuond without any problem. Eclipse compiles teh
DAO class without any errors. :-/

What is are the possible reasons for flowscript to have an "undefined" when
instatiating a class (creating a variable out of the Package)?
This is the line of code I use in the flow:
var dao = new Packages.be.bvar.admin.links.LinksDAO();



Thanks,

Bert



----- Original Message ----- 
From: "Antonio Gallardo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 21, 2004 11:16 AM
Subject: Re: building Collection from JDO problems


> Bert Van Kets dijo:
> >>
> >> Hmm. I think it is not a good idea to have a list as a bean in the
> >> repository.xml. My approach is similar as yours but in the
> >> repository.xml
> >> there are beans not lists of beans.
> >>
> >
> > Sorry for the confusion.
> > I meant that I created a class called Link containing integers and
strings
> > to fill the Collection in the bean called LinksBean. I don't see what's
> > wrong with this approach. After all, this is how it's done in several
> > samples. The only thing I am trying to do here is to fill the bean using
> > ojb.
> >
> > Right now, I'm trying to get Rhino Debugger running so that I can have a
> > peak in the instantiation of the objects in the Flow.
>
> You can also use eclipse.org to debug your Cocoon servlet:
>
> http://wiki.cocoondev.org/Wiki.jsp?page=DebuggingCocoon
>
> It would help inside the Java DAO class. Remember to put a breakpoint
> inside the DAO class.
>
> Best Regards,
>
> Antonio Gallardo.
>
> ---------------------------------------------------------------------
> 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]

Reply via email to