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
{"Arizona":"AZ","Arkansas":"AR","Armed":"AE","California":"CA","Florida":"FL"}
the jsp code is
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<s:head theme="ajax" debug="true"/>
</head>
<s:property value="jsonList"/>
<body>
<s:url id="ajaxCallUrl" value="autocompleter1.action">
</s:url>
<h1>Struts 2 Autocompleter Example!</h1>
<s:label name="stateName" value="Select State Name:" />
<br>
<s:autocompleter name="state" theme="ajax" href="%{ajaxCallUrl}"
loadOnTextChange="true" loadMinimumCount="1"/>
<br>
</body>
</html>
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.
Regards,
Ankur
=====-----=====-----=====
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]