Directory

← Back

Improved FormSender for Vaadin 6

Component for simulating form submits using POST or GET

Author

Rating

Popularity

<100

This add-on enabled you to submit invisible forms on client side. It supports POST and GET requests and allows you to set arbitrary form attributes, the target URL and target attribute of the form.

It is a fork of the FormSender add-on which was not further developed for Vaadin 6. This fork adds the following methods to the FormSender component:

  • setFormTarget(...)
  • setFormAction(...)

Sample code

FormSender formSender = new FormSender(FormSender.Method.POST) {{
	setFormAction("https://myhost/mypath");
	setFormTarget("_blank");
	addValue("username", "foo");
	addValue("password", "bar");
}};

window.addComponent(formSender);

formSender.submit();

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

added the following methods to FormSender:

  • setFormTarget(...)
  • setFormAction(...)
Released
2014-03-16
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 6.2+
Browser
Internet Explorer
Internet Explorer
Internet Explorer
Firefox
Safari
Google Chrome

Improved FormSender for Vaadin 6 - Vaadin Add-on Directory

Component for simulating form submits using POST or GET Improved FormSender for Vaadin 6 - Vaadin Add-on Directory
This add-on enabled you to submit invisible forms on client side. It supports POST and GET requests and allows you to set arbitrary form attributes, the target URL and target attribute of the form. It is a fork of the FormSender add-on which was not further developed for Vaadin 6. This fork adds the following methods to the FormSender component: * setFormTarget(...) * setFormAction(...)
Online