[
https://issues.jboss.org/browse/RF-10633?page=com.atlassian.jira.plugin.s...
]
Ilya Shaikovsky updated RF-10633:
---------------------------------
Description:
Most important case:
Considered as issue and not RFC because menuItem - actually should behave as link
(different one for different modes). So it should be possible to use with componentControl
for example to show some popup.
<rich:panelMenuItem label="Item 1.1" name="Item_1_1_x"
mode="client" onclick="alert('1')">
<rich:componentControl event="click" operation="show"
target="mp"/>
</rich:panelMenuItem>
now only alert is called. and behavior not encoded.
was:
Most important case:
menuItem - actually should behave as link (different one for different modes). So it
should be possible to use with componentControl for example to show some popup.
<rich:panelMenuItem label="Item 1.1" name="Item_1_1_x"
mode="client" onclick="alert('1')">
<rich:componentControl event="click" operation="show"
target="mp"/>
</rich:panelMenuItem>
now only alert is called. and behavior not encoded.
pmenu: support for behaviors not implemented
--------------------------------------------
Key: RF-10633
URL:
https://issues.jboss.org/browse/RF-10633
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-menu
Affects Versions: 4.0.0.Milestone6
Reporter: Ilya Shaikovsky
Most important case:
Considered as issue and not RFC because menuItem - actually should behave as link
(different one for different modes). So it should be possible to use with componentControl
for example to show some popup.
<rich:panelMenuItem label="Item 1.1" name="Item_1_1_x"
mode="client" onclick="alert('1')">
<rich:componentControl event="click" operation="show"
target="mp"/>
</rich:panelMenuItem>
now only alert is called. and behavior not encoded.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira