Hello
I just started looking at Webwork and checking out the
examples. One thing i noticed in cdlist.jsp is this
code
webwork:iterator value=CDList
option value=webwork:property value=album/
webwork:property value=album/,
webwork:property value=artist/,
webwork:property
have a look at the webwork.examples.i18n.CDList class. That is the
action class, so when the page makes a call to CDList, that
automatically calls the getCDList method in that action class. The
CDList is now iterated through and within the iterate block, the top of
the value stack now has the
Hani
Thanks for the reply. I did take a look at CDList
class and the one thing thats puzzling me is that in
the doStartTag and doAfterBody of IteratorTag, all its
doing is a iterator.next() which should return a
Object. My problem is how does that automatically get
cast down to a CD Class.
I come