So I've decided to create a
JSP tag library to encapsulate my persistence engine. This excites me, because now my Data Beans can be used anywhere -- swing, (BMP) EJBs, JSPs, etc., and go through the same set of code to persist themselves.
But Tag libs are something I'm just starting to muddle though. The on-line tutorials are OK, but somewhat incomplete as far as the more interesting thing that I want to do. I've got it working, but now I would like to improve it. Here's my code:
My question:
I want rows in my table to alternate colors. My dataLoop tag has a currentElementNumber member. How can I access that information from the JSP so that I can adjust the color of the row?
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.