-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WW-4835: Configurable handlers #158
Conversation
Lukasz Lenart on dev@struts.apache.org replies: Can you take a look on this? Thanks in advance
2017-08-02 15:02 GMT+02:00 lukaszlenart git@git.apache.org: |
Using I don't see where new parameter |
Not yet :) |
Do you want to further develop this PR or merge it first? |
Merge it first as I think those changes are less intrusive as the whole idea in my head ;-) |
and what is your idea? |
With the public interface DateFormatHandler {
Date toDate(String dateStr);
String fromDate(Date date);
} and when action will implement such interface, a handler can pass formatting a date to the action instead of doing this by itself. And many more :) |
sounds great 👍 |
This PR changes API a bit to allow pass current
ActionInvocation
to the REST content type handlers to allow implement different behaviour based on a current action.WW-4835