Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
t;> need >> >>>> to >> >>>> do >> >>>> this 3-4 times in a jsp...but we definitely should think about goat >> >>>> sacrifices too. >> >>>> >> >>>> -- >> >>>> Milan >> >>&

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Dave Newton
--- On Thu, 8/28/08, Milan Milanovic wrote: > "Expensive", you got it. In terms of speed, of > course, because I need to do this 3-4 times in a jsp... Or you could do it once and use Or use a map. Or an array in the first place. And of course you could put it in the array in your action and use

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Gabriel Belingueres
; > >>> > >>>> "Expensive", you got it. In terms of speed, of course, because I need > >>>> to > >>>> do > >>>> this 3-4 times in a jsp...but we definitely should think about goat > >>>> sacrifices too. > >>>> > >>

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
>>>> -- >>>> Milan >>>> >>>> >>>> >>>> >>> >> >> > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For a

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Al Sutton
If I had a solution I would give it to you faster than that :). Maybe you need to approach the problem from a different angle (i.e. display the data differently), or do some reworking in the action to put the data in a more friendly format. Milan Milanovic wrote: If you had solution, I'm sur

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Al Sutton
And everything always has a price, even if you don't what it costs it may still be the only way to get what you want. georz1 wrote: Probably not too expensive in terms of speed considering this has been going on for 9 days now On Thu, Aug 28, 2008 at 1:06 PM, Milan Milanovic <[EMAIL PROTECTED]

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
> >> >> "Expensive", you got it. In terms of speed, of course, because I need to >> do >> this 3-4 times in a jsp...but we definitely should think about goat >> sacrifices too. >> >> -- >> Milan >> >> >> > >

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread georz1
Probably not too expensive in terms of speed considering this has been going on for 9 days now On Thu, Aug 28, 2008 at 1:06 PM, Milan Milanovic <[EMAIL PROTECTED]>wrote: > > "Expensive", you got it. In terms of speed, of course, because I need to do > this 3-4 times in a jsp...but we definitely s

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
gt;>> W: www.alsutton.com >>>> B: alsutton.wordpress.com >>>> T: twitter.com/alsutton >>>> >>>> >>>> - >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >&

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread bhaarat Sharma
i love this discussion. On Thu, Aug 28, 2008 at 1:17 PM, Al Sutton <[EMAIL PROTECTED]> wrote: > If been using toArray recently so it's been kind of a necessity. Have you > found a non-goat sacrificing optimisation? > > > Jim Kiley wrote: > >> Have you bought any goats lately? >> >> On Thu, Aug 28

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Al Sutton
If been using toArray recently so it's been kind of a necessity. Have you found a non-goat sacrificing optimisation? Jim Kiley wrote: Have you bought any goats lately? On Thu, Aug 28, 2008 at 1:12 PM, Al Sutton <[EMAIL PROTECTED]> wrote: Define "expesive"... Do you mean expensive?, if so

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Jim Kiley
Have you bought any goats lately? On Thu, Aug 28, 2008 at 1:12 PM, Al Sutton <[EMAIL PROTECTED]> wrote: > Define "expesive"... Do you mean expensive?, if so expensive in what terms; > memory, speed, required goat sacrifices? > > Al. > > Milan Milanovic wrote: > >> toArray() ? It works, but it is

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Al Sutton
Define "expesive"... Do you mean expensive?, if so expensive in what terms; memory, speed, required goat sacrifices? Al. Milan Milanovic wrote: toArray() ? It works, but it is too expesive ? Milan newton.dave wrote: --- On Thu, 8/28/08, Al Sutton wrote: C... I love a puzzle..

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
-------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: >> [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Gabriel Belingueres
Interesting post I must say! I would try this: "share log" 2008/8/28, bhaarat Sharma <[EMAIL PROTECTED]>: > bahahaah @ making my data disappear! > > On Thu, Aug 28, 2008 at 11:26 AM, Dave Newton <[EMAIL PROTECTED]> wrote: > > > --- On Thu, 8/28/08, Al Sutton wrote: > > > C... I love a puzzle

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread bhaarat Sharma
bahahaah @ making my data disappear! On Thu, Aug 28, 2008 at 11:26 AM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- On Thu, 8/28/08, Al Sutton wrote: > > C... I love a puzzle.. > > > > Can you give us the 9 characters in an anagram?? > > A rotary? (Plus two non-alpha, but it's already too

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Dave Newton
--- On Thu, 8/28/08, Al Sutton wrote: > C... I love a puzzle.. > > Can you give us the 9 characters in an anagram?? A rotary? (Plus two non-alpha, but it's already too easy now.) Not having enough information sure is a pain, huh. Dave > > Dave Newton wrote: > > --- On Thu, 8/28/08, Mi

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Al Sutton
C... I love a puzzle.. Can you give us the 9 characters in an anagram?? Dave Newton wrote: --- On Thu, 8/28/08, Milan Milanovic wrote: "9-character JSP trick", what is this ? It's a clue that you could (potentially) solve [1] your issue by adding 9 characters to your JSP, wi

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
1] ObCaveat: it's untested with your particular data and implementation. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--Iterate-throu

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
gt; > >> > Dave >> > >> > --- On Wed, 8/27/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: >> > >> >> From: Milan Milanovic <[EMAIL PROTECTED]> >> >> Subject: Re: [OT] Re: [S2] Iterate through two lists >> >&g

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Dave Newton
> Dave > > > > > > --- On Wed, 8/27/08, Milan Milanovic > <[EMAIL PROTECTED]> wrote: > > > > > >> From: Milan Milanovic > <[EMAIL PROTECTED]> > > >> Subject: Re: [OT] Re: [S2] Iterate through > two lists > > >> To:

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Dave Newton
--- On Thu, 8/28/08, Milan Milanovic wrote: > "9-character JSP trick", what is this ? It's a clue that you could (potentially) solve [1] your issue by adding 9 characters to your JSP, without having to change anything in the Java code. The Set Javadocs may help. Dave [1] ObCaveat: it's unteste

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread bhaarat Sharma
er JSP > trick > > would probably work. The solution is left as an exercise for the reader. > > > > Dave > > > > --- On Wed, 8/27/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > > > >> From: Milan Milanovic <[EMAIL PROTECTED]> > >

Re: [OT] Re: [S2] Iterate through two lists

2008-08-28 Thread Milan Milanovic
lan Milanovic <[EMAIL PROTECTED]> wrote: > >> From: Milan Milanovic <[EMAIL PROTECTED]> >> Subject: Re: [OT] Re: [S2] Iterate through two lists >> To: user@struts.apache.org >> Date: Wednesday, August 27, 2008, 4:50 PM >> I'm using TreeSet and my set

Re: [OT] Re: [S2] Iterate through two lists

2008-08-27 Thread Dave Newton
in jsp in this way ? > > > > What would it mean to get the nth index of a set??? > Sets are unordered. > > > > Dave > > > > > > > - > > To unsubscribe, e-mail: > [EMAIL PRO

Re: [OT] Re: [S2] Iterate through two lists

2008-08-27 Thread Milan Milanovic
-- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--Iterate-through-two-lists-tp19052842p19189459.html Sent from the Struts - User mailing list archive at Nabble.

RE: [S2] Iterate through two lists

2008-08-27 Thread Dave Newton
You managed three different taglib prefixes in one email; that's gotta be some sort of record. --- On Wed, 8/27/08, Martin Gainty <[EMAIL PROTECTED]> wrote: > From: Martin Gainty <[EMAIL PROTECTED]> > Subject: RE: [S2] Iterate through two lists > To: "Str

RE: [S2] Iterate through two lists

2008-08-27 Thread Martin Gainty
d Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Wed, 27 Aug 2008 10:48:42 -0700 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Re: [S2] Itera

[OT] Re: [S2] Iterate through two lists

2008-08-27 Thread Dave Newton
--- On Wed, 8/27/08, Milan Milanovic wrote: > I don't understand this, what are you saying that I > cannot use Set in jsp in this way ? What would it mean to get the nth index of a set??? Sets are unordered. Dave - To unsubscri

Re: [S2] Iterate through two lists

2008-08-27 Thread Milan Milanovic
il: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--Iterate-through-two-lists-tp19052842p19185642.html Sent from the Struts - User mailing list archive at Nabble.com. --

Re: [S2] Iterate through two lists

2008-08-26 Thread Dave Newton
--- On Tue, 8/26/08, Dave Newton <[EMAIL PROTECTED]> wrote: > (And even if you can't or don't want to fix it on the server-side, > it's a 9-character fix on the JSP side.) (Although it's not likely to do what you want.) Dave -

Re: [S2] Iterate through two lists

2008-08-26 Thread Dave Newton
--- On Tue, 8/26/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > Hm...maybe it is a problem beacuse of Set (not List)? Now, probably, you understand why I didn't think you were providing all the information necessary to help you. And you probably solved your own problem, so we're all... set. (A

Re: [S2] Iterate through two lists

2008-08-26 Thread Milan Milanovic
ferences >> between my code, which works fine, and yours, there's not much else to >> say. >> >> Dave >> >> --- On Tue, 8/26/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: >> >>> From: Milan Milanovic <[EMAIL PROTECTED]> >>> Subjec

Re: [S2] Iterate through two lists

2008-08-26 Thread Milan Milanovic
> --- On Tue, 8/26/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > >> From: Milan Milanovic <[EMAIL PROTECTED]> >> Subject: Re: [S2] Iterate through two lists >> To: user@struts.apache.org >> Date: Tuesday, August 26, 2008, 11:13 AM >> Dear Dave, &

Re: [S2] Iterate through two lists

2008-08-26 Thread Dave Newton
here's not much else to say. Dave --- On Tue, 8/26/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > From: Milan Milanovic <[EMAIL PROTECTED]> > Subject: Re: [S2] Iterate through two lists > To: user@struts.apache.org > Date: Tuesday, August 26, 2008, 11:13 AM >

Re: [S2] Iterate through two lists

2008-08-26 Thread Milan Milanovic
EMAIL PROTECTED]> wrote: > >> From: Milan Milanovic <[EMAIL PROTECTED]> >> Subject: Re: [S2] Iterate through two lists >> To: user@struts.apache.org >> Date: Monday, August 25, 2008, 1:10 PM >> Hi Dave, >> >> here is complete jsp: >> >

Re: [S2] Iterate through two lists

2008-08-25 Thread Dave Newton
... I already knew the JSP that was causing the error. Dave --- On Mon, 8/25/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > From: Milan Milanovic <[EMAIL PROTECTED]> > Subject: Re: [S2] Iterate through two lists > To: user@struts.apache.org > Date: Monday, August 25,

Re: [S2] Iterate through two lists

2008-08-25 Thread Milan Milanovic
dn't use 's "name" attribute; I don't think > it's necessary, although I don't know if the presence of it will cause the > message to be parameterized incorrectly.) > > Dave > > > ------------------

Re: [S2] Iterate through two lists

2008-08-25 Thread Dave Newton
--- On Mon, 8/25/08, Milan Milanovic wrote: > > <- HERE IT WORKS (order is recognized > in session)!! > > >value="#session.order.orderList[#rowstatus.index].price"/> > <- HERE IT > DOESN'T WORK - null value! > > > "IT" is two *entirely different

Re: [S2] Iterate through two lists

2008-08-25 Thread Milan Milanovic
OTECTED]> wrote: > >> From: Milan Milanovic <[EMAIL PROTECTED]> >> Subject: Re: [S2] Iterate through two lists >> To: user@struts.apache.org >> Date: Monday, August 25, 2008, 11:30 AM >> I tried this syntax when my "someObject" is >> located in ac

Re: [S2] Iterate through two lists

2008-08-25 Thread Dave Newton
Milan Milanovic <[EMAIL PROTECTED]> wrote: > From: Milan Milanovic <[EMAIL PROTECTED]> > Subject: Re: [S2] Iterate through two lists > To: user@struts.apache.org > Date: Monday, August 25, 2008, 11:30 AM > I tried this syntax when my "someObject" is > located in

Re: [S2] Iterate through two lists

2008-08-25 Thread Milan Milanovic
e that > uses it, written while working on your problem. > > Dave > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >

Re: [S2] Iterate through two lists

2008-08-23 Thread Dave Newton
--- On Sat, 8/23/08, Milan Milanovic wrote: > O.K. I'll try to find it. But I just think that this synax is no good: > > You may *think* that, but the syntax is fine, and I have working code that uses it, written while working on your problem. Dave ---

Re: [S2] Iterate through two lists

2008-08-23 Thread Milan Milanovic
message in context: http://www.nabble.com/-S2--Iterate-through-two-lists-tp19052842p19120556.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] Iterate through two lists

2008-08-22 Thread Dave Newton
--- On Fri, 8/22/08, Milan Milanovic wrote: > Where can I set levels DEBUG for S2, XWork and OGNL ? Search the fine web for Java logging, possibly after checking what S2 has for logging-oriented dependencies. Dave - To unsubsc

Re: [S2] Iterate through two lists

2008-08-22 Thread Milan Milanovic
-- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--Iterate-through-two-lists-t

Re: [S2] Iterate through two lists

2008-08-22 Thread Dave Newton
--- On Fri, 8/22/08, "Stephan Schröder" <[EMAIL PROTECTED]> wrote: > Maybe the param tag tries to bind with the push tag and not > with the text tag??? Oh, that makes sense, although it'd probably be better to not throw a huge exception :/ Hopefully I'll have time to look in to that soon. Dave

Re: [S2] Iterate through two lists

2008-08-22 Thread Stephan Schröder
> If all you're trying to do is set message properties why are you bothering > with the push? > > > > > > > > > > > Looks good (if fruit1 is accessable bei a getter in the action class). Does it work for you? > > > > > > > > > > > I'm not sure why the push

Re: [S2] Iterate through two lists

2008-08-21 Thread Dave Newton
--- On Thu, 8/21/08, Milan Milanovic wrote: > I have struts devMode on and logging works for Struts, > i.e., I get all messages from Apache Tomcat and Struts > in console. What do you mean by "logging turned up" ? Set log levels to DEBUG for S2, XWork, and OGNL. Did my solution work for you? Da

Re: [S2] Iterate through two lists

2008-08-21 Thread Milan Milanovic
debug message: when you say > you have logging turned up, what, exactly, do you mean? > > I'm not sure why the push tag is causing the issue, though. > > Dave > > > ----------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL

Re: [S2] Iterate through two lists

2008-08-21 Thread Dave Newton
--- On Thu, 8/21/08, Milan Milanovic wrote: > Tell me is this syntax good now for representing action > class attribute called someObject?: > > > > > > > > *sigh* Yes, "someObject" will access an action property named "someObject". If all you're trying to do is set mess

Re: [S2] Iterate through two lists

2008-08-21 Thread Milan Milanovic
lar, and so on). >> > >> > Do you still get the 500 using the correct OGNL >> expression? >> > >> > Dave >> > >> > >> > >>

Re: [S2] Iterate through two lists

2008-08-21 Thread Dave Newton
n). > > > > Do you still get the 500 using the correct OGNL > expression? > > > > Dave > > > > > > > --------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additio

