>>> >> value="fruitsId.value" >
>>> colour
>>>
>>>
>>>
>>> The issue is that:
>>> Fruits key: is being displayed fine
>>> Fruits Val: nothing is being dislayed; infact when I tried similarly
>>> with
--- ravi_eze <[EMAIL PROTECTED]> wrote:
> The answers were a real help. I could get the things to things working...
>
> now when i use: fruits Val :${fruitsId.value} this displays: fruits Val
> :[apple, banana, orange]
>
> but when i use: ${fruitsId.value.size()} its giving compile time
> error
y: is being displayed fine
>> Fruits Val: nothing is being dislayed; infact when I tried similarly
>> with fruits KEY even that is not being displayed. Any ideas how to get
>> this working.. (in fact I need to get the results in textboxes next)
>>
>> Any help?
>> Ra
: Monday, February 18, 2008 10:09 PM
To: Struts Users Mailing List
Subject: Re: S2 NESTED iterators & FLAT HashMaps:
When you use the "iterator" tag, the value of the "id" tag becomes the
reference to the current object on that iteration(same as "top" on
this case)
--- Ravichandra C <[EMAIL PROTECTED]> wrote:
> FE and BR are the static text beside which the result would be
> displayed. I was using them to recognize the two results differently...
> did I answer ur question?
No.
I asked why you're using the status variable of the inner iterator in the
tag:
: Struts Users Mailing List
Subject: Re: S2 NESTED iterators & FLAT HashMaps:
When you use the "iterator" tag, the value of the "id" tag becomes the
reference to the current object on that iteration(same as "top" on
this case). When iterating over a map, the object is
>
> this is giving only the fruits names but not the colours...
>
> pl: help.
>
> --
> View this message in context:
> http://www.nabble.com/S2-NESTED-iterators---FLAT-HashMaps%3A-tp15546918p15546918.html
> Sent from the Struts - User mailing list archive at N
Mailing List
Subject: Re: S2 NESTED iterators & FLAT HashMaps:
--- ravi_eze <[EMAIL PROTECTED]> wrote:
> i have 4 hashmaps as follows:
> (1). HashMap> treesFruitsMap = new HashMap();
> (2). HashMap> fruitsColourMap = new HashMap();
> (3). HashMap colourVitaminMap = new H
--- ravi_eze <[EMAIL PROTECTED]> wrote:
> i have 4 hashmaps as follows:
> (1). HashMap> treesFruitsMap = new HashMap();
> (2). HashMap> fruitsColourMap = new HashMap();
> (3). HashMap colourVitaminMap = new HashMap();
That's only three.
> any idea how to go with this? I tried as follows but its
d as follows but its not working..
FE
BR
this is giving only the fruits names but not the colours...
pl: help.
--
View this message in context:
http://www.nabble.com/S2-NESTED-iterators---F
10 matches
Mail list logo