cancel
Showing results for 
Search instead for 
Did you mean: 

Get CSS style parameters from Portal at runtime

0 Kudos

Hi,

Is it possible to get some styling parameters from the CSS file at runtime in Web dynpro abap.


e.g. we create one UI element say checkbox and just assign a class name z_test_style to it at WD UI level.

Then portal team is doing the styling using CSS, so when the WD application is executed on portal, it gets the theming from CSS file.

I want to some how get some parameters like color, background color from that CSS file by passing my class name: z_test_style.

Please do let me know if this is possible.

Thanks,

Vaibhav Goel

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Not sure if the CSS mapping can be done dynamically. I think this thread might help you.

Thanks,

VS

0 Kudos

Thanks Santosh.

But my requirement is to read the CSS file.

CSS and theming is already done by portal team. I want a way to read parameters from that CSS file using my styleclass name which I assign to an UI element in WD.