Author: sergeyhalipov
Date: 2008-01-14 08:51:05 -0500 (Mon, 14 Jan 2008)
New Revision: 5349
Modified:
branches/3.1.x/ui/modal-panel/src/main/config/component/modalPanel.xml
branches/3.1.x/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1894
Modified: branches/3.1.x/ui/modal-panel/src/main/config/component/modalPanel.xml
===================================================================
--- branches/3.1.x/ui/modal-panel/src/main/config/component/modalPanel.xml 2008-01-14
13:42:52 UTC (rev 5348)
+++ branches/3.1.x/ui/modal-panel/src/main/config/component/modalPanel.xml 2008-01-14
13:51:05 UTC (rev 5349)
@@ -206,5 +206,45 @@
<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:
branches/3.1.x/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
===================================================================
---
branches/3.1.x/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2008-01-14
13:42:52 UTC (rev 5348)
+++
branches/3.1.x/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2008-01-14
13:51:05 UTC (rev 5349)
@@ -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>