Author: jjamrich
Date: 2012-01-05 08:28:33 -0500 (Thu, 05 Jan 2012)
New Revision: 23130
Added:
modules/tests/metamer/branches/contextMenu/application/src/main/resources/org/richfaces/tests/metamer/bean/rich/RichContextMenuBean.properties
Modified:
modules/tests/metamer/branches/contextMenu/application/src/main/java/org/richfaces/tests/metamer/bean/rich/RichContextMenuBean.java
modules/tests/metamer/branches/contextMenu/application/src/main/webapp/components/richContextMenu/simple.xhtml
Log:
RF-10197: tweaks on rich:contextMenu example
Added some default values for type-safe sensitive attributes, added new default values
into RichContextMenuBean...
Modified:
modules/tests/metamer/branches/contextMenu/application/src/main/java/org/richfaces/tests/metamer/bean/rich/RichContextMenuBean.java
===================================================================
---
modules/tests/metamer/branches/contextMenu/application/src/main/java/org/richfaces/tests/metamer/bean/rich/RichContextMenuBean.java 2012-01-05
13:28:12 UTC (rev 23129)
+++
modules/tests/metamer/branches/contextMenu/application/src/main/java/org/richfaces/tests/metamer/bean/rich/RichContextMenuBean.java 2012-01-05
13:28:33 UTC (rev 23130)
@@ -53,6 +53,7 @@
attributes.setAttribute("attachTo", "form:panelClick");
attributes.setAttribute("disabled", "false");
attributes.setAttribute("rendered", "true");
+ attributes.setAttribute("hideDelay", "600");
}
public Attributes getAttributes() {
Added:
modules/tests/metamer/branches/contextMenu/application/src/main/resources/org/richfaces/tests/metamer/bean/rich/RichContextMenuBean.properties
===================================================================
---
modules/tests/metamer/branches/contextMenu/application/src/main/resources/org/richfaces/tests/metamer/bean/rich/RichContextMenuBean.properties
(rev 0)
+++
modules/tests/metamer/branches/contextMenu/application/src/main/resources/org/richfaces/tests/metamer/bean/rich/RichContextMenuBean.properties 2012-01-05
13:28:33 UTC (rev 23130)
@@ -0,0 +1,21 @@
+attr.direction.auto=auto
+attr.direction.topLeft=topLeft
+attr.direction.topRight=topRight
+attr.direction.bottomLeft=bottomLeft
+attr.direction.bottomRight=bottomRight
+attr.direction.autoLeft=autoLeft
+attr.direction.autoRight=autoRight
+attr.direction.topAuto=topAuto
+attr.direction.bottomAuto=bottomAuto
+attr.jointPoint.auto=auto
+attr.jointPoint.topLeft=topLeft
+attr.jointPoint.topRight=topRight
+attr.jointPoint.bottomLeft=bottomLeft
+attr.jointPoint.bottomRight=bottomRight
+attr.jointPoint.autoLeft=autoLeft
+attr.jointPoint.autoRight=autoRight
+attr.jointPoint.topAuto=topAuto
+attr.jointPoint.bottomAuto=bottomAuto
+attr.mode.ajax=ajax
+attr.mode.client=client
+attr.mode.server=server
Modified:
modules/tests/metamer/branches/contextMenu/application/src/main/webapp/components/richContextMenu/simple.xhtml
===================================================================
---
modules/tests/metamer/branches/contextMenu/application/src/main/webapp/components/richContextMenu/simple.xhtml 2012-01-05
13:28:12 UTC (rev 23129)
+++
modules/tests/metamer/branches/contextMenu/application/src/main/webapp/components/richContextMenu/simple.xhtml 2012-01-05
13:28:33 UTC (rev 23130)
@@ -37,7 +37,7 @@
</ui:define>
<ui:define name="component">
- <h:panelGroup layout="block" style="width:300px;
background-color: lightgreen; padding: 15px" id="panelClick">
+ <h:panelGroup layout="block" style="width:500px;
background-color: lightgreen; padding: 15px" id="panelClick">
Righ click here for a contextMenu
</h:panelGroup>
<rich:contextMenu id="ctxmenu"
Show replies by date