Hi,

I'm using a StrutsTypeConverter to convert Date objects into localized formatted strings to switch between locals. It works really well with <s:textfield> but not with <s:url> tags. The parameters don't pass through the StrutsTypeConverter like the fields. I'm using a xwork-conversion.properties to convert all java.util.Date objects.

Is this a bug or a known limitation? If so, is there a workaround?

Also, when I tried to restrict the conversion to an action, it didn't work because my converter would receive the dates from the fields but also a string with "templateDir" inside of it. When I returned an exception and/or a null value, struts crashed saying I had specified a null value and it couldn't find the template field. Surely, it must be a bug?

I'm using 2.1.7.

Thanks,

Olivier
P.S.: english is my second language, so forgive me.

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

Reply via email to