simplify date seizure
---------------------

                 Key: OFBIZ-265
                 URL: http://issues.apache.org/jira/browse/OFBIZ-265
             Project: OFBiz (The Open for Business Project)
          Issue Type: Improvement
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Marco Risaliti
            Priority: Trivial


Actually for seizure date it's needs to give date in timestamps format, hors 
use date lookup. Many end-users want only seizure date and only with their 
keyboard. 

I have modifiate ObjectType.java for offert possibility to seizure date of this 
time : 

 - 25/03/05 
 - 25/02/2005 
 - 25/03/05 12:00 

I works for simplify show timestamps for oly view date when time not needed. 

Modification on ObjectType.java 

David, 

This looks like a good idea. Would you mind committing it? 

Si 

The modification on date actually works in neogia project. You would commit it 
without major problem. In don't find problem with this modification ;) . 

But it modification regard only timestamps seizure. I works on HtmlWrapper for 
support this idea. 

This should be lower priority in the first place, it just isn't a big deal 
compared with other outstanding issues. 

Doing locale based parsing is an interesting idea, but I'd prefer to reject 
this patch because not having a consistent date formatting scheme for output 
and input really confuses users.... 

-David 

Hi. 

I create a new patch would increase management date. Now user can't input date 
with local format or sql format and return was locale format. He has 
possibility to indicate the format who want on general.properties 

I modify widget-form.dtd to support format output on display field with add 
type attribute for tag <display/>. 

Three possibility to format String : 
 <display type="date" /> 
 <display type="time" /> 
 <display type="timestamp" /> 

All works since one month with no problem in Neogia project. 

I hope this is better solution for ofbiz project :) 

Yes, it seems there already is some work for this! Thanks, Nicholas - I will 
take a look at what you have. 

I thank to look what I have done Si Chen. 

I have a request : nicholas is Russian lastName, 

my lastName is Nicolas, it's French ;D 

Malin, 

Sorry I did not know. I thought you were French since you worked with Neogia. 
So did you see Oleg Efimov's new Russian translation of the work effort module? 

Si 

David, 

I think one issue here is should we continue to enhance the form widget to do 
richer formatting, or should we just rely on the inline beanshell calls to use 
Java methods directly? 

What do you think? 

Si 

can it be closed ? 

Thanks 
Marco 

Please don't close it. I will ASAP create a new issue in Apache Jira. Thanks 

Jacques 

Yeah I think generally speaking this is a good idea. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to