struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Berger <>
Subject Re: Question about <s:iterator value=
Date Tue, 03 Apr 2007 09:40:38 GMT
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.

Posted via Jive Forums

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message