Re: [OS-webwork] Loop to create days

2003-09-14 Thread Pat Lightbody
t;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 12, 2003 5:14 AM Subject: Re: [OS-webwork] Loop to create days > I am using ww2 so there is no webwork.util.counter class. I don't know how > it worked in ww1 but in ww2 the Iterator tag will only use a Collec

RE: [OS-webwork] Loop to create days

2003-09-12 Thread Jason Carreira
We should add these into WW2... Please create a Jira issue... > -Original Message- > From: John Patterson [mailto:[EMAIL PROTECTED] > Sent: Friday, September 12, 2003 8:14 AM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] Loop to create days > > > I am

Re: [OS-webwork] Loop to create days

2003-09-12 Thread John Patterson
Message - > From: "Francisco Hernandez" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, September 12, 2003 3:11 AM > Subject: Re: [OS-webwork] Loop to create days > > > > is there a reason you can just use webworks sele

Re: [OS-webwork] Loop to create days

2003-09-12 Thread Anders Engström
ncisco Hernandez" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, September 12, 2003 3:11 AM > Subject: Re: [OS-webwork] Loop to create days > > > > is there a reason you can just use webworks select tags? > > > > > > Bernard Choi

Re: [OS-webwork] Loop to create days

2003-09-12 Thread Francisco Hernandez
im not sure if theres docs for ww2 tags but there are for the ww1 tags, you might want to read up on those through the wiki or the docs on the opensymphony.com site I see you are using velocity so you might want to try this: also check this: http://wiki.opensymphony.com/space/Using+WebWork+2+

Re: [OS-webwork] Loop to create days

2003-09-12 Thread John Patterson
;Francisco Hernandez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 12, 2003 3:11 AM Subject: Re: [OS-webwork] Loop to create days > is there a reason you can just use webworks select tags? > > > Bernard Choi wrote: > > > Well... the f

Re: [OS-webwork] Loop to create days

2003-09-11 Thread Bernard Choi
From: "Francisco Hernandez" <[EMAIL PROTECTED]> > is there a reason you can just use webworks select tags? *grin* mainly because I don't know how. I've been using velocity with webwork and have never needed to use the webworks select tags. If someone could give a short writeup on how it works or

Re: [OS-webwork] Loop to create days

2003-09-11 Thread Francisco Hernandez
ailto:[EMAIL PROTECTED]> *To:* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> *Sent:* Friday, September 12, 2003 4:39 AM *Subject:* Re: [OS-webwork] Loop to create days I am using jsp for the view. I would not want to use a collection or array for a simple "for" const

Re: [OS-webwork] Loop to create days

2003-09-11 Thread Bernard Choi
"seem wrong" ? There is object creation, but I don't think they are "excessive" as they function to help make readable code.   - Original Message - From: John Patterson To: [EMAIL PROTECTED] Sent: Friday, September 12, 2003 4:39 AM Subject: Re:

Re: [OS-webwork] Loop to create days

2003-09-11 Thread Patrick Lightbody
This kind of stuff is all done for you with the tag, why are you doing this by hand? From: "John Patterson" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: Re: [OS-webwork] Loop to create days Date: Thu, 11 Sep 2003 21:39:18 +0100 I am

Re: [OS-webwork] Loop to create days

2003-09-11 Thread John Patterson
th a property on my action.    - Original Message - From: Bernard Choi To: [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 7:30 PM Subject: Re: [OS-webwork] Loop to create days Greetings,   Is the following acceptable ?   #foreach( $day in

Re: [OS-webwork] Loop to create days

2003-09-11 Thread Bernard Choi
Greetings,   Is the following acceptable ?   #foreach( $day in [1..31] )    $day #end   What is your concern with using collections or arrays ?   - Original Message - From: John Patterson To: Webwork Sent: Friday, September 12, 2003 12:16 AM Subject: [OS-webwork] Loo