Re: logic:iterate

2009-09-03 Thread Rusty Wright
Oops, sorry; I didn't realize this was a struts 1 question. Rusty Wright wrote: http://struts.apache.org/2.1.6/docs/ognl-basics.html senderj wrote: If I have a text input in my jsp named scoreNdays, I know I should declare my variable scoreNdays in the struts formbean with getter and setter

Re: logic:iterate

2009-09-03 Thread Rusty Wright
http://struts.apache.org/2.1.6/docs/ognl-basics.html senderj wrote: If I have a text input in my jsp named scoreNdays, I know I should declare my variable scoreNdays in the struts formbean with getter and setter like getScoreNdays(). Then it will work with the jsp. Now I have an iternation in m

logic:iterate

2009-09-02 Thread senderj
If I have a text input in my jsp named scoreNdays, I know I should declare my variable scoreNdays in the struts formbean with getter and setter like getScoreNdays(). Then it will work with the jsp. Now I have an iternation in my jsp like . Since the two input are indexed, they generate a

Problem creating multiple radio buttons groups into an logic:iterate

2009-06-22 Thread Luis Ureña
First, thanks for your help I am having problems to build JSP with multiple questions and some radio buttons for each question. I am using two logic:iterate, one for questions and anotherone for answer for each question, like this:

RE: logic:iterate issue

2009-03-11 Thread Russo, Joe
Pawel, Thank you very much for responding. I tried the following and it worked. Thanks again, Joe -Original Message- From: Pawel Wielgus [mailto:poulw...@gmail.com] Sent: Wednesday, March 11, 2009 6:46 AM To: Struts Users Mailing List Subject: Re: logic:iterate

Re: logic:iterate issue

2009-03-11 Thread Paweł Wielgus
gt; Sent: Tuesday, March 10, 2009 2:28 PM > To: Struts Users Mailing List > Subject: logic:iterate issue > > > Sorry forgot to change subject. > > -Original Message- > From: Russo, Joe [mailto:rus...@cadmus.com] > Sent: Tuesday, March 10, 2009 2:25 PM > To:

RE: logic:iterate issue

2009-03-10 Thread Russo, Joe
- From: Russo, Joe [mailto:rus...@cadmus.com] Sent: Tuesday, March 10, 2009 2:28 PM To: Struts Users Mailing List Subject: logic:iterate issue Sorry forgot to change subject. -Original Message- From: Russo, Joe [mailto:rus...@cadmus.com] Sent: Tuesday, March 10, 2009 2:25 PM To

logic:iterate issue

2009-03-10 Thread Russo, Joe
Sorry forgot to change subject. -Original Message- From: Russo, Joe [mailto:rus...@cadmus.com] Sent: Tuesday, March 10, 2009 2:25 PM To: Struts Users Mailing List Subject: RE: Convention Plugin and Action Chaining I defined the below code and would like to use the iterate functionality

Re: logic:iterate not populating the values on submit

2008-12-24 Thread Yayo
I think it's wrong... you don't need an "iterated" in order to set a single simple value. With a setter and getter pair for the property is just enough. You should be expecting an String with the given value from the user input. The again I may be wrong... ^^ Happy new year!

logic:iterate not populating the values on submit

2008-12-24 Thread Prasanth Nair
Hi, I need a urgent help. Could someone respond to http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=58&t=015067 regards Prasanth

Re: Struts logic:iterate does not recognize the collection.

2008-11-07 Thread Dave Newton
--- On Fri, 11/7/08, SanJ.SANJAY wrote: > [...] I think the reason is that the moment it tries to read > proper xxxCollection in iterator tag, it throws error > "bean xxxCollection is not found in any any scope" Such information is useful; I don't recall you mentioning that before. > I am confus

Re: Struts logic:iterate does not recognize the collection.

2008-11-07 Thread SanJ.SANJAY
newton.dave wrote: > > The ">" characters are normally used to differentiate what I said from > what you said. Prefacing *every* line with ">" somewhat defeats the > purpose and breaks with tradition. > > --- On Fri, 11/7/08, SanJ.SANJAY wrote: >> I changed to put that in direct request also a

Re: Struts logic:iterate does not recognize the collection.

2008-11-07 Thread Dave Newton
The ">" characters are normally used to differentiate what I said from what you said. Prefacing *every* line with ">" somewhat defeats the purpose and breaks with tradition. --- On Fri, 11/7/08, SanJ.SANJAY wrote: > I changed to put that in direct request also and did'nt work: > request.setAttri

