Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Styling issue - Apply CSS class to component by ID

Tom PopescuNov 19 2013 — edited Dec 12 2013

Hello,

I am using JDeveloper 11.1.1.6 and my client requests that in the application we are currently developing to have in the main page two different regions, each containing an af:menu.

The problem is that I want to apply a different style to each of the menus, especially regarding the position of the their submenu (the selector for that would be af|menu::child-container). However, when I try to do that, even though I have applied a different style class to both my menu and it's submenu components (e.g. goMenuItem, commandMenuItem), it always happens that the child-container selector is treated "globally" and it does not recognize any of the classes.

Is there any way I can apply a certain class to a certain child-container? Perhaps by it's component ID? Or is there some other way to distinguish one menu::child-container from another? (styling-wise)

Best regards,

Toma

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 9 2014
Added on Nov 19 2013
10 comments
654 views