Re: Multiple Logic iterate tags and setting indexed properties

2009-04-16 Thread thanuja
true"> >> > >> > I don't think logic:iterate supports property as "indexed". >> > Probably you can create above tag using values you have. >> > >> > "bookLists[i].books[j].selected" will be converted as >> > "g

Re: Multiple Logic iterate tags and setting indexed properties

2009-04-15 Thread Nikhil Walvekar
t; > "bookLists[i].books[j].selected" will be converted as > > "getBookList().get(i).getBooks().get(j).setSelected(value)" you will have > > to > > make sure that none of the getters return null object. > > > > Regards, > > Nikhil > > On Tue, Apr

Re: Multiple Logic iterate tags and setting indexed properties

2009-04-14 Thread thanuja
turn null object. > > Regards, > Nikhil > On Tue, Apr 14, 2009 at 7:04 AM, thanuja > wrote: > >> >> Hi, >> >> I am using one logic iterate tag inside another. The data set at the >> inner >> loop should update form bean. Following explains what

Re: Multiple Logic iterate tags and setting indexed properties

2009-04-13 Thread Nikhil Walvekar
).setSelected(value)" you will have to make sure that none of the getters return null object. Regards, Nikhil On Tue, Apr 14, 2009 at 7:04 AM, thanuja wrote: > > Hi, > > I am using one logic iterate tag inside another. The data set at the inner > loop should update form bean. Fol

Multiple Logic iterate tags and setting indexed properties

2009-04-13 Thread thanuja
Hi, I am using one logic iterate tag inside another. The data set at the inner loop should update form bean. Following explains what i tried to do. This way the data displays as I expected. But when I select the check box it won't update the corresponding 'Book' object. (The f

Re: Logic Iterate problem

2009-01-17 Thread ECLIPSE + CVS
ervlet.service(JspServlet.java:267) >>at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) >>at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >>at >> org.apache.catalina.core.ApplicationF

RE: Logic Iterate problem

2009-01-14 Thread Martin Gainty
:26:04 -0800 > From: anishpis...@gmail.com > To: user@struts.apache.org > Subject: Logic Iterate problem > > > Hi, > > In one page of my application i am trying to iterate through one collection > for populating one combo box. But it is showing > "javax.serv

Re: Logic Iterate problem

2009-01-14 Thread Paweł Wielgus
ainBase.execute(ChainBase.java:190) >at > org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283) >at > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) > at > org.apache.struts.action.ActionServlet

Logic Iterate problem

2009-01-14 Thread ECLIPSE + CVS
) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) Thanks and Regards, Crazy Worker -- View this message in context: http://www.

Re: Problems with Indexed Properties, Hidden Values and Logic Iterate Tag

2008-09-22 Thread cacodemon79
ystem.out.println((creazioneProfiloUtenteForm.getHSportBean(0)).getValue()); > but I always obtain null values (for all indexes). > > So, I don't know how to solve my problem. > > I also followed guidelines in: > http://faq.javaranch.com/java/IndexedProperties > http://

Problems with Indexed Properties, Hidden Values and Logic Iterate Tag

2008-09-21 Thread cacodemon79
a lot in advance. -- View this message in context: http://www.nabble.com/Problems-with-Indexed-Properties%2C-Hidden-Values-and-Logic-Iterate-Tag-tp19593011p19593011.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: problem laying out element of ordered list using logic iterate

2007-10-14 Thread Dolphin06
like to have it > display using logic iterate tag in this manner : > > String1String5 > > > String2String6 > > > String3String7 > > > String4String8 > > Hope someone helps, thank you. > -- View this message in context: http://www.nabble.com/probl

problem laying out element of ordered list using logic iterate

2007-10-13 Thread Dolphin06
Hello, i have a list of 8 String in session and i would like to have it display using logic iterate tag in this manner : String1String5 String2String6 String3String7 String4String8 Hope someone helps, thank you. -- View this message in context: http://www.nabble.com/problem-laying-out

Re: question in html select and html option, and logic iterate

2006-09-08 Thread Wendy Smoak
On 9/8/06, Vishal <[EMAIL PROTECTED]> wrote: I am stumped with something which i thought would not take that long and I would appreciate any help i can get from you all. I am pasting below the code. What does the corresponding action mapping in struts-config.xml look like?

question in html select and html option, and logic iterate

