Thanks for your reply, but that doesn't solve my problem, maybe i didn't
write what it is exactly.
I use tapestry's upload component in that way:
<component id="upload" type="Upload">
<binding name="file" value="uploadFile" />
<binding name="disabled" value="uploadDisabled" />
</component>
+ Submitbutton belonging to the upload and several other Elements in one
form.
No i want to catch the following inputs by the user and print a validation
message:
Case 1) 'C:\notexist.txt' --> i catch that one in the upload's listener
method via filesize == 0
Case 2) '' (No input) --> i catch that one in the same manner as case1
case 3) 'notexist.txt' --> Listener method isn't called, at least nothing at
all happens. I'd try to catch that case also as in case1 and case2, but i
can't as my listener isn't called.
As said before this only happens in IE, no problem with that in firefox.
Additionly i tried that one with a page only consisting of one form and an
upload component, but the listener is definitly not called.
Any further suggestions?
Kind regards,
Christoph
DR_GLoPeL_BouCa wrote:
>
> You can use validators, like <input name="text" type="text"
> jwcid="@Upload" file="ognl:fileUpload" validators="validators:required"/>
> and if not exists or is empty show error message.
>
--
View this message in context:
http://www.nabble.com/-T4--File-upload-without-qualified-path-tp18461333p18465319.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]