Re: please help, using logic:iterate and html:form

2004-03-16 Thread as as
Mike, What error are you getting -Sam. Mu Mike [EMAIL PROTECTED] wrote: Hi, all, last week, I spent a whole day trying to figure the below problem out, and you warmhearted guys just came and helped me,but to greatly disappiont you, I m still at a loss to know where the problem is ,so I

please help, using logic:iterate and html:form

2004-03-15 Thread Mu Mike
Hi, all, last week, I spent a whole day trying to figure the below problem out, and you warmhearted guys just came and helped me,but to greatly disappiont you, I m still at a loss to know where the problem is ,so I decided to explain detailedly and completely of what I did and hope you nice

Re: struts help using logic:iterate

2004-01-06 Thread ngonqua
Hien, Thank you for replying to my message. I will try this way. Since I'm new on Struts, I thought there would be some other tag other than logic:iterate tag to do the trick. Btw, I'm running weblogic 7.0 sp4. Do you know if it supports JSTL? If you make your Item class returns an Error

struts help using logic:iterate

2004-01-05 Thread ngonqua
I'm very new to struts so please be kindly. I have two Arraylist call itemList and errorCodeList. The itemList contains list of Item object. The item object has a property calls errorCode which returns an error code in int (1-50). I want to display the error description associates to that

Re: struts help using logic:iterate

