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
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
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
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
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 => [
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
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
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:
8 matches
Mail list logo