{"action":"created","issue":{"url":"https://api.github.com/repos/vaadin/framework/issues/10819","repository_url":"https://api.github.com/repos/vaadin/framework","labels_url":"https://api.github.com/repos/vaadin/framework/issues/10819/labels{/name}","comments_url":"https://api.github.com/repos/vaadin/framework/issues/10819/comments","events_url":"https://api.github.com/repos/vaadin/framework/issues/10819/events","html_url":"https://github.com/vaadin/framework/issues/10819","id":313763303,"number":10819,"title":"DesignFormatter should have addConverter/removeConverter public","user":{"login":"joergriegel","id":6102968,"avatar_url":"https://avatars0.githubusercontent.com/u/6102968?v=4","gravatar_id":"","url":"https://api.github.com/users/joergriegel","html_url":"https://github.com/joergriegel","followers_url":"https://api.github.com/users/joergriegel/followers","following_url":"https://api.github.com/users/joergriegel/following{/other_user}","gists_url":"https://api.github.com/users/joergriegel/gists{/gist_id}","starred_url":"https://api.github.com/users/joergriegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joergriegel/subscriptions","organizations_url":"https://api.github.com/users/joergriegel/orgs","repos_url":"https://api.github.com/users/joergriegel/repos","events_url":"https://api.github.com/users/joergriegel/events{/privacy}","received_events_url":"https://api.github.com/users/joergriegel/received_events","type":"User","site_admin":false},"labels":[{"id":757009817,"url":"https://api.github.com/repos/vaadin/framework/labels/Help%20wanted","name":"Help wanted","color":"b7ef99","default":false},{"id":16896448,"url":"https://api.github.com/repos/vaadin/framework/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-12T14:54:23Z","updated_at":"2018-04-16T09:53:37Z","closed_at":null,"author_association":"NONE","body":"If you supply user-defined data to components, the DesignObjectConverter comes in and always calls the toString method of the object as the inputType is taken from the getter of data. No chance to apply a proper toModel/toPresentation converter for that. In effect, user objects are not serializable thru the valuable Vaadin declaritive approach. Please find a way to supply user-defined converters here to enable e.g. Button components carry click-action supplemental data."},"comment":{"url":"https://api.github.com/repos/vaadin/framework/issues/comments/381544869","html_url":"https://github.com/vaadin/framework/issues/10819#issuecomment-381544869","issue_url":"https://api.github.com/repos/vaadin/framework/issues/10819","id":381544869,"user":{"login":"joergriegel","id":6102968,"avatar_url":"https://avatars0.githubusercontent.com/u/6102968?v=4","gravatar_id":"","url":"https://api.github.com/users/joergriegel","html_url":"https://github.com/joergriegel","followers_url":"https://api.github.com/users/joergriegel/followers","following_url":"https://api.github.com/users/joergriegel/following{/other_user}","gists_url":"https://api.github.com/users/joergriegel/gists{/gist_id}","starred_url":"https://api.github.com/users/joergriegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joergriegel/subscriptions","organizations_url":"https://api.github.com/users/joergriegel/orgs","repos_url":"https://api.github.com/users/joergriegel/repos","events_url":"https://api.github.com/users/joergriegel/events{/privacy}","received_events_url":"https://api.github.com/users/joergriegel/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T09:53:37Z","updated_at":"2018-04-16T09:53:37Z","author_association":"NONE","body":"Thank you for that. But I saw no possibilty to register a custom DesignFormatter. It is just instantiated in DesignAttributeHandler and no setter to replace the formatter: \r\n`private static DesignFormatter FORMATTER = new DesignFormatter();`\r\nCould you give me a hint to do this?"}}
{"actor":{"display_login":"joergriegel"}}