Ahmed Ashour
f6e082f517
Use String.isEmpty()
6 роки тому
Henri Sara
4f047f06fa
Fix since tags for 8.0 (#8575)
Fix since tags for the server and shared modules and new types in client.
7 роки тому
Denis
1fb40df874
Overload AbstarctComponent.setDescription() with content mode parameter (#8252)
* Overload AbstarctComponent.setDescription() with content mode parameter
Fixes #8185
7 роки тому
Artur Signell
28482d1ae9
Change Label default width to undefined to match other components
Change-Id: Ia4e6bbe0673c20e96bdda240570247ff9b1f6d93
7 роки тому
Artur Signell
d13ca5506a
Implement new Label
Label does intentionally not implement HasValue as it
cannot provide a value to a model
Change-Id: I36b8e1794d64caf566fa802177051ae2eb637bf9
7 роки тому
Artur Signell
c6b44ac8ad
Move and rename server classes which go into the compatibility package
* Use com.vaadin.v7
* Use the same class name as in Vaadin 7
* Use a "vaadin7-" declarative prefix for Vaadin 7 components
Change-Id: I19a27f3835b18980b91a4f8f9464b2adde1a5fd5
7 роки тому
Artur Signell
f3c880194b
Rename legacy packages to v7
Change-Id: I53f3bd49c234a8d126887f6effa83a3c5c92b4e0
7 роки тому
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 роки тому
Artur Signell
a8563a10bb
Remove deprecated Property.toString() mode
The Property.toString() alternatives combined with the legacyPropertyToString
servlet init parameter was introduced in Vaadin 7.0 to ease migration of
applications written in earlier versions. This is no longer relevant.
Change-Id: I6b20e96408738a2a0d60f230c329ce0b329465a8
7 роки тому
Artur Signell
192e93a814
Move and rename converters into com.vaadin.legacy.data.util.converter.Legacy*
Change-Id: I75fd33e66c8c5c265bc60cce58ff639a5d5642ab
8 роки тому
Teemu Suo-Anttila
a6653d3fe4
Migrate vaadin-server build to maven
Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
8 роки тому
John Ahlroos
47b7f536b2
Fix NPE in Label.writeDesign with NULL values #19434
Change-Id: If3628bc655d6cd58ab51b7400af808bdbca3dc91
8 роки тому
Leif Åstrand
9ee97bbf72
Write true boolean attibutes without ='' (#17583)
Also add missing test for GridLayout alignments
Change-Id: If553c9e254fb754cb020a63013bfcc9ecae3a056
9 роки тому
Teemu Suo-Anttila
be3cc216f2
Rename DesignFormatter.unencodeFromTextNode to decodeFromTextNode
Change-Id: I9e20fa21ae2f503a8d34740fcef860c66b369c7b
8 роки тому
Maciej Przepióra
5c875228d9
Support HTML entities when reading/writing declarative format #18882
Change-Id: I08099673c5dd0d688d3243e5fd169edb05f046f3
8 роки тому
Matti Hosio
9bc83cdce7
Declarative support for Label (#7749)
Change-Id: Ia727763f979ad94a029c7861f13bec0c6f00b876
9 роки тому
Artur Signell
3b75f2b148
SynchronizeFrom/ToDesign -> read/writeDesign (#7749)
Change-Id: Ie5e420ac5d62a2aa3206051888e6dd0f8f30df11
9 роки тому
Artur Signell
3f7c75415b
Support plain-text attribute for Label (#7749)
Change-Id: I4ef210d131f1e616b501468cb94ea518945a3b30
9 роки тому
Matti Hosio
a025d511bf
Embed DesignSynchronizable methods to Component interface (#7749)
Change-Id: I06de4d2065dee107da40c2a4941e7d9e22f0832b
9 роки тому
Mika Murtojarvi
117bf2b791
Declarative: handle inner html for Button and Label (#7749).
Change-Id: Ie98d633e8583efed142a6a3d2cc980070cbc73f7
9 роки тому
Fabian Lange
0c229ae914
Reading properties of components should not set state to dirty (#14060).
Many core vaadin components did incorrectly mark the state as dirty when
reading from them. This patch fixes the problem, which should reduce the
amount of server->client state updates significantly.
Change-Id: I342d74129e2985a7f407e9b53a802dc0146d9992
10 роки тому
Artur Signell
e77e73cf64
Update copyright year to 2014
Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
10 роки тому
Maciej Przepióra
856725693b
Fire value change events from Label when content changes (#12414)
Change-Id: I9656025ebde0a80c913713856f5c0374e0f92c27
10 роки тому
Johannes Dahlström
8e2085c346
Remove dead code
Change-Id: I1ac813afa47e38fb508e676d25d103a29bfada6a
10 роки тому
Artur Signell
6bf83a428a
Modified the logic in setPropertyDatasource which determines if a new converter is needed (#11863)
The previous logic had two flaws
* It allowed converter model type to be a sub type of the model type but not vice versa. Similarly for presentation type.
* If the user has set a converter it should be used and not be replaced unless it is absolutely sure that it cannot in any possible way handle conversion (e.g. converter from integer to double cannot handle string to list conversion). If there is a slight chance that it can handle conversion, let it be and let the user set another converter when needed.
Change-Id: I2e1c0b3aac90be63ddbc780195f8428398e28ada
11 роки тому
Artur Signell
be433ace81
Re-added Property.toString warning messages (#10916)
* Made it possible to toggle the toString() behavior using the "legacyPropertyToString" init parameter. The default value is "warning" which enables the legacy Property.toString implementation and logs a warning message when it is used. Other supported values are "true" which enables the legacy mode and "false" which disables it.
Change-Id: Ife19352b86590464c8e441b7f82f4fec3b1f3235
11 роки тому
Leif Åstrand
2700cd2fe6
Added SharedUtil for helpers shared by client and server
Change-Id: Ie289e8eefd962631a43f35dbb47fa192fcf60abf
11 роки тому
Henri Sara
d8412a3020
Revert "Removed legacy toString implementations as promised in 7.0
(#10916 )" (accidentally merged from 7.1)
This reverts commit 5be248803b
.
Change-Id: If4371976f8afe68d08e814128e3256d66b8ecdb3
11 роки тому
Artur Signell
5be248803b
Removed legacy toString implementations as promised in 7.0 (#10916)
Change-Id: I0e63f4cb3480c88b2c79996e23a2e89acce95b28
11 роки тому
Artur Signell
fb68bd5303
Updated copyright notices and added missing license headers
Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
11 роки тому
Artur Signell
57c7a515e0
Update value when field/label local changes (#8192)
Change-Id: Ifbb426f7aee107db0be555c5ab1ef0b5f4948e5e
11 роки тому
Artur Signell
ce282b2b4e
Unified deprecation messages
Change-Id: If3fc2c2d9b251cbc6f2a9da2ede23ff17f7362ef
11 роки тому
Artur Signell
0121af0c28
Changed Property.setValue(Object) to setValue(T) (#8791)
Change-Id: I9f0e6bd62102c5adc461884b1f3b2cbe69f19259
11 роки тому
Artur Signell
2ad19298bd
Unified log message with other Property implementors (#9804)
Change-Id: I0833381d7f7871d062b04ef0ed5408f1777022af
11 роки тому
Artur Signell
21bf33e293
Ensure propertyDataSource can be set back to null (#9618)
Added additional tests for Label with a data source.
Note that the locale dependent tests still fail because of #8192
11 роки тому
Artur Signell
84449d07b0
Label.setPropertyDataSource now updates the state value (#9618)
11 роки тому
John Ahlroos
3824b53479
Fixed references to XHTML and issue found in review #8294
11 роки тому
John Ahlroos
52fa9639ba
Removed deprecated ContenMode.XHTML
11 роки тому
John Ahlroos
074b1095ee
Now using HTML5 content mode. Also deprecated the XHTML content modes.
11 роки тому
Leif Åstrand
7d25670284
Reformat project
11 роки тому
Leif Åstrand
cc3ddcac95
Remove getApplication() and add getSession() (#9402)
11 роки тому
Petri Heinonen
f32d6ab1db
refak listeners com.vaadin.ui
12 роки тому
Leif Åstrand
bc6786f0dc
Rename requestRepaint to markAsDirty (#9378)
Also remove some requestRepaint calls that are no longer needed (#9325 )
12 роки тому
Leif Åstrand
af8afede9f
Handle requestRepaint automatically (#9325)
12 роки тому
Leif Åstrand
050bec8a44
Make the (server-side) getState method protected (#9315)
12 роки тому
Leif Åstrand
38358ae255
Support using public fields in state classes (#9324)
12 роки тому
Artur Signell
8d0c857382
Replaced license place holder with actual license (#8955)
12 роки тому
Artur Signell
054c4a16f5
Removed more @version included in some files but not in all (#9299)
12 роки тому
Artur Signell
6855529f1d
Removed @version which is included in some files but not in all (#9299)
12 роки тому
Artur Signell
e85d933b25
Moved server files to a server src folder (#9299)
12 роки тому