[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Formats in an ARRAYGRID  XML
Forum Index -> Development
Author Message
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
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

...yes, good idea - thanks!
Should be part of next update.
Björn

Björn Müller, CaptainCasa GmbH
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 744
Offline

does formats also work with value "boolean"?
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
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
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 744
Offline

exactly that was my intention
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
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
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
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
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 744
Offline

Thanx for this quick and nice solution.

Markus
[WWW]
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team