getListLocalization() is a method of my Enum, not of my Action class.
Matthieu MARC
-Message d'origine-
De : Steven Yang [mailto:kenshin...@gmail.com]
Envoyé : vendredi 13 mai 2011 03:03
À : Struts Users Mailing List
Objet : Re: Iterator tag and enumeration
I dont quite get what exact
I dont quite get what exactly you want
if your getListLocalization has all the information of you Enum then you
probably just do list="listLocalization.entrySet"
but then you still need to provide the listValue and listKey attribute
On Thu, May 12, 2011 at 6:56 PM, wrote:
> This code is working
On Thu, May 12, 2011 at 11:59 AM, arin_12 wrote:
> I am passing three parameters via URL from one page to another.
> I only see one available on the second page; don't know why.
>
> Page one
>
>
>
>
>
>
>
> Page two
>
> value="%{#parameters.alDescription}"/>
>
>
>
> Any feed bac
I dont know if its a bug or functinoality. I am passing 3 param from a page.
I am only able to receive the 1st one in the next page... Dont know why.
Page one :-
Page two :-
Description
Enable th
Jeff,
I am running struts 2.2.1
I also created this with Spring 3.0, although I am not sure I need spring.
Teresa
On May 11, 2011 11:32pm, Jeffrey Black wrote:
Teresa,
FWIW, I have apps that utilize redirectAction (ie
ServletActionRedirectResult) without issue.
Just curious, what v
You could probably get away with just exposing the map.
Dave
On May 12, 2011 3:26 AM, "Chris Pratt" wrote:
> You could possibly get away with just implementing Iterable instead of
> Iterator. It's a much simpler interface to implement.
> (*Chris*)
>
> On Thu, May 12, 2011 at 12:17 AM, wrote:
>
This code is working :
This one is not working :
Neither this one :
And neither this one :
I would be great to make the getListLocalization() work because I will be able
to have a nice display of select element.
Thank
Matthieu MARC
-Message d'origine--
try
On Thu, May 12, 2011 at 3:33 PM, wrote:
> Hi,
>
> I have an enumeration 'Localization' :
>
> public enum Localization {
>
>AIX("Aix-en-provence"),
>ANGERS("Angers") ;
> }
>
> And I want to put a form select in a jsp using s:select tag with all
> Localization items, like :
>
Hi,
I have an enumeration 'Localization' :
public enum Localization {
AIX("Aix-en-provence"),
ANGERS("Angers") ;
}
And I want to put a form select in a jsp using s:select tag with all
Localization items, like :
But I don't know what to put in the list parameter.
In my Loca
You could possibly get away with just implementing Iterable instead of
Iterator. It's a much simpler interface to implement.
(*Chris*)
On Thu, May 12, 2011 at 12:17 AM, wrote:
> Hi,
>
> Thank you. I implements the iterator interface, and now it is working.
>
> public class SearchResults imple
Hi,
Thank you. I implements the iterator interface, and now it is working.
public class SearchResults implements Iterator {
private Set keySet = null;
private Iterator iterator = null;
private Set keySet() {
if (this.keySet == null) {
11 matches
Mail list logo