RE: Iterator tag and enumeration

2011-05-13 Thread Matthieu.Marc
Great, it nearly solve my problem. Thanks, Matthieu MARC -Message d'origine- De : Biesbrock, Kevin [mailto:biesbrock.ke...@aoins.com] Envoyé : vendredi 13 mai 2011 16:18 À : Struts Users Mailing List Objet : RE: Iterator tag and enumeration This peaked my interest so a colleag

RE: [OT] Re: Iterator tag and enumeration

2011-05-13 Thread Biesbrock, Kevin
Touché. I've only been speaking English my whole life... Beez > -Original Message- > From: Dave Newton [mailto:davelnew...@gmail.com] > Sent: Friday, May 13, 2011 10:20 AM > To: Struts Users Mailing List > Subject: [OT] Re: Iterator tag and enumeration > &g

[OT] Re: Iterator tag and enumeration

2011-05-13 Thread Dave Newton
On Fri, May 13, 2011 at 10:17 AM, Biesbrock, Kevin wrote: > This peaked my interest [...] Piqued, piqued. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache

RE: Iterator tag and enumeration

2011-05-13 Thread Biesbrock, Kevin
-Original Message- > From: Steven Yang [mailto:kenshin...@gmail.com] > Sent: Thursday, May 12, 2011 9:03 PM > To: Struts Users Mailing List > Subject: Re: Iterator tag and enumeration > > I dont quite get what exactly you want > > if your getListLocalization has all t

RE: Iterator tag and enumeration

2011-05-12 Thread Matthieu.Marc
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

Re: Iterator tag and enumeration

2011-05-12 Thread Steven Yang
ieu MARC > > > -Message d'origine- > De : Steven Yang [mailto:kenshin...@gmail.com] > Envoyé : jeudi 12 mai 2011 12:34 > À : Struts Users Mailing List > Objet : Re: Iterator tag and enumeration > > try > > > On Thu, May 12, 2011 at 3:3

RE: Iterator tag and enumeration

2011-05-12 Thread Matthieu.Marc
igine- De : Steven Yang [mailto:kenshin...@gmail.com] Envoyé : jeudi 12 mai 2011 12:34 À : Struts Users Mailing List Objet : Re: Iterator tag and enumeration try On Thu, May 12, 2011 at 3:33 PM, wrote: > Hi, > > I have an enumeration 'Localization' : > > public enum

Re: Iterator tag and enumeration

2011-05-12 Thread Steven Yang
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 : >

Re: iterator tag: how to interpret the property value which are html

2009-10-06 Thread samsun
lue stack, that's expected.  If you want java >>> in bold tags, put it in bold tags. >>> >>> Regarding the normal JSP behavior you cited: >>> that's a mystery.  Scripting variables don't >>> magically just decide to surround themselves >&g

Re: iterator tag: how to interpret the property value which are html

2009-10-06 Thread Musachy Barroso
s a mystery.  Scripting variables don't >> magically just decide to surround themselves >> with bold tags.  ;) >> >> >>> -Original Message- >>> From: samsun [mailto:greg.zh...@barcap.com] >>> Sent: Tuesday, October 06, 2009 12:26

RE: iterator tag: how to interpret the property value which are html

2009-10-06 Thread samsun
gt; Sent: Tuesday, October 06, 2009 12:26 PM >> To: user@struts.apache.org >> Subject: Re: iterator tag: how to interpret the property >> value which are html >> >> >> i got >> < b > java < / b> >> >> back >> >>

RE: iterator tag: how to interpret the property value which are html

2009-10-06 Thread Kawczynski, David
magically just decide to surround themselves with bold tags. ;) > -Original Message- > From: samsun [mailto:greg.zh...@barcap.com] > Sent: Tuesday, October 06, 2009 12:26 PM > To: user@struts.apache.org > Subject: Re: iterator tag: how to interpret the property >

Re: iterator tag: how to interpret the property value which are html

2009-10-06 Thread samsun
i got < b > java < / b> back samsun wrote: > > I would like put my question simply like this: > > in jsp, > > <%! String test="java"; %> > <%=test%> > i got bold Java > > try to have same thing from struts2 > > > i got > java back,which is not what i want > > > > > > > >

Re: iterator tag: how to interpret the property value which are html

2009-10-06 Thread Musachy Barroso
hint: check the documentation of the "property" tag On Tue, Oct 6, 2009 at 7:12 AM, samsun wrote: > > I have to iterate thru a list of strings, some of the string element include > html tag > like Copmany Names:   it print out litterlly like this >  Copmany Names:, not the bolded word Comp

Re: iterator tag: how to interpret the property value which are html

2009-10-06 Thread samsun
I would like put my question simply like this: in jsp, <%! String test="java"; %> <%=test%> i got bold Java try to have same thing from struts2 i got java back,which is not what i want samsun wrote: > > > > samsun wrote: >> >> I have to iterate thru a list of string

Re: iterator tag: how to interpret the property value which are html

2009-10-06 Thread samsun
samsun wrote: > > I have to iterate thru a list of strings, some of the string element > include html tag > like Copmany Names: it print out litterlly like this > Copmany Names:, not the bolded word Company Names: > > here is what the iterate tag look like > > > >

Re: iterator tag: how to set iterate step?

2009-09-24 Thread Dale Newfield
Tommy Pham wrote: arrays {1,2,3,4,5} 1 2 3 4 5 What about That s:if should also make sure you're not on the last iteration, otherwise you'll end up with an empty row. -Dale - To unsu

Re: iterator tag: how to set iterate step?

2009-09-24 Thread Tommy Pham
- Original Message > From: Musachy Barroso > To: Struts Users Mailing List > Sent: Thursday, September 24, 2009 10:19:55 AM > Subject: Re: iterator tag: how to set iterate step? > > no way i know of in 2.1.6. There will be one in the next release > > mus

Re: iterator tag: how to set iterate step?

2009-09-24 Thread Musachy Barroso
no way i know of in 2.1.6. There will be one in the next release musachy On Thu, Sep 24, 2009 at 9:28 AM, samsun wrote: > > I have array to iterate through using iterator tag, for each loop i want to > print out pair of array's element > the last row could have only one element if the array leng

RE: iterator tag

2007-08-10 Thread Wesley Wannemacher
First off, do you have a 'public List getFiles()' in your action? The iterator tag looks for a getter that returns an object implementing java.util.List. For troubleshooting, I would put something static in your iterator tag just to see if the loop even starts (of course, sans getFiles(), you wi