Could anyone please post an example on how to create the components, windows, forms using UIDL and JSON in vaadin framework.
Lets say I am given [{"name":"button","caption":"MyBotton"}]. This example will create a button.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Normally you should not have to bother about the details in the JSON sent by the framework. Book of Vaadin has a short chapter about the JSON used. If you really have a need to study the generated JSON (I can’t think of a situation when, though), I would assume the easiest way to check is to generate some basic Vaadin apps containing the details you’re interested in and the use e.g. Firebug to capture and check the JSON traffic in the HTTP responses. Don’t think the details are documented anywhere, you have to check the implementation code or the messages if you want to know details for specific components.