2006-09-08 Thread Vishal
Hi, I am stumped with something which i thought would not take that long and I would appreciate any help i can get from you all. I am pasting below the code. org.act.rsp.util.Utils.java - public class Utils { private Map passwordQuest

having problem Using Indexed properties with Multi select inside logic iterate

2006-06-27 Thread krishan rathi
Hi i am trying to use a multi select box in logic iterate in this way in the form bean i have following code. private Map selectedBooks; public Object getBookMapped(String index) { return selectedBooks.get(key); } public void setBookMapped(String index

having problem Using Indexed properties with Multi select inside logic iterate

2006-06-27 Thread Krishan Rathi
Hi i am trying to use a multi select box in logic iterate in this way in the form bean i have following code. private Map selectedBooks; public Object getBookMapped(String index) { return selectedBooks.get(key); } public void setBookMapped

Re: How to use logic iterate...

2006-01-10 Thread shyam kishore alapati
: [EMAIL PROTECTED] Date: Tue, 10 Jan 2006 08:39:34 -0800 To: user@struts.apache.org Subject: How to use logic iterate... > Hi All, > I have the below logic , and I need to loop thriugh the Dmamarket Array > using struts and > Set the form attribute.. > My form has dmaMarket[]

RE: How to use logic iterate...

2006-01-10 Thread Shilpa . Nalgonda
Thanks. That was veru helpful, I got my problem solved.. -Original Message- From: Srinivas Jadcharla [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 3:21 PM To: Struts Users Mailing List Subject: Re: How to use logic iterate... Shilpa, Look at the lessons By Rick http

Re: How to use logic iterate...

2006-01-10 Thread Rick Reumann
Srinivas Jadcharla wrote the following on 1/10/2006 3:21 PM: Shilpa, Look at the lessons By Rick http://www.reumann.net/struts/main.do You'll find the answer.Thanks Rick for your lessons. You're welcome, but I suggest if you want to get a jump on the more up-to-date stuff you use the upda

Re: How to use logic iterate...

2006-01-10 Thread Srinivas Jadcharla
an I use nested tags... > > -Original Message- > From: Gary Feidt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 10, 2006 12:31 PM > To: user@struts.apache.org > Subject: Re: How to use logic iterate... > > If you have a getDmaMarket and setDmaMa

RE: How to use logic iterate...

2006-01-10 Thread Shilpa . Nalgonda
the attributes (country) also at the same time.. Can I use nested tags... -Original Message- From: Gary Feidt [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 12:31 PM To: user@struts.apache.org Subject: Re: How to use logic iterate... If you have a getDmaMarket and setDmaMarket

Re: How to use logic iterate...

2006-01-10 Thread Gary Feidt
If you have a getDmaMarket and setDmaMarket property on your form, I would do the following: This will display your data, but it looks like you are trying to edit the list by displaying it in tags. You may want to rethink that, and use another page to edit each item individually. Just my

How to use logic iterate...

2006-01-10 Thread Shilpa . Nalgonda
Hi All, I have the below logic , and I need to loop thriugh the Dmamarket Array using struts and Set the form attribute.. My form has dmaMarket[] as an attribute. <% DmaMarket[] dmaArray = (DmaMarket[])session.getAttribute(Constants.ATTRIBUTE_EU_DMAMARKET_LIST) ;

struts mailreader logic-iterate

2005-11-16 Thread Patrick Wang
Hi, I am new to struts and played with the struts mail reader framework and could not resolve the following puzzling, In Registration.jsp there is an iteration statement. I searched on web and did some of my research, here is my understanding. subscriptions is name of th

Re: logic iterate

2005-07-08 Thread Borislav Sabev
arkup you would like to use not work for you? It looks fine to me. L. Vijay K Anand wrote: Hi All I have a problem in logic iterate .. I would like to dispaly checkbox in each row of the iteration like instead of -

Re: logic iterate

2005-07-08 Thread Laurie Harper
Why can't you just change your JSP? In other words, why does the markup you would like to use not work for you? It looks fine to me. L. Vijay K Anand wrote: Hi All I have a problem in logic iterate .. I would like to dispaly checkbox in each row of the iteration like in

logic iterate

2005-07-07 Thread Vijay K Anand
Hi All I have a problem in logic iterate .. I would like to dispaly checkbox in each row of the iteration like instead of Any help brothers?? Here goes the code      name="

Re: last element of logic iterate

2005-03-21 Thread Richard Reyes
thanks On Fri, 18 Mar 2005 09:06:38 -0500, Slattery, Tim - BLS <[EMAIL PROTECTED]> wrote: > > How do you determine if your on the last element of your > > logic:iterate loop? > > JSTL makes this very easy. Something like: > > > > stuff to do in the last iteration > >

Re: last element of logic iterate

2005-03-21 Thread Richard Reyes
thanks On Fri, 18 Mar 2005 03:04:24 -0500, Erik Weber <[EMAIL PROTECTED]> wrote: > One way is to use a combination of logic:iterate's indexId attribute > (serves as a loop counter) and the bean:size tag (can give the total > size of a collection before you iterate). Then you could use a > logic:e

RE: last element of logic iterate

2005-03-18 Thread Slattery, Tim - BLS
> How do you determine if your on the last element of your > logic:iterate loop? JSTL makes this very easy. Something like: stuff to do in the last iteration -- Tim Slattery [EMAIL PROTECTED] - To

Re: last element of logic iterate

2005-03-18 Thread Erik Weber
One way is to use a combination of logic:iterate's indexId attribute (serves as a loop counter) and the bean:size tag (can give the total size of a collection before you iterate). Then you could use a logic:equal test inside the iteration. Erik Richard Reyes wrote: Hello All , How do you determ

last element of logic iterate

2005-03-17 Thread Richard Reyes
Hello All , How do you determine if your on the last element of your logic:iterate loop? Thanks Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to get index using logic iterate tag

2005-03-17 Thread Rick Reumann
scott burns wrote the following on 3/17/2005 5:21 PM: How can I get the index and pass it to a js script function. I tried setting it in my bean but using bean:write is not allowed it seems. Any help would be appreciated. http://struts.apache.org/userGuide/struts-logic.html#iterate You need to

how to get index using logic iterate tag

2005-03-17 Thread scott burns
How can I get the index and pass it to a js script function. I tried setting it in my bean but using bean:write is not allowed it seems. Any help would be appreciated. Scott

Re: logic iterate help

2005-02-24 Thread Richard Reyes
n > > -Original Message- > From: Richard Reyes [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 24, 2005 3:52 PM > To: Struts Users Mailing List > Subject: logic iterate help > > Hello Guys, > > I have a user obj at sessionScope. Now this object

Re: logic iterate help

2005-02-24 Thread Richard Reyes
lay the username value... > > Does this answer ur question..? > > Cheers > Rajasekaran Iyanu. > [EMAIL PROTECTED] > > > -Original Message- > From: Richard Reyes [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 24, 2005 3:52 PM > To: Struts User

RE: logic iterate help

2005-02-24 Thread Iyanu, Rajasekaran
object to display the username value... Does this answer ur question..? Cheers Rajasekaran Iyanu. [EMAIL PROTECTED] -Original Message- From: Richard Reyes [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 3:52 PM To: Struts Users Mailing List Subject: logic iterate help

RE: logic iterate help

2005-02-24 Thread Krishna Mohan Radhakrishnan
Hi Richards, Make sure that class Ruser has getter and setter methods too Regards, Krishna Mohan -Original Message- From: Richard Reyes [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 3:52 PM To: Struts Users Mailing List Subject: logic iterate help

logic iterate help

2005-02-24 Thread Richard Reyes
How do i display the username using logic iterate. Please help Thanks Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Logic Iterate tag

2004-07-19 Thread Kataria, Satish
the performance aspect. Thanks, Satish -Original Message- From: Aditya Athalye [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 11:52 AM To: Kataria, Satish Subject: RE: Logic Iterate tag Hi Satish, I understand that it will avoid Java code to a great extent. But, I want to

RE: Logic Iterate tag

2004-07-19 Thread Kataria, Satish
: Aditya Athalye [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Logic Iterate tag Hi All, I am currently using for loops and iterators for traversing arrays and coolections in JSP. I am planning to use this logic : iterate tag in place of this

Logic Iterate tag

2004-07-19 Thread Aditya Athalye
Hi All, I am currently using for loops and iterators for traversing arrays and coolections in JSP. I am planning to use this logic : iterate tag in place of this. I need to know if there is any advantage of using this tag in terms of performance or reduction in Java code in JSP etc

Re: RE: struts logic-iterate and accessing nested index properties

2004-05-13 Thread Satish Satish
P > > -Original Message- > From: PADALA, SANDHYA (SBCSI) [mailto:[EMAIL PROTECTED] > Sent: Friday, May 14, 2004 5:28 AM > To: Struts Users Mailing List > Subject: RE: struts logic-iterate and accessing nested index properties > > Thank you Tim. I used JSTL , tha

RE: struts logic-iterate and accessing nested index properties

2004-05-13 Thread Prasad, Kamakshya
Hi, It can as well be done in struts using this   [] KP -Original Message- From: PADALA, SANDHYA (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 5:28 AM To: Struts Users Mailing List Subject: RE: struts logic-iterate and accessing nested index properties Thank you

RE: struts logic-iterate and accessing nested index properties

2004-05-13 Thread PADALA, SANDHYA (SBCSI)
Thank you Tim. I used JSTL , that solved my problem -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 1:58 PM To: 'Struts Users Mailing List' Subject: RE: struts logic-iterate and accessing nested index properties > In

RE: struts logic-iterate and accessing nested index properties

2004-05-13 Thread Slattery, Tim - BLS
> In my JSP I have coded the following > indexId="index"> property='<%= "fooBean[" + index + "].attID" > %>'/> [] > > When I run the JSP I get the following error > Error 500: No getter method for property fooBean[0].attID of > bean element Use JSTL: -- Tim Slattery [EMAIL PROTECTE

struts logic-iterate and accessing nested index properties

2004-05-13 Thread PADALA, SANDHYA (SBCSI)
Hi I have a form bean which extexnds Action form . FooForm This FooForm has an array of another java bean say FooJavaBean Public class FooForm extends ActionForm { Public FooJavaBean[] fooBean = ; Public FooJavaBean getFooBean(int index) { return fooBean[index]; } Public FooJavaBean

struts logic-iterate and accessing nested index properties

2004-05-13 Thread PADALA, SANDHYA (SBCSI)
Hi I have a form bean which extexnds Action form . FooForm This FooForm has an array of another java bean say FooJavaBean Public class FooForm extends ActionForm { Public FooJavaBean[] fooBean = ; Public FooJavaBean getFooBean(int index) { return fooBean[index]; } Public FooJavaBean