JBoss Rich Faces SVN: r8670 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-05-21 07:11:55 -0400 (Wed, 21 May 2008)
New Revision: 8670
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-3468
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml 2008-05-21 11:05:49 UTC (rev 8669)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml 2008-05-21 11:11:55 UTC (rev 8670)
@@ -21,7 +21,7 @@
locale="#{calendarBean.locale}"
popup="#{calendarBean.popup}"
datePattern="#{calendarBean.pattern}"
- showApplyButton="#{calendarBean.showApply}" style="width:200px"/>
+ showApplyButton="#{calendarBean.showApply}" cellWidth="24px" cellHeight="22px"/>
</a4j:outputPanel>
<h:panelGrid columns="2">
16 years, 7 months
JBoss Rich Faces SVN: r8669 - in trunk/docs/userguide/en/src/main: resources/images and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-05-21 07:05:49 -0400 (Wed, 21 May 2008)
New Revision: 8669
Added:
trunk/docs/userguide/en/src/main/resources/images/toolBarGroup_oc.png
Modified:
trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
Log:
RF-3217 - added new sections (Definition of Custom Style Classes and Relevant resources links) and deleted one section (Skin Parameters Redefinition); added one screen.
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2008-05-21 10:59:58 UTC (rev 8668)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2008-05-21 11:05:49 UTC (rev 8669)
@@ -156,35 +156,47 @@
</listitem>
</itemizedlist>
</section>
-
<section>
- <title>Skin Parameters Redefinition</title>
- <table>
- <title>Skin parameters redefinition</title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Skin parameters</entry>
- <entry>CSS properties</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>headerSizeFont</entry>
- <entry>font-size</entry>
- </row>
- <row>
- <entry>headTextColor</entry>
- <entry>color</entry>
- </row>
- <row>
- <entry>headerFamilyFont</entry>
- <entry>font-family</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
+ <title>Definition of Custom Style Classes</title>
+ <para>It’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:toolBarGroup></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:toolBarGroup></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+ font-style: italic;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:toolBarGroup></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:toolBarGroup ... styleClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and <emphasis><property>"styleClass"</property></emphasis> attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/toolBarGroup_oc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above,font style for first toolBarGroup was changed.</para>
</section>
-
-
+ <section>
+ <title>Relevant resources links</title>
+ <para>
+ Some additional information about usage of component can be found
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/toolBar.jsf?c=toolBar">here</ulink>.
+ </para>
+ </section>
</section>
\ No newline at end of file
Added: trunk/docs/userguide/en/src/main/resources/images/toolBarGroup_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/toolBarGroup_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 7 months
JBoss Rich Faces SVN: r8668 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/snippets.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-05-21 06:59:58 -0400 (Wed, 21 May 2008)
New Revision: 8668
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/snippets/PushBean.java
Log:
source bean snippet added
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/snippets/PushBean.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/snippets/PushBean.java (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/snippets/PushBean.java 2008-05-21 10:59:58 UTC (rev 8668)
@@ -0,0 +1,104 @@
+/**
+ *
+ */
+package org.richfaces.demo.push;
+
+import java.util.Date;
+import java.util.EventListener;
+import java.util.EventObject;
+import java.util.UUID;
+
+import org.ajax4jsf.event.PushEventListener;
+
+/**
+ * @author Ilya Shaikovsky
+ *
+ */
+
+public class PushBean implements Runnable {
+
+ private String uuid = "";
+
+ private boolean enabled = false;
+
+ private Date startDate;
+
+ PushEventListener listener;
+
+ private Thread thread;
+
+ // private int eventsFired counter;
+
+ public void addListener(EventListener listener) {
+ synchronized (listener) {
+ System.out.println("PushBean.addListener()");
+ if (this.listener != listener) {
+ this.listener = (PushEventListener) listener;
+ }
+ }
+ }
+
+ public void run() {
+ System.out.println("PushBean.run() executed");
+ while (thread != null) {
+ try {
+ System.out.println(((new Date()).getTime()-startDate.getTime())>=60000);
+ if (((new Date()).getTime()-startDate.getTime())>=20000) {
+ stop();
+ }
+ uuid = UUID.randomUUID().toString();
+ listener.onEvent(new EventObject(this));
+ Thread.sleep(10000);
+ } catch (InterruptedException e) {
+ // TODO Auto-generated catch block
+ // e.printStackTrace();
+ }
+ }
+ }
+
+ public String getUuid() {
+ System.out.println(uuid + "returned");
+ return uuid;
+ }
+
+ public void start() {
+ if (thread == null) {
+ thread = new Thread(this);
+ thread.setDaemon(true);
+ thread.start();
+ System.out.println("PushBean.start()");
+ setStartDate(new Date());
+ setEnabled(true);
+ System.out.println("thread started");
+ }
+ }
+
+ public void stop() {
+ if (thread != null) {
+ //thread.stop();
+ setStartDate(null);
+ setEnabled(false);
+ thread = null;
+ }
+ }
+
+ public Thread getThread() {
+ return thread;
+ }
+
+ public boolean isEnabled() {
+ return enabled;
+ }
+
+ public void setEnabled(boolean enabled) {
+ this.enabled = enabled;
+ }
+
+ public Date getStartDate() {
+ return startDate;
+ }
+
+ public void setStartDate(Date startDate) {
+ this.startDate = startDate;
+ }
+}
16 years, 7 months
JBoss Rich Faces SVN: r8667 - trunk/samples/laguna/src/main/resources/org/richfaces/laguna.
by richfaces-svn-commits@lists.jboss.org
Author: admitriev
Date: 2008-05-21 05:53:17 -0400 (Wed, 21 May 2008)
New Revision: 8667
Modified:
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dropdownmenu.xcss
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/modalPanel.xcss
Log:
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dropdownmenu.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dropdownmenu.xcss 2008-05-21 09:26:48 UTC (rev 8666)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dropdownmenu.xcss 2008-05-21 09:53:17 UTC (rev 8667)
@@ -16,6 +16,8 @@
</u:selector>
<u:selector name=".rich-menu-list-border">
+ <u:style name="filter" value="alpha(opacity=80)" />
+ <u:style name="opacity" value="0.8" />
</u:selector>
</f:template>
\ No newline at end of file
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/modalPanel.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/modalPanel.xcss 2008-05-21 09:26:48 UTC (rev 8666)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/modalPanel.xcss 2008-05-21 09:53:17 UTC (rev 8667)
@@ -27,6 +27,8 @@
<u:selector name=".rich-mp-content">
<u:style name="padding" value="0px" />
<u:style name="border-color" skin="newBorder" />
+ <u:style name="filter" value="alpha(opacity=80)" />
+ <u:style name="opacity" value="0.8" />
</u:selector>
<u:selector name=".rich-mpnl-body">
16 years, 7 months
JBoss Rich Faces SVN: r8666 - trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-05-21 05:26:48 -0400 (Wed, 21 May 2008)
New Revision: 8666
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
change iframe src from 'about:blank' to 'javascript:'
Modified: trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
--- trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-05-21 00:19:11 UTC (rev 8665)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-05-21 09:26:48 UTC (rev 8666)
@@ -521,7 +521,7 @@
resetFrame: function () {
if (this.iframe) {
- this.iframe.src = "about:blank";
+ this.iframe.src = "javascript:''";
}
},
16 years, 7 months
JBoss Rich Faces SVN: r8665 - trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-05-20 20:19:11 -0400 (Tue, 20 May 2008)
New Revision: 8665
Modified:
trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
Log:
http://jira.jboss.com/jira/browse/RF-3461
Modified: trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
===================================================================
--- trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-05-20 18:35:01 UTC (rev 8664)
+++ trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-05-21 00:19:11 UTC (rev 8665)
@@ -39,6 +39,14 @@
levels: ['','','','','','','','','','',''],
detectWidth: function(){
this.IE = (navigator.userAgent.indexOf('MSIE') > -1) && (navigator.userAgent.indexOf('Opera') < 0);
+
+ if (this.IE) {
+ var agentSplit = /MSIE\s+(\d+(?:\.\d+)?)/.exec(navigator.userAgent);
+ if (agentSplit) {
+ this.IE_VERSION = parseFloat(agentSplit[1]);
+ }
+ }
+
this.NS = (navigator.userAgent.indexOf('Netscape') > -1);
}
,
@@ -144,12 +152,12 @@
initIFrame: function(layer) {
var menu = $(layer);
var iframe = new Insertion.Before(menu,
- "<iframe src=\"javascript:''\" id=\"" + menu.id + "_iframe\" style=\" position: absolute; z-index: 1;\" class=\"underneath_iframe\">" + "</iframe>");
+ "<iframe src=\"javascript:''\" id=\"" + menu.id + "_iframe\" style=\" position: absolute; z-index: 1;\" frameborder=\"0\" scrolling=\"no\" class=\"underneath_iframe\">" + "</iframe>");
return iframe;
},
ieSelectWorkAround: function(menuName, on){
- if(this.IE || this.NS) {
+ if((this.IE && this.IE_VERSION < 7) || this.NS) {
var menu = $(menuName);
menuName = menu.id;
var iframe = $(menuName + "_iframe");
16 years, 7 months
JBoss Rich Faces SVN: r8663 - trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-05-20 13:48:52 -0400 (Tue, 20 May 2008)
New Revision: 8663
Modified:
trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended.xcss
trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended_classes.xcss
Log:
http://jira.jboss.com/jira/browse/RF-3027
Modified: trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended.xcss
===================================================================
--- trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended.xcss 2008-05-20 17:35:55 UTC (rev 8662)
+++ trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended.xcss 2008-05-20 17:48:52 UTC (rev 8663)
@@ -52,8 +52,15 @@
</u:style>
</u:selector>
+ <u:selector name="*|button[disabled]">
+ <u:style name="color" skin="tabDisabledTextColor" />
+ </u:selector>
+
+ <u:selector name="button[type="button"][disabled], button[type="reset"][disabled], button[type="submit"][disabled],
+ input[type="reset"][disabled], input[type="submit"][disabled], input[type="button"][disabled]">
+ <u:style name="color" skin="tabDisabledTextColor" />
+ </u:selector>
-
<f:verbatim>
<![CDATA[
*|textarea {
@@ -95,5 +102,13 @@
<f:resource f:key="org.richfaces.renderkit.html.images.InputBackgroundImage"/>
</u:style>
</u:selector>
-
+
+ <u:selector name="*|textarea[disabled]">
+ <u:style name="color" skin="tableBorderColor" />
+ </u:selector>
+
+ <u:selector name="textarea[type="textarea"][disabled], input[type="text"][disabled], input[type="password"][disabled]">
+ <u:style name="color" skin="tableBorderColor" />
+ </u:selector>
+
</f:template>
\ No newline at end of file
Modified: trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended_classes.xcss
===================================================================
--- trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended_classes.xcss 2008-05-20 17:35:55 UTC (rev 8662)
+++ trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended_classes.xcss 2008-05-20 17:48:52 UTC (rev 8663)
@@ -23,7 +23,7 @@
background-position : top left;
}
- .rich-button,
+ .rich-button,
.rich-container button[type="button"], .rich-button-button,
.rich-container button[type="reset"], .rich-button-reset,
.rich-container button[type="submit"], .rich-button-submit,
@@ -51,7 +51,7 @@
</u:selector>
<u:selector name="
- .rich-button,
+ .rich-button,
.rich-container button[type="button"], .rich-button-button,
.rich-container button[type="reset"], .rich-button-reset,
.rich-container button[type="submit"], .rich-button-submit,
@@ -71,20 +71,34 @@
</u:selector>
-
+ <u:selector name=".rich-container *|button[disabled]">
+ <u:style name="color" skin="tabDisabledTextColor" />
+ </u:selector>
+
+ <u:selector name=".rich-button-disabled,
+ .rich-container button[type="button"][disabled], .rich-button-button-disabled,
+ .rich-container button[type="reset"][disabled], .rich-button-reset-disabled,
+ .rich-container button[type="submit"][disabled], .rich-button-submit-disabled,
+ .rich-container input[type="reset"][disabled], .rich-input-reset-disabled,
+ .rich-container input[type="submit"][disabled], .rich-input-submit-disabled,
+ .rich-container input[type="button"][disabled], .rich-input-button-disabled">
+ <u:style name="color" skin="tabDisabledTextColor" />
+ </u:selector>
+
+
<f:verbatim>
<![CDATA[
- .rich-container *|textarea, .rich-textarea {
+ .rich-container *|textarea {
border-width: 1px;
border-style : inset;
background-repeat : no-repeat;
background-position : 1px 1px;
}
- .rich-textarea,
- .rich-container textarea[type="textarea"], .rich-textarea-textarea,
- .rich-container input[type="text"], .rich-input-text,
- .rich-container input[type="password"], .rich-input-password,
+ .rich-textarea,
+ .rich-container textarea[type="textarea"], .rich-textarea-textarea,
+ .rich-container input[type="text"], .rich-input-text,
+ .rich-container input[type="password"], .rich-input-password,
.rich-container select, .rich-select {
border-width: 1px;
border-style : inset;
@@ -94,7 +108,7 @@
]]>
</f:verbatim>
- <u:selector name=".rich-container *|textarea, .rich-textarea">
+ <u:selector name=".rich-container *|textarea">
<u:style name="border-color" skin="panelBorderColor" />
<u:style name="font-size" skin="generalSizeFont" />
<u:style name="font-family" skin="generalFamilyFont" />
@@ -106,10 +120,10 @@
</u:style>
</u:selector>
- <u:selector name=".rich-textarea,
+ <u:selector name=".rich-textarea,
.rich-container textarea[type="textarea"], .rich-textarea-textarea,
.rich-container input[type="text"], .rich-input-text,
- .rich-container input[type="password"], .rich-input-password,
+ .rich-container input[type="password"], .rich-input-password,
.rich-container select, .rich-select">
<u:style name="border-color" skin="panelBorderColor" />
<u:style name="font-size" skin="generalSizeFont" />
@@ -121,4 +135,14 @@
<f:resource f:key="org.richfaces.renderkit.html.images.InputBackgroundImage"/>
</u:style>
</u:selector>
+
+ <u:selector name=".rich-container *|textarea[disabled]">
+ <u:style name="color" skin="tableBorderColor" />
+ </u:selector>
+
+ <u:selector name=".rich-textarea-disabled, .rich-container textarea[type="textarea"][disabled], .rich-textarea-textarea-disabled,
+ .rich-container input[type="text"][disabled], .rich-input-text-disabled,
+ .rich-container input[type="password"][disabled], .rich-input-password-disabled">
+ <u:style name="color" skin="tableBorderColor" />
+ </u:selector>
</f:template>
\ No newline at end of file
16 years, 7 months
JBoss Rich Faces SVN: r8662 - in trunk/test-applications/seleniumTest/src: test/java/org/ajax4jsf/test/base and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2008-05-20 13:35:55 -0400 (Tue, 20 May 2008)
New Revision: 8662
Modified:
trunk/test-applications/seleniumTest/src/main/webapp/template/modalPanel.xhtml
trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/Templates.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandButtonTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandLinkTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxPollTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxRegionTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxStatusTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/CalendarTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ComboBoxTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ContextMenuTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/DropDownMenuTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/InplaceSelectTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/InputNumberSpinnerTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/JSFunctionTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/KeepAliveTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/LoadScriptTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/LoadStyleTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/OrderingListTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelBarTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelMenuTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PickListTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ProgressBarTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SimpleTogglePanelTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TabPanelTest.java
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TogglePanelTest.java
Log:
Selenium tests: Modal panel template was added.
Modified: trunk/test-applications/seleniumTest/src/main/webapp/template/modalPanel.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/Templates.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/Templates.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/ajax4jsf/test/base/Templates.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -21,10 +21,10 @@
public static Templates MODALPANEL = new Templates("modalPanel");
private void setParentId(SeleniumTestBase test) {
- if ("simple".equals(template)) {
+ if ("dataTable".equals(template)) {
+ test.setParentId(COMPONENT_PREFIX_INSIDE_TABLE);
+ } else {
test.setParentId(COMPONENT_PREFIX_SIMPLE);
- } else if ("dataTable".equals(template)) {
- test.setParentId(COMPONENT_PREFIX_INSIDE_TABLE);
}
}
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandButtonTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandButtonTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandButtonTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -36,6 +36,7 @@
public void testAjaxCommandButtonComponent() throws Exception {
_testAjaxCommandButtonComponent(Templates.SIMPLE);
_testAjaxCommandButtonComponent(Templates.DATATABLE);
+ _testAjaxCommandButtonComponent(Templates.MODALPANEL);
}
private void _testAjaxCommandButtonComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandLinkTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandLinkTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxCommandLinkTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -35,6 +35,7 @@
public void testAjaxCommandLinkComponent() throws Exception {
_testAjaxCommandLinkComponent(Templates.SIMPLE);
_testAjaxCommandLinkComponent(Templates.DATATABLE);
+ _testAjaxCommandLinkComponent(Templates.MODALPANEL);
}
private void _testAjaxCommandLinkComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxPollTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxPollTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxPollTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -42,6 +42,7 @@
public void testAjaxPollComponent() {
_testAjaxPollComponent(Templates.SIMPLE);
_testAjaxPollComponent(Templates.DATATABLE);
+ _testAjaxPollComponent(Templates.MODALPANEL);
}
private void _testAjaxPollComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxRegionTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxRegionTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxRegionTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -32,7 +32,9 @@
@Test
public void testAjaxRegionComponent() throws Exception {
+ _testAjaxRegionComponent(Templates.SIMPLE);
_testAjaxRegionComponent(Templates.DATATABLE);
+ _testAjaxRegionComponent(Templates.MODALPANEL);
}
private void _testAjaxRegionComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxStatusTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxStatusTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/AjaxStatusTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -33,7 +33,9 @@
@Test
public void testAjaxStatusComponent() throws Exception {
+ _testAjaxStatusComponent(Templates.SIMPLE);
_testAjaxStatusComponent(Templates.DATATABLE);
+ _testAjaxStatusComponent(Templates.MODALPANEL);
}
private void _testAjaxStatusComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/CalendarTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/CalendarTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/CalendarTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -64,7 +64,8 @@
@Test
public void testContextMenuComponent() throws Exception {
_testSelectDateComponent(Templates.SIMPLE);
-// _testCalendarComponent(Templates.DATATABLE);
+ _testCalendarComponent(Templates.DATATABLE);
+ _testCalendarComponent(Templates.MODALPANEL);
}
private void _testCalendarComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ComboBoxTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ComboBoxTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ComboBoxTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -35,6 +35,7 @@
public void testComboBoxComponent() throws Exception {
_testComboBoxComponent(Templates.SIMPLE);
_testComboBoxComponent(Templates.DATATABLE);
+ _testComboBoxComponent(Templates.MODALPANEL);
}
private void _testComboBoxComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ContextMenuTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ContextMenuTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ContextMenuTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -57,6 +57,7 @@
public void testContextMenuComponent() throws Exception {
_testContextMenuComponent(Templates.SIMPLE);
_testContextMenuComponent(Templates.DATATABLE);
+ _testContextMenuComponent(Templates.MODALPANEL);
}
private void _testContextMenuComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/DropDownMenuTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/DropDownMenuTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/DropDownMenuTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -34,6 +34,7 @@
public void testDropDownMenuComponent() throws Exception {
_testDropDownMenuComponent(Templates.SIMPLE);
_testDropDownMenuComponent(Templates.DATATABLE);
+ _testDropDownMenuComponent(Templates.MODALPANEL);
}
private void _testDropDownMenuComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/InplaceSelectTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/InplaceSelectTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/InplaceSelectTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -35,6 +35,7 @@
public void testInplaceSelectComponent() throws Exception {
_testInplaceSelectComponent(Templates.SIMPLE);
_testInplaceSelectComponent(Templates.DATATABLE);
+ _testInplaceSelectComponent(Templates.MODALPANEL);
}
private void _testInplaceSelectComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/InputNumberSpinnerTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/InputNumberSpinnerTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/InputNumberSpinnerTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -36,7 +36,8 @@
public void testInputNumberSpinnerComponent() throws Exception {
_testInputNumberSpinnerComponent(Templates.SIMPLE);
//it looks as if the spinner does not work inside rich:dataTable
- //_testInputNumberSpinnerComponent(Templates.DATATABLE);
+ _testInputNumberSpinnerComponent(Templates.DATATABLE);
+ _testInputNumberSpinnerComponent(Templates.MODALPANEL);
}
private void _testInputNumberSpinnerComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/JSFunctionTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/JSFunctionTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/JSFunctionTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -34,7 +34,9 @@
@Test
public void testJSFunctionComponent() throws Exception {
+ _testJSFunctionComponent(Templates.SIMPLE);
_testJSFunctionComponent(Templates.DATATABLE);
+ _testJSFunctionComponent(Templates.MODALPANEL);
}
private void _testJSFunctionComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/KeepAliveTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/KeepAliveTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/KeepAliveTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -32,7 +32,9 @@
@Test
public void testKeepAliveComponent() throws Exception {
+ _testKeepAliveComponent(Templates.SIMPLE);
_testKeepAliveComponent(Templates.DATATABLE);
+ _testKeepAliveComponent(Templates.MODALPANEL);
}
private void _testKeepAliveComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/LoadScriptTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/LoadScriptTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/LoadScriptTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -34,7 +34,9 @@
@Test
public void testLoadScriptComponent() throws Exception {
+ _testLoadScriptComponent(Templates.SIMPLE);
_testLoadScriptComponent(Templates.DATATABLE);
+ _testLoadScriptComponent(Templates.MODALPANEL);
}
private void _testLoadScriptComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/LoadStyleTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/LoadStyleTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/LoadStyleTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -34,7 +34,9 @@
@Test
public void testLoadStyleComponent() throws Exception {
+ _testLoadStyleComponent(Templates.SIMPLE);
_testLoadStyleComponent(Templates.DATATABLE);
+ _testLoadStyleComponent(Templates.MODALPANEL);
}
private void _testLoadStyleComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/OrderingListTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/OrderingListTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/OrderingListTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -78,6 +78,7 @@
public void testOrderingListComponent() throws Exception {
_testOrderingListComponent(Templates.SIMPLE);
_testOrderingListComponent(Templates.DATATABLE);
+ _testOrderingListComponent(Templates.MODALPANEL);
}
private void _testOrderingListComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelBarTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelBarTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelBarTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -57,8 +57,9 @@
@Test
public void testPanelBarComponent() throws Exception {
- renderPage("/faces/pages/panelBar/panelBarTest.xhtml");
_testPanelBarComponent(Templates.SIMPLE);
+ _testPanelBarComponent(Templates.DATATABLE);
+ _testPanelBarComponent(Templates.MODALPANEL);
}
private void _testPanelBarComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelMenuTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelMenuTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PanelMenuTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -37,12 +37,15 @@
_testPanelMenuComponent(Templates.SIMPLE);
_testPanelMenuComponent(Templates.DATATABLE);
+ _testPanelMenuComponent(Templates.MODALPANEL);
_testPanelMenuComponentSingleMode(Templates.SIMPLE);
_testPanelMenuComponentSingleMode(Templates.DATATABLE);
+ _testPanelMenuComponentSingleMode(Templates.MODALPANEL);
_testPanelMenuItemAction(Templates.SIMPLE);
_testPanelMenuItemAction(Templates.DATATABLE);
+ _testPanelMenuItemAction(Templates.MODALPANEL);
}
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PickListTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PickListTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/PickListTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -35,6 +35,7 @@
public void testPickListComponent() throws Exception {
_testPickListComponent(Templates.SIMPLE);
_testPickListComponent(Templates.DATATABLE);
+ _testPickListComponent(Templates.MODALPANEL);
}
private void _testPickListComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ProgressBarTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ProgressBarTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ProgressBarTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -37,6 +37,7 @@
public void testProgressBarComponent() {
_testProgressBarComponent(Templates.SIMPLE);
_testProgressBarComponent(Templates.DATATABLE);
+ _testProgressBarComponent(Templates.MODALPANEL);
}
private void _testProgressBarComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SimpleTogglePanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SimpleTogglePanelTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/SimpleTogglePanelTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -57,6 +57,7 @@
public void testSimpleTogglePanelComponent() throws Exception {
_testSimpleTogglePanelComponent(Templates.SIMPLE);
_testSimpleTogglePanelComponent(Templates.DATATABLE);
+ _testSimpleTogglePanelComponent(Templates.MODALPANEL);
}
private void _testSimpleTogglePanelComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TabPanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TabPanelTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TabPanelTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -64,6 +64,7 @@
public void testTabPanelComponent() throws Exception {
_testRichTabPanelComponent(Templates.SIMPLE);
_testRichTabPanelComponent(Templates.DATATABLE);
+ _testRichTabPanelComponent(Templates.MODALPANEL);
}
private void _testRichTabPanelComponent(Templates template) {
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TogglePanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TogglePanelTest.java 2008-05-20 17:18:35 UTC (rev 8661)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/TogglePanelTest.java 2008-05-20 17:35:55 UTC (rev 8662)
@@ -60,6 +60,7 @@
public void testTogglePanelComponent() throws Exception {
_testTogglePanelComponent(Templates.SIMPLE);
_testTogglePanelComponent(Templates.DATATABLE);
+ _testTogglePanelComponent(Templates.MODALPANEL);
}
private void _testTogglePanelComponent(Templates template) {
16 years, 7 months
JBoss Rich Faces SVN: r8660 - in trunk/samples/richfaces-demo/src/main/webapp: richfaces/ajaxAttributes and 11 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-05-20 10:45:51 -0400 (Tue, 20 May 2008)
New Revision: 8660
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/screenSize.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/headlessPanel.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/lookCustom.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/examples/example.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/standardSkinning/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/examples/separators.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/tooltipUsage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml
Log:
RF-3475
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/assignTo.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -3,9 +3,9 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-
+
<h:form>
- <rich:panel>
+ <rich:panel bodyClass="rich-laguna-panel-no-header">
<a4j:commandButton value="Set Name to Alex" reRender="rep" >
<a4j:actionparam name="username" value="Alex" assignTo="#{userBean.name}"/>
</a4j:commandButton>
@@ -15,7 +15,7 @@
</a4j:commandButton>
</rich:panel>
<rich:spacer height="1" />
- <rich:panel>
+ <rich:panel bodyClass="rich-laguna-panel-no-header">
<h:outputText id="rep" value="Selected Name:#{userBean.name}"/>
</rich:panel>
</h:form>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/screenSize.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/screenSize.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/actionparam/examples/screenSize.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -13,7 +13,7 @@
</a4j:commandButton>
<br />
<rich:spacer height="3" />
- <rich:panel id="infoPanel">
+ <rich:panel id="infoPanel" bodyClass="rich-laguna-panel-no-header">
<h:panelGrid columns="2">
<h:outputText value="Width:" />
<h:outputText value="#{userBean.screenWidth}"/>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -42,7 +42,7 @@
<fieldset class="demo_fieldset">
<legend class="demo_legend">Code Example</legend>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert src="/richfaces/ajaxAttributes/snippets/reRender2.xhtml" highlight="xhtml"></rich:insert>
</rich:panel>
</fieldset>
@@ -57,7 +57,7 @@
</p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Code Example</legend>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert src="/richfaces/ajaxAttributes/snippets/reRender3.xhtml" highlight="xhtml"></rich:insert>
</rich:panel>
</fieldset>
@@ -84,7 +84,7 @@
</p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Code Example</legend>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert src="/richfaces/ajaxAttributes/snippets/reRender1.xhtml" highlight="xhtml"></rich:insert>
</rich:panel>
</fieldset>
@@ -114,7 +114,7 @@
</p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Code Example</legend>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert src="/richfaces/ajaxAttributes/snippets/eventqueue.xhtml" highlight="xhtml"></rich:insert>
</rich:panel>
</fieldset>
@@ -230,7 +230,7 @@
</p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Code Example</legend>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert src="/richfaces/ajaxAttributes/snippets/data.xhtml" highlight="xhtml"></rich:insert>
</rich:panel>
</fieldset>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -34,7 +34,7 @@
rendered="#{fileUploadBean.size==0}" />
<rich:dataGrid columns="1" value="#{fileUploadBean.files}"
var="file" rowKeyVar="row">
- <rich:panel>
+ <rich:panel bodyClass="rich-laguna-panel-no-header">
<h:panelGrid columns="2">
<a4j:mediaOutput element="img" mimeType="#{file.mime}"
createContent="#{fileUploadBean.paint}" value="#{row}"
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/usage.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/form/usage.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -39,7 +39,7 @@
<fieldset class="demo_fieldset">
<legend class="demo_legend">Code Example</legend>
- <rich:panel styleClass="viewcodeexamplepanel" bodyClass="viewsourcebody">
+ <rich:panel styleClass="viewcodeexamplepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert src="/richfaces/form/snippets/commandLinkProblem.xhtml" highlight="xhtml"/>
</rich:panel>
</fieldset>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/usage.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/usage.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -40,7 +40,7 @@
<fieldset class="demo_fieldset">
<legend class="demo_legend">HtmlCommandLink usage example</legend>
<div class="sample-container">
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert highlight="xhtml" src="/richfaces/htmlCommandLink/snippets/commandLinkProblem.xhtml"></rich:insert>
</rich:panel>
</div>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -39,13 +39,13 @@
<fieldset class="demo_fieldset">
<legend class="demo_legend">AjaxPage usage example</legend>
<div class="sample-container">
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert src="/richfaces/page/snippets/page.xhtml" highlight="xhtml"></rich:insert>
</rich:panel>
<p>
<b>Will be rendered as:</b>
</p>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert src="/richfaces/page/snippets/gen.xhtml" highlight="xhtml"></rich:insert>
</rich:panel>
</div>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/headlessPanel.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/headlessPanel.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/headlessPanel.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -5,7 +5,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <rich:panel>
+ <rich:panel bodyClass="rich-laguna-panel-no-header">
RichFaces is a library for adding rich user interface features to JSF
applications. It extends the Ajax4jsf framework to include a large
(and growing) set of powerful rich AJAX-enabled components that come
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/lookCustom.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/lookCustom.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/lookCustom.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -80,7 +80,7 @@
Long Text Long Text Long Text
</rich:panel>
- <rich:panel styleClass="top">
+ <rich:panel styleClass="top" bodyClass="rich-laguna-panel-no-header">
This is a panel without the header
</rich:panel>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/examples/example.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/examples/example.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/examples/example.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -66,7 +66,7 @@
</rich:panelMenuItem>
</rich:panelMenuGroup>
</rich:panelMenu>
- <rich:panel>
+ <rich:panel bodyClass="rich-laguna-panel-no-header">
<a4j:outputPanel ajaxRendered="true">
<h:outputText value="#{panelMenu.current} selected" id="current"/>
</a4j:outputPanel>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/usage.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/usage.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -34,7 +34,7 @@
<p>
<fieldset class="demo_fieldset"><legend class="demo_legend">Page
code:</legend> <rich:panel styleClass="viewsourcepanel"
- bodyClass="viewsourcebody">
+ bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert highlight="xhtml"
src="/richfaces/push/snippets/page.xhtml" />
</rich:panel></fieldset>
@@ -42,7 +42,7 @@
<p>
<fieldset class="demo_fieldset"><legend class="demo_legend">Code
for registration of listener:</legend> <rich:panel styleClass="viewsourcepanel"
- bodyClass="viewsourcebody">
+ bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert highlight="java"
src="/richfaces/push/snippets/listenerReg.java" />
</rich:panel></fieldset>
@@ -50,7 +50,7 @@
<p>
<fieldset class="demo_fieldset"><legend class="demo_legend">Component
can get message using current code:</legend> <rich:panel
- styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert highlight="java"
src="/richfaces/push/snippets/listenermessage.java" />
</rich:panel></fieldset>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/standardSkinning/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/standardSkinning/usage.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/standardSkinning/usage.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -96,7 +96,7 @@
</p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">CSS for standard elements snippet</legend>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert src="/richfaces/standardSkinning/snippets/snippet1.css" highlight="xhtml"/>
</rich:panel>
</fieldset>
@@ -105,7 +105,7 @@
</p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">CSS for standard elements inside rich container snippet</legend>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert src="/richfaces/standardSkinning/snippets/snippet2.css" highlight="xhtml"/>
</rich:panel>
</fieldset>
@@ -115,7 +115,7 @@
</p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Predefined rich classes</legend>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody">
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
<rich:insert src="/richfaces/standardSkinning/snippets/snippet3.css" highlight="xhtml"/>
</rich:panel>
</fieldset>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/examples/separators.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/examples/separators.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/examples/separators.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -7,7 +7,7 @@
<h:form>
<h:panelGrid columns="3" width="100%" cellpadding="0" cellspacing="0" style="margin-bottom : 4px">
- <rich:panel>
+ <rich:panel bodyClass="rich-laguna-panel-no-header">
<h:panelGrid columns="8">
<h:outputText value="Group Separator:" />
<a4j:commandLink value="Line" reRender="bar">
@@ -34,7 +34,7 @@
<h:panelGroup style="padding-left : 4px">
<br/>
</h:panelGroup>
- <rich:panel>
+ <rich:panel bodyClass="rich-laguna-panel-no-header">
<h:panelGrid columns="8">
<h:outputText value="Group Item Separator:" />
<a4j:commandLink value="Line" reRender="bar">
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/tooltipUsage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/tooltipUsage.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/tooltipUsage.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -26,7 +26,7 @@
</style>
<h:panelGrid columns="2">
- <rich:panel id="sample1" styleClass="tooltip-text">
+ <rich:panel id="sample1" styleClass="tooltip-text" bodyClass="rich-laguna-panel-no-header">
<p>
Here you can see <b>default client-side</b> tool-tip
</p>
@@ -37,7 +37,7 @@
</span>
</rich:toolTip>
</rich:panel>
- <rich:panel id="sample2" styleClass="tooltip-text">
+ <rich:panel id="sample2" styleClass="tooltip-text" bodyClass="rich-laguna-panel-no-header">
<p>
This tool-tip will <b>follow mouse</b>. Also this tool-tip has a <b>delay 0.5 sec</b>,
so be patient!
@@ -51,7 +51,7 @@
</rich:toolTip>
</rich:panel>
<h:form>
- <rich:panel id="sample3" styleClass="tooltip-text">
+ <rich:panel id="sample3" styleClass="tooltip-text" bodyClass="rich-laguna-panel-no-header">
<p>
This tool-tip rendered on server <b>in separate request</b>.
</p>
@@ -69,7 +69,7 @@
</rich:panel>
</h:form>
<h:form>
- <rich:panel id="sample4" styleClass="tooltip-text">
+ <rich:panel id="sample4" styleClass="tooltip-text" bodyClass="rich-laguna-panel-no-header">
<p>
This tool-tip will be <b>activated on mouse click</b>. It also has a <b>bottom-left</b> position.
</p>
Modified: trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml 2008-05-20 14:30:03 UTC (rev 8659)
+++ trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml 2008-05-20 14:45:51 UTC (rev 8660)
@@ -6,7 +6,7 @@
xmlns:rich="http://richfaces.org/rich">
<ui:composition>
-<rich:panel styleClass="panel_menu">
+<rich:panel styleClass="panel_menu" bodyClass="rich-laguna-panel-no-header">
<rich:panelBar selectedPanel="#{componentNavigator.currentComponent.group}" width="100%" height="605px">
<rich:panelBarItem id="ajaxSupport" label="Ajax Support">
<ui:include src="/templates/include/components-group.xhtml" >
16 years, 7 months
JBoss Rich Faces SVN: r8659 - trunk/test-applications/jsp/src/main/java/util/event.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-05-20 10:30:03 -0400 (Tue, 20 May 2008)
New Revision: 8659
Modified:
trunk/test-applications/jsp/src/main/java/util/event/Event.java
Log:
onbeforehide, onbeforeshow
Modified: trunk/test-applications/jsp/src/main/java/util/event/Event.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/event/Event.java 2008-05-20 14:29:36 UTC (rev 8658)
+++ trunk/test-applications/jsp/src/main/java/util/event/Event.java 2008-05-20 14:30:03 UTC (rev 8659)
@@ -109,6 +109,8 @@
private String onuploadcomplete;
private String onviewactivated;
private String onviewactivation;
+ private String onbeforehide;
+ private String onbeforeshow;
// showEvent('onkeypressInputID', 'onkeypress work!')
public Event() {
@@ -214,6 +216,8 @@
onuploadcomplete = "showEvent('onuploadcompleteInputID', 'onuploadcomplete work!')";
onviewactivated = "showEvent('onviewactivatedInputID', 'onviewactivated work!')";
onviewactivation = "showEvent('onviewactivationInputID', 'onviewactivation work!')";
+ onbeforehide = "showEvent('onbeforehideInputID', 'onbeforehide work!')";
+ onbeforeshow = "showEvent('onbeforeshowInputID', 'onbeforeshow work!')";
}
public String getOncontextmenu() {
@@ -1232,4 +1236,20 @@
this.onuploadcomplete = onuploadcomplete;
}
+ public String getOnbeforehide() {
+ return onbeforehide;
+ }
+
+ public void setOnbeforehide(String onbeforehide) {
+ this.onbeforehide = onbeforehide;
+ }
+
+ public String getOnbeforeshow() {
+ return onbeforeshow;
+ }
+
+ public void setOnbeforeshow(String onbeforeshow) {
+ this.onbeforeshow = onbeforeshow;
+ }
+
}
\ No newline at end of file
16 years, 7 months