Am Donnerstag, 15. März 2007 schrieb Dave Newton:
> --- Piero Sartini <[EMAIL PROTECTED]> wrote:
> > --- code ---
>
> Are you sure you are using the right Action to reach
> the JSP? I cannot duplicate the problem with identical
> code. (I am not using JSPX, although I'm not sure that
> would matter
--- Piero Sartini <[EMAIL PROTECTED]> wrote:
> --- code ---
Are you sure you are using the right Action to reach
the JSP? I cannot duplicate the problem with identical
code. (I am not using JSPX, although I'm not sure that
would matter.)
d.
___
It just testing-code and does not make much sense. but here we go.
I had a list before .. so the map is constructed from the list.
--- code ---
public static List countryCodes = new ArrayList(
Arrays.asList(
"de", "en", "it"
));
public static Map co
Thanks thats working a dream I tried that before just forgot the #
It is nearly friday ;)
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: 15 March 2007 16:58
To: Struts Users Mailing List
Subject: RE: How do you provide a Map from the application scope for the
list
--- David Harland <[EMAIL PROTECTED]> wrote:
> We are running struts 1 and 2 in parallel.
Same webapp I assume?
> Struts 1 is putting the Map into application scope.
> A jsp running in struts 2 using struts 2 tags is
> trying to use this map to populate a select.
How is it trying to load the ma
--- Piero Sartini <[EMAIL PROTECTED]> wrote:
> Am Donnerstag, 15. März 2007 schrieb Dave Newton:
> > --- Piero Sartini wrote:
> > > return Constants.getCountryMap();
> >
> > What does Constants.getCountryMap() return?
>
> the map looks like:
> {de=de, it=it, en=en}
No, I want the actual c
Am Donnerstag, 15. März 2007 schrieb Dave Newton:
> --- Piero Sartini wrote:
> > return Constants.getCountryMap();
>
> What does Constants.getCountryMap() return?
the map looks like:
{de=de, it=it, en=en}
-
To unsubscribe
We are running struts 1 and 2 in parallel. Struts 1 is putting the Map
into application scope. A jsp running in struts 2 using struts 2 tags is
trying to use this map to populate a select. Do I have to copy the map
into the action for it to work. That seems a bit of a waste of time
-Origi
--- Piero Sartini wrote:
> return Constants.getCountryMap();
What does Constants.getCountryMap() return?
I've never seen any issues populating an
from a map.
d.
The fish are biting.
Get more visit
I do have the same Problem. But my map does not come from app-context.
The error is the same:
tag 'select', field 'list', name 'country': The requested list
key 'countryMap' could not be resolved as a
collection/array/map/enumeration/iterator type. Example: people or people.
{name} - [unknown lo
10 matches
Mail list logo