Clicking on MenuItem without clicking on the text
Posted
by
pringlesinn
on Stack Overflow
See other posts from Stack Overflow
or by pringlesinn
Published on 2010-12-03T13:13:12Z
Indexed on
2011/01/11
0:53 UTC
Read the original article
Hit count: 280
I've got a Menu, and I want to click on the menu, but not on the text if you guys know what i mean. The MenuItem has a border, or something like this, but when I click on it it won't redirect to the page I want unless I click on text.
Is it possible to click on the whole "Button" and redirect or do what is need to do?
My menu is like this:
<rich:dropDownMenu showDelay="250" hideDelay="0" submitMode="none">
<f:facet name="label">Tools</f:facet>
<rich:menuItem>
<s:link view="/pages/tools/ppaParameters/PpaParametersEdit.xhtml" value="Parameters" id="PpaParametersId" includePageParams="false" propagation="none"/>
</rich:menuItem>
<rich:menuGroup value="Security">
<rich:menuItem>
<s:link view="/pages/tools/security/ppaModule/PpaModuleEdit.xhtml" value="Module" id="PpaModuleId" includePageParams="false" propagation="none" />
</rich:menuItem>
</rich:menuGroup>
</rich:dropDownMenu>
There's an example. I need to click on text to make it work out.
© Stack Overflow or respective owner