If you use @StrictBinding, check if you have a @Validate tag for values field.
You can also check if you have a setter for values.
Christian
________________________________
From: Gregg Bolinger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 10:11 AM
To: Stripes Users List
Subject: Re: [Stripes-users] Fresh Eyes Needed
Well, they aren't maps, they are lists. I'm not sure if that makes a
difference with regards to your argument though. Anyone else?
Gregg
On Wed, Nov 19, 2008 at 12:30 AM, Morten Matras <[EMAIL
PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
storedReportGlobalItems is a Map of some kind. In the first 3 cases you assign
a value to a key (displayOnReport, useNonDisplayedSearchCriteria,searchFilter)
in the latter you assign a value to a property with a name taken from the value.
storedReportGlobalItems[0].values[0] could be anything. So when Stripes
receives it back the parameter pair is:
?whatevertheValueWasLastTimeForObjectNumberZeroInTheMap=TheNewValue
Maybe:
storedReportGlobalItems[0].keys[0] would work
Morten Matras
2008/11/18 Gregg Bolinger <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
I'm wondering if anyone sees anything wrong with this code. I'm not getting
the values[] back into the storedReportGlobalItems[]. They are always null and
not sure why. I've ripped out the surrounding HTML for easier reading:
<s:checkbox name="report.storedReportGlobalItems[0].displayOnReport" /> // works
<s:checkbox
name="report.storedReportGlobalItems[0].useNonDisplayedSearchCriteria" /> //
works
<s:select name="report.storedReportGlobalItems[0].searchFilter">
<s:option value="CONTAINS" label="Contains" />
// works
</s:select>
<s:text name="report.storedReportGlobalItems[0].values[0]" size="30" /> //
Doesn't work
Thanks
Gregg
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/stripes-users
--
Morten Matras
Consultant
Blob Communication ApS
Svendsagervej 42
DK-5240 Odense NĂ˜
P: (+45) 76 6-5-4-3-2-1
W: www.blobcom.com<http://www.blobcom.com>
E: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/stripes-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users