aboutsummaryrefslogtreecommitdiffstats
path: root/server/tests/src
Commit message (Collapse)AuthorAgeFilesLines
* API refactoring (#7749)declarativeArtur Signell2014-12-178-10/+11
| | | | Change-Id: I835756b240bc9ece885acdc8f43ec6a1599bb7c5
* Declarative support for CheckBox (#7749)Matti Hosio2014-12-173-0/+127
| | | | Change-Id: Ia0608cd0827ab09d9b30993738acd45317778e55
* Add namespace element for custom components (#7749)Matti Hosio2014-12-171-0/+4
| | | | Change-Id: Iea7e4057df5a61805ba2f6c087fbb3bcd23f68c7
* Unit tests for nested templates (#7749)Matti Hosio2014-12-1712-0/+417
| | | | Change-Id: I0190870de8d7d15406cbe54ae8dc0b7761a13910
* Do not write immediate to design if component is immediate by default (#7749)Matti Hosio2014-12-171-0/+15
| | | | Change-Id: Ia79844498c9f6ebc715d15039f7db8441e3565b9
* Do not throw exception when trying to bind a preinitialized instance field ↵Matti Hosio2014-12-177-0/+29
| | | | | | (#7749) Change-Id: I8b40e667d03b63e05f006e7cedf108345591d118
* Merge remote-tracking branch 'origin/master' into declarativeMatti Hosio2014-12-1715-87/+731
|\ | | | | | | | | | | | | Conflicts: server/src/com/vaadin/ui/TextField.java Change-Id: I289cb9ec80d494ab79aec11a43708abf5b403a00
| * Throw IllegalArgumentException on non-existent version column. (#15290)Sauli Tähkäpää2014-12-151-66/+92
| | | | | | | | Change-Id: I68fdea1144253feba906acd882b573d469f39a30
| * Make SQLContainer.removeAllItems() work properly with paging (#12882)Ilya Ermakov2014-12-121-0/+20
| | | | | | | | | | | | | | With this patch removeAllItems() works properly when items need to be fetched from database. Change-Id: Ic008ae7c67610cbdde7d71fa071494508678ac8f
| * Validate input to FileResource constructor (#14253)Artur Signell2014-12-111-0/+36
| | | | | | | | Change-Id: I7789f2de4cb179dfff936498f58dd6f2e491689b
| * Convert empty string to null Enum value, only throw ConversionExceptions ↵Artur Signell2014-12-111-0/+14
| | | | | | | | | | (#14756) Change-Id: I027a245975db12e3661740bd233edd98e73994e9
| * Clear all bound fields when nulling the field group data source (#12371)Artur Signell2014-12-111-11/+1
| | | | | | | | Change-Id: I48eb0e7851187fa6bbb9024730b2611a74501ad0
| * Add public Field.isEmpty() and clear() (#15354)Artur Signell2014-12-103-0/+165
| | | | | | | | Change-Id: I6bda7ff2a66a9ad172c899d855ca868881600be4
| * Make addNestedContainerBean work with existing bean item container items ↵Artur Signell2014-12-091-0/+42
| | | | | | | | | | | | (#15355) Change-Id: I04a91349fce452aa26c304413061440ad74465cc
| * Hierarchy change markAsDirty to AbstractComponentContainer (#14227)Anna Miroshnik2014-12-091-0/+50
| | | | | | | | Change-Id: I7a05ad72dfa3d16d85aa4d0cdd235572ec01e31a
| * Basic tests for default converter factoryArtur Signell2014-12-081-0/+128
| | | | | | | | Change-Id: I2d9df8a62635164f04d9109e37746686589b696a
| * Add new StringTo<Byte, Short, BigInteger> Converters (#14583)Anna Miroshnik2014-12-083-23/+36
| | | | | | | | | | | | DefaultConverterFactory was updated, added missed types. Change-Id: I65cffc7f91df6f40e132b45e325e15f029f9848c
| * SQLContainer removeItem Error when isModified (#8802)Ilya Ermakov2014-12-051-0/+14
| | | | | | | | | | | | This patch makes commit() work properly if an item was modified and later deleted. Change-Id: I5a00024112e7b6bb7ab3750c292a872937f03af9
| * Add null check to UI.setTheme. (#15326)Sauli Tähkäpää2014-12-041-9/+55
| | | | | | | | Change-Id: I2ab2d24ec05bb618969f59ea15d3a971f88009ca
| * Escape dynamic and configured theme names in the same way. (#15309)Leif Åstrand2014-12-021-0/+43
| | | | | | | | Change-Id: Ib7fd42e6017d0b78e6d5e6bd7f531f0cd6c8c0ab
| * Allow BeanFieldGroup.setItemDataSource() method accept null (#14731).Denis Anisimov2014-12-021-0/+31
| | | | | | | | Change-Id: I7a451f428f0aa3ea7fc322cac6b0e62d830d7987
| * Prevent NPE in AbstractBeanContainer.getType() method (#15173).Denis Anisimov2014-12-012-0/+26
| | | | | | | | Change-Id: Ieaed329ed85c68d0da8bd169b4cc5c5886dde212
* | Test for custom reading of design in constructor (#7749)Artur Signell2014-12-163-0/+113
| | | | | | Change-Id: I9f8da4b3b65d75f5890619d1220db34d02538fbc
* | Generic cleanup (#7749)Artur Signell2014-12-161-1/+0
| | | | | | Change-Id: I274009ff733eeba6ac312324d0ba946f64d1a26a
* | Do not remove children in read to ensure @DesignRoot reading worksArtur Signell2014-12-161-4/+0
| | | | | | | | | | | | properly (#7749) Change-Id: I8a3111e7007911adfd97c15373b634b2c57f5cd5
* | Declarative support for Label (#7749)Matti Hosio2014-12-161-0/+4
| | | | | | | | Change-Id: Ia727763f979ad94a029c7861f13bec0c6f00b876
* | createNode -> createElementArtur Signell2014-12-154-10/+10
| | | | | | | | Change-Id: Ifb7342a860fa73d51dc462b788a4530abb0bb52f
* | Fix writing issues (#7749)Artur Signell2014-12-158-0/+301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Do not create default instances while reading designs (#7749)Artur Signell2014-12-152-18/+0
| | | | | | | | Change-Id: I26cb6d8d43200d10ebf8c0ac22c538b4272f5ecd
* | SynchronizeFrom/ToDesign -> read/writeDesign (#7749)Artur Signell2014-12-1526-117/+116
| | | | | | | | Change-Id: Ie5e420ac5d62a2aa3206051888e6dd0f8f30df11
* | Add public API for loading design based on @DesignRoot (#7749)Artur Signell2014-12-157-0/+240
| | | | | | | | Change-Id: Ic6f201a45d66aefe9ec93ba3be5a75b6532bf014
* | Refactored API for loading designs (#7749)Artur Signell2014-12-156-16/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Support plain-text attribute for Label (#7749)Artur Signell2014-12-142-3/+53
| | | | | | | | Change-Id: I4ef210d131f1e616b501468cb94ea518945a3b30
* | Rename LayoutHandler to Design (#7749)Artur Signell2014-12-147-21/+20
| | | | | | | | Change-Id: I86fcf9062804c7eb71d460d2003a3f5eb8d775eb
* | Declarative support for split panel (#7749).Mika Murtojarvi2014-12-123-2/+337
| | | | | | | | Change-Id: I96b7be150c9b6511f9fb701c5ee26afca67f1512
* | Embed DesignSynchronizable methods to Component interface (#7749)Matti Hosio2014-12-124-8/+7
| | | | | | | | Change-Id: I06de4d2065dee107da40c2a4941e7d9e22f0832b
* | Declarative: add support for Panel (#7749).Mika Murtojarvi2014-12-123-1/+175
| | | | | | | | Change-Id: I4e6414e2fd4941215a788f518862ce58f38f005f
* | Declarative support for Button and NativeButton (#7749)Matti Hosio2014-12-124-1/+59
| | | | | | | | Change-Id: I2a72e5001dbee4b6396344a0286ea4aa042e15aa
* | Declarative support for TabSheet and Accordion (#7749)Matti Hosio2014-12-124-1/+281
| | | | | | | | Change-Id: Iee4689814f08ddbb852cfb3e51c9873fbe42d901
* | Declarative support for TextField, PasswordField and TextArea (#7749)Matti Hosio2014-12-125-2/+243
| | | | | | | | Change-Id: I41d04c55c65820f0270742468e94f47099783950
* | Declarative support for AbstractTextField (#7749)Matti Hosio2014-12-103-1/+149
| | | | | | | | Change-Id: Ice244cd73825bde44fe02cf3d4b53d4eff5a5c35
* | Add support for margins in AbstractOrderedLayout (#7749)Matti Hosio2014-12-102-10/+32
| | | | | | | | Change-Id: I9793d37998549c410e9e17dc14402acc3b85f4f0
* | Declarative support for AbstractField (#7749)Matti Hosio2014-12-106-2/+242
| | | | | | | | Change-Id: I8eb917186886aa1a9c63939d2dfd1f59df973aa2
* | Fix errors that affect validation builds (#7749).Mika Murtojarvi2014-12-102-0/+6
| | | | | | | | Change-Id: Idfed1c2f87812afcbb961eb238a36a1e09d61952
* | Change a test not to use LocaleUtils.Mika Murtojarvi2014-12-101-6/+3
| | | | | | | | Change-Id: I447960c4621c8bf0acbc1cce5bcc4fe5dc341256
* | Remove locale utils dependency since that is not available in the server ↵Matti Hosio2014-12-101-1/+1
| | | | | | | | | | | | | | | | dependencies Also minor fix in one unit test Change-Id: I6a15cda5857a167327138f0ac5d1fb02629ef0d6
* | Declarative support for CssLayout (#7749)Matti Hosio2014-12-102-0/+152
| | | | | | | | Change-Id: Ic99fb1e9af921b3e14127888e2b3dffbd54f493e
* | Handle locale as a special case (#7749).Mika Murtojarvi2014-12-091-0/+153
| | | | | | | | | | | | | | This cleans the generated html by not writing the locale to every tree node. Change-Id: I7a3c8300ee7726e22196c6cbc659fed8b78e3bd6
* | Handle immediate property as a special case (#7749).Mika Murtojarvi2014-12-092-0/+35
| | | | | | | | Change-Id: I507b44acfd3036d2d2862d1d04b518adc7bf826a
* | Support for automatic binding of the fields of the root layout (#7749)Matti Hosio2014-12-083-0/+144
| | | | | | | | | | | | The fields are bound to the components generated when parsing the design. The binding is done based on localId, id or caption. Change-Id: I32ecac3cb76737c9d9d05a123db85fe65d55369c