struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ankur Agar <>
Subject Issue In Autocompleter
Date Fri, 14 Mar 2008 10:36:35 GMT

Hi All,
      I am tryin to make an autocomplete work with its theme="ajax"
I am using struts 2.0.x
The data coming from the action is in JSON format

the jsp code is
<%@ taglib prefix="s" uri="/struts-tags" %>
    <s:head theme="ajax" debug="true"/>
     <s:property value="jsonList"/>
     <s:url id="ajaxCallUrl" value="autocompleter1.action">
    <h1>Struts 2 Autocompleter Example!</h1>
    <s:label name="stateName" value="Select State Name:" />
     <s:autocompleter name="state" theme="ajax"  href="%{ajaxCallUrl}"
loadOnTextChange="true" loadMinimumCount="1"/>

But still the autocomplete is not working gives a syntax error on page when
run in debug mode. In one of the links I found that struts-dojo-tags has to
be used as a plugin in struts 2.0.x  But also in one of the links it was
specified that its embedded in struts-core.jar.
Please help me out.

Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message