Skip to content

SwipeView constructor with content as parameter not calling default-constructor #424

@arbitorius

Description

@arbitorius

The constructor:

public SwipeView(Component content) {
    setContent(content);
}

is not calling this();, thus the SwipeViewRpc() not being created, which leads to an error similar to the following and the SwipeView not working:
Ignoring RPC call to com.vaadin.addon.touchkit.gwt.client.vcom.SwipeViewRpc.navigate[...] in connector com.vaadin.addon.touchkit.ui.SwipeView as no RPC implementation is registered

Workaround: use default-constructor and set the content afterwards or use the constructor with caption as parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions