E: Struts 2 CRUD Question
--- On Thu, 10/9/08, Gawain Hammond wrote:
> Does struts create a new object for every submit? And under
> what circumstance would it not?
Actions are created per-request, thus action variables are as well.
Options include retrieving a session object manually, using
Sc
Bizzare, I'm having the exact opposite problem (my problem is the
solution you want).
Similar setup, and when I view the object's data in a form then submit
it, struts uses the exact same object instance to then submit the form.
So if I try to clear any fields (effectively null them), for a cleare
I'm trying to use autocompleter with struts 2.1.2 to replace a select
drop down with too many options, but on submission it seem autocompleter
submits the listValue rather than the listKey. (The same params work
fine with , I've had this same issue since 2.0.11.x)
My jsp:
Html Output:
Gr
Right, that has been an interesting romp around in struts.
Jeromy, thanks for pointing me in the right direction and making me
think. I went back to basics, bit the bullet and improved my javascript
jedi abilities by installing firebug. That has really helped.
If this might help anyone else one d
ECTED]
Sent: 10 September 2008 13:00
To: Struts Users Mailing List
Subject: Re: ajax validation issue
Gawain Hammond wrote:
> A really nice solution so far has been to an action tag to populate
> forms, which has worked nicely the rest of the time. I've really liked
> using this
[EMAIL PROTECTED]
Sent: 10 September 2008 01:19
To: Struts Users Mailing List
Subject: Re: ajax validation issue
Gawain Hammond wrote:
>
> ...
>
That's a lot of problems, and to work-around each problem you've moved
to a more sophisticated and complicated solution hoping
I've started using struts 2.1.2 as I was having some issues after
enabling client side javascript validation on forms (some page requests
hang, and clicking back takes you to the page you're supposed to be on).
I decided to use client side validation to avoid the problems of
populating form
Thanks very much for your reply.
The problem with this type of work around is that it completely messes up my
fiendish master plan. If it wasn't for those pesky objects with null values! :-P
You see, I've probably been a bit too clever for my own good, and for the first
time I've created a sing
Hi,
I have tried to RTFM as much as possible but I can't work out how I
might solve this issue, and was hoping someone could point me in the
right direction. I've tried quite a few possible different options but
I'm now running out of ideas.
I'm using a select tag in a User form to set the User's
9 matches
Mail list logo