]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
9 years agoAPI refactoring (#7749) declarative
Artur Signell [Wed, 17 Dec 2014 20:35:51 +0000 (22:35 +0200)]
API refactoring (#7749)

Change-Id: I835756b240bc9ece885acdc8f43ec6a1599bb7c5

9 years agoDeclarative support for CheckBox (#7749)
Matti Hosio [Wed, 17 Dec 2014 14:12:49 +0000 (16:12 +0200)]
Declarative support for CheckBox (#7749)

Change-Id: Ia0608cd0827ab09d9b30993738acd45317778e55

9 years agoUpdate the javadocs in declarative (#7749).
Mika Murtojarvi [Wed, 17 Dec 2014 13:33:00 +0000 (15:33 +0200)]
Update the javadocs in declarative (#7749).

Change-Id: If4fd1f0434c1c6d78e47fc503b49781c35494f84

9 years agoAdd namespace element for custom components (#7749)
Matti Hosio [Wed, 17 Dec 2014 13:30:46 +0000 (15:30 +0200)]
Add namespace element for custom components (#7749)

Change-Id: Iea7e4057df5a61805ba2f6c087fbb3bcd23f68c7

9 years agoUnit tests for nested templates (#7749)
Matti Hosio [Wed, 17 Dec 2014 10:57:39 +0000 (12:57 +0200)]
Unit tests for nested templates (#7749)

Change-Id: I0190870de8d7d15406cbe54ae8dc0b7761a13910

9 years agoDo not write immediate to design if component is immediate by default (#7749)
Matti Hosio [Wed, 17 Dec 2014 13:17:58 +0000 (15:17 +0200)]
Do not write immediate to design if component is immediate by default (#7749)

Change-Id: Ia79844498c9f6ebc715d15039f7db8441e3565b9

9 years agoDo not throw exception when trying to bind a preinitialized instance field (#7749)
Matti Hosio [Wed, 17 Dec 2014 12:08:59 +0000 (14:08 +0200)]
Do not throw exception when trying to bind a preinitialized instance field (#7749)

Change-Id: I8b40e667d03b63e05f006e7cedf108345591d118

9 years agoUpdates for the javadocs of declarative (#7749).
Mika Murtojarvi [Wed, 17 Dec 2014 10:24:26 +0000 (12:24 +0200)]
Updates for the javadocs of declarative (#7749).

Change-Id: I623ba0c17673144f0886556937d25f80ea1f3ffd

9 years agoSome fixes to potus demo (#7749)
Matti Hosio [Wed, 17 Dec 2014 08:28:31 +0000 (10:28 +0200)]
Some fixes to potus demo (#7749)

Change-Id: I61b80e8610431988ae3bd6a88993b010d116db4e

9 years agoMerge remote-tracking branch 'origin/master' into declarative
Matti Hosio [Wed, 17 Dec 2014 08:31:33 +0000 (10:31 +0200)]
Merge remote-tracking branch 'origin/master' into declarative

Conflicts:
server/src/com/vaadin/ui/TextField.java

Change-Id: I289cb9ec80d494ab79aec11a43708abf5b403a00

9 years agoUse introspection instead of reflection to get property type (#10672).
Denis Anisimov [Sun, 21 Sep 2014 18:04:31 +0000 (21:04 +0300)]
Use introspection instead of reflection to get property type (#10672).

Change-Id: I4eebad640c3c091bfff335bae8ef455e662ad4cb

9 years agoImproved potus demo (#7749)
Matti Hosio [Tue, 16 Dec 2014 16:09:56 +0000 (18:09 +0200)]
Improved potus demo (#7749)

Change-Id: I330d669238b2c79ca2afda396a5e07833f0af90a

9 years agoClarified javadoc (#7749)
Artur Signell [Tue, 16 Dec 2014 08:05:54 +0000 (10:05 +0200)]
Clarified javadoc (#7749)

Change-Id: I89d55fdc9b380f90940477e1d4d031394c81ee40

9 years agoDo not write child components in sub templates (#7749)
Matti Hosio [Tue, 16 Dec 2014 12:29:08 +0000 (14:29 +0200)]
Do not write child components in sub templates (#7749)

Change-Id: I7e19e86618bbf27ae3a6e585bab000f26dd8f6d5

9 years agoRemoved packages starting with a digit from export-package (#15105)
Teppo Kurki [Tue, 16 Dec 2014 10:50:22 +0000 (12:50 +0200)]
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 agoTest for custom reading of design in constructor (#7749)
Artur Signell [Mon, 15 Dec 2014 20:51:09 +0000 (22:51 +0200)]
Test for custom reading of design in constructor (#7749)

Change-Id: I9f8da4b3b65d75f5890619d1220db34d02538fbc

9 years agoGeneric cleanup (#7749)
Artur Signell [Mon, 15 Dec 2014 20:10:23 +0000 (22:10 +0200)]
Generic cleanup (#7749)

Change-Id: I274009ff733eeba6ac312324d0ba946f64d1a26a

9 years agoDo not remove children in read to ensure @DesignRoot reading works
Artur Signell [Mon, 15 Dec 2014 21:21:49 +0000 (23:21 +0200)]
Do not remove children in read to ensure @DesignRoot reading works
properly (#7749)

Change-Id: I8a3111e7007911adfd97c15373b634b2c57f5cd5

9 years agoDeclarative support for Label (#7749)
Matti Hosio [Tue, 16 Dec 2014 12:56:23 +0000 (14:56 +0200)]
Declarative support for Label (#7749)

Change-Id: Ia727763f979ad94a029c7861f13bec0c6f00b876

9 years agoFix NPE in DateField range handling (#15342)
Teemu Pöntelin [Mon, 15 Dec 2014 18:10:53 +0000 (20:10 +0200)]
Fix NPE in DateField range handling (#15342)

The NPE was introduced by 206055708b0a8e1c17a8c63d482a5e202d3ebf6d.

Change-Id: I34401e108f7c02ee2f0aab581a78b9ab468b2b46

9 years agoHandle tab indexes in a generic way (#7749)
Artur Signell [Mon, 15 Dec 2014 20:48:50 +0000 (22:48 +0200)]
Handle tab indexes in a generic way (#7749)

Change-Id: I6e449ed7fd0acaf683da98ae3fcf55ff544c3b48

9 years agoDo not write empty icon-alt or icon-alternate-text (#7749)
Artur Signell [Mon, 15 Dec 2014 20:03:26 +0000 (22:03 +0200)]
Do not write empty icon-alt or icon-alternate-text (#7749)

Change-Id: Idca7206667ca4c37f8b5bfe8f3344c751624e526

9 years agocreateNode -> createElement
Artur Signell [Mon, 15 Dec 2014 21:07:42 +0000 (23:07 +0200)]
createNode -> createElement

Change-Id: Ifb7342a860fa73d51dc462b788a4530abb0bb52f

9 years agoFix writing issues (#7749)
Artur Signell [Mon, 15 Dec 2014 21:02:22 +0000 (23:02 +0200)]
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 agoRelease session memory at the end of each test
Leif Åstrand [Sat, 13 Dec 2014 19:42:54 +0000 (21:42 +0200)]
Release session memory at the end of each test

Change-Id: I30dd917158091f1fe6f16d050ff7d6037493d3ef

9 years agoDo not create default instances while reading designs (#7749)
Artur Signell [Mon, 15 Dec 2014 06:41:45 +0000 (08:41 +0200)]
Do not create default instances while reading designs (#7749)

Change-Id: I26cb6d8d43200d10ebf8c0ac22c538b4272f5ecd

9 years agoSynchronizeFrom/ToDesign -> read/writeDesign (#7749)
Artur Signell [Sun, 14 Dec 2014 19:34:01 +0000 (21:34 +0200)]
SynchronizeFrom/ToDesign -> read/writeDesign (#7749)

Change-Id: Ie5e420ac5d62a2aa3206051888e6dd0f8f30df11

9 years agoRemove accidentally retained JavaDoc row
Leif Åstrand [Mon, 15 Dec 2014 11:40:07 +0000 (13:40 +0200)]
Remove accidentally retained JavaDoc row

The offending row was not removed when the proceeding "@throws
JSONException" row was removed.

Change-Id: I38d914284d92554540744e8c52eefa0db78bc55d

9 years agoTests for declarative support (#7749)
Artur Signell [Sun, 14 Dec 2014 19:22:14 +0000 (21:22 +0200)]
Tests for declarative support (#7749)

Change-Id: I4dee7d3583a80f2f6a7334792ca064c725320bf0

9 years agoAdd public API for loading design based on @DesignRoot (#7749)
Artur Signell [Sun, 14 Dec 2014 18:01:52 +0000 (20:01 +0200)]
Add public API for loading design based on @DesignRoot (#7749)

Change-Id: Ic6f201a45d66aefe9ec93ba3be5a75b6532bf014

9 years agoBack button doesn't change URL if view blocks the navigation (#10901)
Anna Miroshnik [Thu, 11 Dec 2014 15:22:42 +0000 (18:22 +0300)]
Back button doesn't change URL if view blocks the navigation (#10901)

Change-Id: Ib1211a7a2282753b329129615a544264e62d1ed5

9 years agoDelayed column layouting is visible (#15189)
Anna Miroshnik [Fri, 14 Nov 2014 10:46:12 +0000 (13:46 +0300)]
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 agoRefactored API for loading designs (#7749)
Artur Signell [Fri, 12 Dec 2014 21:47:40 +0000 (23:47 +0200)]
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 agoThrow IllegalArgumentException on non-existent version column. (#15290)
Sauli Tähkäpää [Sun, 14 Dec 2014 20:34:28 +0000 (22:34 +0200)]
Throw IllegalArgumentException on non-existent version column. (#15290)

Change-Id: I68fdea1144253feba906acd882b573d469f39a30

9 years agoMake field binding in designs case insensitive (#7749)
Artur Signell [Fri, 12 Dec 2014 21:29:41 +0000 (23:29 +0200)]
Make field binding in designs case insensitive (#7749)

Change-Id: I002daf9c2cf544bd648ad9b009c67e058f514aad

9 years agoFix push test broken by new StringToEnumConverter
Artur Signell [Sun, 14 Dec 2014 13:06:42 +0000 (15:06 +0200)]
Fix push test broken by new StringToEnumConverter

Change-Id: I76885f3254ec28574ac637905af13cba1a9d2b41

9 years agoSupport plain-text attribute for Label (#7749)
Artur Signell [Sat, 13 Dec 2014 10:12:12 +0000 (12:12 +0200)]
Support plain-text attribute for Label (#7749)

Change-Id: I4ef210d131f1e616b501468cb94ea518945a3b30

9 years agoRename LayoutHandler to Design (#7749)
Artur Signell [Fri, 12 Dec 2014 09:01:55 +0000 (11:01 +0200)]
Rename LayoutHandler to Design (#7749)

Change-Id: I86fcf9062804c7eb71d460d2003a3f5eb8d775eb

9 years agoUse ComboBox locale for filtering case tranform (#15193)
Leif Åstrand [Mon, 10 Nov 2014 18:26:02 +0000 (20:26 +0200)]
Use ComboBox locale for filtering case tranform (#15193)

Change-Id: Id462c3e76c8d761c04851227c949a3124ddf14b3

9 years agoDeclarative support for split panel (#7749).
Mika Murtojarvi [Thu, 11 Dec 2014 16:25:40 +0000 (18:25 +0200)]
Declarative support for split panel (#7749).

Change-Id: I96b7be150c9b6511f9fb701c5ee26afca67f1512

9 years agoEmbed DesignSynchronizable methods to Component interface (#7749)
Matti Hosio [Fri, 12 Dec 2014 11:04:31 +0000 (13:04 +0200)]
Embed DesignSynchronizable methods to Component interface (#7749)

Change-Id: I06de4d2065dee107da40c2a4941e7d9e22f0832b

9 years agoSome logging improvements and minor fixes for Declarative (#7749)
Matti Hosio [Fri, 12 Dec 2014 12:08:41 +0000 (14:08 +0200)]
Some logging improvements and minor fixes for Declarative (#7749)

Change-Id: Iccb1bbf3be1a030d4902165dbf59ecea3e8b134b

9 years agoDeclarative: add support for Panel (#7749).
Mika Murtojarvi [Wed, 10 Dec 2014 09:24:58 +0000 (11:24 +0200)]
Declarative: add support for Panel (#7749).

Change-Id: I4e6414e2fd4941215a788f518862ce58f38f005f

9 years agoUse converter for Select/Tree/ComboBox when using item id for caption
Artur Signell [Thu, 25 Sep 2014 07:27:51 +0000 (10:27 +0300)]
Use converter for Select/Tree/ComboBox when using item id for caption
(#11433)

Change-Id: I10c47986b98e132e874b2882fbb2323409d67a25

9 years agoDeclarative support for Button and NativeButton (#7749)
Matti Hosio [Thu, 11 Dec 2014 11:25:40 +0000 (13:25 +0200)]
Declarative support for Button and NativeButton (#7749)

Change-Id: I2a72e5001dbee4b6396344a0286ea4aa042e15aa

9 years agoUpdate to latest jsoup (#7749)
Artur Signell [Fri, 12 Dec 2014 09:15:58 +0000 (11:15 +0200)]
Update to latest jsoup (#7749)

Change-Id: I5b31bb935ecd3a9bb1fd4722a8e94acc4f0355b0

9 years agoDon't add setCurorPosition as it focuses the field (#7749)
Artur Signell [Fri, 12 Dec 2014 09:15:33 +0000 (11:15 +0200)]
Don't add setCurorPosition as it focuses the field (#7749)

Change-Id: I53de828cd5c27f7ee8e9a89d7b48c7dcfc3201b6

9 years agoDeclarative support for TabSheet and Accordion (#7749)
Matti Hosio [Thu, 11 Dec 2014 14:22:41 +0000 (16:22 +0200)]
Declarative support for TabSheet and Accordion (#7749)

Change-Id: Iee4689814f08ddbb852cfb3e51c9873fbe42d901

9 years agoDeclarative support for TextField, PasswordField and TextArea (#7749)
Matti Hosio [Thu, 11 Dec 2014 07:05:19 +0000 (09:05 +0200)]
Declarative support for TextField, PasswordField and TextArea (#7749)

Change-Id: I41d04c55c65820f0270742468e94f47099783950

9 years agoFix gradient path for notifications in Chameleon. (#15351)
Sauli Tähkäpää [Thu, 11 Dec 2014 21:12:12 +0000 (23:12 +0200)]
Fix gradient path for notifications in Chameleon. (#15351)

Change-Id: Ie1e2726613033ad321e15f7f58e098080d4d9a5f

9 years agoMake SQLContainer.removeAllItems() work properly with paging (#12882)
Ilya Ermakov [Wed, 3 Dec 2014 10:43:15 +0000 (13:43 +0300)]
Make SQLContainer.removeAllItems() work properly with paging (#12882)

With this patch removeAllItems() works properly when
items need to be fetched from database.

Change-Id: Ic008ae7c67610cbdde7d71fa071494508678ac8f

9 years agoRevert "Notify server side component about clicks in form layout (#6346)."
Markus Koivisto [Thu, 11 Dec 2014 12:10:48 +0000 (12:10 +0000)]
Revert "Notify server side component about clicks in form layout (#6346)."

This reverts commit 23bdb6e90d970bd4e9ef11c79c095e65b6963414.

The included test (FormLayoutClickListenerTest) fails on all other browsers except PhantomJS.

Change-Id: Ib60d051da9100eef8f30e6578ac73314bcda3ec3

9 years agoValidate input to FileResource constructor (#14253)
Artur Signell [Wed, 10 Dec 2014 21:41:45 +0000 (23:41 +0200)]
Validate input to FileResource constructor (#14253)

Change-Id: I7789f2de4cb179dfff936498f58dd6f2e491689b

9 years agoTest UI for #15321
Artur Signell [Thu, 4 Dec 2014 07:13:15 +0000 (09:13 +0200)]
Test UI for #15321

Change-Id: I108f8ad473e6637bff9619f110f9194a56482c3e

9 years agoVBrowserDetails fails to detect Android when using Firefox (#15183)
Sergey Budkin [Fri, 7 Nov 2014 13:22:24 +0000 (15:22 +0200)]
VBrowserDetails fails to detect Android when using Firefox (#15183)

Changed detection logic.

Change-Id: I9cb8e94fe6bb5be587fa73ed6a71d2c7c1d91733

9 years agoReset tabsheet scroller when unhiding leftmost tab (#14644)
Alexey Fansky [Wed, 10 Dec 2014 23:52:46 +0000 (15:52 -0800)]
Reset tabsheet scroller when unhiding leftmost tab (#14644)

Checking whether invisible tab are present before the scroll index and
if so resetting the scroll index when tab goes back to visible.

Change-Id: I156dbe93963b0d9f46e21a593ffc3c4c77ebd1c6

9 years agoConvert empty string to null Enum value, only throw ConversionExceptions (#14756)
Artur Signell [Tue, 9 Dec 2014 20:16:50 +0000 (22:16 +0200)]
Convert empty string to null Enum value, only throw ConversionExceptions (#14756)

Change-Id: I027a245975db12e3661740bd233edd98e73994e9

9 years agoClear all bound fields when nulling the field group data source (#12371)
Artur Signell [Tue, 9 Dec 2014 17:43:06 +0000 (19:43 +0200)]
Clear all bound fields when nulling the field group data source (#12371)

Change-Id: I48eb0e7851187fa6bbb9024730b2611a74501ad0

9 years agoNotify server side component about clicks in form layout (#6346).
Denis Anisimov [Tue, 23 Sep 2014 19:18:40 +0000 (22:18 +0300)]
Notify server side component about clicks in form layout (#6346).

Change-Id: Idc4399dc94b253694c4e0d716d2b65964a2217f8

9 years agoAdd public Field.isEmpty() and clear() (#15354)
Artur Signell [Tue, 9 Dec 2014 14:58:01 +0000 (16:58 +0200)]
Add public Field.isEmpty() and clear() (#15354)

Change-Id: I6bda7ff2a66a9ad172c899d855ca868881600be4

9 years agoFix CustomLayout child rendering when template is missing (#8696)
Teemu Pöntelin [Thu, 4 Dec 2014 18:09:42 +0000 (20:09 +0200)]
Fix CustomLayout child rendering when template is missing (#8696)

Change-Id: I8ce4fbc566f030bf22c555f68b97beb781b19805

9 years agoDeclarative support for AbstractTextField (#7749)
Matti Hosio [Wed, 10 Dec 2014 15:01:33 +0000 (17:01 +0200)]
Declarative support for AbstractTextField (#7749)

Change-Id: Ice244cd73825bde44fe02cf3d4b53d4eff5a5c35

9 years agoAdd support for margins in AbstractOrderedLayout (#7749)
Matti Hosio [Wed, 10 Dec 2014 10:42:41 +0000 (12:42 +0200)]
Add support for margins in AbstractOrderedLayout (#7749)

Change-Id: I9793d37998549c410e9e17dc14402acc3b85f4f0

9 years agoHorizontal split panel height shouldn't ignore second component (#15149)
Denis Anisimov [Fri, 31 Oct 2014 18:33:39 +0000 (20:33 +0200)]
Horizontal split panel height shouldn't ignore second component (#15149)

Change-Id: Ie925757167b6d8521707b6d5515157eca85f9dba

9 years agoDeclarative support for AbstractField (#7749)
Matti Hosio [Wed, 10 Dec 2014 07:56:12 +0000 (09:56 +0200)]
Declarative support for AbstractField (#7749)

Change-Id: I8eb917186886aa1a9c63939d2dfd1f59df973aa2

9 years agoSet explicit calculated size for drag image element (#14617).
Denis Anisimov [Sun, 14 Sep 2014 09:49:23 +0000 (12:49 +0300)]
Set explicit calculated size for drag image element (#14617).

Change-Id: I6bfcd0a5ad78bd79aad2fa2357a7e33a00b3c33d

9 years agoalways retry a status code 0 uidl request (#15254)
Fabian Lange [Tue, 25 Nov 2014 09:26:18 +0000 (10:26 +0100)]
always retry a status code 0 uidl request (#15254)

A status code of 0 indicates that the request has not been handled by
the server because the connection was closed without sending response
headers.
This can happen on the browser side when the browser window is closed,
or it can happen on network equipment side under adverse quality of link
conditions.
Therefore vaadin should retry such a request once before popping up the
disconnect message.

Change-Id: I9524c97a3de8e4ac9499394a2a795b0441a36ead

9 years agoSet locale explicitly in DateRangeWithSql. (#15342)
Sauli Tähkäpää [Wed, 10 Dec 2014 10:38:45 +0000 (12:38 +0200)]
Set locale explicitly in DateRangeWithSql. (#15342)

Change-Id: I5f73ac5e8bc6be93fa0f9b9089b1584fb35f4a76

9 years agoFix errors that affect validation builds (#7749).
Mika Murtojarvi [Wed, 10 Dec 2014 11:17:51 +0000 (13:17 +0200)]
Fix errors that affect validation builds (#7749).

Change-Id: Idfed1c2f87812afcbb961eb238a36a1e09d61952

9 years agoChange a test not to use LocaleUtils.
Mika Murtojarvi [Wed, 10 Dec 2014 10:43:00 +0000 (12:43 +0200)]
Change a test not to use LocaleUtils.

Change-Id: I447960c4621c8bf0acbc1cce5bcc4fe5dc341256

9 years agoTextField's input prompt is now disabled properly (#15144)
Sara Seppola [Thu, 6 Nov 2014 13:46:17 +0000 (15:46 +0200)]
TextField's input prompt is now disabled properly (#15144)

Change-Id: I9b5d07ec2d8df78c3f120c2a891cc548da787f38

9 years agoAccordion causes SEVERE error in browser console (#15182)
Sergey Budkin [Thu, 13 Nov 2014 14:47:15 +0000 (16:47 +0200)]
Accordion causes SEVERE error in browser console (#15182)

Refactored to remove invisible widgets from DOM.

Change-Id: I94d0ba37f4a75d71df88fbb0b1767ae60f39432d

9 years agoDateField popup doesn't close when popup button is clicked (#14857)
Anna Miroshnik [Mon, 17 Nov 2014 14:33:54 +0000 (17:33 +0300)]
DateField popup doesn't close when popup button is clicked (#14857)

Change-Id: Ieb6ff2f072726fe8707d3cce61569dd623b13ebd

9 years agoMenuBar submenus close unexpectedly if use Valo theme (#15255)
Jouni Koivuviita [Wed, 10 Dec 2014 08:42:37 +0000 (10:42 +0200)]
MenuBar submenus close unexpectedly if use Valo theme (#15255)

This fix is for animation-in and animation-out.

Fix was done in VMenuBar. VOverlay provides now hide() method with
possibility to enable/disable the animations via parameters boolean
animateIn, boolean animateOut. By default they are true (not to break
animate-in, animate-out for VWindow and VNotification)

Change-Id: I49981952c7c18a02edd7fa9e6d247bb18f660207

9 years agoLong events aren't displayed properly when using Container (#15242)
Sergey Budkin [Tue, 25 Nov 2014 17:35:13 +0000 (19:35 +0200)]
Long events aren't displayed properly when using Container (#15242)

Rewrote event selection.

Change-Id: I8f0dd1c5ec736ea14037619b1656a79b7e3532be

9 years agoPosition calendar popup on the left side if there is no space (#14757).
Denis Anisimov [Thu, 6 Nov 2014 07:15:15 +0000 (09:15 +0200)]
Position calendar popup on the left side if there is no space (#14757).

Change-Id: I83836bbf077033712a569c8eff52576b012b4dee

9 years agoRemove locale utils dependency since that is not available in the server dependencies
Matti Hosio [Wed, 10 Dec 2014 08:00:52 +0000 (10:00 +0200)]
Remove locale utils dependency since that is not available in the server dependencies

Also minor fix in one unit test

Change-Id: I6a15cda5857a167327138f0ac5d1fb02629ef0d6

9 years agoMake TextField.clear() use empty string to be consistent with constructor (#14755)
Artur Signell [Tue, 2 Dec 2014 19:19:06 +0000 (21:19 +0200)]
Make TextField.clear() use empty string to be consistent with constructor (#14755)

Change-Id: Ic50ff305277e54f50353fc948b31a89a6b3e083f

9 years agoDeclarative support for CssLayout (#7749)
Matti Hosio [Tue, 9 Dec 2014 12:42:57 +0000 (14:42 +0200)]
Declarative support for CssLayout (#7749)

Change-Id: Ic99fb1e9af921b3e14127888e2b3dffbd54f493e

9 years agoMake addNestedContainerBean work with existing bean item container items (#15355)
Artur Signell [Tue, 9 Dec 2014 19:18:50 +0000 (21:18 +0200)]
Make addNestedContainerBean work with existing bean item container items (#15355)

Change-Id: I04a91349fce452aa26c304413061440ad74465cc

9 years agoHandle locale as a special case (#7749).
Mika Murtojarvi [Mon, 8 Dec 2014 15:57:38 +0000 (17:57 +0200)]
Handle locale as a special case (#7749).

This cleans the generated html by not writing the locale to every tree
node.

Change-Id: I7a3c8300ee7726e22196c6cbc659fed8b78e3bd6

9 years agoHandle immediate property as a special case (#7749).
Mika Murtojarvi [Tue, 9 Dec 2014 11:34:33 +0000 (13:34 +0200)]
Handle immediate property as a special case (#7749).

Change-Id: I507b44acfd3036d2d2862d1d04b518adc7bf826a

9 years agoAdd link to IDEA workspace instructions.
Sauli Tähkäpää [Tue, 9 Dec 2014 13:29:10 +0000 (15:29 +0200)]
Add link to IDEA workspace instructions.

Change-Id: I85c2b537926f887bce0e0b370b6be6b56c038053

9 years agoReturning all validation errors in the exception cause when submitting a field group...
Alexey Fansky [Thu, 4 Dec 2014 01:07:43 +0000 (17:07 -0800)]
Returning all validation errors in the exception cause when submitting a field group (#14742)

Following the similar logic as in AbstractField when multiple validation errors occur. Catching all InvalidValueExceptions and putting them together wrapped into the exception.

Change-Id: Ied08fd2155412539b28ef94bc74e6c989c62f709

9 years agoFix issues when using java.sql.Date as DateField range (#15342)
Teemu Pöntelin [Mon, 8 Dec 2014 21:21:08 +0000 (23:21 +0200)]
Fix issues when using java.sql.Date as DateField range (#15342)

Change-Id: I656cc0600f929239605e17ab9cf71dc1ba96582f

9 years agoHierarchy change markAsDirty to AbstractComponentContainer (#14227)
Anna Miroshnik [Mon, 8 Dec 2014 14:25:00 +0000 (17:25 +0300)]
Hierarchy change markAsDirty to AbstractComponentContainer (#14227)

Change-Id: I7a05ad72dfa3d16d85aa4d0cdd235572ec01e31a

9 years agoFix opacity for disabled checkboxes and option groups. (#15239)
Jouni Koivuviita [Thu, 4 Dec 2014 13:58:07 +0000 (15:58 +0200)]
Fix opacity for disabled checkboxes and option groups. (#15239)

Change-Id: I2d09a116d07621053f2fc9524f95e47bf7fc834e

9 years agoBasic tests for default converter factory
Artur Signell [Mon, 1 Dec 2014 20:18:07 +0000 (22:18 +0200)]
Basic tests for default converter factory

Change-Id: I2d9df8a62635164f04d9109e37746686589b696a

9 years agoAdd new StringTo<Byte, Short, BigInteger> Converters (#14583)
Anna Miroshnik [Thu, 4 Dec 2014 12:52:27 +0000 (15:52 +0300)]
Add new StringTo<Byte, Short, BigInteger> Converters (#14583)

DefaultConverterFactory was updated, added missed types.

Change-Id: I65cffc7f91df6f40e132b45e325e15f029f9848c

9 years agoSupport for automatic binding of the fields of the root layout (#7749)
Matti Hosio [Fri, 5 Dec 2014 09:27:29 +0000 (11:27 +0200)]
Support for automatic binding of the fields of the root layout (#7749)
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

9 years agoDeclarative support for Responsive (#7749)
Matti Hosio [Mon, 8 Dec 2014 08:06:17 +0000 (10:06 +0200)]
Declarative support for Responsive (#7749)

Change-Id: I5b5b4ec966d4206e3fe4d31adf6674cd247dfbd2

9 years agoDeclarative: handle inner html for Button and Label (#7749).
Mika Murtojarvi [Thu, 4 Dec 2014 15:25:05 +0000 (17:25 +0200)]
Declarative: handle inner html for Button and Label (#7749).

Change-Id: Ie98d633e8583efed142a6a3d2cc980070cbc73f7

9 years agoUIInitHandler emits Content-Length when writing json response (#15271)
Fabian Lange [Mon, 24 Nov 2014 11:11:08 +0000 (12:11 +0100)]
UIInitHandler emits Content-Length when writing json response (#15271)

This prevents chunked-transfer mode and allows server infrastructure to
decide correctly on things like compression which benefits from knowing
a content length.

Change-Id: I4e969e0874b506d0f61526662ee78418987937c4

9 years agoSQLContainer removeItem Error when isModified (#8802)
Ilya Ermakov [Fri, 28 Nov 2014 10:09:38 +0000 (13:09 +0300)]
SQLContainer removeItem Error when isModified (#8802)

This patch makes commit() work properly if an item was modified and later deleted.

Change-Id: I5a00024112e7b6bb7ab3750c292a872937f03af9

9 years agoAdd LICENSE file according to GitHub conventions
Leif Åstrand [Thu, 27 Nov 2014 16:19:11 +0000 (18:19 +0200)]
Add LICENSE file according to GitHub conventions

Change-Id: I5e402d399729800435589cf8c186c96ecbdfc698

9 years agoFixes for the public API of DesignContext.
Mika Murtojarvi [Wed, 3 Dec 2014 15:53:02 +0000 (17:53 +0200)]
Fixes for the public API of DesignContext.

Also adds tests for parsing and for finding components by id.

Change-Id: I3202a19f1699ee906f97cc57b08a9b2fd540f51b

9 years agoDeclarative support for AbsoluteLayout (#7749)
Matti Hosio [Wed, 3 Dec 2014 11:41:05 +0000 (13:41 +0200)]
Declarative support for AbsoluteLayout (#7749)

Change-Id: Icd90d78b3ddd14ffaef48f610c043e7a816db106

9 years agoAdd null check to UI.setTheme. (#15326)
Sauli Tähkäpää [Thu, 4 Dec 2014 12:36:11 +0000 (14:36 +0200)]
Add null check to UI.setTheme. (#15326)

Change-Id: I2ab2d24ec05bb618969f59ea15d3a971f88009ca

9 years agoDeclarative feature improvements (#7749)
Matti Hosio [Thu, 4 Dec 2014 09:19:20 +0000 (11:19 +0200)]
Declarative feature improvements (#7749)

Change-Id: Ie04db36ad08f686bf6b173241652836f639d3bd9

9 years agoFix opacity for disabled links in Valo. (#15253)
Sauli Tähkäpää [Sun, 23 Nov 2014 12:16:02 +0000 (14:16 +0200)]
Fix opacity for disabled links in Valo. (#15253)

Change-Id: I865526499a6d55a835758f0194a977c36c10304a