Author: mvitenkov
Date: 2008-04-28 14:50:59 -0400 (Mon, 28 Apr 2008)
New Revision: 8264
Modified:
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml
Log:
+applet inside modalPanel
Modified: trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml 2008-04-28
18:35:02 UTC (rev 8263)
+++
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml 2008-04-28
18:50:59 UTC (rev 8264)
@@ -1,25 +1,56 @@
<!-- %@ taglib
uri="http://java.sun.com/jstl/core"
prefix="c"%-->
-<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich" id="modalPanelSubviewID">
+<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich" id="modalPanelSubviewID">
- <h:selectOneMenu value="#{richBean.srcContainer}"
onchange="submit();">
+ <h:selectOneMenu value="#{richBean.srcContainer}"
onchange="submit();">
<f:selectItems value="#{richBean.listContainer}" />
</h:selectOneMenu>
- <rich:modalPanel id="modalPanelID"
minHeight="#{modalPanel.minHeight}" minWidth="#{modalPanel.minWidth}"
- height="#{modalPanel.height}" width="#{modalPanel.width}"
moveable="#{modalPanel.moveable}"
- resizeable="#{modalPanel.resizeable}"
keepVisualState="#{modalPanel.keepVisualState}"
rendered="#{modalPanel.rendered}"
- zindex="#{modalPanel.zindex}" autosized="#{modalPanel.autosized}"
shadowDepth="#{modalPanel.shadowDepth}"
- shadowOpacity="#{modalPanel.shadowOpacity}"
showWhenRendered="#{modalPanel.showWhenRendered}"
- onhide="#{event.onhide}" onmaskclick="#{event.onmaskclick}"
onmaskcontextmenu="#{event.onmaskcontextmenu}"
onmaskdblclick="#{event.onmaskdblclick}"
onmaskmousedown="#{event.onmaskmousedown}"
onmaskmousemove="#{event.onmaskmousemove}"
onmaskmouseout="#{event.onmaskmouseout}"
onmaskmouseover="#{event.onmaskmouseover}"
onmaskmouseup="#{event.onmaskmouseup}" onmove="#{event.onmove}"
onresize="#{event.onresize}" onshow="#{event.onshow}">
+ <rich:modalPanel id="modalPanelID"
minHeight="#{modalPanel.minHeight}"
+ minWidth="#{modalPanel.minWidth}" height="#{modalPanel.height}"
+ width="#{modalPanel.width}" moveable="#{modalPanel.moveable}"
+ resizeable="#{modalPanel.resizeable}"
+ keepVisualState="#{modalPanel.keepVisualState}"
+ rendered="#{modalPanel.rendered}" zindex="#{modalPanel.zindex}"
+ autosized="#{modalPanel.autosized}"
+ shadowDepth="#{modalPanel.shadowDepth}"
+ shadowOpacity="#{modalPanel.shadowOpacity}"
+ showWhenRendered="#{modalPanel.showWhenRendered}"
+ onhide="#{event.onhide}" onmaskclick="#{event.onmaskclick}"
+ onmaskcontextmenu="#{event.onmaskcontextmenu}"
+ onmaskdblclick="#{event.onmaskdblclick}"
+ onmaskmousedown="#{event.onmaskmousedown}"
+ onmaskmousemove="#{event.onmaskmousemove}"
+ onmaskmouseout="#{event.onmaskmouseout}"
+ onmaskmouseover="#{event.onmaskmouseover}"
+ onmaskmouseup="#{event.onmaskmouseup}" onmove="#{event.onmove}"
+ onresize="#{event.onresize}" onshow="#{event.onshow}">
<f:facet name="header">
<h:outputText value="Heder goes here..." />
</f:facet>
<f:facet name="controls">
- <h:graphicImage value="/pics/error.gif"
onclick="Richfaces.hideModalPanel('modalPanelID');return false;" />
+ <h:graphicImage value="/pics/error.gif"
+ onclick="Richfaces.hideModalPanel('modalPanelID');return false;"
/>
+ <h:form>
+ <a4j:commandLink action="#"
+ oncomplete="Richfaces.hideModalPanel('modalPanelID')"
value="close" />
+ </h:form>
</f:facet>
<h:outputText value="This is Modal Panel example"
styleClass="text1" />
<h:inputText value="#{modalPanel.inputTextTest}" />
+
+ <applet code="ArcTest.class" width="400" height="400"
+
+
codebase="http://java.sun.com/applets/jdk/1.4/demo/applets/ArcTest/&...
+
+ alt="Your browser understands the <APPLET> tag but isn't
running the applet, for some reason.">
+
+ Your browser is completely ignoring the <APPLET> tag!
+ </applet>
<h:selectOneListbox value="#{modalPanel.selectOneListboxTest}">
<f:selectItem itemLabel="1" itemValue="1" />
<f:selectItem itemLabel="2" itemValue="2" />
@@ -30,33 +61,40 @@
<br />
<br />
</f:verbatim>
-
- <h:outputLink
value="http://www.jboss.com/"><f:verbatim>Link</f:v...
-
+
+ <h:outputLink
value="http://www.jboss.com/">
+ <f:verbatim>Link</f:verbatim>
+ </h:outputLink>
+
<f:verbatim>
<br />
<br />
</f:verbatim>
-
- <h:outputLink onclick="Richfaces.hideModalPanel('modalPanelID');return
false;" value="Close">
+
+ <h:outputLink
+ onclick="Richfaces.hideModalPanel('modalPanelID');return false;"
+ value="Close">
<f:verbatim>Close</f:verbatim>
</h:outputLink>
<ui:include src="${richBean.pathComponentContainer}" />
</rich:modalPanel>
- <a onclick="Richfaces.showModalPanel('modalPanelID');"
href="#">Show MP</a>
+ <a onclick="Richfaces.showModalPanel('modalPanelID');"
href="#">Show
+ MP</a>
<f:verbatim>
<br />
<br />
</f:verbatim>
- <h:graphicImage value="/pics/info.gif"
onclick="Richfaces.showModalPanel('modalPanelID');" />
+ <h:graphicImage value="/pics/info.gif"
+ onclick="Richfaces.showModalPanel('modalPanelID');" />
<f:verbatim>
<br />
<br />
</f:verbatim>
- <div style="position: relative; font-size: 50px; z-index: 2; color:
navy">z-index</div>
+ <div
+ style="position: relative; font-size: 50px; z-index: 2; color:
navy">z-index</div>
</f:subview>