This should probably be in struts-user. --- Will Berger wrote: > Figured it out. Not sure why. > > <s:iterator value="getQuery('Current')"> > > In this case I called the method exactly as it is in > the class. The above works. > > Below does not. I thought ognl would prepend the > "get" in front of my method call as follows. > > <s:iterator value="query('Current')"> > > The method in the action class below. > > public Iterator getQuery(String sQuery) > { ...} > > If someone has an answer, i would love to hear it.
Off-hand I would imagine because of the JavaBean spec; non-indexed getters are assumed to take zero params, so it doesn't think it's a normal getter? d. ____________________________________________________________________________________ Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]