Anna Koskinen
240cdce985
Prevent upload if no file is selected. (#11939)
Fixes #10419
il y a 4 ans
Ilia Motornyi
d543e47bec
Enable Maven plugin for Eclipse formatting (#10829)
il y a 6 ans
Ilia Motornyi
6541b7bad2
Update copyright year (#10761)
il y a 6 ans
Ahmed Ashour
3763f3f94c
Use lambda expressions. (#10268)
il y a 6 ans
Ahmed Ashour
04905e1e2e
Use local variable for getWidget(). (#10253)
In some places, getWidget() is called many times, and I believe this can
have a litte performance improvement, since in some cases
super.getWidget() is called more than once.
il y a 6 ans
Ahmed Ashour
fb6e81221b
Use lambda with Handlers (#10229)
Also improve naming by replacing one-letter variable names.
il y a 6 ans
Knoobie
a166d6f52b
Add Upload#setButtonStyleName (#10044)
il y a 6 ans
Teemu Suo-Anttila
dd20841c39
Move read-only to AbstractFieldState (#8514)
Change-Id: I0baea991bd80075d63c5d57e3b07f4e9fcb12676
il y a 7 ans
Pekka Hyvönen
8ef496dbde
Separate immediate mode for Upload from AbstactComponent.immediate
Makes it possible to remove the immediate from AbstractComponent.
Part 2 / 2 of adding proper Upload immediateMode, first was to move
old Upload to v7 compatiblity packages.
Change-Id: Iff99df70d9465fa1f3bad4baae44a0488eba01c0
il y a 7 ans
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
il y a 7 ans
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
il y a 7 ans
Artur Signell
6d54d78944
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
il y a 7 ans
Teemu Suo-Anttila
18fe7aa260
Build vaadin-client with maven
Change-Id: I36c426086a2b957f6f738d17470c499a01ddac3b
il y a 8 ans
Denis Anisimov
bf030a07b0
Provide own states for a number of components (#18987).
Change-Id: I9fe4a332bb8170a6482610d1b83bad73e049a3a1
il y a 8 ans
Denis Anisimov
305db63d59
Set title to empty string for Upload if tooltip is used (#14482).
Change-Id: Id9cc9d644772af923d3f5307ea4123df8666a489
il y a 9 ans
Artur Signell
e77e73cf64
Update copyright year to 2014
Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
il y a 10 ans
Artur Signell
09969ce1fe
Add change event for Upload (#13222)
Change-Id: I9850888b1997104cbc493ae0882316a9d2b1cedd
il y a 10 ans
Tomi Virtanen
0579fba630
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
il y a 10 ans
Artur Signell
75a09fb9df
Fixed loadStyle to be more sensible (#10746)
Default loadStyle is now eager. Only RichTextArea and ColorPicker are set as lazy.
Change-Id: Icc22ea7f861a1435f94ff74426a958c9ca32ba77
il y a 11 ans
Artur Signell
fb68bd5303
Updated copyright notices and added missing license headers
Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
il y a 11 ans
Johannes Dahlström
d67ed23096
Move widget classes from c.v.c.ui.<widget> to c.v.c.ui (#9392)
Change-Id: I5bc64ed7446ca6f87311bf63f49fb883cfd8b538
il y a 11 ans
John Ahlroos
dac974af9b
Removed getters/setters from states and made instance variabled public
il y a 11 ans
Artur Signell
bfbfdd51a0
Renamed com.vaadin.terminal.gwt.client to com.vaadin.client (#9432)
il y a 11 ans
Artur Signell
8d0c857382
Replaced license place holder with actual license (#8955)
il y a 11 ans
Artur Signell
14dd4d0b28
Moved client files to a client src folder (#9299)
il y a 11 ans
Leif Åstrand
7f75d0f4cf
Move classes common to client and server to com.vaadin.shared.* (#8934)
il y a 12 ans
Leif Åstrand
3604bf01de
Add Java 6 @Override annotations to all methods from interfaces
il y a 12 ans
Artur Signell
79bb29e855
State is now created using generators, removed setState (#8502)
il y a 12 ans
Artur Signell
c6d0787d1b
Renamed @Component to @Connect
@Component is not good as the server side does not have to be a Component
il y a 12 ans
Artur Signell
429aeadef9
Moved each component to its own package on client side
Class loaders have problems with referring to static inner classes (e.g.
state classes) when they cannot load the declaring class. To deal with
this the components have been moved to their own packages and state/rpc
classes will be defined in their own Java files.
il y a 12 ans
Artur Signell
28bdc6a011
ServerConnector is no longer a Paintable, components using updateFromUidl are
il y a 12 ans
Henri Sara
87e5022ca8
Replace @ClientWidget with client-side @Component (#8440)
il y a 12 ans
Artur Signell
6548c896ea
Fixed readonly handling for fields (depends on property readonly
status) and enable state handling for components on client side
(depend on parent)
il y a 12 ans
Artur Signell
042c30f5ac
Use ComponentState for storing the state, not just as a communication
mechanism. Changed isDisabled to more logical isEnabled in state.
il y a 12 ans
Artur Signell
6cf9afc850
Organized imports and formatted all java files
il y a 12 ans
Artur Signell
f603acfa30
Renamed Paintable component classes to Connector
il y a 12 ans
Artur Signell
de73abe459
#8434 Renamed *Paintable classes to *Connector and updated ConnectorMap
accordingly
il y a 12 ans
Artur Signell
9cda1cc5ca
getWidgetForPaintable -> getWidget
il y a 12 ans
Henri Sara
23ff3340cd
Communicate disabled flag in shared state (#8304).
il y a 12 ans
Henri Sara
3de6f24cbf
Transfer read-only and immediate flags via shared state (#8304).
il y a 12 ans
Henri Sara
e31b26ca98
Convert some literal strings of UIDL attributes to use constants.
il y a 12 ans
Artur Signell
6e7f97280a
#8325 Move ApplicationConnection.updateComponent to
VAbstractPaintableWidget.updateFromUIDL
il y a 12 ans
Jens Jansson
99b9132dcc
#8324 Splitted VUpload into Widget and Paintable.
il y a 12 ans