Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/03/2010 13:07:32
|
mreich
Power User
![[Avatar]](/forum/images/avatar/093f65e080a295f8076b1c5722a46aa2.jpg)
Joined: 30/01/2009 08:34:23
Messages: 750
Offline
|
Hi,
would it be possible to extend the component to work with decimal places?
e.g. I have a field weight (and a lot of other body parameters), which should be maintained day by day, the user could click through the days, the value is prefilled from the day before, the value normally changes minimally , so it would be easier to change with spinner as by hand?
Markus
|
|
![](/forum/templates/default/images/spacer.gif) |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/03/2010 13:12:33
|
CaptainCasa
Power User
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.jpg)
Joined: 21/11/2007 12:23:06
Messages: 5542
Offline
|
Hi,
for this special case I would prefer to define a (FORMATTED)FIELD and put some spinner-like icons behind. The spinner is bournd to counting an integer value on client side...
Or you may use a combo box (the one with comments: then you can see value + date as comment...).
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
![](/forum/templates/default/images/spacer.gif) |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/03/2010 13:14:42
|
mreich
Power User
![[Avatar]](/forum/images/avatar/093f65e080a295f8076b1c5722a46aa2.jpg)
Joined: 30/01/2009 08:34:23
Messages: 750
Offline
|
ok, for this I could build my own client component?
|
|
![](/forum/templates/default/images/spacer.gif) |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/03/2010 13:32:27
|
CaptainCasa
Power User
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.jpg)
Joined: 21/11/2007 12:23:06
Messages: 5542
Offline
|
...no, just normal XML arranging:
field
pane
row
icon "the up one"
row
icon "the down one"
If this component is a lot of time within your layouts, create a composite server side component (Developer's Guide...)
Björn
|
Björn Müller, CaptainCasa GmbH |
|
![](/forum/templates/default/images/spacer.gif) |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/03/2010 13:35:34
|
mreich
Power User
![[Avatar]](/forum/images/avatar/093f65e080a295f8076b1c5722a46aa2.jpg)
Joined: 30/01/2009 08:34:23
Messages: 750
Offline
|
ok, I meant those composite server side components, docu is already printed ;-)
|
|
![](/forum/templates/default/images/spacer.gif) |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/03/2010 13:57:17
|
CaptainCasa
Power User
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.jpg)
Joined: 21/11/2007 12:23:06
Messages: 5542
Offline
|
...good luck!
It's a sequence of x steps, each one being quite simple; but they depend on one another... - so go on quite carefully... ;-)
Björn
|
Björn Müller, CaptainCasa GmbH |
|
![](/forum/templates/default/images/spacer.gif) |
|