Re: Multiple Submit Buttons problem in Struts2

2011-01-02 Thread Dave Newton
Hmm, that looks like it might work ;) Your technique also avoids having to code the behavior into the action itself, decoupling things even more cleanly. (Another foot down the rabbit hole: "customer" namespace, so bits of CRUD can be reused across underlying models. I do both, and honestly, I'm

Re: Precedence

2011-01-02 Thread stanlick
Do you need to write the method called super()? I Couldn't resist S On Thu, Dec 30, 2010 at 4:29 PM, Dave Newton wrote: > So, what might happen if you called it (super()) in validate()? > > I mean, I apologize for not just outright telling you, but I really like it > when people puzzle through

Re: Multiple Submit Buttons problem in Struts2

2011-01-02 Thread stanlick
How about something like this? Scott On Sat, Jan 1, 2011 at 8:53 AM, aum strut wrote: > Hi All, > > Trying to work with multiple submit buttons within a single form in struts2 > application but not able to work. here is the jsp code i am using > > >

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