tag forEach

2003-06-04 Thread MARCIO JULIÃO
Hi, Is there a way to break the flow inside the tag forEach ? Example: c:forEach items=${listaDatas} var=data varStatus=contador ... c:if test=${data.dia == 31} break/ /c:if /c:forEach Márcio Julião RiskControl Serviços Ltda. Email:[EMAIL

Re: tag forEach

2003-06-04 Thread Karsten Wutzke
You can use a differnt syntax for iterating a certain number of times. http://www.onjava.com/lpt/a/2611 Karsten MARCIO JULIÃO wrote: Hi, Is there a way to break the flow inside the tag forEach ? Example: c:forEach items=${listaDatas} var=data varStatus=contador ... c:if

RE: tag forEach

2003-06-04 Thread Chen, Gin
Shawn gave a great answer to this question before: In the future please search the archives first. Shawn's response: New tags would be required for this, but they are not implementable in JSP 1.2 and have thus are not planned for JSPTL 1.0. The problem is how a break tag would signal the

RE: tag forEach

2003-06-04 Thread Dave Newton
On Tue, 2003-06-03 at 11:23, Chen, Gin wrote: break could be implemented better if it threw an exception meant to be caught using JSP 1.2's TryCatchFinally interface, but the implementation would still not be fully operable when custom tags were involved. In a situation like forEach

RE: tag forEach

2003-06-04 Thread Shawn Bayern
On 3 Jun 2003, Dave Newton wrote: One way around this might be just to say that if you want your tags to play nice with JSTL tags (break in particular) that it should implement J. Random Interface (or whatever) that deals with this parent tag communication issue. But then page authors would

RE: tag forEach

2003-06-04 Thread Chen, Gin
guidelines on how to interoperate with JSTL sheez.. already starting to think like a lawyer. ;) -Tim -Original Message- From: Shawn Bayern [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 12:13 PM To: Tag Libraries Users List Subject: RE: tag forEach On 3 Jun 2003, Dave Newton

Bluedemons Can't Resolve URI Problem

2003-06-04 Thread Michael Duffy
Hi Karsten, I took a look at your app and I know exactly why you're having all the problems you are: your web.xml file is not correct. It doesn't match the DTD, so the parser is throwing exceptions before you ever try to process a page. I've attached the corrected web.xml. Once I corrected the

Re: Bluedemons Can't Resolve URI Problem

2003-06-04 Thread Karsten Wutzke
Wow! It works now! Thanks a million. Now you taught me another important thing: Look at these logs. I had never done that before. Writing the web.xml as a total newbie to web app dev was a matter of guessing, copying and pasting... It ran well at first, but JSTL slapped me... ;-) Again,

Accessing scope attributes with dotted names using JSTL

2003-06-04 Thread Steve Raeburn
Is it possible to access a scoped attribute if the attribute name contains a dot? For example, if I set a request attribute: request.setAttribute(mydomain.mybean, bean); I'd like to access it like this: c:out value=${mydomain.mybean}/ But that doesn't work because it tries to access the