setting values from current date

2005-01-23 Thread Kralidis,Tom [Burlington]
Hi, I'm writing an HTML page (from JSP/JSTL) which provides two select boxes for day/month/year for a temporal query. What I would like to do is set the 2nd select box with today's day/month/year values. I am able to get today's date from: jsp:useBean id=now class=java.util.Date / Date:

Comparing XML value to variable

2005-01-23 Thread Kralidis,Tom [Burlington]
Hi, I'm populating an HTML select box with contents from an XML document. Here's a snippet of the XML doc: months month name=January value=01/ month name=February value=02/ ... /months My JSP page parses the XML document and prints out the select box as per below. The problem is that the

RE: Creating a custom Iterate Tag

2005-01-23 Thread Marius Botha
Thanks. Are you referring to http://www.displaytag.org, http://displaytag.sourceforge.net/ or another ?? In the end I just did the following: Created 4 tags as below, where the tree tag writes out the containing HTML, the nodeIcon allows the JSP developer to define icons to use depending on the