Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set column captions when reading grid from a design file #8770

Merged
merged 1 commit into from
Mar 22, 2017

Conversation

Artur-
Copy link
Member

@Artur- Artur- commented Mar 7, 2017

Depends on #8769


This change is Reviewable

@hesara
Copy link
Contributor

hesara commented Mar 14, 2017

Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.


server/src/main/java/com/vaadin/ui/Grid.java, line 3601 at r1 (raw file):

        if (this.beanType != null) {
            design.attr(DECLARATIVE_DATA_ITEM_TYPE,
                    this.beanType.getCanonicalName());

I think canonical name - while human readable and perhaps the correct one in the design file - isn't what Class.forName() expects, and differs for nested classes


Comments from Reviewable

@Artur- Artur- force-pushed the _grid-declarative-set-column-captions branch from 3985a03 to 567e456 Compare March 15, 2017 11:08
@Artur-
Copy link
Member Author

Artur- commented Mar 15, 2017

Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion.


server/src/main/java/com/vaadin/ui/Grid.java, line 3601 at r1 (raw file):

Previously, hesara (Henri Sara) wrote…

I think canonical name - while human readable and perhaps the correct one in the design file - isn't what Class.forName() expects, and differs for nested classes

Maybe, but that code is not part of this patch. It was part of #8769


Comments from Reviewable

@Artur- Artur- force-pushed the _grid-declarative-set-column-captions branch from 567e456 to 6d574fa Compare March 16, 2017 14:58
@pleku
Copy link
Contributor

pleku commented Mar 22, 2017

Reviewed 1 of 2 files at r2, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 1 unresolved discussion.


Comments from Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants