Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Form does not display in browser

Craig Cummings
5 years ago Nov 02, 2016 3:37pm
Anna Koskinen
5 years ago Nov 07, 2016 11:41am
Craig Cummings
5 years ago Dec 15, 2016 5:31pm

If I change "product form" to "asset form" in the java class extending the FormDesign class

public class AssetForm extends AssetFormDesign {

    private SampleCrudLogic viewLogic;
    private BeanFieldGroup<Asset> fieldGroup;
    private BeanFieldGroup<Manufacturer> mfieldGroup;
    private BeanFieldGroup<Vendor> vfieldGroup;

    public AssetForm(SampleCrudLogic sampleCrudLogic) {
        super();
       [b] addStyleName("product-form");[/b]
        setResponsive(true);

and update the Html 

<!doctype html>
<html>
<head>
    <meta name="package-mapping" content="x:dwss.nv.gov" />
    
</head>
<body>
[b]<v-css-layout id="product-form" style-name="product-form-wrapper">[/b]
    <v-label caption="Item Information" />.....

recompile and produce a new snapshot in maven

The form does not display. I see in the debugger that the request is sent and the data for the form received, in the browser I'm not sure what I'm failing to do, except perhaps rebuild the widgetset. I'm not usually a front end developer so I need a little direction on where to start looking. This is not a big change, but I would like some direction on where to get more information on debugging the servlet, connections, and XHR and rpc communications.