Re: [s2] select tag not setting parameter

2007-10-18 Thread Marcos Hernandez
You're welcome. I think too that the documentation is lacking of some detailed examples, but you could contribute with a comment, now that you know a little more. Go ahead, you are part of the community too ;-) http://cwiki.apache.org/confluence/display/WW/select On 10/15/07, Kevin Wade <[EMAIL P

Re: [s2] select tag not setting parameter

2007-10-15 Thread Kevin Wade
You, Marcos, (and Laurie) were right: there was not a full list of values aside from the county names in the list. Each entry in the list looked something like this: ORANGE So the option value was always empty. The trick for me was to set the listKey parameter to "name", which contained t

Re: [s2] select tag not setting parameter

2007-10-12 Thread Laurie Harper
What does the generated HTML look like? Perhaps the county objects don't have a value for 'id'? L. Kevin Wade 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 struts 2 says this: com.op

Re: [s2] select tag not setting parameter

2007-10-12 Thread Marcos Hernandez
Just as a debug thought: what happens when you fill the list parameter with a couple of counties/value pairs by hand? On the other hand, does the generated HTML have a full list of values aside of the counties name list you are looking in the drop-down box? On 10/12/07, Kevin Wade <[EMAIL PROTECT

Re: [s2] select tag not setting parameter

2007-10-12 Thread Kevin Wade
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 struts 2 says this: com.opensymphony.xwork2.interceptor.ParametersInterceptor - Setting params county => [ ] firstName => [ john ] lastName => [

Re: [s2] select tag not setting parameter

2007-10-12 Thread Dave Newton
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't > see it. > > Kevin > > On Oct 8, 20

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 short, I can't seem to

[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: