[s2] select tag not setting parameter

2007-10-08 Thread Kevin Wade
I'm having difficulty with a struts 2 form (jsp) that includes the use of a select tag. In short, I can't seem to get the select tag to set the parameter when submitted. Here's the scenario. My form (for searching by last name, first name, and "county" fields) looks like this:

Re: [s2] select tag not setting parameter

2007-10-12 Thread Kevin Wade
Bump. Any one have any ideas at all? I'm sure I'm just doing something incorrect w/ the select tag but just can't see it. Kevin On Oct 8, 2007, at 4:59 PM, Kevin Wade wrote: I'm having difficulty with a struts 2 form (jsp) that includes the use of a select tag. In sh

Re: [s2] select tag not setting parameter

2007-10-12 Thread Kevin Wade
Newton wrote: What's being sent on the wire? (Like, is there a "search.county" param being sent, etc.) d. --- Kevin Wade <[EMAIL PROTECTED]> wrote: Bump. Any one have any ideas at all? I'm sure I'm just doing something incorrect w/ the select tag but just can'

Re: [s2] select tag not setting parameter

2007-10-15 Thread Kevin Wade
e counties name list you are looking in the drop-down box? On 10/12/07, Kevin Wade <[EMAIL PROTECTED]> wrote: According to my sniffer, what's sent on the wire looks like this: lastName=smith&firstName=john&county= which makes sense since the logging output of stru

Getting values from iterated objects

2007-11-16 Thread Kevin Wade
I'm having a problem with iterators and getting value updates. I've searched the mailing list for hours but I can't seem to hit on a solution. Perhaps I'm searching for the wrong thing. Any insights would be helpful. It seems like it ought to be easy. Let's say I have an object in my ac

Re: Getting values from iterated objects

2007-11-17 Thread Kevin Wade
Thanks for the tip, Dave. However, it's not working for me. I think the problem may be that the "author" objects that I'm iterating over is a Set, not a List. (These objects are pojos hydrated by hibernate). I might be wrong, but I didn't think Sets are indexable like Lists. No? I sup

Basic validation, input, and redirects

2008-01-02 Thread Kevin Wade
Greetings. I've seen a number of posts about this issue -- or related issues -- but no comprehensive solution. I'll try again and be succinct: I have an action (Action1) that prepares a search screen (i.e. populates a drop-down box). The search screen/form calls Action2 but has a Actio

Re: Basic validation, input, and redirects

2008-01-02 Thread Kevin Wade
mission is not erasing the OLD validation errors. I need a way to remove the old errors after they are displayed. Anyone have any ideas on that too? Thanks as always, Kevin On Jan 2, 2008, at Wednesday, January 2, 2008 - 4:35 PM, Laurie Harper wrote: Kevin Wade wrote: Greetings. I

[S2] Validation message truncated

2009-02-23 Thread Kevin Wade
I've just upgraded to 2.0.14 (from 2.0.11) in the hopes that it would solve a problem where validation messages are being truncated. I have a -validation.xml with 26 fields, each field having at least one field-validator. The validation works fine on all fields except there is always one

[s2] generator & iterator tags

2007-09-21 Thread Kevin Wade
Greetings all. I am having difficulty crafting an struts 2 iterator using the generator tag. I want to iterate over a set of string values and then test against the current one in the loop. Something like this: id="myAttr">

Re: [s2] generator & iterator tags

2007-09-21 Thread Kevin Wade
n On Sep 21, 2007, at 11:58 AM, Dave Newton wrote: --- Kevin Wade <[EMAIL PROTECTED]> wrote: value="#attr.myAttr.next"/> < want to test groupname here, etc... > I'm not sure why you're using at all since you could over an immediate list.

[s2] conversion validator and repopulateField

2008-04-02 Thread Kevin Wade
Hello. I am having a problem getting "repopulateField" to work. In short, I have added date validation to one of my actions. In my validation xml file, I have this: true Date of Review entered is not a valid date.

Re: [s2] conversion validator and repopulateField

2008-04-02 Thread Kevin Wade
ield directly. Kevin On Apr 2, 2008, at Wednesday, April 2, 2008 - 5:02 PM, Kevin Wade wrote: Hello. I am having a problem getting "repopulateField" to work. In short, I have added date validation to one of my actions. In my validation xml file, I have this:

[s2] getting checkbox values in nested iterator tags

2008-08-07 Thread Kevin Wade
This is probably simple and I think I'm close, but I can't quite get it to work: the proper ognl expression to use to get the value of a checkbox w/in nested iterator tags. I've got an ArrayList of Parent objects called parentList. Each Parent object contains another array of Child object

Re: [s2] getting checkbox values in nested iterator tags

2008-08-07 Thread Kevin Wade
you write a getSelected() getter? or is it an isSelected() getter? 2008/8/7, Kevin Wade <[EMAIL PROTECTED]>: This is probably simple and I think I'm close, but I can't quite get it to work: the proper ognl expression to use to get the value of a checkbox w/in nested iterator ta

Re: [s2] getting checkbox values in nested iterator tags

2008-08-07 Thread Kevin Wade
Chris Farley: "stupid! stupid! stupid!" On Aug 7, 2008, at Thursday, August 7, 2008 - 9:28 AM, Kevin Wade wrote: S2 2.0.11. The selected field is a boolean. And there are isSelected() and setSelected() methods. Thanks for asking. On Aug 7, 2008, at Thursday, August 7, 2008 - 9