Skip to content

getHelpedParameters empty ifndef gwt #606

Description

@alepac

If using a different platform then gwt (e.g. jse) getHelpedParameters() returns an empty Series.

This is because there is an empty Context in the TemplateDispatcher.

A working patch is to set the ClientResource Context on the Creation of the TemplateDispatcher so add dispatcher.setContext(getContext()); just after the dispatcher instantiation in the org.restlet.resource.ClientResource.createNext() method.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions