-
1. Re: Rich dropDownMenu using style: rich-menu-list-border
ilya_shaikovsky Jan 20, 2010 9:43 AM (in response to klaus11)sorry but seems can't get the idea.. checked that
- menu populated coorectly above the select elements
- hover and click on the menu causes expected actions.
-
2. Re: Rich dropDownMenu using style: rich-menu-list-border
klaus11 Jan 20, 2010 11:42 AM (in response to ilya_shaikovsky)hmm. i have two items in the menu list. the first is shown correctly. the same when I hover over the item, but only the second seems to make some mistakes.
the SelectBox under the rich menu rop down menu is larger than the richface component.
Can you give me some css style tipps, to get the background focus to the rich menu menu ?
thanks in advance.
Klaus
-
3. Re: Rich dropDownMenu using style: rich-menu-list-border
ilya_shaikovsky Jan 21, 2010 5:47 AM (in response to klaus11)please show the sources. -
4. Re: Rich dropDownMenu using style: rich-menu-list-border
klaus11 Mar 2, 2010 2:26 AM (in response to ilya_shaikovsky)<
>
<f:facet name="label">
<h:graphicImage value="/images/icon_normal.gif" />
<
<
rich:menuItem id="#{id}" submitMode="#{empty submitMode ? 'server' : submitMode}" value="#{msg.aktivieren}" icon="#{icon}"
disabled="#{disabled}" immediate="true"
rendered="#{(empty rendered or rendered)}"
labelClass="functionitem" onselect="#{onclick}"
iconDisabled="true"
>
<f:param name="status" value="0" />
/>
</
rich:menuItem>
<rich:menuItem id="#{id}" submitMode="#{empty submitMode ? 'server' : submitMode}" value="#{msg.sperren}" icon="#{icon}"
disabled="#{disabled}" immediate="true"
rendered="#{(empty rendered or rendered)}"
labelClass="functionitem" onselect="#{onclick}"
iconDisabled="true"
>
<f:param name="status" value="1" />
/>
</
rich:menuItem>
</rich:dropDownMenu>
<
<
t:selectItems value="....".....
...
...
The FunctionItems look like transparent.
As mentioned before, I get the focus of the botton t:selectOneMenu if I hover over the menu..Here are the used css code styles:
.menu
}
ite
itemdisabled{
background-color: #f9f300;
}
itemselected{
background-color: #6D6D6D;}
functionitem
{
font-size: 1em;
}
Is there any thing left in my styles to disable the "transparent" style?
-
5. Re: Rich dropDownMenu using style: rich-menu-list-border
klaus11 Mar 2, 2010 4:45 AM (in response to klaus11)ok, I have the solution:
I didn't declare a background-color for the style called "rich-menu-list-border"
-
6. Re: Rich dropDownMenu using style: rich-menu-list-border
ilya_shaikovsky Mar 2, 2010 4:57 AM (in response to klaus11)So, assuming that now works ok.