you must submit the form because input suggest ajax doesn't send the last selection to the server and it doesn't allow onChange.
in other works no other components can depened on it.

On 6/4/06, David Miller <[EMAIL PROTECTED]> wrote:
I'm using an inputSuggestAjax field to allow the selection of a US state.

The component does it's Ajax thing very well but I'm confused about
how exactly it is supposed to function when making a selection.

Example:

I type a 'C' into the field and two things happen:
1. A blue-highlighted 'alifornia' is appended to my 'C' in the field.
2. 'California', 'Colorado' & 'Conneticut' drop down below the field.

Now if I hit the enter key, indicating that I want to choose
'California', all I end up getting is 'C' in the field.
Or, if I arrow down three times to select 'Conneticut' and then hit
enter, I still only get 'C' in the field.

I've used Sandbox 1.1.2, 1.1.3 & 1.1.4 and all produce the same result.
I'm getting the Sandbox jars from here:
http://people.apache.org/maven-snapshot-repository/org/apache/myfaces/tomahawk/tomahawk-sandbox/


I'm pretty sure that this isn't how it's supposed to work. What must I
do to get it to grab the current selection when I hit the enter key?

Thanks!



--
http://mageeb.net
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.gnu.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature

Reply via email to