Anna Koskinen
240cdce985
Prevent upload if no file is selected. (#11939)
Fixes #10419
4 yıl önce
Ilia Motornyi
d543e47bec
Enable Maven plugin for Eclipse formatting (#10829)
6 yıl önce
Ilia Motornyi
6541b7bad2
Update copyright year (#10761)
6 yıl önce
Ahmed Ashour
3763f3f94c
Use lambda expressions. (#10268)
6 yıl önce
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.
6 yıl önce
Ahmed Ashour
fb6e81221b
Use lambda with Handlers (#10229)
Also improve naming by replacing one-letter variable names.
6 yıl önce
Knoobie
a166d6f52b
Add Upload#setButtonStyleName (#10044)
6 yıl önce
Teemu Suo-Anttila
dd20841c39
Move read-only to AbstractFieldState (#8514)
Change-Id: I0baea991bd80075d63c5d57e3b07f4e9fcb12676
7 yıl önce
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
7 yıl önce
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 yıl önce
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 yıl önce
Artur Signell
6d54d78944
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
7 yıl önce
Teemu Suo-Anttila
18fe7aa260
Build vaadin-client with maven
Change-Id: I36c426086a2b957f6f738d17470c499a01ddac3b
8 yıl önce
Denis Anisimov
bf030a07b0
Provide own states for a number of components (#18987).
Change-Id: I9fe4a332bb8170a6482610d1b83bad73e049a3a1
8 yıl önce
Denis Anisimov
305db63d59
Set title to empty string for Upload if tooltip is used (#14482).
Change-Id: Id9cc9d644772af923d3f5307ea4123df8666a489
9 yıl önce
Artur Signell
e77e73cf64
Update copyright year to 2014
Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
10 yıl önce
Artur Signell
09969ce1fe
Add change event for Upload (#13222)
Change-Id: I9850888b1997104cbc493ae0882316a9d2b1cedd
10 yıl önce
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
10 yıl önce
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
11 yıl önce
Artur Signell
fb68bd5303
Updated copyright notices and added missing license headers
Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
11 yıl önce
Johannes Dahlström
d67ed23096
Move widget classes from c.v.c.ui.<widget> to c.v.c.ui (#9392)
Change-Id: I5bc64ed7446ca6f87311bf63f49fb883cfd8b538
11 yıl önce
John Ahlroos
dac974af9b
Removed getters/setters from states and made instance variabled public
11 yıl önce
Artur Signell
bfbfdd51a0
Renamed com.vaadin.terminal.gwt.client to com.vaadin.client (#9432)
11 yıl önce
Artur Signell
8d0c857382
Replaced license place holder with actual license (#8955)
11 yıl önce
Artur Signell
14dd4d0b28
Moved client files to a client src folder (#9299)
11 yıl önce
Leif Åstrand
7f75d0f4cf
Move classes common to client and server to com.vaadin.shared.* (#8934)
11 yıl önce
Leif Åstrand
3604bf01de
Add Java 6 @Override annotations to all methods from interfaces
11 yıl önce
Artur Signell
79bb29e855
State is now created using generators, removed setState (#8502)
12 yıl önce
Artur Signell
c6d0787d1b
Renamed @Component to @Connect
@Component is not good as the server side does not have to be a Component
12 yıl önce
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.
12 yıl önce
Artur Signell
28bdc6a011
ServerConnector is no longer a Paintable, components using updateFromUidl are
12 yıl önce
Henri Sara
87e5022ca8
Replace @ClientWidget with client-side @Component (#8440)
12 yıl önce
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)
12 yıl önce
Artur Signell
042c30f5ac
Use ComponentState for storing the state, not just as a communication
mechanism. Changed isDisabled to more logical isEnabled in state.
12 yıl önce
Artur Signell
6cf9afc850
Organized imports and formatted all java files
12 yıl önce
Artur Signell
f603acfa30
Renamed Paintable component classes to Connector
12 yıl önce
Artur Signell
de73abe459
#8434 Renamed *Paintable classes to *Connector and updated ConnectorMap
accordingly
12 yıl önce
Artur Signell
9cda1cc5ca
getWidgetForPaintable -> getWidget
12 yıl önce
Henri Sara
23ff3340cd
Communicate disabled flag in shared state (#8304).
12 yıl önce
Henri Sara
3de6f24cbf
Transfer read-only and immediate flags via shared state (#8304).
12 yıl önce
Henri Sara
e31b26ca98
Convert some literal strings of UIDL attributes to use constants.
12 yıl önce
Artur Signell
6e7f97280a
#8325 Move ApplicationConnection.updateComponent to
VAbstractPaintableWidget.updateFromUIDL
12 yıl önce
Jens Jansson
99b9132dcc
#8324 Splitted VUpload into Widget and Paintable.
12 yıl önce