Re: OpenEntityManagerInView and wicket dataview question

2008-03-28 Thread James Carman
Yes, I believe you need to have your OpenEntityManagerInViewFilter
before WicketFilter (or use WicketServlet).  If WicketFilter decides
that the current request is its to take care of, it shouldn't be
forwarding to the rest of the chain.  Therefore, the
OpenEntityManagerInViewFilter won't get a chance to do anything.

On Fri, Mar 28, 2008 at 11:12 PM, Christopher Lyth
<[EMAIL PROTECTED]> wrote:
> I think i got it im sorry I found another post that talked about the order
>  of the filters in web.xml  I came across it a couple days ago and
>  thought i already tried that... It seems to be working now thank you for the
>  response.
>
>
>
>  On Fri, Mar 28, 2008 at 11:09 PM, Christopher Lyth <
>  [EMAIL PROTECTED]> wrote:
>
>  > Here is a link to my other post:
>  >
>  > 
> http://www.nabble.com/Re%3A-Lazy-load-exception-wicket-and-hibernate-p16361116.html
>  >
>  > I am using a LoadableDetachableModel
>  >
>  >
>  >
>  > On Fri, Mar 28, 2008 at 10:57 PM, James Carman <[EMAIL PROTECTED]>
>  > wrote:
>  >
>  > > What kind of model are you using?  Do you have some code you could
>  > > share?
>  > >
>  > > On Fri, Mar 28, 2008 at 10:53 PM, cjlyth <[EMAIL PROTECTED]> wrote:
>  > > >
>  > > >  I posted a reply to another post this afternoon expanding on a
>  > > question the
>  > > >  OP had about openEntityManagerInView. I want to ask in a different
>  > > thread
>  > > >  and a different way.
>  > > >
>  > > >  I have a page that displays a ListOwner object. The ListOwner has a
>  > > >  collection of lazy loaded ListEntry objects. I can NOT get the lazy
>  > > loaded
>  > > >  objects to display. I have added an OpenEntityManagerInView filter to
>  > > the
>  > > >  web app and it seems to be correct but the list will still not load.
>  > > >
>  > > >  I am injecting my service beans into the wicket page using the
>  > > SpringBean
>  > > >  annotation.
>  > > >
>  > > >  I have been researching this extensively over the past few days but i
>  > > keep
>  > > >  coming up with the same things.
>  > > >
>  > > >  At least I would like to know if I can do this, it seems like a
>  > > simple and
>  > > >  common problem. Is it possible to display an object with a lazy
>  > > loaded
>  > > >  collection of objects in a dataview using OpenEntityManagerInView?
>  > > >
>  > > >  Thanks
>  > > >  --
>  > > >  View this message in context:
>  > > 
> http://www.nabble.com/OpenEntityManagerInView-and-wicket-dataview-question-tp16366054p16366054.html
>  > > >  Sent from the Wicket - User mailing list archive at Nabble.com.
>  > > >
>  > > >
>  > > >  -
>  > > >  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]
>  > >
>  > >
>  >
>  >
>  > --
>  > Christopher J Lyth
>  > [EMAIL PROTECTED]
>
>
>
>
>  --
>  Christopher J Lyth
>  [EMAIL PROTECTED]
>

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



Re: OpenEntityManagerInView and wicket dataview question

2008-03-28 Thread Christopher Lyth
I think i got it im sorry I found another post that talked about the order
of the filters in web.xml  I came across it a couple days ago and
thought i already tried that... It seems to be working now thank you for the
response.

On Fri, Mar 28, 2008 at 11:09 PM, Christopher Lyth <
[EMAIL PROTECTED]> wrote:

> Here is a link to my other post:
>
> http://www.nabble.com/Re%3A-Lazy-load-exception-wicket-and-hibernate-p16361116.html
>
> I am using a LoadableDetachableModel
>
>
>
> On Fri, Mar 28, 2008 at 10:57 PM, James Carman <[EMAIL PROTECTED]>
> wrote:
>
> > What kind of model are you using?  Do you have some code you could
> > share?
> >
> > On Fri, Mar 28, 2008 at 10:53 PM, cjlyth <[EMAIL PROTECTED]> wrote:
> > >
> > >  I posted a reply to another post this afternoon expanding on a
> > question the
> > >  OP had about openEntityManagerInView. I want to ask in a different
> > thread
> > >  and a different way.
> > >
> > >  I have a page that displays a ListOwner object. The ListOwner has a
> > >  collection of lazy loaded ListEntry objects. I can NOT get the lazy
> > loaded
> > >  objects to display. I have added an OpenEntityManagerInView filter to
> > the
> > >  web app and it seems to be correct but the list will still not load.
> > >
> > >  I am injecting my service beans into the wicket page using the
> > SpringBean
> > >  annotation.
> > >
> > >  I have been researching this extensively over the past few days but i
> > keep
> > >  coming up with the same things.
> > >
> > >  At least I would like to know if I can do this, it seems like a
> > simple and
> > >  common problem. Is it possible to display an object with a lazy
> > loaded
> > >  collection of objects in a dataview using OpenEntityManagerInView?
> > >
> > >  Thanks
> > >  --
> > >  View this message in context:
> > http://www.nabble.com/OpenEntityManagerInView-and-wicket-dataview-question-tp16366054p16366054.html
> > >  Sent from the Wicket - User mailing list archive at Nabble.com.
> > >
> > >
> > >  -
> > >  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]
> >
> >
>
>
> --
> Christopher J Lyth
> [EMAIL PROTECTED]




