Re: Struts2 iterator twice for select tag

2014-06-04 Thread Matt Williams
I ended up overriding the 'evaluateExtraParams()' method and performing the exact same logic that is in the ListUIBean.evaluateExtraParams() to set a new parameter called 'listCopy' to use in the extra iterator. Code: @Override public void

Re: Struts2 iterator twice for select tag

2014-06-04 Thread Lukasz Lenart
t" twice. > > Example: > <@s.iterator value="parameters.list"> >loop1 > > <@s.iterator value="parameters.list"> > loop2 > > > However, the second iterator doesn't loop. I think the "parameters.list" is > a

Re: Struts2 iterator twice for select tag

2014-06-03 Thread Paul Benedict
Maybe you found a bug. Hopefully Struts cleans up its iterator when the tag finishes. Maybe you can look into the source code to find out for us. Cheers, Paul On Tue, Jun 3, 2014 at 12:17 PM, Matt Williams < mattwms1998...@yahoo.com.invalid> wrote: > > I am using struts 2.1.8. I

Struts2 iterator twice for select tag

2014-06-03 Thread Matt Williams
rs.list">    loop1 <@s.iterator value="parameters.list"> loop2 However, the second iterator doesn't loop.  I think the "parameters.list" is an Iterator object so it is already at the end (created

Re: A problem on Iterator tag.

2014-03-18 Thread Lukasz Lenart
Great! Fill a JIRA ticket with the patch! 2014-03-14 10:57 GMT+01:00 K OSSUser : > Hi, > > I'm using Struts2.3.15 and I had a problem then tested a simple jsp. > > I expected "1, 2, , 3," but the result was "1, 2, 2, 3,". > > Test.jsp > -

A problem on Iterator tag.

2014-03-14 Thread K OSSUser
Hi, I'm using Struts2.3.15 and I had a problem then tested a simple jsp. I expected "1, 2, , 3," but the result was "1, 2, 2, 3,". Test.jsp --- , --- I changed bel

s:if iterator session problem

