Author: musachy
Date: Sun Jun 10 10:20:07 2007
New Revision: 545912
URL: http://svn.apache.org/viewvc?view=rev&rev=545912
Log:
Fix example (using %{...} for a list instead of {...})
Modified:
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp
Modified:
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp
URL:
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp?view=diff&rev=545912&r1=545911&r2=545912
==============================================================================
---
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp
(original)
+++
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/autocompleter/index.jsp
Sun Jun 10 10:20:07 2007
@@ -12,7 +12,6 @@
<script type="text/javascript">
dojo.event.topic.subscribe("/before", function(event, widget){
- debugger;
alert('inside a topic event. before request');
//event: set event.cancel = true, to cancel request
//widget: widget that published the topic
@@ -121,7 +120,7 @@
Autocompleter 1
<sx:autocompleter
name="select"
- list="%{'fruits','colors'}"
+ list="{'fruits','colors'}"
value="colors"
valueNotifyTopics="/Changed"
forceValidOption="true"/>