]> source.dussan.org Git - vaadin-framework.git/commit
Upload control with empty selection (#9602)
authorTomi Virtanen <tltv@vaadin.com>
Mon, 9 Dec 2013 11:44:27 +0000 (13:44 +0200)
committerVaadin Code Review <review@vaadin.com>
Tue, 7 Jan 2014 09:27:08 +0000 (09:27 +0000)
commit0579fba63048ffa8daa22db5243a149e67f73594
treeb59603dcbe436e2c5433e44120bfabe3881dd915
parent0b95f8d6f6e3f278b51c0242e8ce2dfc82ed829e
Upload control with empty selection (#9602)

Event is now sent on submit even if no file is selected. Removed forceSubmit UIDL attribute and replaced it with a UploadClientRpc call. Added TestBench3 test.

Change-Id: Id32b82532ec34e61a9c0718413fd1755015d2c30
client/src/com/vaadin/client/ui/VUpload.java
client/src/com/vaadin/client/ui/upload/UploadConnector.java
server/src/com/vaadin/ui/Upload.java
shared/src/com/vaadin/shared/ui/upload/UploadClientRpc.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/upload/UploadNoSelection.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/upload/UploadNoSelectionTest.java [new file with mode: 0644]