struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Ruggles <a.rugg...@gmail.com>
Subject Autocompleter showDownArrow doesn't work
Date Mon, 16 Apr 2007 17:27:40 GMT
I'm starting to play with the autocompleter tag but I'm running into one 
issue.  No matter what I set showDownArrow to it will never display a 
down arrow.  The html that is sent to the browser looks like this:

<input dojoType="struts:ComboBox" id="test" dataUrl="/productlist.action" dropdownWidth="400"
dropdownHeight="200" name="test" keyName="testKey" visibleDownArrow="true">

The code that is generated on the client side (view generated source on 
firefox) looks like this.

<span style="" _="whitespace and CR's between tags adds &nbsp; in FF" class="dojoComboBoxOuter
dj_gecko">
<input style="display: none;" tabindex="-1" name="test" value="" dojoattachpoint="comboBoxValue">
<input style="display: none;" tabindex="-1" name="testKey" value="" dojoattachpoint="comboBoxSelectionValue">
<input style="" autocomplete="off" class="dojoComboBox" dojoattachevent="key:_handleKeyEvents;
keyUp: onKeyUp; compositionEnd; onResize;" dojoattachpoint="textInputNode" type="text">
<img style="width: 0px; height: 0px;" class="dojoComboBox" dojoattachpoint="downArrowNode"
dojoattachevent="onMouseUp: handleArrowClick; onResize;" src="/finance/struts/dojo/src/widget/templates/images/combo_box_arrow.png"
hspace="0" vspace="0">
</span>

As you can see the width is set to 0 and height is set to 0.  How can I 
change this?  I thought the default was to display a down arrow?

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


Mime
View raw message