Artur Signell
8d7783b4e9
API refactoring (#7749)
Change-Id: I835756b240bc9ece885acdc8f43ec6a1599bb7c5
9 years ago
Matti Hosio
311f5a0a26
Declarative support for CheckBox (#7749)
Change-Id: Ia0608cd0827ab09d9b30993738acd45317778e55
9 years ago
Mika Murtojarvi
87c559026a
Update the javadocs in declarative (#7749).
Change-Id: If4fd1f0434c1c6d78e47fc503b49781c35494f84
9 years ago
Matti Hosio
3cfe26623b
Add namespace element for custom components (#7749)
Change-Id: Iea7e4057df5a61805ba2f6c087fbb3bcd23f68c7
9 years ago
Matti Hosio
d65749f0ca
Unit tests for nested templates (#7749)
Change-Id: I0190870de8d7d15406cbe54ae8dc0b7761a13910
9 years ago
Matti Hosio
39edc4b3ac
Do not write immediate to design if component is immediate by default (#7749)
Change-Id: Ia79844498c9f6ebc715d15039f7db8441e3565b9
9 years ago
Matti Hosio
6d75a89e8d
Do not throw exception when trying to bind a preinitialized instance field (#7749)
Change-Id: I8b40e667d03b63e05f006e7cedf108345591d118
9 years ago
Mika Murtojarvi
7818595589
Updates for the javadocs of declarative (#7749).
Change-Id: I623ba0c17673144f0886556937d25f80ea1f3ffd
9 years ago
Matti Hosio
f1eb1c4bf3
Some fixes to potus demo (#7749)
Change-Id: I61b80e8610431988ae3bd6a88993b010d116db4e
9 years ago
Matti Hosio
e547f02453
Merge remote-tracking branch 'origin/master' into declarative
Conflicts:
server/src/com/vaadin/ui/TextField.java
Change-Id: I289cb9ec80d494ab79aec11a43708abf5b403a00
9 years ago
Denis Anisimov
a9f24b00e9
Use introspection instead of reflection to get property type (#10672).
Change-Id: I4eebad640c3c091bfff335bae8ef455e662ad4cb
9 years ago
Matti Hosio
8a0a1bdb46
Improved potus demo (#7749)
Change-Id: I330d669238b2c79ca2afda396a5e07833f0af90a
9 years ago
Artur Signell
1ae161965d
Clarified javadoc (#7749)
Change-Id: I89d55fdc9b380f90940477e1d4d031394c81ee40
9 years ago
Matti Hosio
1bfb901ad4
Do not write child components in sub templates (#7749)
Change-Id: I7e19e86618bbf27ae3a6e585bab000f26dd8f6d5
9 years ago
Teppo Kurki
ac31951998
Removed packages starting with a digit from export-package (#15105)
The Runo theme icons have been duplicated to folders icons16, icons32
and icons64 which will be in the export-package declaration. Original
folders with icons also remain.
Change-Id: I19e481057a418e39a030359f62eefc3bc3d7f131
9 years ago
Artur Signell
4db93af2d3
Test for custom reading of design in constructor (#7749)
Change-Id: I9f8da4b3b65d75f5890619d1220db34d02538fbc
9 years ago
Artur Signell
0de94d55c9
Generic cleanup (#7749)
Change-Id: I274009ff733eeba6ac312324d0ba946f64d1a26a
9 years ago
Artur Signell
6d96447d5d
Do not remove children in read to ensure @DesignRoot reading works
properly (#7749 )
Change-Id: I8a3111e7007911adfd97c15373b634b2c57f5cd5
9 years ago
Matti Hosio
9bc83cdce7
Declarative support for Label (#7749)
Change-Id: Ia727763f979ad94a029c7861f13bec0c6f00b876
9 years ago
Teemu Pöntelin
02d33ca7ae
Fix NPE in DateField range handling (#15342)
The NPE was introduced by 206055708b
.
Change-Id: I34401e108f7c02ee2f0aab581a78b9ab468b2b46
9 years ago
Artur Signell
ea1d229c70
Handle tab indexes in a generic way (#7749)
Change-Id: I6e449ed7fd0acaf683da98ae3fcf55ff544c3b48
9 years ago
Artur Signell
bac6b9599b
Do not write empty icon-alt or icon-alternate-text (#7749)
Change-Id: Idca7206667ca4c37f8b5bfe8f3344c751624e526
9 years ago
Artur Signell
10b30728e9
createNode -> createElement
Change-Id: Ifb7342a860fa73d51dc462b788a4530abb0bb52f
9 years ago
Artur Signell
353206974a
Fix writing issues (#7749)
* A root component with @DesignRoot must always use its superclass for
default values. Otherwise the written design will be empty as the
design is read in the constructor.
* A component which is not the root must not write its component tree
if the component tree is generated in the constructor. This is a
simplification which should be good enough for most cases (can't add
children in constructor and also using addComponent - in this case
the component added with addComponent will not be written).
* Test cases for nested templates
Change-Id: I3a384d1d8654b9865a3a790ebeb055a300a62135
9 years ago
Leif Åstrand
1b211745b0
Release session memory at the end of each test
Change-Id: I30dd917158091f1fe6f16d050ff7d6037493d3ef
9 years ago
Artur Signell
8eafe7aee3
Do not create default instances while reading designs (#7749)
Change-Id: I26cb6d8d43200d10ebf8c0ac22c538b4272f5ecd
9 years ago
Artur Signell
3b75f2b148
SynchronizeFrom/ToDesign -> read/writeDesign (#7749)
Change-Id: Ie5e420ac5d62a2aa3206051888e6dd0f8f30df11
9 years ago
Leif Åstrand
4b58dccc09
Remove accidentally retained JavaDoc row
The offending row was not removed when the proceeding "@throws
JSONException" row was removed.
Change-Id: I38d914284d92554540744e8c52eefa0db78bc55d
9 years ago
Artur Signell
5d5e8c4c05
Tests for declarative support (#7749)
Change-Id: I4dee7d3583a80f2f6a7334792ca064c725320bf0
9 years ago
Artur Signell
898e28d6ae
Add public API for loading design based on @DesignRoot (#7749)
Change-Id: Ic6f201a45d66aefe9ec93ba3be5a75b6532bf014
9 years ago
Anna Miroshnik
8c8ce29d6a
Back button doesn't change URL if view blocks the navigation (#10901)
Change-Id: Ib1211a7a2282753b329129615a544264e62d1ed5
9 years ago
Anna Miroshnik
60ddbbf566
Delayed column layouting is visible (#15189)
Full Name of defect:
Regression: Table column jumps when table is shown and table is contained in a layout
Regression is a outcome of change due to #12672 .
No TB4 test because problem happens too fast to be caught.
Change-Id: I9af5ed3c11e0fb673c7f2f1c5fd4739bd4b8c655
9 years ago
Artur Signell
a27ea03db9
Refactored API for loading designs (#7749)
Now contains read methods
* Component read(InputStream design)
* DesignContext read(InputStream design, Component rootComponent)
* DesignContext read(String filename, Component rootComponent)
and write methods
* write(Component component, OutputStream outputStream)
* write(DesignContext designContext, OutputStream outputStream)
Change-Id: I9d6862240c5b2018ec39a164a54e7c047a00971b
9 years ago
Sauli Tähkäpää
e61ddefe44
Throw IllegalArgumentException on non-existent version column. (#15290)
Change-Id: I68fdea1144253feba906acd882b573d469f39a30
9 years ago
Artur Signell
ad8ce56c12
Make field binding in designs case insensitive (#7749)
Change-Id: I002daf9c2cf544bd648ad9b009c67e058f514aad
9 years ago
Artur Signell
f341dac68a
Fix push test broken by new StringToEnumConverter
Change-Id: I76885f3254ec28574ac637905af13cba1a9d2b41
9 years ago
Artur Signell
3f7c75415b
Support plain-text attribute for Label (#7749)
Change-Id: I4ef210d131f1e616b501468cb94ea518945a3b30
9 years ago
Artur Signell
2789f70167
Rename LayoutHandler to Design (#7749)
Change-Id: I86fcf9062804c7eb71d460d2003a3f5eb8d775eb
9 years ago
Leif Åstrand
eaa5328054
Use ComboBox locale for filtering case tranform (#15193)
Change-Id: Id462c3e76c8d761c04851227c949a3124ddf14b3
9 years ago
Mika Murtojarvi
628a2edf50
Declarative support for split panel (#7749).
Change-Id: I96b7be150c9b6511f9fb701c5ee26afca67f1512
9 years ago
Matti Hosio
a025d511bf
Embed DesignSynchronizable methods to Component interface (#7749)
Change-Id: I06de4d2065dee107da40c2a4941e7d9e22f0832b
9 years ago
Matti Hosio
c4aab1fe91
Some logging improvements and minor fixes for Declarative (#7749)
Change-Id: Iccb1bbf3be1a030d4902165dbf59ecea3e8b134b
9 years ago
Mika Murtojarvi
e09ba97f64
Declarative: add support for Panel (#7749).
Change-Id: I4e6414e2fd4941215a788f518862ce58f38f005f
9 years ago
Artur Signell
dfaaae821e
Use converter for Select/Tree/ComboBox when using item id for caption
(#11433 )
Change-Id: I10c47986b98e132e874b2882fbb2323409d67a25
9 years ago
Matti Hosio
7a73e9bd3b
Declarative support for Button and NativeButton (#7749)
Change-Id: I2a72e5001dbee4b6396344a0286ea4aa042e15aa
9 years ago
Artur Signell
6a27de02e7
Update to latest jsoup (#7749)
Change-Id: I5b31bb935ecd3a9bb1fd4722a8e94acc4f0355b0
9 years ago
Artur Signell
36e39ca268
Don't add setCurorPosition as it focuses the field (#7749)
Change-Id: I53de828cd5c27f7ee8e9a89d7b48c7dcfc3201b6
9 years ago
Matti Hosio
ccb76e6608
Declarative support for TabSheet and Accordion (#7749)
Change-Id: Iee4689814f08ddbb852cfb3e51c9873fbe42d901
9 years ago
Matti Hosio
64a0295719
Declarative support for TextField, PasswordField and TextArea (#7749)
Change-Id: I41d04c55c65820f0270742468e94f47099783950
9 years ago
Sauli Tähkäpää
10fa4e4236
Fix gradient path for notifications in Chameleon. (#15351)
Change-Id: Ie1e2726613033ad321e15f7f58e098080d4d9a5f
9 years ago