One of the Built In Logicsheets in Cocoon
The XSP Input Logicsheet is responsible for providing access to the Input Modules operations that can be carried out on the HTTP Request currently being serviced by Cocoon. Contains three tags, which just call the similar methods on an InputModule.
Apart from a mandatory attribute module the element tags should behave very much like the same element tags from XSPRequest
References to modules are obtained at first access and are released at the end of the page. Consecutive accesses reuse the cached references.
Only drawback is that default values are limited to java.lang.String.
It is based on logicsheet-utils.xsl so it takes <input:param/> for any parameter.
An example can be found on the concepts document for modules here.