Re: OGNL question about changed values

2008-11-21 Thread Dale Newfield
Torsten Krah wrote: Hi, I want to know which "rows" in my table (s:iterator) are "dirty". Is there any way to know (beside looking manually in the parameter map and loading again db state + looking at old/new values before saving) which rows have changed? You can include previous values in hi

Re: OGNL question about changed values

2008-11-21 Thread Dave Newton
--- On Fri, 11/21/08, Torsten Krah wrote: > Hi, I want to know which "rows" in my table (s:iterator) are "dirty". > Is there any way to know (beside looking manually in the parameter map > and loading again db state + looking at old/new values before > saving) which rows have changed? I don't see

OGNL question about changed values

2008-11-21 Thread Torsten Krah
Hi, I want to know which "rows" in my table (s:iterator) are "dirty". Is there any way to know (beside looking manually in the parameter map and loading again db state + looking at old/new values before saving) which rows have changed? -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhäng

RE: Iterate through a Map, OGNL Question about accessing a map with dynamic value [0]

2008-10-09 Thread Brad A Cupit
From: Torsten Krah [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2008 9:15 AM > Your example does work fine, but its not my usecase, isn't it? Oops, sorry about that. My mistake. I'm assuming the list is a List> and the map is Map, List> if so, try this: <%-- begin setup, for example o

Re: Iterate through a Map, OGNL Question about accessing a map with dynamic value [0]

2008-10-09 Thread Torsten Krah
Am Donnerstag, 9. Oktober 2008 16:04:27 schrieben Sie: > >     >         >         >     > But here you iterate through a map (order does not matter) and take the "key", which is the list, and iterate through that. I need to iterate through a list, where the actual value "[0]" or #myList

RE: Iterate through a Map, OGNL Question about accessing a map with dynamic value [0]

2008-10-09 Thread Brad A Cupit
From: Torsten Krah [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2008 8:27 AM > > > > The below code should work in any JSP that has the Struts 2 tag library imported. It iterates over a Map whose keys are of type List. This code was inspired by [1] <%--

Iterate through a Map, OGNL Question about accessing a map with dynamic value [0]

2008-10-09 Thread Torsten Krah
Hi. I am iterating over a list like this: which works. Additionally i've got a Map where the key is the List and the value is another list. This does not work. How can i tell the lookup expression, that it should use the value from the current outer iterator as the key to loo

Type conversion/OGNL question

2008-03-19 Thread lllewell
from Roughley's Starting Struts 2, p.64) -- View this message in context: http://www.nabble.com/Type-conversion-OGNL-question-tp16147699p16147699.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] Form & OGNL Question

2007-06-12 Thread Dave Newton
--- Lally Singh <[EMAIL PROTECTED]> wrote: > > >/> > > > > This doesn't do what I want, which is to have 1 set > of radio buttons per item in groups, each bound to > the value property of element i in groups. How is "groups" defined in your Action and what do its get/set look like? (An

[S2] Form & OGNL Question

2007-06-12 Thread Lally Singh
This sounds like it should be FAQ, but how do I bind a dynamically generated form item? E.g: This doesn't do what I want, which is to have 1 set of radio buttons per item in groups, each bound to the value property of element i in groups. Thanks in advance for your help, -ls -- H. Lal

Re: OGNL question

2007-06-11 Thread Ezequiel Puig
A bit late, but just for info, i think you can do that by using the "status": cssClass="listItem" notifyTopics="changeTypeListItem" theme="ajax" showLoadingText="false">

Re: OGNL question

2007-05-09 Thread Laurie Harper
his email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Felipe Rodrigues" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 08, 2007 3:31 PM Subject: OGNL quest

Re: OGNL question

2007-05-09 Thread Felipe Rodrigues
;>> Felipe >>> >>> >>> Martin Gainty wrote: >>>> You'll need to pass in a parameter for id such as this >>>> >>>> >>>> >>>> >>>> M-- >>>> This emai

Re: OGNL question

2007-05-09 Thread Felipe Rodrigues
t; > Thank you > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/OGNL-question-tf3711762.html#a10396879 Sent from th

Re: OGNL question

2007-05-09 Thread bigtdps2004
Dopes anyone know where there is a good beginners tutorial on developing their first struts application even if I am using Eclipse, Ant and MySql ? Thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: OGNL question

2007-05-09 Thread Felipe Rodrigues
gt; confidential >>> information intended only for the person(s) to whom this email message >>> is >>> addressed. If you have received this email message in error, please >>> notify >>> the sender immediately by telephone or email and destroy

Re: OGNL question

2007-05-08 Thread Laurie Harper
riginal message without making a copy. Thank you. - Original Message - From: "Felipe Rodrigues" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 08, 2007 3:31 PM Subject: OGNL question Hi, How could i do that Link changing EL by OGNL? The especific part

Re: OGNL question

2007-05-08 Thread Felipe Rodrigues
If you have received this email message in error, please > notify > the sender immediately by telephone or email and destroy the original > message without making a copy. Thank you. > > - Original Message - > From: "Felipe Rodrigues" <[EMAIL PROTECTED]>

Re: OGNL question

2007-05-08 Thread Martin Gainty
y the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Felipe Rodrigues" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 08, 2007 3:31 PM Subject: OGNL question Hi, How could i do t

OGNL question

2007-05-08 Thread Felipe Rodrigues
Hi, How could i do that Link changing EL by OGNL? The especific part href="%{setUsina${id}}" . I tried href="%{setUsina(#id)}" but didn't work. Thanks, Felipe -- View this message in context: http://www.nabble.com/OGNL-question-tf3711762.htm