From richfaces-svn-commits at lists.jboss.org Wed Jul 28 10:46:14 2010 Content-Type: multipart/mixed; boundary="===============0745887563385817419==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r18261 - in root/examples/richfaces-showcase/trunk/src/main: webapp/richfaces and 1 other directories. Date: Wed, 28 Jul 2010 10:46:14 -0400 Message-ID: <201007281446.o6SEkE6O031174@svn01.web.mwc.hst.phx2.redhat.com> --===============0745887563385817419== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ilya_shaikovsky Date: 2010-07-28 10:46:12 -0400 (Wed, 28 Jul 2010) New Revision: 18261 Added: root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/popup/ root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/popup/m= odalPopup.xhtml root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/popup/s= implePopup.xhtml Modified: root/examples/richfaces-showcase/trunk/src/main/resources/org/richfaces/= demo/data/common/navigation.xml Log: https://jira.jboss.org/browse/RF-8967 popup added Modified: root/examples/richfaces-showcase/trunk/src/main/resources/org/ric= hfaces/demo/data/common/navigation.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- root/examples/richfaces-showcase/trunk/src/main/resources/org/richfaces= /demo/data/common/navigation.xml 2010-07-28 13:49:06 UTC (rev 18260) +++ root/examples/richfaces-showcase/trunk/src/main/resources/org/richfaces= /demo/data/common/navigation.xml 2010-07-28 14:46:12 UTC (rev 18261) @@ -303,6 +303,20 @@ = + + popup + rich:popup + + + simplePopup + Simple popup example + + + modalPopup + Modal panel example + = + + = Added: root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/pop= up/modalPopup.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/popup/= modalPopup.xhtml (rev 0) +++ root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/popup/= modalPopup.xhtml 2010-07-28 14:46:12 UTC (rev 18261) @@ -0,0 +1,36 @@ + + + + +

There you could check the modal panel which blocks the main + screen for any operations defined by using popupPanel component + with modal=3D"true"

+

In that sample the panel also defined as resizable so you could + change its sizes using mouse

+ + + + + + + + + + X + + +

Additionally there you could check how to handle the clicks + outside the panel.

+

In this sample the click outside - closes the panel as well as + clicking hide control in the header

+
+
+ + \ No newline at end of file Added: root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/pop= up/simplePopup.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/popup/= simplePopup.xhtml (rev 0) +++ root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/popup/= simplePopup.xhtml 2010-07-28 14:46:12 UTC (rev 18261) @@ -0,0 +1,49 @@ + + + + +

Popup panel component used to create any kind of popups on the page. +

Main features:

+ +

This sample shows simple non-modal popup which are movable but not resizable = + as defined to use autosizing according to it's content

+ + + + + + + + + + X + + +

Any content might be inside the panel.

+

Consider inclusion of the form elements into the popup or = + redefinition of domElementAttachment attribute.

+

The popup panel is open and closed from the javascript function + of component client side object. The following code hide this panel: #{rich:component('popup')}.hide()

+
+

Besides this sample shows two variants of working with the component J= S API:

+ +
+ + \ No newline at end of file --===============0745887563385817419==--