2013-11-18 Thread john lee
  from the following output,    we can tell sell_price=36.97, display_price=1   why    none of test statement works ?     please advise, thanks in advance   john       Class Part { float sell_price;     int display_price;     ./*..get set here *

Re: Iterating constants in iterator tag

2013-07-29 Thread Lukasz Lenart
2013/7/29 Antonio Sánchez : > Given: > > > > Use it in: > > > ... > > > How to? > > Injecting with @Inject? Yes > Any direct access method from OGNL? Injecting is better, other way you must get access to Container somehow. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ -

Iterating constants in iterator tag

2013-07-29 Thread Antonio Sánchez
Given: Use it in: ... How to? Injecting with @Inject? Any direct access method from OGNL? Thanks. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.

Re: Struts 2 Iterator, Param and Text tags usage

2012-08-29 Thread Łukasz Lenart
I think, cannot be used that way. Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For add

Struts 2 Iterator, Param and Text tags usage

2012-08-27 Thread Davis, Chad
I'm trying to figure out how iterate over a collection of parameters to pump into a text tag. This is what I would like to do: But it blows up and writes some stuff to the tomcat logs that appears to suggest I'm using the tag wrong ;) java.lang.NullPointerException

Re: struts-tags Iterator usage

2012-07-25 Thread Justin Chin
Understood. I was not thinking about the conversion to HTML on the client side. Let me work with the suggestion to get my HTML syntax correct for submission. Thank you. On 7/25/2012 4:59 PM, Dave Newton wrote: On Wed, Jul 25, 2012 at 4:56 PM, Justin Chin wrote: I am not sure I understand.

Re: struts-tags Iterator usage

2012-07-25 Thread Dave Newton
On Wed, Jul 25, 2012 at 4:56 PM, Justin Chin wrote: > I am not sure I understand. The jsp does the job of displaying the data > correctly, but I must do additional work to submit the data by adding > additional markup?: > How would a framework know that an arbitrary number of fields named "first

Re: struts-tags Iterator usage

2012-07-25 Thread Justin Chin
Apologies. I understand now that text only is allowed. I am not sure I understand. The jsp does the job of displaying the data correctly, but I must do additional work to submit the data by adding additional markup?:

Re: struts-tags Iterator usage

2012-07-25 Thread Dave Newton
Totally illegible. In any case, if you want to "submit a list", you need to name your form fields using array notation, or at the very least, using object.property notation, e.g., peopleList.firstName. Otherwise you just have a bunch of fields named "firstName"--at best you'd get separate lists o

struts-tags Iterator usage

2012-07-25 Thread Justin Chin
I am trying to update a List of Person Objects via jsp. I have one Action Class used in the DispatchAction pattern. I begin the exercise with method1 which creates a new peopleList and populates each Person object in the list with a firstname. *public*String method1() *throws*Exception { Sy

Re: Performance issue with nested iterator

2012-07-05 Thread Łukasz Lenart
0, Miguel Almeida wrote: > >> Sorry, I sent the email before explaining. >> >> The repo has a maven project that I stripped down to the most basic to >> show the issue. Notice the iterator in index.jsp. >> >> I tried to remove every unused configuration, file and

Re: Performance issue with nested iterator

2012-07-05 Thread Miguel Almeida
at 13:16 +0100, Miguel Almeida wrote: > Sorry, I sent the email before explaining. > > The repo has a maven project that I stripped down to the most basic to > show the issue. Notice the iterator in index.jsp. > > I tried to remove every unused configuration, file and dependency t

Re: Performance issue with nested iterator

2012-07-05 Thread Miguel Almeida
Sorry, I sent the email before explaining. The repo has a maven project that I stripped down to the most basic to show the issue. Notice the iterator in index.jsp. I tried to remove every unused configuration, file and dependency to make the project as simple as possible. The original project

Re: Performance issue with nested iterator

2012-07-05 Thread Miguel Almeida
Sure, Lukas: https://github.com/mmalmeida/struts-performance On Thu, 2012-07-05 at 06:48 +0200, Lukasz Lenart wrote: > Could you post somewhere (GitHub) the whole code base ? > > > Regards

Re: Performance issue with nested iterator

2012-07-04 Thread Lukasz Lenart
Could you post somewhere (GitHub) the whole code base ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts

Performance issue with nested iterator

2012-07-04 Thread Miguel Almeida
Dear all, I have got a performance issue on a nested iterator, running Struts 2.3.1.1. Consider the code below, (the example is a Book with chapters and subchapters and we're displaying the book index - bookIndex is a Map>. This takes several seconds to load (map has size 10, each li

Re: Struts Tag Iterator formatting issue using tables

2012-06-29 Thread Dave Newton
cell) On Jun 29, 2012 6:47 PM, "Justin Chin" wrote: > I am having issues getting the Struts Iterator Tag to format correctly. Any > help would greatly be appreciated as this seems very simple, but clearly I > missing something: > > Here is my jsp: > > <

RE: Struts Tag Iterator formatting issue using tables

2012-06-29 Thread Martin Gainty
Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Date: Fri, 29 Jun 2012 18:46:21 -0400 From: jus...@justinchin.com To: user@struts.apache.org Subject: Struts Tag Iterator formatting issue using tables I am having issues getting the

Re: [S 1.3.8] Iterator inside Iterator

2012-03-29 Thread Anjib Mulepati
ne help me in this? Thanks, Anjib I got the answer for accessing property of first two types. I did Now my problem is on third type since it itself is an List. How can I run iterator or iterator? - To unsubscribe, e-

Re: Regarding Iterator

2011-11-23 Thread Chris Pratt
Yes, either a dot or the word "top" should do what you're looking for. Worst case, you might be able to use %{#outerList} to reference the id from the outer iterator. (*Chris*) On Wed, Nov 23, 2011 at 3:51 PM, wrote: > I think a dot should work. > --Mensaje origin

Re: Nested Iterator tag...

2011-11-23 Thread Steven Yang
below collection using struts > taglib. > > List> outerList; > > > > > > > > > please let me know what i need to mention in place of ? > > Many thanks in advance. > > -- > View this message in context: > http://s

Re: Regarding Iterator

2011-11-23 Thread jlmagc
I think a dot should work. --Mensaje original-- De: Sathya Prakash Para: user@struts.apache.org Responder a: Struts Users Mailing List Asunto: Regarding Iterator Enviado: 23 Nov, 2011 16:16 Hi, I am facing a problem in Iterating the below collection using struts taglib. List> outerL

Regarding Iterator

2011-11-23 Thread Sathya Prakash
Hi, I am facing a problem in Iterating the below collection using struts taglib. List> outerList; please let me know what i need to mention in place of *?* * * *Many thanks in advance.* -- Regards, Prakash.

Nested Iterator tag...

2011-11-23 Thread SATHYA
com/Nested-Iterator-tag-tp5018197p5018197.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

iterator struts

2011-07-05 Thread amasou
<s:property value="c" /> "> Ggg11 I want to display the contents of nomber 5 by 5 The result I want a b c d e Ggg11 f g h i k Ggg11 thank you -- View this message in context: http:/

Re: Struts2 - The requested list key 'state' could not be resolved as a collection/array/map/enumeration/iterator type

2011-06-27 Thread Dave Newton
You're only populating the list in the "execute" method, but that isn't run on a validation error--"input" is. Consider implementing Preparable. IIRC this is in the faq (I might be recalling wrong). Dave On Jun 27, 2011 3:18 AM, "akshat [PG8]" wrote: > Hi everyone, > > Please help me in Struts2

Struts2 - he requested list key 'state' could not be resolved as a collection/array/map/enumeration/iterator type

2011-06-27 Thread log2akshat
Please help me in Struts2, I am stucked in action The problem is that I have a application form for accessing that form you should be registered in the database. So the login utility will check for the password & email in the database if it is there than it will go to the app. form otherwise i

Struts2 - The requested list key 'state' could not be resolved as a collection/array/map/enumeration/iterator type

2011-06-27 Thread akshat [PG8]
Hi everyone, Please help me in Struts2, I am stucked in action The problem is that I have a application form for accessing that form you should be registered in the database. So the login utility will check for the password & email in the database if it is there than it will go to the app. fo

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: Tag iterator and my object container

2011-05-12 Thread Dave Newton
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, Ma

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 : >

Iterator tag and enumeration

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

Re: Tag iterator and my object container

2011-05-12 Thread Chris Pratt
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

RE: Tag iterator and my object container

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

Re: Tag iterator and my object container

2011-05-10 Thread Dave Newton
Or just access the map and use the Map.Entry object map iterators supply. Dave On May 10, 2011 9:16 AM, "Steven Yang" wrote: > you need to implement the Iterator interface > > On Tue, May 10, 2011 at 4:14 PM, wrote: > >> Hi everybody, >> >> I hav

Re: Tag iterator and my object container

2011-05-10 Thread Steven Yang
you need to implement the Iterator interface On Tue, May 10, 2011 at 4:14 PM, wrote: > Hi everybody, > > I have a container object SearchResults which contains a treeMap of simple > object SearchResult. > > I want to iterate over SearchResults in order to display

Tag iterator and my object container

2011-05-10 Thread Matthieu.Marc
getDescription(); } Class SearchResults { treeMap resultats; public Set keyset(); public Iterator iterator(); public SearchResult get(String key); } My Action class have this getter

Re: Struts2 iterator tag

2011-02-22 Thread Dave Newton
On Tue, Feb 22, 2011 at 12:26 PM, Jainitya wrote: > [JSP] Would it be possible for you to only include the actual stuff that matters? Editing stuff down is really helpful for people trying to focus on what's actually wrong. 1) http://struts.apache.org/2.x/docs/selecting-themes.html You may be ab

Re: Struts2 iterator tag

2011-02-22 Thread Jainitya
when I am trying to access this list after submission it is returning me null value; :-(( -- View this message in context: http://old.nabble.com/Struts2-iterator-tag-tp18258667p30987872.html Sent from

Re: Struts2 iterator tag

2011-02-22 Thread Maurizio Cucchiara
First and foremost, I'd try to make cleaner the iterator definition: On 22 February 2011 17:21, Jainitya wrote: > > Hi > I am also a newbie in struts 2 ,I dont know how to use this forum so > replying on this thread. > I also have lookalike problem with Iter

Re: Struts2 iterator tag

2011-02-22 Thread Dave Newton
On Tue, Feb 22, 2011 at 11:21 AM, Jainitya wrote: > I am also a newbie in struts 2 ,I dont know how to use this forum http://struts.apache.org/mail.html > >      >            theme="simple" > name="selllog[%{#selllog.index}].idSellLog"/> FWIW, I'm not sure this is valid

Re: Struts2 iterator tag

2011-02-22 Thread Jainitya
Hi I am also a newbie in struts 2 ,I dont know how to use this forum so replying on this thread. I also have lookalike problem with Iterator tag My JSP is

Re: Nested Struts2 iterator tags

2011-02-16 Thread XCoder Nitin
message in context: http://old.nabble.com/Nested-Struts2-iterator-tags-tp23656304p30936629.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

Re: Nested Struts2 iterator tags

2011-02-16 Thread XCoder Nitin
message in context: http://old.nabble.com/Nested-Struts2-iterator-tags-tp23656304p30936628.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

Re: Calculate module of index in Struts2 iterator

2010-12-28 Thread Li Ying
That's just wired. The first idea in my head was, may be there is lacks of brackets in your expression. But then I checked the document of OGNL: http://www.opensymphony.com/ognl/html/LanguageGuide/apa.html Accordinting to this document, the operator [%] has higher precedence than operator [==].

RE: RE: FW: Iterator: field errors.

2010-12-25 Thread Satheesh Kannan A B
nan A B -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: Saturday, December 25, 2010 5:45 AM To: Struts Users Mailing List Subject: Re: RE: FW: Iterator: field errors. Did you /try/ using index notation? If you have no way of referring to a specific element I&

Re: Calculate module of index in Struts2 iterator

2010-12-25 Thread Dale Newfield
On Dec 24, 2010, at 1:29 PM, JOSE L MARTINEZ-AVIAL wrote: > Thanks for the advice!! I'll follow it. The best example I forgot to include is when you want to pass in to an attribute a string whose value is the same as the name of one of your action properties. foo="user" can be confusing, but f

Re: RE: FW: Iterator: field errors.

2010-12-24 Thread Dave Newton
; Hi, >> >> Can u please give an example for below of my code >> >> Thanks and Regards, >> >> Satheesh Kannan A B >> >> >> >> -Original Message- >> From: Dave Newton [mailto:davelnew...@gmail.com] >> Sent: Friday, Decem

Re: Calculate module of index in Struts2 iterator

2010-12-24 Thread JOSE L MARTINEZ-AVIAL
Thanks for the advice!! I'll follow it. 2010/12/24 Dale Newfield > On 12/24/10 6:15 AM, JOSE L MARTINEZ-AVIAL wrote: > >> x >> > > I guess I've not been around on this list much lately (darned work :-/ ). > So my constant harping about this hasn't been so constant: > > I *really* advise peo

Re: RE: FW: Iterator: field errors.

2010-12-24 Thread Dave Newton
.@gmail.com] > Sent: Friday, December 24, 2010 11:25 PM > To: Struts Users Mailing List > Subject: Re: FW: Iterator: field errors. > > You can if they're indexed, no? > On Dec 24, 2010 12:53 PM, "Satheesh Kannan A B" > wrote: >> Hi, >> >> Still n

RE: FW: Iterator: field errors.

2010-12-24 Thread Satheesh Kannan A B
Hi, Can u please give an example for below of my code Thanks and Regards, Satheesh Kannan A B -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: Friday, December 24, 2010 11:25 PM To: Struts Users Mailing List Subject: Re: FW: Iterator: field errors. You can

Re: FW: Iterator: field errors.

2010-12-24 Thread Dave Newton
You can if they're indexed, no? On Dec 24, 2010 12:53 PM, "Satheesh Kannan A B" wrote: > Hi, > > Still now I didn’t get any solution for this. I think in struts 2.* server side validation is not good as struts 1.*. > Since i cant display exact fielderror message for a f

FW: Iterator: field errors.

2010-12-24 Thread Satheesh Kannan A B
Hi, Still now I didn’t get any solution for this. I think in struts 2.* server side validation is not good as struts 1.*. Since i cant display exact fielderror message for a field in a iterator and also once I submit I cant get the list object again.( list object ill get from data layer, its

Re: RE: Calculate module of index in Struts2 iterator

2010-12-24 Thread Dave Newton
u fourni. > > > > >> Date: Fri, 24 Dec 2010 09:05:05 -0500 >> From: d...@newfield.org >> To: user@struts.apache.org >> Subject: Re: Calculate module of index in Struts2 iterator >> >> On 12/24/10 6:15 AM, JOSE L MARTINEZ-AVIAL wrote: >> > x

RE: Calculate module of index in Struts2 iterator

2010-12-24 Thread Martin Gainty
ire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Fri, 24 Dec 2010 09:05:05 -0500 > From: d...@newfield.org > To: user@struts.apache.org > Subject: Re: Calculate module of in

Re: Calculate module of index in Struts2 iterator

2010-12-24 Thread Dale Newfield
On 12/24/10 6:15 AM, JOSE L MARTINEZ-AVIAL wrote: x I guess I've not been around on this list much lately (darned work :-/ ). So my constant harping about this hasn't been so constant: I *really* advise people to always use %{} when writing OGNL in a taglib attribute. It makes it clea

Re: Calculate module of index in Struts2 iterator

2010-12-24 Thread JOSE L MARTINEZ-AVIAL
I had to put the expression between brackets: x Thanks JL 2010/12/21 Li Ying > You can put the following debug code in your jsp: > > > > > > It may help you find out what the result of expression is. > > - > To unsubsc

Re: Calculate module of index in Struts2 iterator

2010-12-21 Thread Li Ying
You can put the following debug code in your jsp: It may help you find out what the result of expression is. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apach

Calculate module of index in Struts2 iterator

2010-12-14 Thread JOSE L MARTINEZ-AVIAL
Hello, I'm using Struts2 iterator to setup a list of checkbox in a table(about 150 checkboxes). I want to have 10 checkbox per row, so I'm doing the following: It never goes through the if, so I&

Re: Iterator: field errors.

2010-12-12 Thread Li Ying
>> Since after validation fails the iterator grid also empty I think, you need separate the field names by list index -- since your data model is a list--, to indicate which [textfield] should be captured by which POJO element. And also, you need separate the field name of validation

Re: Iterator: field errors.

2010-12-10 Thread Satheesh Kannan A B
Return false; } } Thanks and Regards, Satheesh Kannan A B -Original Message- From: Li Ying [mailto:liying.cn.2...@gmail.com] Sent: Friday, December 10, 2010 5:35 AM To: Struts Users Mailing List Subject: Re: Iterator: field errors. What is the data type of objectList?

RE: Iterator: field errors.

2010-12-09 Thread Satheesh Kannan A B
Return false; } } Thanks and Regards, Satheesh Kannan A B -Original Message- From: Li Ying [mailto:liying.cn.2...@gmail.com] Sent: Friday, December 10, 2010 5:35 AM To: Struts Users Mailing List Subject: Re: Iterator: field errors. What is the data type of objectList?

Re: Iterator: field errors.

2010-12-09 Thread Li Ying
What is the data type of objectList? How did you execute the validation, and how did you add the field error? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.o

Iterator: field errors.

2010-12-09 Thread Satheesh Kannan A B
how to do for list if validation fails. Since after validation fails the iterator grid also empty and am not able to display field values. Please suggest me how to populate grid values in jsp if validation fails and also validation messages below field of each row. Thanks and Regards,

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread Dave Newton
one if-else branches. >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> >> > > -- > View

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread cellterry
itional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://old.nabble.com/The-requested-list-key-%27prices%27-could-not-be-resolved-as-a-collection-array-map-enumeration-iterator-type.-tp30074913p30077833.html

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread Li Ying
You may need check: (1)Which jsp pages is executed when you submit your page? (2)Before the tag reference the list which named "prices", are you sure you have created it? Because I find the "prices" is created in only one if-else branches.

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread Dave Newton
On Thu, Oct 28, 2010 at 8:54 AM, cellterry wrote: > Actually, it gives the same error for another 2 buttons "OK" and "Save". > Sorry for not mentioning about it. It's essentially impossible to debug that code. You'll have to dig through that morass of nested if-elses to determine why your list is

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread cellterry
gt; The selection box got what I wanted when loading at first. >> >> When I pressed cancel button in so.detail.jsp, the following error >> occurred: >> >> org.apache.jasper.JasperException: tag 'select', field 'list', name >> 'detail.price

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread Dave Newton
     } > >                        } > >                        else if(pay) > >                        { > >                                 > if((me.getAuth().getControlPO2()&model.So.getMaskPay())!=0){ > >                                        flag=true; >

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread cellterry
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://old.nabble.com/The-requested-list-key-%27prices%27-could-not-be-resolved-as-a-collect

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread Dave Newton
t; … > > … > > The selection box got what I wanted when loading at first. > > When I pressed cancel button in so.detail.jsp, the following error occurred: > > org.apache.jasper.JasperException: tag 'select', field 'list', name > 'detail.price.id

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread Mead Lai
add the tag to check the objects on that page. Regards, Mead

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread Maurizio Cucchiara
Did you try to without chain result? -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread Li Ying
I need see all your code before I can find what's going wrong. Can you show me the whole Action class and JSP? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread cellterry
                           /> >> … >>                         >> … >> >> … >> >> The selection box got what I wanted when loading at first. >> >> When I pressed cancel button in so.detail.jsp, the following error >> occurred: >> >

Re: The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread Li Ying
error occurred: > > org.apache.jasper.JasperException: tag 'select', field 'list', name > 'detail.price.id': The requested list key 'prices' could not be resolved as > a collection/array/map/enumeration/iterator type. Example: people or > pe

The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type.

2010-10-28 Thread cellterry
: org.apache.jasper.JasperException: tag 'select', field 'list', name 'detail.price.id': The requested list key 'prices' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location] I traced the code that this error h

Re: Nested Iterator Problem

2010-07-03 Thread Chris Miles
uot; Sent: Thursday, July 01, 2010 10:30 PM Subject: Re: Nested Iterator Problem On my screen it looks like there's a British pound sign in the text, which I believe is outside the ASCII characters set, I'm just wondering if that could be causing the trouble. It's definitely somethin

Re: Nested Iterator Problem

2010-07-03 Thread Chris Miles
st shippingDetails) { this.shippingDetails = shippingDetails; } } - Original Message - From: "Ken" To: "Struts Users Mailing List" Sent: Thursday, July 01, 2010 10:46 PM Subject: Re: Nested Iterator Problem His editor should be fine with Unicode... hmm, post yo

Re: Nested Iterator Problem

2010-07-01 Thread Ken
His editor should be fine with Unicode... hmm, post your action bean. On Thu, 2010-07-01 at 14:30 -0700, Chris Pratt wrote: > On my screen it looks like there's a British pound sign in the text, which I > believe is outside the ASCII characters set, I'm just wondering if that > could be causing t

Re: Nested Iterator Problem

2010-07-01 Thread Chris Pratt
1:59 PM, Chris Miles > wrote: > > > >> Does anyone have any ideas? Tearing my hair out with this. > >> > >> > >> Chris > >> > >> - Original Message - From: "Chris Miles" > >> To: "Struts Users Mailing List&quo

Re: Nested Iterator Problem

2010-07-01 Thread chris
ne have any ideas? Tearing my hair out with this. >> >> >> Chris >> >> - Original Message - From: "Chris Miles" >> To: "Struts Users Mailing List" >> Sent: Tuesday, June 29, 2010 9:47 PM >> >> Subject: Re: Nested I

Re: Nested Iterator Problem

2010-07-01 Thread Chris Pratt
om: "Chris Miles" > To: "Struts Users Mailing List" > Sent: Tuesday, June 29, 2010 9:47 PM > > Subject: Re: Nested Iterator Problem > > > Is there anything else in the logging I can enable to try and find out why >> this is not working? It is poss

Re: Nested Iterator Problem

2010-07-01 Thread Chris Miles
Does anyone have any ideas? Tearing my hair out with this. Chris - Original Message - From: "Chris Miles" To: "Struts Users Mailing List" Sent: Tuesday, June 29, 2010 9:47 PM Subject: Re: Nested Iterator Problem Is there anything else in the logging I can en

Re: Nested Iterator Problem

2010-06-29 Thread Chris Miles
Is there anything else in the logging I can enable to try and find out why this is not working? It is possibly an expression related issue? Would it be possible in the first iterator to assign the list to another completely seperate object to iterator? Or another solution? I have tried every

Re: Nested Iterator Problem

2010-06-28 Thread Chris Miles
In the second Iterator I have just got value="#product.name"/> The resuling HTML looks like. Address 1 of 1 Chris Miles

Nested Iterator Problem

2010-06-25 Thread Chris Miles
Hi I am running a nested iterator as follows: Address of , £ Rendering fails as soon as

  1   2   3   4   5   >