Hi,
you can create ajax action that will call your application and ask for
the last entered values for field myField.
But it would require to remember all entered values by users.
When you will have those values You can simply do something like google suggest.
I haven't done anything like that, so i cant be more specific,
it's just a matter of remebering entered values per field and using
ajax to grab them.

Best greetings,
Paweł Wielgus.


2008/10/7 xianwinwin <[EMAIL PROTECTED]>:
>
> Hi Pawel,
> thank you for your reply.  You mentioned: "But You can achieve the same by
> adding ajax to this field" how can I achieve that?
> Thank you!
>
>
>
> Paweł Wielgus wrote:
>>
>> Hi xianwinwin,
>> it's a firefox feature - remember entered form values or something like
>> this,
>> so yes it has nothing to do with struts.
>> But You can achieve the same by adding ajax to this field
>> and remembering all posted data in Your app.
>>
>> Best greetings,
>> Paweł Wielgus.
>>
>> 2008/10/6 xianwinwin <[EMAIL PROTECTED]>:
>>>
>>> I have a textfield where a user input information.
>>>
>>>
>>> <s:textfield            name="employee.destination"
>>> label="Destination"
>>> required="false"        size="15"               />
>>>
>>> My question is this: how can I give the user previous input that he
>>> provided
>>> once he clicks the textfield; in other word, when he clicks (or double
>>> click) the textfield he can see (in a drop down box) what he entered
>>> before.
>>>
>>> for some reason, this works for some textfields and for some it doesn't
>>> (I
>>> guess it's not a struts issue).
>>> but still I wonder how to do that.
>>>
>>> thank you!
>>> --
>>> View this message in context:
>>> http://www.nabble.com/howto-cache-the-textfield-tp19844989p19844989.html
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/howto-cache-the-textfield-tp19844989p19858526.html
> 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