Author: musachy Date: Sat Mar 3 07:19:30 2007 New Revision: 514170 URL: http://svn.apache.org/viewvc?view=rev&rev=514170 Log: Add field "name" to autocompleter example
Modified: struts/struts2/branches/STRUTS_2_0_X/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp Modified: struts/struts2/branches/STRUTS_2_0_X/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp URL: http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp?view=diff&rev=514170&r1=514169&r2=514170 ============================================================================== --- struts/struts2/branches/STRUTS_2_0_X/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp (original) +++ struts/struts2/branches/STRUTS_2_0_X/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp Sat Mar 3 07:19:30 2007 @@ -24,7 +24,7 @@ Reload on type (loadOnTextChange="true"), after 3 characters (loadMinimumCout="3", it is "3" by default), without the down arrow button (showDownArrow="false") <br/> -<s:autocompleter theme="ajax" indicator="indicator" href="%{jsonList}" cssStyle="width: 200px;" autoComplete="false" loadOnTextChange="true" loadMinimumCount="3" showDownArrow="false"/> +<s:autocompleter name="state" theme="ajax" indicator="indicator" href="%{jsonList}" cssStyle="width: 200px;" autoComplete="false" loadOnTextChange="true" loadMinimumCount="3" showDownArrow="false"/> <img id="indicator" src="${pageContext.request.contextPath}/images/indicator.gif" alt="Loading..." style="display:none"/> <br/>