struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Berger <forum-struts-...@opensymphony.com>
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.

Will
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=74914&messageID=138512#138512


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message