Skip to content

form:form tag should support the target attribute [SPR-4547] #9224

@spring-projects-issues

Description

@spring-projects-issues

Peter Mularien opened SPR-4547 and commented

Filing as a bug because this is a valid attribute of the HTML FORM tag, and quite commonly used in applications which submit forms to IFRAMEs or new windows.

The form:form tag currently does not support the 'target' attribute as defined in the HTML 4.01 specification here:
http://www.w3.org/TR/html401/interact/forms.html#h-17.3

This means that users desiring this functionality must resort to a kludgey Javascript-based workaround such as those discussed in the following two forum threads:
http://forum.springframework.org/showthread.php?t=44044
http://forum.springframework.org/showthread.php?t=46730

The lack of this tag does hamper the ability of a Spring-managed form to be part of some types of dynamic web applications. This really should be fixed, since the fix is simply to add a single attribute to FormTag.java and the TLD.

Thanks for listening!


Affects: 2.5.2

3 votes, 2 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions