[
https://issues.apache.org/jira/browse/CLK-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrian A. updated CLK-539:
--------------------------
Attachment: 2_-_not_working_-_TypeConverter_as_init-param.diff
I also made a second version:
2_-_not_working_-_TypeConverter_as_init-param.diff
exactly the same way createConfigService() was made, i.e. by using:
servletContext.getInitParameter() instead of directly calling
getInitParameter(),
and this is not working (at least on the containers I tested).
So I think that defining custom service configuration in web.xml will
not work in Click since servletContext.getInitParameter() does not return any
init parameter.
> TypeConverter without overriding ClickServlet?
> ----------------------------------------------
>
> Key: CLK-539
> URL: https://issues.apache.org/jira/browse/CLK-539
> Project: Click
> Issue Type: New Feature
> Reporter: Joseph Schmidt
> Attachments: 1_-_working_TypeConverter_as_init-param.diff,
> 2_-_not_working_-_TypeConverter_as_init-param.diff
>
>
> Please move the TypeConverter out of the ClickServlet or change the API to be
> easier to use. Right now it requires to override the ClickServlet too :(.
> http://incubator.apache.org/click/docs/pages.html#page-param-auto-binding
> thanks,
> Joseph.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.