Hi Bruce,

BruceLee wrote:
Thank Rob for prompt response. Sorry I did typo as you mentioned.

1. I do want to use appfuse DateConverter. Not want to re-invert the wheels.
2. We tried DateUtil class in Java code, it works for yyyy-MM-dd format.
OK, well that suggests that you have the converter configured properly and that it's reading the correct format from your bundle.
 The real problem appears, how to configure it as default converter for
<input text> in JSP to Date variable in date model?
I've not had anything to do with JSF unfortunately, so maybe someone else with JSF experience can chip in here. I know that in Struts you need to specifically invoke the conversion wherever you need it. AppFuse does a good job of identifying Date-type columns and injecting the appropriate code into generated JSPs so it wasn't hard to work out how to do it from the generated code.


Cheers,
Rob Hills
Waikiki, Western Australia

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to