I know you can create and register custom property editors on the MVC layer, where Spring will take the String value of what a person types in a form input, run it though your class and save the result (now as a DateTime, for instance) into a field on your command object.

I assumed he was talking about the same type of thing for his service-level classes, but coming from his XML configuration. So in applicationContext.xml, one of his beans has "9/2/2009" as a property and he wants to inject a DateTime directly into his class. I've never done it but seems like you should be able to.

Connor

Matt Benson wrote:
--- Stephen Colebourne <scolebou...@joda.org> wrote:

  
Soto, Alex wrote:
    
Hi, im developing an application using Joda Time.
      
This application is 
    
based on Spring. Now im developing  Spring
      
Property Editors for 
    
injecting Joda Classes into our BO using Spring.
      
Just don't know if:
    
1) someone has already developed.
      

FWIW, is "Spring Property Editor" appropriate
nomenclature?  I thought Spring used basic java.beans
PropertyEditors...

-Matt

  
Not that I know of.

    
2) if not and if you want I can publish as related
      
projects when I have 
    
finished.
      
I can grant you access to cvs and the
Joda-Time-Contrib area. But I have 
no spare time myself to organise releases or update
websites sadly.

Stephen




    
------------------------------------------------------------------------------
  
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net

    
https://lists.sourceforge.net/lists/listinfo/joda-interest
  



      

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest
  
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to