-- 
Christopher J Lyth
[EMAIL PROTECTED]


Re: OpenEntityManagerInView and wicket dataview question

2008-03-28 Thread Christopher Lyth
Here is a link to my other post:
http://www.nabble.com/Re%3A-Lazy-load-exception-wicket-and-hibernate-p16361116.html

I am using a LoadableDetachableModel


On Fri, Mar 28, 2008 at 10:57 PM, James Carman <[EMAIL PROTECTED]>
wrote:

> What kind of model are you using?  Do you have some code you could share?
>
> On Fri, Mar 28, 2008 at 10:53 PM, cjlyth <[EMAIL PROTECTED]> wrote:
> >
> >  I posted a reply to another post this afternoon expanding on a question
> the
> >  OP had about openEntityManagerInView. I want to ask in a different
> thread
> >  and a different way.
> >
> >  I have a page that displays a ListOwner object. The ListOwner has a
> >  collection of lazy loaded ListEntry objects. I can NOT get the lazy
> loaded
> >  objects to display. I have added an OpenEntityManagerInView filter to
> the
> >  web app and it seems to be correct but the list will still not load.
> >
> >  I am injecting my service beans into the wicket page using the
> SpringBean
> >  annotation.
> >
> >  I have been researching this extensively over the past few days but i
> keep
> >  coming up with the same things.
> >
> >  At least I would like to know if I can do this, it seems like a simple
> and
> >  common problem. Is it possible to display an object with a lazy loaded
> >  collection of objects in a dataview using OpenEntityManagerInView?
> >
> >  Thanks
> >  --
> >  View this message in context:
> http://www.nabble.com/OpenEntityManagerInView-and-wicket-dataview-question-tp16366054p16366054.html
> >  Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> >  -
> >  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]
>
>


-- 
Christopher J Lyth
[EMAIL PROTECTED]


Re: OpenEntityManagerInView and wicket dataview question

2008-03-28 Thread James Carman
What kind of model are you using?  Do you have some code you could share?

On Fri, Mar 28, 2008 at 10:53 PM, cjlyth <[EMAIL PROTECTED]> wrote:
>
>  I posted a reply to another post this afternoon expanding on a question the
>  OP had about openEntityManagerInView. I want to ask in a different thread
>  and a different way.
>
>  I have a page that displays a ListOwner object. The ListOwner has a
>  collection of lazy loaded ListEntry objects. I can NOT get the lazy loaded
>  objects to display. I have added an OpenEntityManagerInView filter to the
>  web app and it seems to be correct but the list will still not load.
>
>  I am injecting my service beans into the wicket page using the SpringBean
>  annotation.
>
>  I have been researching this extensively over the past few days but i keep
>  coming up with the same things.
>
>  At least I would like to know if I can do this, it seems like a simple and
>  common problem. Is it possible to display an object with a lazy loaded
>  collection of objects in a dataview using OpenEntityManagerInView?
>
>  Thanks
>  --
>  View this message in context: 
> http://www.nabble.com/OpenEntityManagerInView-and-wicket-dataview-question-tp16366054p16366054.html
>  Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
>  -
>  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]



OpenEntityManagerInView and wicket dataview question

2008-03-28 Thread cjlyth

I posted a reply to another post this afternoon expanding on a question the
OP had about openEntityManagerInView. I want to ask in a different thread
and a different way.

I have a page that displays a ListOwner object. The ListOwner has a
collection of lazy loaded ListEntry objects. I can NOT get the lazy loaded
objects to display. I have added an OpenEntityManagerInView filter to the
web app and it seems to be correct but the list will still not load. 

I am injecting my service beans into the wicket page using the SpringBean
annotation. 

I have been researching this extensively over the past few days but i keep
coming up with the same things. 

At least I would like to know if I can do this, it seems like a simple and
common problem. Is it possible to display an object with a lazy loaded
collection of objects in a dataview using OpenEntityManagerInView?

Thanks
-- 
View this message in context: 
http://www.nabble.com/OpenEntityManagerInView-and-wicket-dataview-question-tp16366054p16366054.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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