Mixins in Tapestry5

一个人想着一个人 提交于 2019-12-04 20:47:08

You might find that the HMAC message authentication introduced in tapestry 5.3.6 is good enough. Configuration here Jira here

If not, you will most likely write a Form mixin which adds a hidden input to a form and then checks for a RequestParameter in the form's onValidate event (a mixin can see it's component's events). If you want to implicitly add a mixin to every form, you can do this via a ComponentClassTransformWorker2 tutorial here

A bit of googling reveals this, this and this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!