You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by xianwinwin <xi...@gmail.com> on 2008/06/16 16:54:49 UTC
S2: actioncompleter - how does the tag know what list to use?
In my actioncompleter tag I'm trying to give the end user a list based on
his/her input (the list is returned from a db in the invoked method)
JSP:
<s:url id="json" value="/groupManagement_potentialList.do" />
<s:autocompleter href="%{json}" loadOnTextChange="true"
loadMinimumCount="1" showDownArrow="true" name="userKeys" theme="ajax"
autoComplete="true"/>
BUT where is the list?!?!?!
The method potentialList is invoked (and I get the user's input, so far so
good), but how does the statement above (jsp) knows which list to use (what
list to show the enduser)?!
And what should the potentialList method return?
THANKS for any pointers!
--
View this message in context: http://www.nabble.com/S2%3A-actioncompleter---how-does-the-tag-know-what-list-to-use--tp17866235p17866235.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org