Author: amarkhel
Date: 2010-12-08 05:18:04 -0500 (Wed, 08 Dec 2010)
New Revision: 20447
Modified:
trunk/examples/output-demo/src/main/java/org/richfaces/ModalPanel.java
trunk/examples/output-demo/src/main/webapp/examples/popupPanel.xhtml
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPopupPanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PopupPanelBaseRenderer.java
trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml
Log:
RF-9742: Popup panel: rename ZIndex attribute
Modified: trunk/examples/output-demo/src/main/java/org/richfaces/ModalPanel.java
===================================================================
--- trunk/examples/output-demo/src/main/java/org/richfaces/ModalPanel.java 2010-12-08
09:02:50 UTC (rev 20446)
+++ trunk/examples/output-demo/src/main/java/org/richfaces/ModalPanel.java 2010-12-08
10:18:04 UTC (rev 20447)
@@ -55,8 +55,17 @@
this.shadowOpacity = "3";
this.show = false;
this.domElementAttachment = "body";
+ this.zindex = 123;
}
+ public int getZindex() {
+ return zindex;
+ }
+
+ public void setZindex(int zindex) {
+ this.zindex = zindex;
+ }
+
public int getHeight() {
return height;
}
Modified: trunk/examples/output-demo/src/main/webapp/examples/popupPanel.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/popupPanel.xhtml 2010-12-08
09:02:50 UTC (rev 20446)
+++ trunk/examples/output-demo/src/main/webapp/examples/popupPanel.xhtml 2010-12-08
10:18:04 UTC (rev 20447)
@@ -28,6 +28,7 @@
shadowOpacity="#{modalPanel.shadowOpacity}"
show="#{modalPanel.show}"
domElementAttachment="#{modalPanel.domElementAttachment}"
+ zindex="#{modalPanel.zindex}"
<f:facet name="header">
<h:outputText value="HEADER for popup" />
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPopupPanel.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPopupPanel.java 2010-12-08
09:02:50 UTC (rev 20446)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPopupPanel.java 2010-12-08
10:18:04 UTC (rev 20447)
@@ -45,7 +45,7 @@
public abstract String getVisualOptions();
@Attribute(defaultValue = "100")
- public abstract int getZIndex();
+ public abstract int getZindex();
@Attribute(defaultValue = "-1")
public abstract int getHeight();
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PopupPanelBaseRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PopupPanelBaseRenderer.java 2010-12-08
09:02:50 UTC (rev 20446)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PopupPanelBaseRenderer.java 2010-12-08
10:18:04 UTC (rev 20447)
@@ -187,7 +187,7 @@
addToScriptHash(options, "followByScroll", panel.isFollowByScroll(),
"true");
addToScriptHash(options, "left", panel.getLeft(), "auto");
addToScriptHash(options, "top", panel.getTop(), "auto");
- addToScriptHash(options, "zindex", panel.getZIndex(),
"100");
+ addToScriptHash(options, "zindex", panel.getZindex(),
"100");
addToScriptHash(options, "shadowDepth", panel.getShadowDepth(),
"2");
addToScriptHash(options, "shadowOpacity", panel.getShadowOpacity(),
"0.1");
addToScriptHash(options, "domElementAttachment",
panel.getDomElementAttachment());
Modified: trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml 2010-12-08 09:02:50 UTC
(rev 20446)
+++ trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml 2010-12-08 10:18:04 UTC
(rev 20447)
@@ -785,11 +785,187 @@
<tag>
<tag-name>popupPanel</tag-name>
<component>
+ <description>JSF component class</description>
<component-type>org.richfaces.PopupPanel</component-type>
<renderer-type>org.richfaces.PopupPanelRenderer</renderer-type>
</component>
+ <attribute>
+ <name>autosized</name>
+ <type>boolean</type>
+ </attribute>
+ <attribute>
+ <description>The value binding expression used to wire up this
component to a component property of a JavaBean class</description>
+ <icon/>
+ <name>binding</name>
+ <type>javax.faces.component.UIComponent</type>
+ </attribute>
+ <attribute>
+ <name>controlsClass</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>domElementAttachment</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>followByScroll</name>
+ <type>boolean</type>
+ </attribute>
+ <attribute>
+ <name>header</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>headerClass</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>height</name>
+ <type>int</type>
+ </attribute>
+ <attribute>
+ <description>The component identifier for this component. This value
must be unique within the closest parent component that is a naming
container.</description>
+ <display-name>Component Identifier</display-name>
+ <icon/>
+ <name>id</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>keepVisualState</name>
+ <type>boolean</type>
+ </attribute>
+ <attribute>
+ <name>left</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>maxHeight</name>
+ <type>int</type>
+ </attribute>
+ <attribute>
+ <name>maxWidth</name>
+ <type>int</type>
+ </attribute>
+ <attribute>
+ <name>minHeight</name>
+ <type>int</type>
+ </attribute>
+ <attribute>
+ <name>minWidth</name>
+ <type>int</type>
+ </attribute>
+ <attribute>
+ <name>modal</name>
+ <type>boolean</type>
+ </attribute>
+ <attribute>
+ <name>moveable</name>
+ <type>boolean</type>
+ </attribute>
+ <attribute>
+ <name>onbeforehide</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>onbeforeshow</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>onhide</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>onmaskclick</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>onmaskcontextmenu</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>onmaskdblclick</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>onmaskmousedown</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>onmaskmousemove</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>onmaskmouseout</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>onmaskmouseover</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>onmaskmouseup</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>onmove</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>onresize</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>onshow</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>overlapEmbedObjects</name>
+ <type>boolean</type>
+ </attribute>
+ <attribute>
+ <description>Flag indicating whether or not this component should be
rendered (during Render Response Phase), or processed on any subsequent form submit. The
default value for this property is true.</description>
+ <display-name>Rendered Flag</display-name>
+ <icon/>
+ <name>rendered</name>
+ <type>boolean</type>
+ </attribute>
+ <attribute>
+ <name>resizeable</name>
+ <type>boolean</type>
+ </attribute>
+ <attribute>
+ <name>shadowDepth</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>shadowOpacity</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>show</name>
+ <type>boolean</type>
+ </attribute>
+ <attribute>
+ <name>top</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>trimOverlayedElements</name>
+ <type>boolean</type>
+ </attribute>
+ <attribute>
+ <name>visualOptions</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>width</name>
+ <type>int</type>
+ </attribute>
+ <attribute>
+ <name>zindex</name>
+ <type>int</type>
+ </attribute>
</tag>
-
<tag>
<tag-name>tabPanel</tag-name>
<component>