Teemu Suo-Anttila
47d033aa94
Fix selecting logic of SingleSelectionModel API (#13334)
Change-Id: Ib48e586cb791669efc4aa98442a31c1dda42e1aa
9 years ago
Artur Signell
c4e4f44946
Convert empty string to null Enum value, only throw ConversionExceptions (#14756)
Change-Id: I027a245975db12e3661740bd233edd98e73994e9
9 years ago
Artur Signell
b91063f884
Clear all bound fields when nulling the field group data source (#12371)
Change-Id: I48eb0e7851187fa6bbb9024730b2611a74501ad0
9 years ago
Artur Signell
405262d805
Split and capitalize header captions by default
Only done on the server side where we have property ids to generate the default
headers from. On the client side you must always specify the header.
Change-Id: Ic743fb3f52517116193b022cfdd2df7dea8dd487
9 years ago
Teemu Suo-Anttila
60221e9625
Add sanity checking to server side selection models (#13334)
Change-Id: I9686cdbf82c017f834502cf56eafe23ca9829d5f
9 years ago
Artur Signell
22b20bc9fc
Add public Field.isEmpty() and clear() (#15354)
Change-Id: I6bda7ff2a66a9ad172c899d855ca868881600be4
9 years ago
Artur Signell
d5682f7fbf
Render empty cell instead of stopping rendering if a converter is missing
Change-Id: I64ef6bf6b89e2bfe9704cc81f3caf3b0f4271656
9 years ago
Matti Hosio
775276d4a9
Declarative support for AbstractTextField (#7749)
Change-Id: Ice244cd73825bde44fe02cf3d4b53d4eff5a5c35
9 years ago
Matti Hosio
a0e1fe4b61
Add support for margins in AbstractOrderedLayout (#7749)
Change-Id: I9793d37998549c410e9e17dc14402acc3b85f4f0
9 years ago
Matti Hosio
5d6271489b
Declarative support for AbstractField (#7749)
Change-Id: I8eb917186886aa1a9c63939d2dfd1f59df973aa2
9 years ago
Mika Murtojarvi
409727ec61
Fix errors that affect validation builds (#7749).
Change-Id: Idfed1c2f87812afcbb961eb238a36a1e09d61952
9 years ago
Mika Murtojarvi
1be6a54741
Change a test not to use LocaleUtils.
Change-Id: I447960c4621c8bf0acbc1cce5bcc4fe5dc341256
9 years ago
Sergey Budkin
e1b335022e
Long events aren't displayed properly when using Container (#15242)
Rewrote event selection.
Change-Id: I8f0dd1c5ec736ea14037619b1656a79b7e3532be
9 years ago
Leif Åstrand
4284dcf99a
Flattening server-side EditorRow API (#13334)
This commit just flattens the EditorRow class into Grid without changing
any behavior. isEditing() was changed to isEditorRowActive() since
isEditorRowEditing() didn't make any sense. Some javadocs have also been
slightly tweaked.
Change-Id: I7c266328ea93bde3e476bfb6e4d594469de26c76
9 years ago
Matti Hosio
de839dca91
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 ago
Artur Signell
f1f0897727
Make TextField.clear() use empty string to be consistent with constructor (#14755)
Change-Id: Ic50ff305277e54f50353fc948b31a89a6b3e083f
9 years ago
Matti Hosio
786fed171a
Declarative support for CssLayout (#7749)
Change-Id: Ic99fb1e9af921b3e14127888e2b3dffbd54f493e
9 years ago
Leif Åstrand
d8c47250a2
Add Grid.addRow (#13334)
Change-Id: I2c317b920d29ca8a74658ef3b980c6bc2a7622ac
9 years ago
Artur Signell
52fb8cd941
Make addNestedContainerBean work with existing bean item container items (#15355)
Change-Id: I04a91349fce452aa26c304413061440ad74465cc
9 years ago
Mika Murtojarvi
db04032143
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 ago
Mika Murtojarvi
12e5d620ab
Handle immediate property as a special case (#7749).
Change-Id: I507b44acfd3036d2d2862d1d04b518adc7bf826a
9 years ago
Alexey Fansky
153129d52d
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 ago
Teemu Pöntelin
206055708b
Fix issues when using java.sql.Date as DateField range (#15342)
Change-Id: I656cc0600f929239605e17ab9cf71dc1ba96582f
9 years ago
Leif Åstrand
edb627a4bd
Allow limiting server-side selection size (#13334)
Also refactors the handling of selections received from the client to
cope with situations where the requested selection was not applied even
though there were no additional selection events.
Change-Id: Ia3b5b2ac228caa3755217deb38841cdfb5d63113
9 years ago
Anna Miroshnik
7e8b23a73a
Hierarchy change markAsDirty to AbstractComponentContainer (#14227)
Change-Id: I7a05ad72dfa3d16d85aa4d0cdd235572ec01e31a
9 years ago
Artur Signell
449e5e4968
Basic tests for default converter factory
Change-Id: I2d9df8a62635164f04d9109e37746686589b696a
9 years ago
Anna Miroshnik
a28d6c2098
Add new StringTo<Byte, Short, BigInteger> Converters (#14583)
DefaultConverterFactory was updated, added missed types.
Change-Id: I65cffc7f91df6f40e132b45e325e15f029f9848c
9 years ago
Matti Hosio
18b333ee3d
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 ago
Teemu Suo-Anttila
44c0015682
Add getColumns function to Grid (#13334)
Since Grid on the server side does many things with properties this
patch also adds a way to get the backing property id for a column.
Change-Id: Ia78c611a28b566593c3291681904ac14cf0c48ee
9 years ago
Teemu Suo-Anttila
0a9d29b219
Add select all / select none checkbox to SelectionColumn (#13334)
Change-Id: I5ad2d16b51f011004bb343a19b28b83d90c67c09
9 years ago
Matti Hosio
bd78a4c8b2
Declarative support for Responsive (#7749)
Change-Id: I5b5b4ec966d4206e3fe4d31adf6674cd247dfbd2
9 years ago
Teemu Suo-Anttila
912c90eee3
Fix appendHeaderRow and appendFooterRow JavaDoc (#13334)
Change-Id: Ib6d3b3f9ff38e6ec96b3b395794d7dee2e84cc0a
9 years ago
Leif Åstrand
3ab4ceaacb
Avoid non-fatal server-side assertions from selection tests (#13334)
Change-Id: I44b00f1d41b763bfbcaa23eea80ebdb1925ea620
9 years ago
Leif Åstrand
b1d1e274e7
Refactor frozen column API (#13334)
Change-Id: I0c9528d2a4b2de2bcd5a6a6e70b1821eb142c4cc
9 years ago
Mika Murtojarvi
117bf2b791
Declarative: handle inner html for Button and Label (#7749).
Change-Id: Ie98d633e8583efed142a6a3d2cc980070cbc73f7
9 years ago
Teemu Suo-Anttila
c080a93f84
Remove Column visibility setting from server side (#13334)
Change-Id: I2ef97672dd2085e9178f44fce39ead40bd84713c
9 years ago
Fabian Lange
bf4e325ac6
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 ago
Ilya Ermakov
66c3dd2bf8
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 ago
Jouni Koivuviita
316f1de3f3
Fix Java 8 compatibility
Building the project using Java 8 fails due to method visibility
issues. Apparently something changed from Java 7 regarding those rules.
Change-Id: Ic28c9638636bd29bb0f6688733c83d9808bb5b4c
9 years ago
Mika Murtojarvi
be35a9b3f1
Fixes for the public API of DesignContext.
Also adds tests for parsing and for finding components by id.
Change-Id: I3202a19f1699ee906f97cc57b08a9b2fd540f51b
9 years ago
Leif Åstrand
ca061119ca
Add server-side CellStyleGenerator (#13334)
Change-Id: Id12f1135673d93fddd0a59d26b1c546a0ef0ee1d
9 years ago
Matti Hosio
ccbed3fcfa
Declarative support for AbsoluteLayout (#7749)
Change-Id: Icd90d78b3ddd14ffaef48f610c043e7a816db106
9 years ago
Artur Signell
a6af80a5ce
Rename method to be consistent with Container.Viewer (#13334)
Change-Id: If5431f81e4e799508eb6a067748dec356de43b2f
9 years ago
Sauli Tähkäpää
758300e27e
Add null check to UI.setTheme. (#15326)
Change-Id: I2ab2d24ec05bb618969f59ea15d3a971f88009ca
9 years ago
Artur Signell
c00921a2ff
Allow setting style name for header/footer rows (#7225)
Change-Id: I798e26b0a734c3c460b4e458d04332c7a3b599fc
9 years ago
Matti Hosio
9730b6def1
Declarative feature improvements (#7749)
Change-Id: Ie04db36ad08f686bf6b173241652836f639d3bd9
9 years ago
Teemu Suo-Anttila
d3cfb79c22
Extend addColumn to support arbitrary data types (#13334)
Change-Id: I3bd9d4b6fb6c4b289421c6982ba28d893a97908e
9 years ago
Teemu Suo-Anttila
4dc3f49029
Fix addColumn to function correctly with non-default container (#13334)
Change-Id: I57b3e819e4709187139cd52ac8f437252fcc738b
9 years ago
Leif Åstrand
d499cfd03e
Rename row key parameter for consistency (#13334)
Change-Id: Ic409ec9c8f0146314fe359b184403e112264a75b
9 years ago
Matti Hosio
405ae14a6b
Declarative: Use Element in DesingSynchronizable method parameters
Change-Id: I18f49d3248e3ecacd08bfa2e2baa03dd0329b0c7
9 years ago