Author |
Message |
01/07/2011 11:50:55
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
Hi,
Would it be possible to provide attributes "todate" and "fromdate" for formattedfield? Now formattedfield has only "timezone" and "exacttime" as date specific attributes.
In general, I use calendarfield instead of formattedfield (date) in order to benefice from these range attributes, but in grids with a lot of columns sometimes I must place the date field in a very narrow column.
Regards, Daniel
|
|
|
01/07/2011 14:31:49
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
yes, this is no problem - the functionality is on FORMATTEDFIELD level anyway...
Will be part of next update.
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
14/05/2013 12:56:29
|
heyl
Power User
Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline
|
Hi everybody,
what is the correct format of the fromdate and todate attributes?
dd.MM.yyyy
dd.MM.yyyy HH:mm:ss ???
I did not find it in the developer guide, nor demo workspace, nor change log, nor online help, ...
Thanks for your help,
Frauke
|
|
|
14/05/2013 13:17:11
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
the format is "long" or "Date" - so exactly the same way you pass the VALUE.
Regards,
Björn
PS: there is an example in the demo workplace: General => Extended Calendar => From-to ;-)
|
Björn Müller, CaptainCasa GmbH |
|
|
14/05/2013 13:19:02
|
heyl
Power User
Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline
|
Ah ok,
but if I want to use the addAttribute() method of ComponentNode?
It just takes Strings!
Frauke
|
|
|
14/05/2013 13:26:19
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
then pass the long as a string: "32847348". What you do with component nodes is 100% the same as what you with JSP/XML. For some of the attribtutes there are explicit set-methods with e.g. int-type (e.g. width), but the base always is the String-value.
Regards, Björn
PS: Please note: you may always pass an expression, too - if the value is bound to a bean-property.
|
Björn Müller, CaptainCasa GmbH |
|
|
|