2004-01-05 Thread Hien Q Nguyen
If you make your Item class returns an Error object, you can avoid the errorCodeList, something like this: public class Item { private int id=0; private MyError error; /** * @return Returns the error. */ public MyError getError() {

RE: [help] nest logic:iterate problem!!

2003-10-08 Thread ?
Message- From: Frederic Dernbach [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 8:19 PM To: Struts Users Mailing List Subject: Re: [help] nest logic:iterate problem!! Importance: High You can look at the struts-layout library that solved this problem in its layout:collection tag

[help] nest logic:iterate problem!!

2003-10-07 Thread
Dear: How to processes nested iterate tag? Im meeting a nest iterate problem. Ex: logic:iterate id=list1 name=list type=java.util.ArrayList tr logic:iterate id=itemlist name=list1 property=item type=java.util.ArrayList td width=14%

Re: [help] nest logic:iterate problem!!

2003-10-07 Thread Frederic Dernbach
You can look at the struts-layout library that solved this problem in its layout:collection tag. Source code of the library is available at http://struts.application-servers.com/ . Fred Le mar 07/10/2003 13:52, a crit : Dear: How to processes nested iterate tag? Im meeting a nest iterate

Help: Using logic:iterate for editable fields.

2003-03-08 Thread Samit Goyal
Hi All, I have three String Arrays (wiz firstName and lastName) in my form bean. Each array contains 3 elements. I want to display them in my jsp in form of 3 rows and each row shall contain both fields.Something like this:- row 1 firstName lastName row 2 firstName

Re: Help: Using logic:iterate for editable fields.

2003-03-08 Thread harish krishnaswamy
logic:iterate id=lnId indexId=idx name=view1SubmitForm property=rowids % String ln = lastName(ln- + idx + ); String add = address(ad- + idx + ); % %=ln: + ln% %=add: + add% trtdLast Name:/tdtd logic:present name=view1SubmitForm property=%=ln% html:text property=%=ln%/

Need help with logic:iterate

2002-09-17 Thread John Owen
I include the following tags in my jsp (tacaReport.jsp) : logic:iterate id=element name=output type=com.brasfieldgorrie.timetracker.reporting.ReportRow tr tdbean:write name=element property=sectionHeader//td tdbean:write name=element property=empLastName//td tdbean:write

Re: Help on logic:iterate

2002-05-25 Thread vivek shrivastava
Thanks vic. i really appreciate. thanks From: Vic Cekvenich [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Help on logic:iterate Date: Fri, 24 May 2002 17:08:06 -0700 Oh, oh.: And if you use html:text

Help on logic:iterate

2002-05-24 Thread vivek shrivastava
Hi, i need help to understand following code. i understand that histLstForm is the name of form bean. but i don't understand how does bean:write know that there are multiple vales of question property of histLstForm bean? How does it perform a loop on all the values of question property of

Re: Help on logic:iterate

2002-05-24 Thread Vic Cekvenich
The iterate tag is tied to the form bean (as you can see). When the iterate tag ends via a /iterate, it calls next() in the form Bean, which is implemented (in the base form bean that evey bean extends ) and if it hasNext it goes to the top of the loop. The trick is to make your form Beans

Re: Help on logic:iterate

2002-05-24 Thread Vic Cekvenich
Oh, oh.: And if you use html:text and the same iterator interface: The multi row updates work and multi row struts validation works, just as if it were a single row! Vic Cekvenich wrote: The iterate tag is tied to the form bean (as you can see). When the iterate tag ends via a /iterate, it

Re: Help on logic:iterate

2002-05-24 Thread Arron Bates
Think that the answer you're looking for, is that your tags aren't quite set up properly. There's work around of a work around. The child tags need to work of the bean that is the current object returned from the iterate tag, which is why the properties wont work. They also need to get the

Re: help with logic:iterate

2002-02-26 Thread Arron Bates
, Switzerland -Original Message- From: struts-user-digest-help [mailto:[EMAIL PROTECTED]] Sent: Montag, 25. Februar 2002 17:32 To: struts-user Cc: srinookala Subject: help with logic:iterate I have the following snippet of code in my jsp: logic:iterate id=columnName name

help with logic:iterate

2002-02-25 Thread Sriram Nookala
I have the following snippet of code in my jsp: logic:iterate id=columnName name=ParticipantImportWizardForm property=columnNameList table border=1 width=80% tr td width=50%h3 align=centerColumn Name/h3 /td td width=50%h3 align=centerType/h3 /td /tr

Re: help with logic:iterate

2002-02-25 Thread keithBacon
Hi Sri, try html:text name=columnName / instead of property=columnName struts will then call the toString() method of your columnName objects. Often your columnName object would have a method like getName() and you would specify html:text name=columnName property=name / I hope that's right!

Re: help with logic:iterate

2002-02-25 Thread Sriram Nookala
html:text name=columnName / doesn't work since property is a required attribute. - Original Message - From: keithBacon [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; Sriram Nookala [EMAIL PROTECTED] Sent: Monday, February 25, 2002 12:19 PM Subject: Re: help

Re: help with logic:iterate

2002-02-25 Thread Arron Bates
You're basically using the markup of the nested tags. If you have the nightly build change your iterate tag to... nested:iterate property=columnNameList ...and your text tag to nested:text property=columnName / ...and of course don't forget to close the iterate tag with the

MORE help with logic:iterate

2002-02-25 Thread Saeid Zoonematkermani
Hello all; I am sorry to bring this up again but I have looked at the docs and the archives and I think I am following the instruction found in these but I still can't get the iterate tag to work correctly. So I wanted to post this question and see if I understand the methodology and

Re: MORE help with logic:iterate

2002-02-25 Thread Arron Bates
In the nightly build, the nested tags will make easy work of this for you, simply swapping the tag header name a little to the following... nested:iterate property=myStudentListProperty nested:write property=name / /nested:iterate (no, you don't have to mess around with the id's and all that.

Re: help with logic:iterate

2002-02-25 Thread Sriram Nookala
: Monday, February 25, 2002 5:59 PM Subject: Re: help with logic:iterate You're basically using the markup of the nested tags. If you have the nightly build change your iterate tag to... nested:iterate property=columnNameList ...and your text tag to nested:text property=columnName

Re: help with logic:iterate

2002-02-25 Thread Arron Bates
[EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, February 25, 2002 5:59 PM Subject: Re: help with logic:iterate You're basically using the markup of the nested tags. If you have the nightly build change your iterate tag to... nested:iterate property=columnNameList

RE: help with logic:iterate

2002-02-25 Thread klaus . bucka-lassen
is a completely different story which includes indexed properties and scriptlets. Regards, Klaus Bucka-Lassen aragost, Switzerland -Original Message- From: struts-user-digest-help [mailto:[EMAIL PROTECTED]] Sent: Montag, 25. Februar 2002 17:32 To: struts-user Cc: srinookala Subject: help

Need help on logic:iterate

2002-01-31 Thread Sher_A
Can someone help me with this logic:iterate question? Thanks. Struts example command: logic:iterate id=subscription name=user property=subscriptions I read it as: user is the bean, user.subscriptions is a Collection (Vector or Array) in that bean, and each element in the

Re: Need help on logic:iterate

2002-01-31 Thread marco volpe
hi you can go here: http://jakarta.apache.org/struts/api-1.0/org/apache/struts/taglib/logic/pack age-summary.html - Original Message - From: Sher_A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 3:36 PM Subject: Need help on logic:iterate Can someone help

Re: Need help on logic:iterate

2002-01-31 Thread Brian Holzer
This is only a debugging type suggestion, but you could put your interate inside of a logic:present name=user property=schedule SCHEDULE WAS FOUND your iterate /logic:present tag and make sure that the collection is being found. Brian

Re: Need help on logic:iterate

2002-01-31 Thread Philippe Hodapp / 1genia
05 Fax : 01 48 25 11 47 GSM : 06 20 15 32 61 http://www.1genia.com - Original Message - From: Sher_A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 3:36 PM Subject: Need help on logic:iterate Can someone help me

RE: Need help on logic:iterate

2002-01-31 Thread Greg Hess
on logic:iterate hi you can go here: http://jakarta.apache.org/struts/api-1.0/org/apache/struts/taglib/logic/pack age-summary.html - Original Message - From: Sher_A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 3:36 PM Subject: Need help on logic:iterate Can

RE: Help with logic:iterate

2001-08-22 Thread Aparna Tula
collection=songs property=stringId labelProperty=name/ /html:select - Aparna -Original Message- From: Shriver, Ryan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 22, 2001 11:03 AM To: '[EMAIL PROTECTED]' Subject: Help with logic:iterate Hello, I have a Collection that I'd like

Re: Help with logic:iterate

2001-08-22 Thread Brian K. Buckley
Wow, that's nice! One minor fix I needed was to put the collection onto the request prior to html:options.. % Collection songs = SongCache.getInstance().fetchAll(); % html:select property=id % pageContext.setAttribute(songs, songs); % html:options collection=songs property=stringId

Need help with logic:iterate :)

2001-04-19 Thread Alex Colic
Hi, I am trying to get a handle on the logic:iterate tag. I have an object in application scope under the key 'storeroomList.' There is a vector of objects under the property 'storeroomList'. Each one of the objects in this vector has a property 'name.' What I am trying to do is go through the

Re: Need help with logic:iterate :)

2001-04-19 Thread Dan Miser
om From: "Alex Colic" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: "Struts" [EMAIL PROTECTED] Subject: Need help with logic:iterate :) Date: Thu, 19 Apr 2001 15:50:44 -0400 I have attempted the below but the only storeroom name to be printed out to the screen is the last store

RE: Need help with logic:iterate :)

2001-04-19 Thread Roman Fail
: Thu 4/19/2001 12:50 PM To: Struts Cc: Subject: Need help with logic:iterate :) Hi, I am trying to get a handle on the logic:iterate tag. I have an object in application scope under the key

Re: Need help with logic:iterate :)

2001-04-19 Thread Oldeboershuis, Simon
Hi Alex, see below Alex Colic schrieb: Hi, I am trying to get a handle on the logic:iterate tag. I have an object in application scope under the key 'storeroomList.' There is a vector of objects under the property 'storeroomList'. Each one of the objects in this vector has a property