I was hoping that someone could tell me why this is happening. I am not looking 
for a solution on this as I have found a workaround. For a moment I thought the 
problem may be related to submiting the file when autocompleters submit the 
form, so I used a form filter to exclude file input but of no avail. So to fix 
the situation, I have broken my form into two, one including the autocompleters 
and the other includes html input fields. Upon a form submit I would copy the 
values of autocompleters into hidden inputs in my second form. To me it seems 
like a bug, but I would like to verify it first.

----- Original Message ----
From: Struts Two <[EMAIL PROTECTED]>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Monday, June 16, 2008 5:15:51 PM
Subject: Autocompleter tag fails when file tag is added

I have a page with a few autocompleter inputs as well as some textfield and 
text area input fields. Everything upto this point was working fine till I 
added an extra file input field : <s:file theme="simple" name="attachment" 
id="attachment"/> (also added enctype="multipart/form-data") to my form as 
well. All my autocompleter have stopped functioning. If I remove s:file tag, 
they start working again. I add it and they stop working. Any idea why this is 
happening? or what I am doing wrong?
I appreciate your hints /feedbacks.



      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

Reply via email to