Java – additional properties of spring

For jQuery mobile, I need tags, such as:

<form action="..." method="get" data-ajax="false">
    <!-- Fields -->
</form>

Because I use spring, I really like < form: Form >, which is doing for me, all convenient binding, generated fields, etc

How to make < form: Form > Print additional attributes?

Solution

< form: Form > tag will allow any attribute

<form:form commandName="blah" data-ajax="false">

Will work well

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>