Re: Struts logic:iterate does not recognize the collection.

2008-11-07 Thread SanJ.SANJAY
newton.dave wrote: > > --- On Fri, 11/7/08, SanJ.SANJAY wrote: >> I am trying to display the collection that I am setting in >> struts action to the request scope. > > The code is putting it in session scope, FWIW: > >> request.getSession().setAttribute("xxxCollection", xxxCollection); >> [..

Re: Struts logic:iterate does not recognize the collection.

2008-11-07 Thread Dave Newton
--- On Fri, 11/7/08, SanJ.SANJAY wrote: > I am trying to display the collection that I am setting in > struts action to the request scope. The code is putting it in session scope, FWIW: > request.getSession().setAttribute("xxxCollection", xxxCollection); > [...] > > > Does it not recognize

Struts logic:iterate does not recognize the collection.

2008-11-07 Thread SanJ.SANJAY
I am trying to display the collection that I am setting in struts action to the request scope. But when I try to use struts to display the collection, it says does not find xxxCollection bean in any scope. In Action class: for (int i = 0; i < children.length; i++) { xxxCollection.add(filenam

Re: Problem in using logic:iterate in struts

2008-09-24 Thread Laurie Harper
one action class say "view_topics_Action" is getting called which is setting the arraylist for topics say "topic_list" in request scope.This list is getting displayed using logic:iterate in view_topic.jsp.No problem till here.Now when user clicks on a particular topic I want th

Re: Problem in using logic:iterate in struts

2008-09-23 Thread UITOT
class say "view_topics_Action" is getting called which is setting the arraylist for topics say "topic_list" in request scope.This list is getting displayed using logic:iterate in view_topic.jsp.No problem till here.Now when user clicks on a particular topic I want that all the threads re

Re: Problem in using logic:iterate in struts

2008-09-23 Thread Laurie Harper
Unfortunately your struts-config.xml and JSP code didn't make it through to the list properly. Make sure you're sending your message as plain text. A couple of questions: *) How are you accessing the page? (i.e. what URL are you typing?) *) Are you sure you are calling the action before the JS

Re: Problem in using logic:iterate in struts

2008-09-23 Thread UITOT
Hello Alexander, First of all thanx for replying.My code looks very much unclear here.You can refer this link http://forums.sun.com/thread.jspa?threadID=5333420.Again topic_list is my arraylist.I have created it in action class & I have set it in request scope.Same arraylist I

Re: Problem in using logic:iterate in struts

2008-09-23 Thread Alexander Baetz
UITOT schrieb: Hello all, I have developed 1 application using struts.I am getting this error in my JSP.I have used logic:iterate.I have populated an arraylist in action class which I am using in my JSP.I am able to see the data from the arraylist in my JSP but I am getting error when I am clicki

Problem in using logic:iterate in struts

2008-09-23 Thread UITOT
Hello all, I have developed 1 application using struts.I am getting this error in my JSP.I have used logic:iterate.I have populated an arraylist in action class which I am using in my JSP.I am able to see the data from the arraylist in my JSP but I am getting error when I am clicking on the hyperl

logic:iterate problem: NullPointerException

2008-09-06 Thread cacodemon79
Hi to all. I have a problem with a logic:iterate tag. I'm using Struts 1.3. I have to populate a select with data read from db (by invoking the first Action). When a select option is selected in the jsp, I have to invoke a second Action (on the same jsp page) which has to perform some opera

Re: logic:iterate - editable table

2008-01-16 Thread Randy Burgess
; > Reply-To: Struts Users Mailing List > Date: Wed, 16 Jan 2008 12:41:41 +0100 (CET) > To: > Subject: logic:iterate - editable table > > Hi, > > I have searched the archive but havn't found any > solution for the following problem: > > I have an array of e

RE: AW: logic:iterate - editable table

2008-01-16 Thread Oliver Thoms
gt; html:text tag. > > or in complex cases: > > id="list" indexId="loop"> >(loop.intValue()) + "].myProperty"%>"/> > > > > kind regards, > > frank > > -Ursprüngliche Nachricht- > Von: Oliver T

AW: logic:iterate - editable table

2008-01-16 Thread Otto, Frank
hi, you can use the attribute indexed="true" in html:text tag. or in complex cases: "/> kind regards, frank -Ursprüngliche Nachricht- Von: Oliver Thoms [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 16. Januar 2008 12:42 An: user@struts.apache.org Betr

logic:iterate - editable table

2008-01-16 Thread Oliver Thoms
Hi, I have searched the archive but havn't found any solution for the following problem: I have an array of entries to display, so I use the logic:iterate tag. But due to customer request, the data should not be just displayed (bean:write) and afterwards edited by the usual EDIT Button a

Download button logic:iterate

2007-11-29 Thread SandipGaikwad
please can anybody tell me how to use Download button functionality (DownloadAction) in logic:iterate of struts 1.2.9 -- View this message in context: http://www.nabble.com/Download-button-logic%3Aiterate-tf4901761.html#a14041195 Sent from the Struts - User mailing list archive at Nabble.com

Re: logic:iterate question

2007-11-26 Thread Ingo Villnow
The class "Book" must have the getter-function "getTitle()" Minghui Yu schrieb: > in Action: > ... > Set books=bdao.findAllBooks(); > request.setAttribute("books", books); > ... > > > In JSP: > > > All Books: > > > > > --

Re: logic:iterate question

2007-11-25 Thread Minghui Yu
I made this change , still does not work Next element is Error: No getter method for property: "title" of bean: "abook" I do have getTitle method for Book object On Nov 25, 2007 7:33 PM, Fitzwilliam. Aaron <[EMAIL PROTECTED]> wrote: > u sure the collection 'books' is not empty? > > > O

Re: logic:iterate question

2007-11-25 Thread Minghui Yu
I tried code below, still the same error: Next element is Database search does not return any result On Nov 25, 2007 7:33 PM, Fitzwilliam. Aaron <[EMAIL PROTECTED]> wrote: > u sure the collection 'books' is not empty? > > > On 11/26/07, Minghui Yu <[EMAIL PRO

Re: logic:iterate question

2007-11-25 Thread Fitzwilliam . Aaron
u sure the collection 'books' is not empty? On 11/26/07, Minghui Yu <[EMAIL PROTECTED]> wrote: > > in Action: > ... > Set books=bdao.findAllBooks(); >request.setAttribute("books", books); > ... > > > In JSP: > > > All Books: > > > > > -- > > The line ( throws an > exception: >

logic:iterate question

2007-11-25 Thread Minghui Yu
in Action: ... Set books=bdao.findAllBooks(); request.setAttribute("books", books); ... In JSP: All Books: -- The line ( throws an exception: Root Cause: javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find bean: "book" in any scope (ther

Re: logic:iterate - Question

2007-08-09 Thread Mad Shop
nfiguration. apparently your weblogic server isn't properly configured which log to use with commons-logging adaptor. On 8/9/07, Mad Shop wrote: > I have following scenario. > > I have getExSummary() method in exForm which returns a arraylist of A object. > How to use logic:iterate tag t

Re: logic:iterate - Question

2007-08-09 Thread Leon Rosenberg
thod in exForm which returns a arraylist of A > object. How to use logic:iterate tag to print all the values which methods > in A object. > getACount(),getBCount() are methods in A object. > > I tried following tag, which is not working. Please suggest

logic:iterate - Question

2007-08-09 Thread Mad Shop
I have following scenario. I have getExSummary() method in exForm which returns a arraylist of A object. How to use logic:iterate tag to print all the values which methods in A object. getACount(),getBCount() are methods in A object. I tried following tag, which is not

Concerning index on validating under logic:iterate

2007-08-06 Thread Hiroyuki Suzuki
Guys,i have this error saying that indexed is invalid for my multibox attribute this is my JSP what seems to be the problem? -- View this message in context: http://www.nabble.com/Concerning-index-on-validating-under-logic%3Aite

Re: html:text inside logic:iterate

2007-08-01 Thread Hiroyuki Suzuki
hello..it works properly now. Ive changed html:text syntax to " size="25"/> and declared bitrateTxt in my actionform as private String[] bitrateTxt = {"","","","",""}; public String[] getBitrateTxt() { return this.bitrateTxt; } public void setBitra

Re: html:text inside logic:iterate

2007-08-01 Thread Hiroyuki Suzuki
here is the declaration of bitrateTxt in my actionform private String bitrateTxt; public String getBitrateTxt() { return this.bitrateTxt; } public void setBitrateTxt(String bitrateTxt) { this.bitrateTxt = bitrateTxt; }

Re: html:text inside logic:iterate

2007-08-01 Thread Hiroyuki Suzuki
hi but I also declares bitrateText in my actionform.. Thank you for your reply.. nuwan chandrasoma-2 wrote: > > Hi, > > You dont have a getter method for bitrateTxt property in the bean your > trying to access (item1). > > Thanks, > > Nuwan > > Hiroyuki Suzuki wrote: >> hello guys..Im Hiroy

Re: html:text inside logic:iterate

2007-08-01 Thread Nuwan Chandrasoma
Hi, You dont have a getter method for bitrateTxt property in the bean your trying to access (item1). Thanks, Nuwan Hiroyuki Suzuki wrote: hello guys..Im Hiroyuki and im new here.. Hope you could help me with some of my inquiries. I have this JSP property="items1">

html:text inside logic:iterate

2007-08-01 Thread Hiroyuki Suzuki
hello guys..Im Hiroyuki and im new here.. Hope you could help me with some of my inquiries. I have this JSP "/> "/> "/> my action form contains: private String[] bitratebox = {}; private String[] items1 = {"500k","1

Re: logic:iterate - problem

2007-07-10 Thread Andreas Hartmann
regards, Andreas Hartmann Chad S. Lauritsen wrote: > Another way to do it (with a little bit less java) is: > > > > > > > > > [EMAIL PROTECTED] wrote: >> Hello! >> >> I've got a problem to get a value within a logic:iterate con

Re: logic:iterate - problem

2007-07-10 Thread Chad S. Lauritsen
Another way to do it (with a little bit less java) is: [EMAIL PROTECTED] wrote: Hello! I've got a problem to get a value within a logic:iterate construction (foo is an ArrayList ): This does not work. How must it been written to address the method getRows() in the o

Re: logic:iterate - problem

2007-07-10 Thread Yoge
Try following tag... On 7/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello! I've got a problem to get a value within a logic:iterate construction (foo is an ArrayList ): This does not work. How must it been written to address the method getRows() in the object

logic:iterate - problem

2007-07-09 Thread andihartmann
Hello! I've got a problem to get a value within a logic:iterate construction (foo is an ArrayList ): This does not work. How must it been written to address the method getRows() in the object, which has been defined by id in logic:iterate? Kind regards, Andreas Hartmann &

RE: Iterate and write indexed properties in place using logic:iterate

2007-03-26 Thread Karr, David
-brainer" list of dependencies. Without it, your code will be messier and harder to maintain. > -Original Message- > From: Francesco Pretto [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 25, 2007 7:53 AM > To: user@struts.apache.org > Subject: Iterate and write indexed proper

Re: Iterate and write indexed properties in place using logic:iterate

2007-03-25 Thread Francesco Pretto
Hey, nested tags should be actually cited, at least in the 1.3.5 faqs at http://struts.apache.org/1.3.5/struts-taglib/indexedprops.html ! However, found a very simple solution that works perfectly! Thanks with nabble.com and it's powerful search function :-) Bye, Francesco

Iterate and write indexed properties in place using logic:iterate

2007-03-25 Thread Francesco Pretto
rite on the field "field1" of each objects in the ArrayList. Using EL extensions, code would probably like this (i haven't tryed): The problem i absolutely don't want to add another dependency to my project, if not strictly necessary, and i have the sensation i

Re: logic:iterate tag!

2007-03-10 Thread Laurie Harper
* - Original Message From: Laurie Harper <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Thursday, March 8, 2007 5:11:20 PM Subject: Re: logic:iterate tag! Swaminathan Subramanian wrote: All, I am working on application using Struts 1.0. I am trying to d

Re: logic:iterate tag!

2007-03-09 Thread Swaminathan Subramanian
I am sorry! It is a typo. - Original Message From: Dave Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Friday, March 9, 2007 2:34:26 PM Subject: Re: logic:iterate tag! --- Swaminathan Subramanian wrote: > ArrayList alAFFFile = new ArrayList(); > alFile.add

Re: logic:iterate tag!

2007-03-09 Thread Dave Newton
--- Swaminathan Subramanian wrote: > ArrayList alAFFFile = new ArrayList(); > alFile.add(objAFFFiles[i]); > session.setAttribute("AFFFiles", alAFFFile); Is the alFile.add a typo? d. Finding fabulous fares i

Re: logic:iterate tag!

2007-03-09 Thread Swaminathan Subramanian
* - Original Message From: Laurie Harper <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Thursday, March 8, 2007 5:11:20 PM Subject: Re: logic:iterate tag! Swaminathan Subramanian wrote: > All, > I am working on application using Struts 1.0. I am trying

Re: logic:iterate tag!

2007-03-08 Thread Laurie Harper
Swaminathan Subramanian wrote: All, I am working on application using Struts 1.0. I am trying to display an ArrayList of complex objects using the logic:iterate tag. Here's some more details - FileObj fileName fileSize fil

logic:iterate tag!

2007-03-08 Thread Swaminathan Subramanian
All, I am working on application using Struts 1.0. I am trying to display an ArrayList of complex objects using the logic:iterate tag. Here's some more details - FileObj fileName fileSize fileType fileModifiedDate Action

Re: Nesting logic:iterate tags and indexed="true"

2007-01-25 Thread Nuwan Chandrasoma
Hi, Have a look on struts nested tags. Regards, Nuwan - Original Message - From: "Oscar Guindzberg" <[EMAIL PROTECTED]> To: Sent: Thursday, January 25, 2007 6:29 PM Subject: Nesting logic:iterate tags and indexed="true" I have a problem nesting log

Nesting logic:iterate tags and indexed="true"

2007-01-25 Thread Oscar Guindzberg
I have a problem nesting logic:iterate tags along with using indexed="true" I have a form that extends ActionForm which has a Car array. Car class has in turn a type and a Components array. Component has 2 fields: name and qty. This is the jsp: This is the gene

RE: nested:select to logic:iterate or nested:iterate

2007-01-20 Thread Bhanu Valasa
I want to print the value of it in the plain text format on the page. Using select/options will not help here. Regards -Original Message- From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] Sent: Saturday, January 20, 2007 4:53 PM To: Nuwan Chandrasoma; Struts Users Mailing List Subject: Re:

Re: nested:select to logic:iterate or nested:iterate

2007-01-20 Thread Nuwan Chandrasoma
gt; To: "Struts Users Mailing List" Sent: Saturday, January 20, 2007 9:47 PM Subject: Re: nested:select to logic:iterate or nested:iterate Hi, According to the code sample you have given below. i dont think the ArrayList you are iterating contains strings. it must be having some

Re: nested:select to logic:iterate or nested:iterate

2007-01-20 Thread Nuwan Chandrasoma
and see.. for eg:- Thanks, Nuwan - Original Message - From: "Bhanu Valasa" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, January 20, 2007 4:02 PM Subject: RE: nested:select to logic:iterate or nested:iterate Nuwan, Infact I

RE: nested:select to logic:iterate or nested:iterate

2007-01-20 Thread Bhanu Valasa
logic:iterate or nested:iterate Thanks, Nuwan - Original Message - From: "Bhanu Valasa" <[EMAIL PROTECTED]> To: Sent: Friday, January 19, 2007 7:20 PM Subject: nested:select to logic:iterate or nested:iterate Hello gurus I have struts tag in my jsp, which disp

Re: nested:select to logic:iterate or nested:iterate

2007-01-19 Thread Nuwan Chandrasoma
id="product"> Thanks, Nuwan - Original Message - From: "Bhanu Valasa" <[EMAIL PROTECTED]> To: Sent: Friday, January 19, 2007 7:20 PM Subject: nested:select to logic:iterate or nested:iterate Hello gurus I have struts tag in my jsp, whic

nested:select to logic:iterate or nested:iterate

2007-01-19 Thread Bhanu Valasa
Hello gurus I have struts tag in my jsp, which displays HTML select option box with selected (a String array in the bean) Instead HTML Select box I want to print the String array elements in text format. Could some one please help me how to use logic:iterate or

Re: logic:iterate for arraylist of beans

2006-12-13 Thread Kranti Parisa
gt; From: Kranti Parisa [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 13, 2006 3:23 PM > To: Struts Users Mailing List > Subject: Re: logic:iterate for arraylist of beans > > Dear Mano, > > I need to display the employees from the emp table > emp table is having

Re: logic:iterate for arraylist of beans

2006-12-13 Thread Kranti Parisa
Wednesday, December 13, 2006 3:23 PM To: Struts Users Mailing List Subject: Re: logic:iterate for arraylist of beans Dear Mano, I need to display the employees from the emp table emp table is having following columns 1) empid 2) fname 3) lname 4) email 5) mobile ...etc so when i fire a query i will

RE: logic:iterate for arraylist of beans

2006-12-13 Thread Anil Kumar T
Sent: Wednesday, December 13, 2006 3:23 PM To: Struts Users Mailing List Subject: Re: logic:iterate for arraylist of beans Dear Mano, I need to display the employees from the emp table emp table is having following columns 1) empid 2) fname 3) lname 4) email 5) mobile ...etc so when i fire a query i wil

Re: logic:iterate for arraylist of beans

2006-12-13 Thread Kranti Parisa
anti Parisa [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 13, 2006 3:06 PM To: Struts Users Mailing List Subject: Re: logic:iterate for arraylist of beans Hi Mano, In the code you have written "Emp" should be the name of the ArrayList right? and in logic:iterate type is there?

RE: logic:iterate for arraylist of beans

2006-12-13 Thread mano dasanayake
uts Users Mailing List Subject: Re: logic:iterate for arraylist of beans Hi Mano, In the code you have written "Emp" should be the name of the ArrayList right? and in logic:iterate type is there? i hope you mean to say collection="" .. and i need to submit the form after se

logic:iterate, tfoot and sum

2006-12-13 Thread Marcello Savino
Hi, i've a questione regarding sum calculation in a table: The jsp look like this one: Nr

Re: logic:iterate for arraylist of beans

2006-12-13 Thread Kranti Parisa
Hi Mano, In the code you have written "Emp" should be the name of the ArrayList right? and in logic:iterate type is there? i hope you mean to say collection="" .. and i need to submit the form after selecting what ever checkboxes that i need to delete and then click on t

RE: logic:iterate for arraylist of beans

2006-12-13 Thread mano dasanayake
List Subject: logic:iterate for arraylist of beans hi, i am facing proble for the following = assigning value to check box say logic:iterate is having arraylist this arraylist is with beans means for example employee bean i want to view all emps in jsp what we will do is we

logic:iterate for arraylist of beans

2006-12-13 Thread Kranti Parisa
hi, i am facing proble for the following = assigning value to check box say logic:iterate is having arraylist this arraylist is with beans means for example employee bean i want to view all emps in jsp what we will do is we create a bean for each employee and add tht

Re: how get index value at logic:iterate

2006-12-12 Thread Po Po
PROTECTED]> wrote: > > > > Hello, > > > > I've a collection and i iterate using > logic:iterate, > > inside the iterate, put a html:select. > > > > id="idx" > > indexId="indexId"> > > ... > > > onchange

