Oh, ok, I thought that was the generated html :) musachy
On 6/25/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
Yes. But I'm using dataURL, because I could not deal if autoLayout of ajax componentes, so I'm using the dojo code direct, as you can see in this code: <input dojoType="struts:ComboBox" name="autoCompleterKey" keyName="autoCompleter" initalValue="${autoCompleter}" dataUrl="/Mutuo2/PlantelVarietal!listVars.action?" searchType="startstring" dropdownHeight="100" autoComplete="true" loadOnType="true" loadMinimum="1" visibleDownArrow="true" style="width: 149px;"/> dataURL <=> href and initialValue <=> nameValue Regards, Felipe Musachy Barroso wrote: > > Are you using the href attribute to load the values using AJAX? > > musachy > > On 6/25/07, Felipe Rodrigues <[EMAIL PROTECTED]> 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#a11290611 >> 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#a11291056 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