Author |
Message |
29/05/2018 09:55:55
|
vadingding
Power User
Joined: 14/07/2017 13:26:37
Messages: 145
Offline
|
Hi Captain,
Is it possible for us to make our own attribute on some of the components ? Maybe using new tool Style Editor ?
Ex. for the field, I want to add an attribute padding, for special purposes. And bind some expressions in order for me to update runtime.
Regards, Vincent
|
|
|
29/05/2018 10:11:04
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Defining own attributes, own components, etc. is possible of course - but then you have to...
1. dive into the JS-control structure
2. learn how to create own controls both on JS side and on JSF server side
If it is just the padding: this is contained in the style class definiton of the field anyhow, so for this I would rather use styling than using some own component/attributes.
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
29/05/2018 10:13:30
|
vadingding
Power User
Joined: 14/07/2017 13:26:37
Messages: 145
Offline
|
Is it possible to bind expressions in the style class, just like binding some expressions to field's attributes ? So I can set it's value run time.
Regards, Vincent
|
|
|
29/05/2018 10:30:57
|
vadingding
Power User
Joined: 14/07/2017 13:26:37
Messages: 145
Offline
|
Nevermind captain, It works when I generated the xml dynamically and added the padding attribute.
Regards + Thanks, Vincent
|
|
|
30/05/2018 04:57:08
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Is it possible to bind expressions in the style class, just like binding some expressions to field's attributes ? So I can set it's value run time.
Yes - this is possible! - Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
|