struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Carré" <guillaume.ca...@gmail.com>
Subject autocompleter tag
Date Sat, 03 Mar 2007 14:56:13 GMT
A few questions about the autocompleter tag:

- If the action called from the autocompleter tag (href attribute)
loads thousands of items from the database, I want to be able to
restrict the returned results to what the user types in.
So I set the formId attribute of the tag to the form id of the form
the autocompleter is in.
But if the user types "test" the parameter has the following value in
the action: "test, test"
Why?

- I want to put the autocompleter tag inside a xhtml type form, but
when I do that, the produced HTML code is not ok:

<form namespace="" id="addProduct" action="addProduct.action">
<table class="wwFormTable">
<input dojoType="struts:ComboBox" dataUrl="ajaxSearchProduct.action"
name="reference" keyName="referenceKey" visibleDownArrow="true">
<!-- javascript that is needed for tooltips -->
<script language="JavaScript"
type="text/javascript">dojo.require("dojo.widget.html.Tooltip");dojo.require("dojo.fx.html");</script>
</table>
</form>

Is it a bug?
-- 
Guillaume Carré

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message