[JBoss JIRA] Created: (RF-1542) context menu doesn't collapsed while come submenu item overed and further mouseout
by Ilya Shaikovsky (JIRA)
context menu doesn't collapsed while come submenu item overed and further mouseout
----------------------------------------------------------------------------------
Key: RF-1542
URL: http://jira.jboss.com/jira/browse/RF-1542
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Reporter: Ilya Shaikovsky
Assigned To: Maksim Kaszynski
Fix For: 3.1.3, 3.2.0
<h:panelGroup id="test" layout="block" style="width:1px;">
<h:graphicImage value="/richfaces/jQuery/images/pic1.jpg" id="pic">
</h:graphicImage>
<rich:contextMenu event="onmouseover" attached="true">
<rich:menuItem value="Enlarge"></rich:menuItem>
<rich:menuItem value="Open in new window"></rich:menuItem>
<rich:menuGroup value="Save">
<rich:menuItem value="Download image"></rich:menuItem>
<rich:menuItem value="Copy to clipboard"></rich:menuItem>
<rich:menuItem value="Copy image adress"></rich:menuItem>
</rich:menuGroup>
</rich:contextMenu>
</h:panelGroup>
Call the menu through mouseover. Then just leave the menu without overing any items. It will not collapse.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months
[JBoss JIRA] Created: (RF-2302) Component control generates unnecessary JavaScript on page when attachTo attribute is not defined
by Michael Case (JIRA)
Component control generates unnecessary JavaScript on page when attachTo attribute is not defined
-------------------------------------------------------------------------------------------------
Key: RF-2302
URL: http://jira.jboss.com/jira/browse/RF-2302
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: jboss-4.2.2.GA
Reporter: Michael Case
Priority: Minor
Per the Component Control docs (http://livedemo.exadel.com/richfaces-demo/richfaces/componentControl.jsf?...) when the attachTo attribute is not defined the event is attached to the parent component. While this behavior does work correctly it still appends the "Richfaces.componentControl.attachEvent........." JavaScript code which is completely unnecessary.
Example Source:
<h:outputLink value="#">
My Link
<rich:componentControl for="myModalPanel" operation="show" event="onclick" disableDefault="true"/>
</h:outputLink>
Example Expected Result:
<a href="#" onclick="Richfaces.componentControl.performOperation(event,'#myModalPanel','show',{},true)">My Link</a>
Example Actual Result:
<a href="#" onclick="Richfaces.componentControl.performOperation(event,'#myModalPanel','show',{},true)">My Link<script type="text/javascript">//<![CDATA[
{
Richfaces.componentControl.attachEvent(
'#', 'onclick', '#myModalPanel', 'show', {}, true );
}
//]]></script></a>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months