Unfortunately those docs are for the 2.1.x version of Struts even though they say they are for the 2.0.x line (and are shipped with it). At this point you have to use the id attribute. I'm not sure what the technical reason that prevents the documentation being versioned like the rest of the code, maybe one of the committers can explain. (*Chris*)
On Tue, Jul 8, 2008 at 11:53 PM, Timothy Wonil Lee <[EMAIL PROTECTED]> wrote: > Hi all, > > I was trying to use s:iterator tag, and when I looked at the documentation > on http://struts.apache.org/2.0.11.2/docs/iterator.html > it says, attribute (parameter) 'id' is deprecated and 'var' should be used. > So I did: > <s:iterator var="profile" value="profiles" status="row"> > > However, my IDE complained about the attribute 'var' being not valid > according to the TLD. > So I looked at the struts-tags.tld (which was inside > struts2-core-2.0.11.2.jar file) and I am lead to believe that the TLD indeed > does not define 'var' attribute. > > Using the 'id' isn't too much of a problem for me at the moment, but I was > just wondering if this was a known issue. > Does anybody know if this is reported as a JIRA issue? > > Timothy Wonil Lee > > Java Developer > http://timundergod.blogspot.com/ > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]