Re: [Stripes-users] Can we confirm Stripes Book will focus on v1.5 feature set?

2008-08-01 Thread Freddy D .
Hi David, You are right, I should have made it clearer that the Stripes book indeed covers version 1.5. I indicated that in the sell sheet, but somehow that bullet didn't make it to the Pragmatic Programmer's site. Nevertheless I could have said that on stripesbook.com. Right now the only place

Re: [Stripes-users] Can we confirm Stripes Book will focus on v1.5 feature set?

2008-08-01 Thread David G Friedman
Freddy, Now all we'll need is a visit to the Boston JUG so I can get it signed. Then I can put it next to my Struts, JSF and Webwork books though this one I'd be referencing these days. :) Regards, David Freddy D. wrote: Hi David, You are right, I should have made it clearer that the

Re: [Stripes-users] Can we confirm Stripes Book will focus on v1.5 feature set?

2008-08-01 Thread Freddy D .
David, Thanks for your understanding. I hope you enjoy the book! By the way, the beta-book on http://www.pragprog.com/titles/fdstr now includes all 15 chapters. As for a trip to Boston, that'd be awesome. Who knows, maybe the opportunity will present itself. Cheers, Freddy - - Freddy, - -

Re: [Stripes-users] Can we confirm Stripes Book will focus on v1.5 feature set?

2008-08-01 Thread Gregg Bolinger
David, Tim and Chris (Herron) are both in the Boston area. I live in KC but am working for a client in the Boston area. Next time I am in town we should all try and get together. I met with Tim and Chris during one trip. We had a good time. Gregg David G Friedman wrote: Freddy, Now all

Re: [Stripes-users] Can we confirm Stripes Book will focus on v1.5 feature set?

2008-08-01 Thread Freddy D .
Boston has the champion Red Sox, Celtics, Patriots, and the Stripes framework creator. What's not to like? :-) - David, Tim and Chris (Herron) are both in the Boston area. I live in KC - but am working for a client in the Boston area. Next time I am in town - we should all try and get together.

[Stripes-users] Stripersist and dropdown menu / lazy loading

2008-08-01 Thread Lionel
Hi, I get this Exception when I initialise a dropdown with a Proxied entity. ERROR EntityFormatter: 150 - The object passed in was not annotated with @Entity or @MappedSuperclass! java.lang.NullPointerException at

Re: [Stripes-users] Stripersist and dropdown menu / lazy loading

2008-08-01 Thread Lionel
Aaron Porter wrote: Hi Lionel, We'll probably need more than that to go on. Can you paste in some code? Here is what I to in a Filter before chaining the request to Stripersist: User user= (User)httpSession.getAttribute(user); if(user==null){

Re: [Stripes-users] Stripersist and dropdown menu / lazy loading

2008-08-01 Thread Lionel
Lionel wrote: User user= (User)httpSession.getAttribute(user); if(user==null){ forgot: user = userDao.findById(principal.getName()); user.setUserNbConnect(user.getUserNbConnect()+1); } I need the user on each request for visibility filters and to display its name. I don't want to load

Re: [Stripes-users] Stripersist and dropdown menu / lazy loading

2008-08-01 Thread Aaron Porter
Sounds like I need to dust of the old deproxify code that Remi wrote for Stripernate and stick it into Stripersist. OK. I've updated SVN. Give that a shot and let me know if it works. Aaron Lionel wrote: Aaron Porter wrote: Hi Lionel, We'll probably need more than that to go on. Can you

Re: [Stripes-users] Stripersist and dropdown menu / lazy loading

2008-08-01 Thread Aaron Porter
The problem with sticking entities in the HttpSession is they get detached when the request ends. If you're trying to do lazy loading after they're detached it won't work. What I do now is stick the id in the session instead of the entity then I have a getUser() either in a base ActionBean or

Re: [Stripes-users] ActionBeanContext and MockRoundtrip]

2008-08-01 Thread Karsten Strunk
Ok, I got around the exception. The problem was that MockServletContext was created everytime. Since there's only a single instance the exception is gone. But there's still my origin problem. The ActionBeanContext is always empty in my tested ActionBeans. Here's what I'm trying in my test:

Re: [Stripes-users] ActionBeanContext and MockRoundtrip]

2008-08-01 Thread Freddy D .
Hi Karsten, - Bean2 relies on information set in ActionBeanContext by Bean1. Since the - ActionBeanContext is empty the test fails. - Has anybody an idea what's going wrong? Are you using a custom subclass of ActionBeanContext? If so, can you paste the source? Either way, can you paste the code