Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

color ONLY the box, not caption!

Avatar

Level 8

Hello

I am trying to grey ONLY the box part (not label/caption) of the field/object, so am using below,

xfa.resolveNode("VISITOR.Page1.myInfo.Name.ui.#textEdit.border.fill.color").value = "192,192,192";

working fine,

but, i came to know that the xfa.resolveNode is not efficient, so, i want to use *this* key word so i tired as below

this.ui.#textEdit.border.fill.color.value = "192,192,192";

but, not working!! pls help me how to get my requirement with *this* key word for a better PERFORMENCE.

i tried the below syntax, but not working!

(this.ui.textEdit.border.fill.color.value = "224,224,224") from

http://forums.sdn.sap.com/thread.jspa?threadID=1596235

Thank you

5 Replies

Avatar

Level 8

Dont we hv any solution for this pls.?

Avatar

Level 4

Hello Srinivas,

Instead of writing this.ui.#textEdit.border.fill.color.value = "192,192,192";

You can try with this i.e.

this.border.fill.color.value = "192,192,192";

Thanks,

Debadas.

Avatar

Level 8

Sorry, its not working, i am getting the grey color including CAPTION!

Pls. help me.

THank you

Avatar

Level 7

Would greying out the text in the box (instead of the fill) be a workable solution for you?

Stephen

Avatar

Level 8

Sorry...

You mean, colorin gthe grey TEXT, not entire box? if so, am sorry. I need the same effect, which gives the below syntax

xfa.resolveNode("VISITOR.Page1.myInfo.Name.ui.#textEdit.border.fill.color").value = "192,192,192";

but, y am not using that i came to know using xfa.resolveNode is not a efficient

Pls. help me

Thank youi