Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2011-01-02 Thread joeradtke
I have solved the persistence problem. Change EntityManager.persist(event) to EntityManager.merge(event) raxden2 wrote: > > HI! i had the same problem, but I have another problem: > > When i push the button for save Event... throws this exception: > > excepción > > javax.servle

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2009-12-04 Thread VipKumar
Hi All, I got the issue resolved using the Model partialEvent true

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2008-04-28 Thread Jim Kiley
Are you using the OpenSessionInViewFilter? If you aren't, you'll want to. If you are doing that already, you may be trying to persist when you should merge. If you're using Hibernate's API directly, take advantage of Hibernate's saveOrUpdate() method, rather than the JPA merge()/persiste() metho

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2008-04-28 Thread raxden2
HI! i had the same problem, but I have another problem: When i push the button for save Event... throws this exception: excepción javax.servlet.ServletException: javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: com.fdar.apress.

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2008-03-05 Thread Ian Roughley
I'm not sure, and I'm only taking an educated guess at it being OS/platform-dependent (since a JAR that worked for me had problems for another user). Unfortunately I can't reproduce the error. I'm all for doing the work to fix the problem if someone has the problem and cycles to work through

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2008-03-05 Thread Dave Newton
--- Ian Roughley <[EMAIL PROTECTED]> wrote: > The solution provided to me was to change the scope interceptor > reference to use a session value of "Model" rather than "model" - see > below. > > > Model > partialEvent > Hmm, why does that fix it? If it's an OS-dependent issue we sh

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2008-03-05 Thread Ian Roughley
There have been cases (unfortunately not with myself or the tech reviewer, otherwise it would have been corrected) when the same error message (No object in the CompoundRoot has a publicly accessible property named 'model' (no setter could be found). - [unknown location]) has been displayed. I

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2008-03-05 Thread guillermodl
Im having 1 little problems with Practical Apache Struts2 Web 2.0 Projects examples The first one is that even EntityManager do not persist when submiting the contestants says "detached persist", I have solved it using entityMgr.merge(event); instead of entityMgr.persist(event); the second is a pr

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2008-01-13 Thread sharpguy
Great work, Keep it up. I have just started with will post a review when I am done. Thanks Ian Roughley wrote: > > I'm pleased to announce the release of my newest book, "Practical Apache > Struts2 Web 2.0 project". And, no, I didn't pick the name :-) > > Where "Starting Struts2" was high le

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-27 Thread Dave Newton
l Message - > From: "MassimoH" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, November 27, 2007 4:18 PM > Subject: Re: [ANN] Practical Apache Struts2 Web 2.0 > Projects > > > > > > My copy arrived in the mail over the weekend after > having it on

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-27 Thread Martin Gainty
Massimo can you tell us the ISBN? thx M-- - Original Message - From: "MassimoH" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 27, 2007 4:18 PM Subject: Re: [ANN] Practical Apache Struts2 Web 2.0 Projects > > My copy arrived in the mail over the weekend after

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-27 Thread MassimoH
My copy arrived in the mail over the weekend after having it on pre-order for months. So far, so good! Great job! Ian Roughley wrote: > > I'm pleased to announce the release of my newest book, "Practical Apache > Struts2 Web 2.0 project". And, no, I didn't pick the name :-) > -- View this

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-24 Thread Ian Roughley
Sure: * ISBN10: 1-59059-903-9 * ISBN13: 978-1-59059-903-7 I'm also going to try to see if the publisher will release a different chapter as the example, I just noticed that they have used the first one - which is more of an introduction, and not a good example of what the rest of the bo

RE: [ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-24 Thread Martin Gainty
Ian- If you provide the ISBN some of us can do a quick search at local bookstoreThanks/Martin__Disclaimer and confidentiality noteEverything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confi

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-24 Thread Ian Roughley
No idea. I can check though. /Ian -- Ian Roughley From Down & Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] Ted Husted wrote: Amazon is showing the book as available now! If you order through this link, t

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-21 Thread Ted Husted
Amazon is showing the book as available now! If you order through this link, the commission on the sale will be donated to the ASF. * http://opensource.atlassian.com/confluence/oss/display/BOOKS/ISBN-1590599039 Ian, any word on whether Apress will be making their books available for the Kindle

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-20 Thread Musachy Barroso
yeah, kudos to Ian. I should try writing one so I could have a fancy signature ;) musachy On Nov 20, 2007 2:04 PM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Congratulations Ian! I know how it feels to finally finish such an > undertaking and see the end result. Kudos! > > I'm sure it's a f

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-20 Thread Frank W. Zammetti
Congratulations Ian! I know how it feels to finally finish such an undertaking and see the end result. Kudos! I'm sure it's a fantastic book too (wink-wink). Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [