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