struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Rodrigues <feliperod...@yahoo.com.br>
Subject Re: AutoCompleter doesn't keeps value.
Date Mon, 25 Jun 2007 16:33:36 GMT

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 <feliperod777@yahoo.com.br> 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: user-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>
>>>>
>>> 
>>> 
>>> -- 
>>> "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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message