The value attribute sets the preset value of the input element, if that is what youre looking for. <s:autocompleter value="AS" etc... />
On 7/12/07, Pedro Herrera <[EMAIL PROTECTED]> wrote:
I´m using autocompleter tag with Struts 2.0.8 and I need to show a default value to the user. For example, in the JSON list : [ ["Alabama","AL"], ["Alaska","AK"], ["American Samoa","AS"], ... I need to show by default 'AS(id) - American Samoa' . How I do this ? Herrera -- View this message in context: http://www.nabble.com/-S2--autocompleter%2C-predefining-initial-value-tf4067166.html#a11556982 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]