RE: Nested logic:iterate tags

2001-06-06 Thread Amos Shapira
Hi, I just had bad experience with ServletExec 3.0E and nested iterate tags. When I changed the inner iterate tag back to scriptlets things startted working again (the code worked fine under Tomcat 3.2.1). Is anyone aware of problems with NewAtlanta's handling of custom tags in general or Strut

RE: Help me defend Struts taglibs!!!

2001-05-31 Thread Amos Shapira
ot; syntax: ... It's not stright-forward if/else, but it is (IMHO): 1. Legal XML 2. Relatively clear as an if/else clause 3. Provides a solution for a more general case of switch/case What do you think? Cheers, --Amos Shapira WebCollage -Original Message- From: Craig R. McC

RE: How to use the new iterate tag?

2001-05-23 Thread Amos Shapira
Hi, Thanks a lot! That's exactly what I wanted. You said that it seems like an overkill to use a tag, is there another way to access this index? What are the chances to see this tag in the library? Cheers, --Amos > -Original Message- > From: Deadman, Hal [mailto:[EMAIL PROTECTED]] >

RE: Iterating on an Iterator?

2001-05-23 Thread Amos Shapira
Thanks, I mnissed that part - but Iterate can also take an iterator. Sorry about the noise... --Amos > -Original Message- > From: Jim Richards [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 23, 2001 12:45 PM > To: [EMAIL PROTECTED] > Subject: Re: Iterating on an Iterator? > > > >

Iterating on an Iterator?

2001-05-23 Thread Amos Shapira
Hello, Our object model provides an Iterator interface to walk along lists (properties of an object or lists of objects). Does anyone know how can I take advantage of a tag library to accept an iterator an iterate using Iterator.hasNext() and Iterator.next()? Thanks, --Amos Shapira

RE: How to use the new iterate tag?

2001-05-22 Thread Amos Shapira
OTECTED] > Subject: RE: How to use the new iterate tag? > > > You should be using struts-logic.tld, not struts.tld. Never > use struts.tld. > > > -----Original Message- > > From: Amos Shapira [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, May 22, 2001 1:16

RE: How to use the new iterate tag?

2001-05-22 Thread Amos Shapira
7;t know if any tags in struts make use > of the exposed index. Maybe you have to write your own tag to > access it? > > Hal > > > -Original Message- > > From: Amos Shapira [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, May 22, 2001 7:19 AM > >

How to use the new iterate tag?

2001-05-22 Thread Amos Shapira
Bean", but I get a "variable already defined" error. Does anyone know what am I doing wrong? Also, I read in the documentation that now the iteration tag exposes the current index number, can anyone show me how can I access this from a JSP page? I couldn't find an example in the distribution. Thanks, --Amos Shapira