Hi,
how can a css attribute made dynamically read from the java backend class?
ui:style
.size {
width: 100px; //can I get the 100 from java backing and change it
dynamically?
}
ui:style
I know I can set the styles programatically from java code and might
thereby change the width. But
Hi,
If you use a cssResource you can use runtime substitution:
https://developers.google.com/web-toolkit/doc/latest/DevGuideClientBundle?hl=es-#Runtime_substitution
On 03/01/2013 10:18 AM, membersound wrote:
Hi,
how can a css attribute made dynamically read from the java backend class?
But you only can change the value before cssResource.ensureInjected()...
Maybe if you force cssResource re-injection (if this is possible) you can
use this dynamically generated css resource, but in any case I think that
use a CSS class to dinamically control the with of a element its a bad idea.