Re: how get index value at logic:iterate

2006-12-12 Thread Antonio Petrelli
Po Po ha scritto: But when I run, it's javascript error. When view the html source see, the ${indexId} is not convert to a number (just as string). Do you use a JSP 2.0 compliant app server, such as Tomcat 5.5? - To unsubsc

Re: how get index value at logic:iterate

2006-12-12 Thread Nikhil Walvekar
try onchange='<%= "onchangeGrade(" + indexId.intValue() + ");" %>' Regards, Nikhil On 12/12/06, Po Po <[EMAIL PROTECTED]> wrote: Hello, I've a collection and i iterate using logic:iterate, inside the iterate, put a html:select. ...

how get index value at logic:iterate

2006-12-12 Thread Po Po
Hello, I've a collection and i iterate using logic:iterate, inside the iterate, put a html:select. ... ... In the html:select, I add an javascript onchange event. the event call onchangeGrade. I need the indexId is write as parameter in javascript onchangeGrade. But when I run,

Re: Issue: using logic:iterate to display rows and html:button to dis tinguish one of them

2006-11-07 Thread WongTseng
io boxs to replace the hidden elements,and only one delete button is enough. 2006/10/26, Gallagher, Jim (RBoS ITD&S Dublin) <[EMAIL PROTECTED]>: Hi Apologies if this is a simple issue, but it's driving me insane. In my web app (using Struts 1.1 on Java 1.4 & Websphere) I have a js

Re: Issue: using logic:iterate to display rows and html:button to distinguish one of them

2006-11-07 Thread Pankaj Gupta
Thanks Chris for the response. I have fixed the bug. It works now the new code looks like this: " > "Chris Pratt" <[EMAIL PROTECTED]> 11/08/2006 11:48 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subje

Re: Issue: using logic:iterate to display rows and html:button to distinguish one of them

2006-11-07 Thread Chris Pratt
Regards, > > > > Jim > > > > > > -Original Message- > > From: Marcello Savino [mailto:[EMAIL PROTECTED] > > Sent: 26 October 2006 11:32 > > To: Struts Users Mailing List > > Subject:

Re: Issue: using logic:iterate to display rows and html:button to distinguish one of them

2006-11-07 Thread Pankaj Gupta
value when the button is > pressed. > > Thanks > > > > Regards, > > Jim > > > -Original Message- > From: Marcello Savino [mailto:[EMAIL PROTECTED] > Sent: 26 October 2006 11:32 > To: Struts Users Mailing

Re: Issue: using logic:iterate to display rows and html:button to distinguish one of them

2006-10-26 Thread Chris Pratt
Regards, Jim -Original Message- From: Marcello Savino [mailto:[EMAIL PROTECTED] Sent: 26 October 2006 11:32 To: Struts Users Mailing List Subject: R: Issue: using logic:iterate to display rows and html:button to distinguish one of them *** WARNING : This message

RE: Issue: using logic:iterate to display rows and html:button to distinguish one of them

2006-10-26 Thread Gallagher, Jim (RBoS ITD&S Dublin)
hanks Regards, Jim -Original Message- From: Marcello Savino [mailto:[EMAIL PROTECTED] Sent: 26 October 2006 11:32 To: Struts Users Mailing List Subject: R: Issue: using logic:iterate to display rows and html:butt

R: Issue: using logic:iterate to display rows and html:button to distinguish one of them

2006-10-26 Thread Marcello Savino
s Mailing List' Oggetto: RE: Issue: using logic:iterate to display rows and html:button to distinguish one of them Thanks for this - unfortunately I'm required to use a button, not a hyperlink. Is it possible? Regards,

RE: Issue: using logic:iterate to display rows and html:button to distinguish one of them

2006-10-26 Thread Gallagher, Jim (RBoS ITD&S Dublin)
uts Users Mailing List Subject: R: Issue: using logic:iterate to display rows and html:button to distinguish one of them *** WARNING : This message originates from the Internet *** Sorry i forgot something in my code ">Delete HIH Ciao, marcello -Messaggio

R: Issue: using logic:iterate to display rows and html:button to distinguish one of them

2006-10-26 Thread Marcello Savino
Sorry i forgot something in my code ">Delete HIH Ciao, marcello -Messaggio originale- Da: Gallagher, Jim (RBoS ITD&S Dublin) [mailto:[EMAIL PROTECTED] Inviato: giovedì 26 ottobre 2006 12.02 A: 'user@struts.apache.org' Oggetto: Issue: using lo

R: Issue: using logic:iterate to display rows and html:button to distinguish one of them

2006-10-26 Thread Marcello Savino
Use a url instead: Somethin like that: HIH Ciao, marcello -Messaggio originale- Da: Gallagher, Jim (RBoS ITD&S Dublin) [mailto:[EMAIL PROTECTED] Inviato: giovedì 26 ottobre 2006 12.02 A: 'user@struts.apache.org' Oggetto: Issue: using logic:iterate t

Issue: using logic:iterate to display rows and html:button to dis tinguish one of them

2006-10-26 Thread Gallagher, Jim (RBoS ITD&S Dublin)
Hi Apologies if this is a simple issue, but it's driving me insane. In my web app (using Struts 1.1 on Java 1.4 & Websphere) I have a jsp that is using logic:iterate to display a sequence of records. On each row I have a "Delete" button, which should cause the object that r

Re: iterating of collection of HashMapsusing logic:iterate

2006-10-13 Thread Vinod Kumar
ashmap. > > How can I iterate over all the values using > > logic:iterate. > > > > HashMap h1 = new HashMap(); > > > > String id=1; > > HashMap h2 = new HashMap(); > > h2.put(id,"123"); > > h2.put("key1","456"

RE: iterating of collection of HashMapsusing logic:iterate

2006-10-13 Thread Bruno Melloni
I think you need instead of in the inner tag. But please correct me if I'm wrong. -Original Message- From: Puneet Lakhina [mailto:[EMAIL PROTECTED] Sent: Friday, October 13, 2006 1:58 PM To: Struts Users Mailing List Subject: Re: iterating of collection of HashMapsusing logic:it

Re: iterating of collection of HashMapsusing logic:iterate

2006-10-13 Thread Puneet Lakhina
On 10/13/06, Vinod Kumar <[EMAIL PROTECTED]> wrote: Hi All, I have hashmap with key/value but the value in this hashmap is another hashmap. How can I iterate over all the values using logic:iterate. HashMap h1 = new HashMap(); String id=1; HashMap h2 = new HashMap(); h2.put(id,"12

RE: iterating of collection of HashMapsusing logic:iterate

2006-10-12 Thread Vinod Kumar
ilto:[EMAIL PROTECTED] > Sent: Fri 10/13/2006 6:29 AM > To: user@struts.apache.org > Subject: iterating of collection of HashMapsusing > logic:iterate > > > > Hi All, > I have hashmap with key/value but the value in this > hashmap is another hashmap. > How can I iterate

RE: iterating of collection of HashMapsusing logic:iterate

2006-10-12 Thread Pradyumna kumar, Jena \(J.\)
or in the inner iterate have both name set to entry and property to value From: Vinod Kumar [mailto:[EMAIL PROTECTED] Sent: Fri 10/13/2006 6:29 AM To: user@struts.apache.org Subject: iterating of collection of HashMapsusing logic:iterate Hi All, I have hashmap

RE: iterating of collection of HashMapsusing logic:iterate

2006-10-12 Thread Pradyumna kumar, Jena \(J.\)
Fri 10/13/2006 6:29 AM To: user@struts.apache.org Subject: iterating of collection of HashMapsusing logic:iterate Hi All, I have hashmap with key/value but the value in this hashmap is another hashmap. How can I iterate over all the values using logic:iterate. HashMap h1 = new HashMap(); String

iterating of collection of HashMapsusing logic:iterate

2006-10-12 Thread Vinod Kumar
Hi All, I have hashmap with key/value but the value in this hashmap is another hashmap. How can I iterate over all the values using logic:iterate. HashMap h1 = new HashMap(); String id=1; HashMap h2 = new HashMap(); h2.put(id,"123"); h2.put("key1","456"); h2.put(&qu

Re: iterating Vector of HashMap using Logic:iterate

2006-09-21 Thread Chris Pratt
I haven't actually tried this, but would something like this work? ${map['field2']} You might need some 's in there depending on your JSP version, but it's probably a start. (*Chris*) On 9/21/06, Venkata Phani Kumar <[EMAIL PROTECTED]> wrote: Hi, I have a Vector. Each HashMap holds two

R: iterating Vector of HashMap using Logic:iterate

2006-09-21 Thread Marcello Savino
Hih, Marcello -Messaggio originale- Da: Venkata Phani Kumar [mailto:[EMAIL PROTECTED] Inviato: giovedì 21 settembre 2006 9.18 A: Struts Users Mailing List Oggetto: iterating Vector of HashMap using Logic:iterate Hi, I have a Vector. Each HashMap holds two elements as key 'f

iterating Vector of HashMap using Logic:iterate

2006-09-21 Thread Venkata Phani Kumar
Hi, I have a Vector. Each HashMap holds two elements as key 'field1' and 'filed2'. Now in jsp page i have to iterate over above vector and have to construt one combo box as below field2 could any body help how to display as above using Regards Venkata Phanikumar. G

Re: [help] html-el:select in logic:iterate loop

2006-09-11 Thread Garner Shawn
I figured it out and fixed my code. The options tag is responsible for rendering the selected attribute. I kind of thought the select tag doEndTag would parse the evaluated tag body and set the right one as selected. I suppose not as efficient if you did it that way. Thanks, Shawn On 9/11/06,

[help] html-el:select in logic:iterate loop

2006-09-11 Thread Garner Shawn
I have a html-el:select in a logic loop and the values are not being retained after submtitting the form and returning with a validation action error. The html-el:text fields values are being retained and they are in the exact same object.

Re: Problem with logic:iterate and List of Strings

2006-06-14 Thread Florian Barth
I tried to do it with your piece of code, but that didn't quite work I think one solution would be to write a StringWrapper with a String-Value and the according getter/setter (e.g. getVal, setVal) and fill the list with this StringWrappers instead of Strings, so name="stringWrapper" value =

  1   2   3   >