private String getDesignForInlineData() {
return "<vaadin7-list-select>\n"
+ " <option icon='http://some.url/icon.png'>Value 1</option>\n" //
- + " <option selected>Value 2</option>\n"//
+ + " <option selected=''>Value 2</option>\n"//
+ "</vaadin7-list-select>";
}
"<vaadin7-option-group>"
+ "<option>foo</option>"
+ "<option>bar</option>"
- + "<option disabled>baz</option>"
+ + "<option disabled=''>baz</option>"
+ "<option>bang</option>"
+ "</vaadin7-option-group>";
//@formatter:on
<!-- Used in OSGi manifests -->
<javax.validation.version>1.0.0.GA</javax.validation.version>
- <jsoup.version>1.8.3</jsoup.version>
+ <jsoup.version>1.11.2</jsoup.version>
<javax.portlet.version>2.0</javax.portlet.version>
<vaadin.sass.version>0.9.13</vaadin.sass.version>
<!-- Note that this should be kept in sync with the class Constants -->
Element element = super.writeItem(design, item, context);
if (isSelected(item)) {
- element.attr("selected", "");
+ element.attr("selected", true);
}
return element;
Element element = super.writeItem(design, item, context);
if (isSelected(item)) {
- element.attr("selected", "");
+ element.attr("selected", true);
}
return element;
Element elem = super.writeItem(design, item, context);
if (!getItemEnabledProvider().test(item)) {
- elem.attr("disabled", "");
+ elem.attr("disabled", true);
}
if (isHtmlContentAllowed()) {
}
if (isSelected(item)) {
- element.attr("selected", "");
+ element.attr("selected", true);
}
return element;
Element tableRow = container.appendElement("tr");
tableRow.attr("item", serializeDeclarativeRepresentation(item));
if (getSelectionModel().isSelected(item)) {
- tableRow.attr("selected", "");
+ tableRow.attr("selected", true);
}
for (Column<T, ?> column : getColumns()) {
Object value = column.valueProvider.apply(item);
Element elem = super.writeItem(design, item, context);
if (!getItemEnabledProvider().test(item)) {
- elem.attr("disabled", "");
+ elem.attr("disabled", true);
}
if (isHtmlContentAllowed()) {
/**
* Create inner {@link TreeGrid} object. May be overridden in subclasses.
+ *
* @return new {@link TreeGrid}
*/
protected TreeGrid<T> createTreeGrid() {
}
if (getSelectionModel().isSelected(item)) {
- itemElement.attr("selected", "");
+ itemElement.attr("selected", true);
}
Resource icon = getItemIconGenerator().apply(item);
tableRow.attr("parent", serializeDeclarativeRepresentation(parent));
}
if (getSelectionModel().isSelected(item)) {
- tableRow.attr("selected", "");
+ tableRow.attr("selected", true);
}
for (Column<T, ?> column : getColumns()) {
Object value = column.getValueProvider().apply(item);