| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ |
|
| | | |
|
|/ / |
|
| | |
|
| |
| |
| | |
meeting
|
| |
| |
| | |
clarity
|
| |
| |
| |
| | |
renamed updateValueConverterFromFactory to setConverter based on API
review meeting.
|
| | |
|
| |
| |
| | |
conversion from Property classes
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
ObjectProperty and MethodProperty no longer try to automatically convert
values using a String constructor of the property type. Related fixes to
tests.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
string was interpreted as a valid date
Also added test for the Resolution enum static methods
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added type to AbstractValidator and automatic type checking so sub
classes get the correct type automatically
Added a RangeValidator that work with any type that is Comparable
CompositeValidator no longer extends AbstractValidator as it does
not validate in the same way as AbstractValidator does
|
| | |
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/com/vaadin/Application.java
src/com/vaadin/data/Property.java
src/com/vaadin/data/util/PropertyFormatter.java
src/com/vaadin/terminal/ParameterHandler.java
src/com/vaadin/terminal/URIHandler.java
src/com/vaadin/terminal/gwt/client/HistoryImplIEVaadin.java
src/com/vaadin/terminal/gwt/client/ui/layout/ChildComponentContainer.java
src/com/vaadin/terminal/gwt/server/ApplicationPortlet.java
src/com/vaadin/terminal/gwt/server/PortletApplicationContext.java
src/com/vaadin/ui/Field.java
src/com/vaadin/ui/LoginForm.java
src/com/vaadin/ui/UriFragmentUtility.java
|
| |
| |
| |
| | |
svn changeset:22320/svn branch:6.7
|
| |
| |
| |
| | |
svn changeset:22317/svn branch:6.7
|
| |
| |
| |
| | |
svn changeset:22171/svn branch:6.7
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
its current one does nothing
Simplified the logic in AbstractOrderedLayout/CssLayout#addComponent*() - super.addComponent() is now called first so that the invariant that there's never duplicate elements in the component list always holds, this fixes #7668. addComponent(c, index) now has a piece of additional logic handling the case when a component is moved to an index *after* its current one.
svn changeset:22117/svn branch:6.7
|
| |
| |
| |
| |
| |
| | |
does nothing
svn changeset:22112/svn branch:6.7
|
| |
| |
| |
| |
| |
| | |
when ds is null. Fixes #4426 and #6843
svn changeset:22015/svn branch:6.7
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/com/vaadin/Application.java
src/com/vaadin/ui/AbstractField.java
tests/testbench/com/vaadin/tests/integration/LiferayThemeDemo.java
tests/testbench/com/vaadin/tests/tickets/Ticket1673.java
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/com/vaadin/data/util/PropertyFormatter.java
src/com/vaadin/data/validator/CompositeValidator.java
tests/testbench/com/vaadin/tests/tickets/Ticket20.java
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Eliminate the redundant method Validator.isValid(). Validator.validate()
does the same but throws an exception including the validation error
message.
Migration:
- replace implementations of isValid() with internalIsValid() in custom
subclasses of AbstractValidator
- use Validator.validate() and catch exceptions rather than call
Validator.isValid()
- note that AbstractField still provides an isValid() method that is
internally based on validate()
|
| | | | |
| | | | |
| | | | |
| | | | | |
Eliminate some more warnings for use of raw types (Field, Property,
Class), mostly by changing API method return types.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Most of the warnings eliminated are related to generics for
Property, Field or field factories. Not all such warnings are eliminated
in this changeset.
|
| |\ \ \ \
| | | |_|/
| | |/| | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The interfaces Property and Field and most of their implementations are
now parameterized with the type of their value. The method getValue()
returns the Property type but setValue() takes Object as its parameter.
No implicit conversions between value type and strings are performed in
most locations (fields).
Among others, AbstractTextField, DateField and RichTextArea not have
specific value types and do not accept arbitrary values.
Most locations requiring migration will be visible as compilation
errors, with the exception of some cases where a non-parameterized
Property or Field (or one parametrized with Object) is used.
Not yet done:
- Label
- converters
- setValue() parameterization (causes much more migration effort)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The toString() method should not be used on a property to get its value.
Added getStringValue() to AbstractField, Label etc. Using them
where applicable. Added comments to some problematic locations where
Property.toString() is known to be used.
AbstractField.toString() and Label.toString() still return the same
values as before, but it will throw an exception in future revisions.
Migration needed: Replace explicit and implicit uses of
Property.toString() with use property.getValue() and its
string representation.
Alternatively, use AbstractProperty.getStringValue() and
AbstractField.getStringValue() instead of Property.toString() during
migration.
|
|\ \ \ \ \
| | |_|_|/
| |/| | | |
|
| |\ \ \ \
| | |_|_|/
| |/| | | |
|
| | | |/
| | |/|
| | | |
| | | | |
svn changeset:22132/svn branch:6.8
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/com/vaadin/ui/AbstractField.java
tests/testbench/com/vaadin/tests/components/notification/NotificationsHtmlAllowed.java
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Removed special case from widget set that used to support VButton
changing into VCheckBox
Corrected tests
|
| | | |
|
| | | |
|