" />
开发者

Changing output of Forms with Struts+Freemarker

开发者 https://www.devze.com 2022-12-25 23:34 出处:网络
I\'m working on a Website with Struts2 and Freemarker. Whenever I add form tags such as: <@s.form action=\"foo\">

I'm working on a Website with Struts2 and Freemarker.

Whenever I add form tags such as:

<@s.form action="foo"> <@s.combobox (...)/>

It generates a bunch of html/css/javascript that I don't 开发者_开发知识库need.

Is there any way I can specify that no extra elements should be generated or do I really need to go into Freemarker.jar and edit the templates to my liking?


Have you read about "themes" in struts2 tags ? http://struts.apache.org/2.x/docs/why-do-the-form-tags-put-table-tags-around-controls.html http://struts.apache.org/2.x/docs/themes-and-templates.html

0

精彩评论

暂无评论...
验证码 换一张
取 消