struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Ruggles <a.rugg...@gmail.com>
Subject Re: Autocompleter showDownArrow doesn't work
Date Mon, 16 Apr 2007 17:57:10 GMT
The one in the showcase works.  Interesting...

Musachy Barroso wrote:
> 2.0.6? Does the page in showcase for the autocompleter display the arrows
> for you?
>
> musachy
>
> On 4/16/07, Adam Ruggles <a.ruggles@gmail.com> wrote:
>>
>> Nope.  Still nothing displayed.
>>
>> Musachy Barroso wrote:
>> > it is indeed. Do you see the arrow if you don't specify anything in
>> > "visibleDownArrow"?
>> >
>> > musachy
>> >
>> > On 4/16/07, Adam Ruggles <a.ruggles@gmail.com> wrote:
>> >>
>> >> 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
>> >>
>> >>
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
>

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


Mime
View raw message