Github user lukaszlenart commented on the issue:

    https://github.com/apache/struts/pull/158
  
    With the `ActionInvocation` in place I can access an action which means the 
action can provide additional informations how to serialise/deserialize 
object/string via dedicated interfaces, e.g.
    
    ```java
    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 
:)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to