2.0.11 autocompleter
--------------------

                 Key: WW-2373
                 URL: https://issues.apache.org/struts/browse/WW-2373
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Spring
    Affects Versions: 2.0.11
         Environment: Struts-2.0.11
TOMCAT 5.5.7
java version "1.5.0_02"
4GB RAM
1 Tera Diskspace
Wintel box
            Reporter: Martin Gainty


following the example code from the 2.0.11 distro located at 
/struts/struts-2.0.11/docs/docs/autocompleter.html
I could not get the autocompleter to work with notifyTopic and listenTopic
from this example

<p>Linking two autocompleters:</p>
<form id="selectForm">
     <sx:autocompleter  name="select" list="{'fruits','colors'}"  
valueNotifyTopics="/changed" />
</form>  
<sx:autocompleter  href="%{jsonList}" formId="selectForm" 
listenTopics="/changed"/>

even when I define a url specification for jsonList such as
<s:url value="jsonList">

there is a very large example that musachy created for beforeNotifyTopic, 
afterNotifyTopic, errorNotifyTopic and valueNotifyTopic 
unfortunately the missing method findString will prevent anyone from using the 
anything from the example

the examples also use s: instead of sx: ..(should standardise either on using 
s: or sx: for struts-tags references)

doc should be re-worked to separate Javascript functionality from Action based 
method functionality





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to