Author |
Message |
12/05/2009 09:43:58
|
gargula
Power User
Joined: 18/01/2008 13:01:44
Messages: 34
Offline
|
Hi,
we use the Arraygrid...
In the Grid we define the format.
F. e. if the datatype is like "date"
prop.getDataType() == java.sql.Date.class)
formats.add("date");
It works fine!!!
Is it possible to add a format like "passwort"?
F. e. it is shown like the value in the component t:password like "****"
Regards
Christian
|
|
|
12/05/2009 09:48:53
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
...yes, good idea - thanks!
Should be part of next update.
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
13/05/2009 14:21:21
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 750
Offline
|
does formats also work with value "boolean"?
|
|
|
13/05/2009 14:25:53
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
boolean values are output as "true" and "false" literals.
If you want something more fancy than you may use the possiblilty to output images per cell (included in ARRAYGRID demo in demo workplace, first column).
I assume your asking into the direction, that the serve side processing could itself transfer boolean/Boolean values in correpsonding images...?
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
13/05/2009 14:34:04
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 750
Offline
|
exactly that was my intention
|
|
|
13/05/2009 14:42:22
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
OK, I will try to find some Zapf-Dingbats (or whatever the name of this strange set of characters is) and then convert on client side. Maybe this is the fastest solution...
Thanks for your input!
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
13/05/2009 15:55:14
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
OK, format "boolean" was added - Unicode character 10004 (✔) is displayed, when true, a dot (.) if null and nothing if false.
Available on request or with next update.
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
13/05/2009 22:01:17
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 750
Offline
|
Thanx for this quick and nice solution.
Markus
|
|
|
|