This page (revision-1) was last changed on 03-Aug-2022 21:00 by Juan Pablo 

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Version Date Modified Size Author Changes ... Change note
1 03-Aug-2022 21:00 463 bytes Juan Pablo Include CsrfProtection tag

Difference between version and

At line 1 added 23 lines
Inserts a hidden {{<input/>}} or {{<meta/>}} with the CSRF protection token.
----
!Usage
<wiki:~CsrfProtection />
!Parameters
;__format__: Optional, if equals to {{meta}} generates a {{<meta/>}} field, everything else generates an {{<input type=hidden/>}} field.
!Example
{{{
On a form on a JSP page:
<wiki:CsrfProtection />
On commonheader.jsp page:
<wiki:CsrfProtection format="meta" />
}}}
----
[Category.Tags]