Author: sergeyhalipov
Date: 2008-01-14 08:42:52 -0500 (Mon, 14 Jan 2008)
New Revision: 5348
Modified:
trunk/ui/modal-panel/src/main/config/component/modalPanel.xml
trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1894
Modified: trunk/ui/modal-panel/src/main/config/component/modalPanel.xml
===================================================================
--- trunk/ui/modal-panel/src/main/config/component/modalPanel.xml 2008-01-14 12:35:07 UTC
(rev 5347)
+++ trunk/ui/modal-panel/src/main/config/component/modalPanel.xml 2008-01-14 13:42:52 UTC
(rev 5348)
@@ -209,6 +209,46 @@
<property hidden="true">
<name>valid</name>
<description>valid</description>
+ </property>
+ <property>
+ <name>onmaskclick</name>
+ <classname>java.lang.String</classname>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>onmaskdblclick</name>
+ <classname>java.lang.String</classname>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>onmaskcontextmenu</name>
+ <classname>java.lang.String</classname>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>onmaskmouseup</name>
+ <classname>java.lang.String</classname>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>onmaskmousedown</name>
+ <classname>java.lang.String</classname>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>onmaskmousemove</name>
+ <classname>java.lang.String</classname>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>onmaskmouseover</name>
+ <classname>java.lang.String</classname>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>onmaskmouseout</name>
+ <classname>java.lang.String</classname>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
</property>
</component>
</components>
Modified: trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
===================================================================
--- trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2008-01-14
12:35:07 UTC (rev 5347)
+++ trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2008-01-14
13:42:52 UTC (rev 5348)
@@ -40,7 +40,15 @@
x:passThruWithExclusions="id,style,class,styleClass"
<div class="dr-mpnl-mask-div
rich-mpnl-mask-div" id="#{clientId}Div"
- style="z-index: 1;"></div>
+ style="z-index: 1;"
+ onclick="#{component.attributes['onmaskclick']}"
+ ondblclick="#{component.attributes['onmaskdblclick']}"
+ oncontextmenu="#{component.attributes['onmaskcontextmenu']}"
+ onmouseup="#{component.attributes['onmaskmouseup']}"
+ onmousedown="#{component.attributes['onmaskmousedown']}"
+ onmousemove="#{component.attributes['onmaskmousemove']}"
+ onmouseover="#{component.attributes['onmaskmouseover']}"
+ onmouseout="#{component.attributes['onmaskmouseout']}" />
<div class="dr-mpnl-mask-div rich-mpnl-mask-div"
id="#{clientId}CursorDiv"
style="filter: alpha(opacity=1); z-index: -200"></div>