Re: [S2] Iterate through two lists

2008-08-21 Thread Milan Milanovic
> To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--Iterate-through-two-lists-tp19052842p19092268.html Sent from the Struts - User mailing list archive a

Re: [S2] Iterate through two lists

2008-08-21 Thread Dave Newton
--- On Thu, 8/21/08, Milan Milanovic wrote: > it is an object that contains list of Fruits, nothing else. > Yes, it is located in action class and have get/set methods. > newton.dave wrote: >> What is "someObject"? Have you created it as >> a named stack context variable? The answer to my question

Re: [S2] Iterate through two lists

2008-08-21 Thread Milan Milanovic
n Thu, 8/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > >> From: Milan Milanovic <[EMAIL PROTECTED]> >> Subject: Re: [S2] Iterate through two lists >> To: user@struts.apache.org >> Date: Thursday, August 21, 2008, 11:41 AM >> Dear Dave, >&g

Re: [S2] Iterate through two lists

2008-08-21 Thread Dave Newton
What is "someObject"? Have you created it as a named stack context variable? Dave --- On Thu, 8/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > From: Milan Milanovic <[EMAIL PROTECTED]> > Subject: Re: [S2] Iterate through two lists > To: user@struts.apache.

Re: [S2] Iterate through two lists

2008-08-21 Thread Milan Milanovic
--------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--Iterate-through-two-lists-tp19052842p19091427.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] Iterate through two lists

2008-08-21 Thread Dave Newton
--- On Thu, 8/21/08, Milan Milanovic wrote: > I tried to adopt your solution, like this: > > > > > > > > > > but I get: Error loading 'myApp/showFruits.action' > (500 Internal Server Error), > and there is nothing in log. I'd say something is wrong either in the action c

Re: [S2] Iterate through two lists

2008-08-21 Thread Milan Milanovic
ot;) > > Maybe you forgot an '#' somewhere? How are fruit1,2 obtained? > > /Stephan > > Original-Nachricht >> Datum: Wed, 20 Aug 2008 09:05:55 -0700 (PDT) >> Von: Milan Milanovic <[EMAIL PROTECTED]> >> An: user@struts.apache.org >>

Re: [S2] Iterate through two lists

2008-08-21 Thread Stephan Schröder
ephan ---- Original-Nachricht > Datum: Wed, 20 Aug 2008 09:05:55 -0700 (PDT) > Von: Milan Milanovic <[EMAIL PROTECTED]> > An: user@struts.apache.org > Betreff: Re: [S2] Iterate through two lists > > Dear Dave, > > yes, I tried with index too, but it

Re: [S2] Iterate through two lists

2008-08-20 Thread Milan Milanovic
er the syntax is completly right >> but it should work like >> > this: >> > >> > > status="rowstatus"> >> > >> > >> > >> > > value="fruits2[#rowstatus.count]"> >> > >> > >

Re: [S2] Iterate through two lists

2008-08-20 Thread Dave Newton
zu sparen! > > Ideal für Modem und ISDN: > http://www.gmx.net/de/go/smartsurfer > > > > > ----------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-m

Re: [S2] Iterate through two lists

2008-08-20 Thread Milan Milanovic
> > > > >> View this message in context: >> http://www.nabble.com/-S2--Iterate-through-two-lists-tp19052842p19052842.html > -- > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > Ideal für Modem und ISDN: http://www.gmx.net/de/g

Re: [S2] Iterate through two lists

2008-08-20 Thread Stephan Schröder
I'm not sure whether the syntax is completly right but it should work like this: > View this message in context: > http://www.nabble.com/-S2--Iterate-through-two-lists-tp19052842p19052842.html -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekoste

[S2] Iterate through two lists

2008-08-19 Thread Milan Milanovic
-- View this message in context: http://www.nabble.com/-S2--Iterate-through-two-lists-tp19052842p19052842.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For