Found it...
Looking at Dojo attributes I found initialValue attribute.

My bad guys,

Thanks anyway.


Felipe


Felipe Rodrigues wrote:
> 
> Doesn't work even if I set value with "value" or "key" attribute.
> So weird.
> 
> Any other suggestion?
> 
> 
> []'s
> 
> Felipe
> 
> 
> Felipe Rodrigues wrote:
>> 
>> No,
>> 
>> Using keyName. I'll confirm, but I think I've already tried use value.
>> 
>> 
>> 
>> 
>> Musachy Barroso wrote:
>>> 
>>> Are you setting the value with the "value" attribute?
>>> 
>>> musachy
>>> 
>>> On 6/25/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
>>>>
>>>>
>>>> Hi Guys,
>>>>
>>>> This time I'm trying to make a autocompleter component keep its value
>>>> when
>>>> its property comes populated from action.
>>>>
>>>> <input dojoType="struts:ComboBox"
>>>>                 name="autoCompleterKey"
>>>>                 keyName="autoCompleter"
>>>>                 dataUrl="/Mutuo2/PlantelVarietal!listVars.action?"
>>>>                 searchType="startstring"
>>>>                 dropdownHeight="100"
>>>>                 autoComplete="true"
>>>>                 loadOnType="true"
>>>>                 loadMinimum="1"
>>>>                 visibleDownArrow="true"
>>>>                 style="width: 149px;"/>
>>>>
>>>> If I type some value and choose that, this value is getting into the
>>>> action,
>>>> but if I have this value from the action, when loading the jsp page,
>>>> then
>>>> autocompleter doesn't keeps tha value.
>>>>
>>>> Any suggestion?
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Felipe
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/AutoCompleter-doesn%27t-keeps-value.-tf3977359.html#a11290103
>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>> 
>>> 
>>> -- 
>>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AutoCompleter-doesn%27t-keeps-value.-tf3977359.html#a11290665
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to