Re: JSTL Tags Vs. JavaBeans

2004-04-12 Thread Keith
Jeff, Here's an example of how I did what you were looking for in regards to building a select menu based on data pulled from a database. There is a page before this one in which the user selects which project they're looking to edit and it's passed on to the page containing the code below.

Prohibited content

2004-04-12 Thread Keith
Can someone please do something about the Taglibs mailing list responding with Prohibited Content? Nearly every message I send bounces this back to me (even when it doesn't contain JSP code), and a number of others keep resending their messages, thinking they never get through because of the

RE: Tomcat 5.0 - x:forEach returns incorrect result?

2004-04-12 Thread Johnson, Chris
Mark, When you do a x:forEach, the forEach action sets the current context node to whatever the select attribute is pointing to. So, when you point back to $test/teamname[1] in the x:out action, x:out can't find that under the context that forEach is currently pointing to. Try this instead:

RE: isLast() method of LoopTagStatus class

2004-04-12 Thread Felix Velasco
try loop_status.last instead of loop_status.isLast(). EL will translate it as per javabeans specification -Original Message- From: Keith [mailto:[EMAIL PROTECTED] Sent: 12 April 2004 18:41 To: Taglibs Subject: isLast() method of LoopTagStatus class I'm trying to output a comma delimited

RE: isLast() method of LoopTagStatus class

2004-04-12 Thread Keith
Perfect! Thanks! Where would I have looked to find that info? I'm still really new to Beans and raw Java code. Main reason why I'm going with JSTL right now. I had tried looking in the Java Docs, but I really didn't know where to begin. Keith -- Original Message --- From:

RE: isLast() method of LoopTagStatus class

2004-04-12 Thread Felix Velasco
this is a very basic application of the JavaBeans spec, and I don't really think you should read it to use in jstl. You just need to know that any class with non-static methods starting with get, set or is (this last one only for booleans) is a JavaBean to you. Then, to call this method, remove

RE: isLast() method of LoopTagStatus class

2004-04-12 Thread Keith
I have Hans Bergsten's JSP book from O'Reilly. I'm only about 1/3 of the way through it so far, so I may not have gotten to a point where he explained that yet. Thanks for the reference and Bean explination, though! Helps a lot. Keith -- Original Message --- From: Felix