aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/data/fieldgroup
Commit message (Collapse)AuthorAgeFilesLines
* Migrate vaadin-server build to mavenTeemu Suo-Anttila2016-03-146-1909/+0
| | | | Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
* Added JavaDoc for PropertyIdMatti Tahvonen2016-02-021-0/+33
| | | | Change-Id: I78d14f3936b4a01f1decd079eb4ac4010a5635d2
* Properly handle readonly fields when clearing FieldGroup (#17166)Artur Signell2015-06-011-2/+15
| | | | Change-Id: I42b9fe5d945d23e202a252a8be12976608da19bf
* Javadoc fixLeif Åstrand2015-04-091-1/+1
| | | | Change-Id: Ib60e2f7ffa70030b93715adc453855c4bad7a372
* Add methods for getting invalid fields from a FieldGroup (#13775)Artur Signell2015-02-031-20/+87
| | | | | | | | | * Method for retrieving all failing fields exceptions from a CommitException * Methods for handling commit errors in Grid (#16515) * Show editor row validation errors only on the fields (#16509) Change-Id: Iabef662579e4ccae3803a513205e46542c41cce2
* Use a custom field factory for editor row (#16513)Artur Signell2015-02-031-5/+17
| | | | Change-Id: I0102d93c7f661993a5a07d2bcdf511f433419300
* Merge remote-tracking branch 'origin/master' into gridArtur Signell2015-01-141-5/+8
|\ | | | | | | | | | | | | | | | | Conflicts: client/src/com/vaadin/client/communication/AtmospherePushConnection.java server/tests/src/com/vaadin/data/fieldgroup/FieldGroupTests.java shared/src/com/vaadin/shared/util/SharedUtil.java Change-Id: I300b5a92bde562390a56b720adf9a37b795c9513
| * Allow to override transactional property wrapper strategy (#13883).Denis Anisimov2015-01-131-5/+8
| | | | | | | | Change-Id: I38acc3c6cfbe66ac9e9ce246accbb9a0b058dddb
* | Merge remote-tracking branch 'origin/master' into gridTeemu Suo-Anttila2014-12-292-6/+24
|\| | | | | | | Change-Id: Id00b3893951bc669fcc8e234f09909d480e249ab
| * Ensure enum fields are created when not specifying a strict type (#10975)Artur Signell2014-12-181-3/+21
| | | | | | | | Change-Id: I64cfc5b315444d7135738a8f3870bf50050f4678
| * 3 args method buildAndBind should be overriden, not 2 args (#12453).Denis Anisimov2014-12-181-3/+3
| | | | | | | | Change-Id: I7afabec7e0d9334b799019b581fca858895b2cc1
* | Merge remote-tracking branch 'origin/master' into gridLeif Åstrand2014-12-182-1/+8
|\| | | | | | | Change-Id: Ic7629f9cedb3c948edf4f63c678ca499e3d52805
| * Missing @since for 7.4Leif Åstrand2014-12-181-0/+7
| | | | | | | | Change-Id: I8fdf0c264febf2ab9ae0f230f6bb357ef57be9ec
| * Empty since tags -> 7.4Artur Signell2014-12-171-1/+1
| | | | | | | | Change-Id: I73755f0c580c40b93d95df5e3ca55f6617c21353
* | Merge remote-tracking branch 'origin/master' into gridTeemu Suo-Anttila2014-12-171-36/+15
|\| | | | | | | Change-Id: If3dd8380afe425491dfb877c08c4ff078312a3aa
| * Use introspection instead of reflection to get property type (#10672).Denis Anisimov2014-12-161-36/+15
| | | | | | | | Change-Id: I4eebad640c3c091bfff335bae8ef455e662ad4cb
* | Refactor server-side editor row to work in real(er) cases (#13334)Leif Åstrand2014-12-121-1/+2
|/ | | | | | | | | | - Don't configure fields for properties without columns - Rename "bind" to "set" to match the getter - Make it possible to get a field before editing has started - Remove setting of editable since the field can be configured directly - Remove error handler concept since we have not tests and no use cases - Unbind and detach field when removing a column Change-Id: I38ead4e680cdbab2525fe08ff09ed045255e2d4f
* Clear all bound fields when nulling the field group data source (#12371)Artur Signell2014-12-112-9/+19
| | | | Change-Id: I48eb0e7851187fa6bbb9024730b2611a74501ad0
* Returning all validation errors in the exception cause when submitting a ↵Alexey Fansky2014-12-091-23/+63
| | | | | | | | 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
* Allow BeanFieldGroup.setItemDataSource() method accept null (#14731).Denis Anisimov2014-12-021-3/+4
| | | | Change-Id: I7a451f428f0aa3ea7fc322cac6b0e62d830d7987
* Add null check to FieldGroup.bind. (#14729)Sauli Tähkäpää2014-11-051-7/+22
| | | | Change-Id: I56ee44f34307d76c8c98ca3346feed8e7ee2f72e
* FieldGroup should not throw NPE when data source is not set (#14901).Denis Anisimov2014-10-221-1/+2
| | | | Change-Id: I74bea857306fac5123aa86cdabc70d81c2a72094
* Make DefaultFieldGroupFieldFactory singleton (#11038).Denis Anisimov2014-10-132-1/+18
| | | | Change-Id: I40250fadfe78d663d1cb7614f4f8818216e773a4
* FieldGroup.commit throws NPE if not bound to an item (#14732).Sergey Budkin2014-10-091-2/+8
| | | | | | Added null check and corresponding test. Change-Id: I197dad14d6b5f7bf9bedcdf083d4b1f0f20efdcd
* Add clear() for fields and field group (#14755)Artur Signell2014-09-261-0/+15
| | | | Change-Id: If9372ccceeaacd0826f8b1ed07f64af12bf47fc6
* Merge changes from origin/7.1Artur Signell2014-04-236-6/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e77e73c Update copyright year to 2014 Conflicts: client-compiler/src/com/vaadin/server/widgetsetutils/metadata/ConnectorBundle.java client/src/com/vaadin/client/ApplicationConnection.java server/src/com/vaadin/data/util/converter/StringToNumberConverter.java shared/src/com/vaadin/shared/ui/ui/PageState.java shared/src/com/vaadin/shared/ui/window/WindowState.java theme-compiler/src/com/vaadin/sass/SassCompiler.java theme-compiler/src/com/vaadin/sass/internal/ScssStylesheet.java theme-compiler/src/com/vaadin/sass/internal/expression/ArithmeticExpressionEvaluator.java theme-compiler/src/com/vaadin/sass/internal/expression/BinaryExpression.java theme-compiler/src/com/vaadin/sass/internal/expression/BinaryOperator.java theme-compiler/src/com/vaadin/sass/internal/expression/exception/ArithmeticException.java theme-compiler/src/com/vaadin/sass/internal/expression/exception/IncompatibleUnitsException.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSDocumentHandler.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSDocumentHandlerImpl.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSErrorHandler.java theme-compiler/src/com/vaadin/sass/internal/parser/CharStream.java theme-compiler/src/com/vaadin/sass/internal/parser/Generic_CharStream.java theme-compiler/src/com/vaadin/sass/internal/parser/LexicalUnitImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/LocatorImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/MediaListImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/ParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/Parser.java theme-compiler/src/com/vaadin/sass/internal/parser/ParserConstants.java theme-compiler/src/com/vaadin/sass/internal/parser/ParserTokenManager.java theme-compiler/src/com/vaadin/sass/internal/parser/SCSSLexicalUnit.java theme-compiler/src/com/vaadin/sass/internal/parser/SCSSParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/SelectorListImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/Selectors.java theme-compiler/src/com/vaadin/sass/internal/parser/ThrowedParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/Token.java theme-compiler/src/com/vaadin/sass/internal/parser/TokenMgrError.java theme-compiler/src/com/vaadin/sass/internal/resolver/ClassloaderResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/FilesystemResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/ScssStylesheetResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/VaadinResolver.java theme-compiler/src/com/vaadin/sass/internal/selector/SelectorUtil.java theme-compiler/src/com/vaadin/sass/internal/tree/BlockNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ExtendNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ForNode.java theme-compiler/src/com/vaadin/sass/internal/tree/FunctionNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ImportNode.java theme-compiler/src/com/vaadin/sass/internal/tree/KeyframesNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListContainsNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListModifyNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListRemoveNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MediaNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MicrosoftRuleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MixinDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MixinNode.java theme-compiler/src/com/vaadin/sass/internal/tree/NestPropertiesNode.java theme-compiler/src/com/vaadin/sass/internal/tree/Node.java theme-compiler/src/com/vaadin/sass/internal/tree/RuleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/SimpleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/VariableNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/EachDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/IfElseDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/IfNode.java theme-compiler/src/com/vaadin/sass/internal/util/ColorUtil.java theme-compiler/src/com/vaadin/sass/internal/util/DeepCopy.java theme-compiler/src/com/vaadin/sass/internal/util/FastByteArrayInputStream.java theme-compiler/src/com/vaadin/sass/internal/util/FastByteArrayOutputStream.java theme-compiler/src/com/vaadin/sass/internal/util/StringUtil.java theme-compiler/src/com/vaadin/sass/internal/visitor/BlockNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/EachNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/ExtendNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/IfElseNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/ImportNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/MixinNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/NestedNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/VariableNodeHandler.java theme-compiler/tests/src/com/vaadin/sass/AbstractTestBase.java theme-compiler/tests/src/com/vaadin/sass/internal/expression/ArithmeticExpressionEvaluatorTest.java theme-compiler/tests/src/com/vaadin/sass/parser/ParserTest.java theme-compiler/tests/src/com/vaadin/sass/resolvers/VaadinResolverTest.java theme-compiler/tests/src/com/vaadin/sass/testcases/css/Interpolation.java theme-compiler/tests/src/com/vaadin/sass/testcases/css/Selectors.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/AbstractDirectoryScanningSassTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/AutomaticSassTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Comments.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ControlDirectives.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Extends.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Functions.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Imports.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Mixins.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/NestedProperties.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Nesting.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ParentImports.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ParentSelector.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassLangTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassLangTestsBroken.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassTestRunner.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Variables.java theme-compiler/tests/src/com/vaadin/sass/tree/ImportNodeTest.java uitest/src/com/vaadin/tests/push/BasicPushTest.java uitest/src/com/vaadin/tests/push/PushConfigurationTest.java uitest/src/com/vaadin/tests/push/PushReconnectTest.java Change-Id: Ic08c4f9aecd4c684ce74408de4e0b0d0ff617273
| * Update copyright year to 2014Artur Signell2014-04-166-6/+6
| | | | | | | | Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
* | Merge changes from origin/7.1Artur Signell2014-04-231-1/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | 0d4080b ContainerEventProvider returns style names from container. Fixes #10718 6e91bdf Add test for TransactionalPropertyWrapper memory leaks f0aaf89 Fixed resetting of ComboBox if focused and new items allowed (#13413). e033fcd Always initialize WebBrowser for new sessions (#13571) 168de1f Revert "Drag image for text-area should contain text of text-area (#13557)" 35e2a34 Fix FieldGroup and TransactionalPropertyWrapper memory leaks (#13438) 7e5d44d Introduce a drag threshold for Drag and Drop (#13381) f227f0c Drag image for text-area should contain text of text-area (#13557). Change-Id: Idb01471f8ab0c7118fa884c364e6bc200d13948a
| * Fix FieldGroup and TransactionalPropertyWrapper memory leaks (#13438)Teemu Suo-Anttila2014-04-141-1/+7
| | | | | | | | Change-Id: Ifafb6d87b4280f8bd9e631235fff62f42de4b4c8
* | Added convenience methods for bean binding (#13068)Matti Tahvonen2014-03-271-0/+54
| | | | | | | | | | | | Reduces common bean binding code from 4 lines to 1 Change-Id: Ie5f20ec2791284b850a9f3e11e21face3b5e4276
* | Remove dead codeJohannes Dahlström2014-01-171-6/+0
|/ | | | Change-Id: I1ac813afa47e38fb508e676d25d103a29bfada6a
* Fixed a typo in FieldGroup.isModified() JavaDoc. (#12172)Teemu Pöntelin2013-08-121-1/+1
| | | | Change-Id: I10d7ba7d0bc5c03e65206617c521d089fd4d0cfe
* Make sure bean field validators are only added once (#11045)Patrik Lindström2013-08-071-1/+17
| | | | Change-Id: I67779fa5bfd4c850101c11c22091c988eb65b808
* Global code reformatLeif Åstrand2013-04-051-1/+2
| | | | Change-Id: I4b3c74ede518aa2712038d1451974a93cdecabc2
* Create a PopupDateField by default for Dates (#11159)Artur Signell2013-03-181-1/+2
| | | | Change-Id: I505f8afbc12295f07f2fdbffc459e803629790d7
* Merge commit '6922bc5b49c5551b289a5025ccd5901e2ac3aafc'Artur Signell2013-03-121-1/+1
|\ | | | | | | Change-Id: Id118fd9bae1fdf7e7ce2efd660ade5ba7bbc5109
| * Catch NoSuchFieldException instead of NoSuchFieldError (#10944)Artur Signell2013-03-051-1/+1
| | | | | | | | Change-Id: I0ece22fc53388a7c9eb268c00ae46c589859a1f1
* | Merge remote-tracking branch 'origin/7.0'John Ahlroos2013-03-011-2/+12
|\| | | | | | | Change-Id: Ifdc095169c31731cb013727f14d92839ecc775db
| * Fixed BindException when binding nested properties with ↵John Ahlroos2013-02-281-2/+12
| | | | | | | | | | | | BeanFieldGroup.buildAndBind() #11009 Change-Id: I9bf646b7d8b767c78506a62185ce5dca9dcae7ad
* | Merge "Added support for Dates to DefaultFieldGroupFieldFactory (#8539)"John Ahlroos2013-02-141-0/+25
|\ \
| * | Added support for Dates to DefaultFieldGroupFieldFactory (#8539)Artur Signell2013-02-121-0/+25
| |/ | | | | | | Change-Id: I61b45b4bb988878d86a913d383764ce7c17c3bf9
* | Fix JDK 1.7 dependency in #10426Henri Sara2013-02-141-1/+2
| | | | | | | | Change-Id: I465225a36b0d6d9ebb4b40a32bb5ad145bdaca0b
* | Case-insensitive FieldGroup binding #10426Jonni Nakari2013-02-132-13/+116
|/ | | | | | | Modified buildAndBindMemberFields to use a new findPropertyId method when searching propertyIds. Fixed BeanFieldGroup to work with the modified property id searching. Change-Id: Ib5d011db93f04d7a2c6dbb0990af7c35f0489193
* Updated copyright notices and added missing license headersArtur Signell2013-01-046-12/+12
| | | | Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
* Revert "Case-insensitive FieldGroup binding #10426"Artur Signell2012-12-171-83/+15
| | | | | | | This reverts commit fffd25fc57c862afdac2f4cfc36695c0bd35ec96 Breaks binding using BeanFieldGroup before an item data source has been set. Change-Id: Id05372eef2078efea9e92a69a1af942511ff32a9
* Case-insensitive FieldGroup binding #10426Jonni Nakari2012-12-171-15/+83
| | | | | | | Modified buildAndBindMemberFields to use a new findPropertyId method when searching propertyIds. Change-Id: I97f1c4eb8a3de7350b0333c8b2b2ff913e0263d9
* Search fields from superclasses #10504Jonni Nakari2012-12-171-3/+25
| | | | | | | | | Modified buildAndBindMemberFields method to use a new getFieldsInDeclareOrder method that searches fields also from superclasses. Added a unit test to verify the new logic. Fixes the issue in ticket #10504 Change-Id: Ic855e274c5b4d1c83760d6c2c53c67413a1da42c
* Fix for ticket #10121, a unit test for the ticket's issue and a unitJonni Nakari2012-12-131-1/+1
| | | | | | test for the new method in ReflectTools Change-Id: If8d57b4b38e8856ff2a9ef130dc71cf5b315858a
* Modified FieldGroup so that fields configured with read only propertiestapio2012-11-081-7/+20
| | | | | will also be made read only (#9076). Change-Id: I183ae263f4952a51513623d38dc9e04ce1482f45
* Changed Property.setValue(Object) to setValue(T) (#8791)Artur Signell2012-10-231-2/+1
| | | | Change-Id: I9f0e6bd62102c5adc461884b1f3b2cbe69f19259