JBoss Rich Faces SVN: r2567 - in trunk/test-applications/jsp/src/main: webapp/DropDownMenu and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-08-29 09:21:13 -0400 (Wed, 29 Aug 2007)
New Revision: 2567
Modified:
trunk/test-applications/jsp/src/main/java/ddMenu/DDMenu.java
trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DDMenu.jsp
Log:
http://jira.jboss.com/jira/browse/RF-756
Modified: trunk/test-applications/jsp/src/main/java/ddMenu/DDMenu.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/ddMenu/DDMenu.java 2007-08-29 13:17:01 UTC (rev 2566)
+++ trunk/test-applications/jsp/src/main/java/ddMenu/DDMenu.java 2007-08-29 13:21:13 UTC (rev 2567)
@@ -16,6 +16,7 @@
private String icon = null;
private String iconFolder = null;
private String selectMenu;
+ private String mode;
private boolean rendered;
private boolean disabled;
private boolean check;
@@ -30,6 +31,7 @@
groupDirection = "auto";
jointPoint = "";
popupWidth = "";
+ mode = "none";
icon = null;
iconFolder = null;
rendered = true;
@@ -167,4 +169,12 @@
public void setSelectMenu(String selectMenu) {
this.selectMenu = selectMenu;
}
+
+ public String getMode() {
+ return mode;
+ }
+
+ public void setMode(String mode) {
+ this.mode = mode;
+ }
}
Modified: trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DDMenu.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DDMenu.jsp 2007-08-29 13:17:01 UTC (rev 2566)
+++ trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DDMenu.jsp 2007-08-29 13:21:13 UTC (rev 2567)
@@ -36,8 +36,13 @@
<a4j:support event="onchange" reRender="ddmId" />
</h:inputText>
- <h:outputText value="width" />
-
+ <h:outputText value="Mode:" />
+ <h:selectOneRadio value="#{dDMenu.mode}">
+ <f:selectItem itemLabel="none" itemValue="none"/>
+ <f:selectItem itemLabel="ajax" itemValue="ajax"/>
+ <f:selectItem itemLabel="server" itemValue="server"/>
+ <a4j:support event="onclick" reRender="ddmId" />
+ </h:selectOneRadio>
<h:outputText value="Direction:" />
<h:selectOneRadio value="#{dDMenu.direction}">
@@ -134,7 +139,8 @@
</rich:menuItem>
<rich:menuSeparator />
<rich:menuItem icon="#{dDMenu.icon}">
- <h:outputText value="CheckBox" />
+ <h:outputText value="Checkbox " />
+ <h:selectBooleanCheckbox value="#{dDMenu.check}" onclick="submit()" />
</rich:menuItem>
</rich:menuGroup>
</rich:dropDownMenu>
17 years, 4 months
JBoss Rich Faces SVN: r2566 - trunk/docs/userguide/en/src/main/docbook/modules.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2007-08-29 09:17:01 -0400 (Wed, 29 Aug 2007)
New Revision: 2566
Modified:
trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
Log:
http://jira.jboss.com/jira/browse/RF-745
uppercase letters for programlisting role are written
some minor syntax and format mistakes are corect in programlisting patterns
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2007-08-29 12:55:27 UTC (rev 2565)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2007-08-29 13:17:01 UTC (rev 2566)
@@ -305,7 +305,8 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="Java"><![CDATA[A4J.AJAX.onExpired = function(loc,expiredMsg){
+
+ <programlisting role="JAVA"><![CDATA[A4J.AJAX.onExpired = function(loc,expiredMsg){
// Custom Developer Code
};
]]></programlisting>
17 years, 4 months
JBoss Rich Faces SVN: r2565 - trunk/ui/modal-panel/src/main/templates/org/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-08-29 08:55:27 -0400 (Wed, 29 Aug 2007)
New Revision: 2565
Modified:
trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
Log:
replace absolute position with float from template
Modified: trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
===================================================================
--- trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2007-08-29 12:54:34 UTC (rev 2564)
+++ trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2007-08-29 12:55:27 UTC (rev 2565)
@@ -83,19 +83,20 @@
</jsp:scriptlet>
<tr style="height: 1%;">
<td class="dr-mpnl-header rich-mpnl-header-cell" style="position: relative; vertical-align: middle; z-index: 5;" width="100%">
- <div id="#{clientId}Header" style="position: relative; white-space: nowrap;" class="dr-mpnl-pnl-text dr-mpnl-pnl-h rich-mpnl-text rich-mpnl-header #{component.attributes['headerClass']}">
- <u:insertFacet name="header" />
- </div>
-
<jsp:scriptlet>
<![CDATA[if(component.getFacet("controls")!=null && component.getFacet("controls").isRendered()) {]]>
</jsp:scriptlet>
- <div style="position: absolute; top: 3px; right: 3px;" class="dr-mpnl-pnl-text rich-mpnl-text rich-mpnl-controls #{component.attributes['controlsClass']}">
+ <div style="float:right; padding-top: 3px; padding-right: 3px" class="dr-mpnl-pnl-text rich-mpnl-text rich-mpnl-controls #{component.attributes['controlsClass']}">
<u:insertFacet name="controls" />
</div>
<jsp:scriptlet>
<![CDATA[}]]>
</jsp:scriptlet>
+
+ <div id="#{clientId}Header" style="white-space: nowrap;" class="dr-mpnl-pnl-text dr-mpnl-pnl-h rich-mpnl-text rich-mpnl-header #{component.attributes['headerClass']}">
+ <u:insertFacet name="header" />
+ </div>
+
</td>
</tr>
<jsp:scriptlet>
17 years, 4 months
JBoss Rich Faces SVN: r2564 - in trunk/docs/userguide/en/src/main/docbook: modules and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2007-08-29 08:54:34 -0400 (Wed, 29 Aug 2007)
New Revision: 2564
Modified:
trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml
trunk/docs/userguide/en/src/main/docbook/included/dndParam.xml
trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
trunk/docs/userguide/en/src/main/docbook/included/form.xml
trunk/docs/userguide/en/src/main/docbook/included/insert.xml
trunk/docs/userguide/en/src/main/docbook/included/keepAlive.xml
trunk/docs/userguide/en/src/main/docbook/included/loadBundle.xml
trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml
trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml
trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
trunk/docs/userguide/en/src/main/docbook/included/repeat.xml
trunk/docs/userguide/en/src/main/docbook/included/tree.xml
trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml
trunk/docs/userguide/en/src/main/docbook/modules/RFCGettingStarted.xml
trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml
Log:
http://jira.jboss.com/jira/browse/RF-745
uppercase letters for programlisting role are written
some minor syntax and format mistakes are corect in programlisting patterns
Modified: trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -46,13 +46,13 @@
<section>
<title>Dynamical creation of a component from Java code</title>
<para>
- <emphasis role="bold">Example:</emphasis>
+ <emphasis role="bold">Example:</emphasis></para>
<programlisting role="JAVA"><![CDATA[import org.ajax4jsf.component.html.AjaxListener;
...
AjaxListener myListener = new AjaxListener();
...
]]></programlisting>
- </para>
+
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -72,7 +72,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="java"><![CDATA[import org.richfaces.component.html.HtmlCalendar;
+ <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlCalendar;
...
HtmlCalendar myCalendar = new HtmlCalendar();
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -54,7 +54,7 @@
<section>
<title>Key attributes and ways of usage</title>
<para>The component <emphasis role="bold"><property><a4j:commandLink></property></emphasis> placed on a page generates the following HTML code:</para>
- <programlisting role="JSP"><![CDATA[<a href="#" onclick="A4J.AJAX.Submit(?"request parameters");
+ <programlisting role="XML"><![CDATA[<a href="#" onclick="A4J.AJAX.Submit(?"request parameters");
return
<a href="#" onclick="A4J.AJAX.Submit(?"request parameters");
return false;">
Modified: trunk/docs/userguide/en/src/main/docbook/included/dndParam.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dndParam.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/dndParam.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -105,7 +105,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="JSP"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:dragSupport ...>
<rich:dndParam type="drag" name="dragging">
<h:graphicImage value="/img/product1_small.png"/>
@@ -131,7 +131,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="JSP"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:dragSupport ...>
<rich:dndParam type="drag" name="label" value="#{msg.subj}"/>
...
@@ -155,7 +155,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="JSP"><![CDATA[...
+ <programlisting role="XML"><![CDATA[...
<rich:dropSupport ...>
<rich:dndParam type="drop" name="comp" >
<h:graphicImage height="16" width="16" value="/images/comp.png"/>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -76,7 +76,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="java"><![CDATA[import org.richfaces.component.html.HtmlDropDownMenu;
+ <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlDropDownMenu;
...
HtmlDropDownMenu myDropDownMenu = new HtmlDropDownMenu();
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/form.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/form.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/form.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -48,8 +48,7 @@
<programlisting role="JAVA"><![CDATA[import org.ajax4jsf.component.html.AjaxForm;
...
AjaxForm myForm = new AjaxForm();
-...
-]]></programlisting>
+...]]></programlisting>
</section>
<section>
<title>Key attributes and ways of usage</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/insert.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/insert.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/insert.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -72,7 +72,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="java"><![CDATA[import org.richfaces.ui.component.html.HtmlInsert;
+ <programlisting role="JAVA"><![CDATA[import org.richfaces.ui.component.html.HtmlInsert;
...
HtmlInsert myInsert = new HtmlInsert();
...
@@ -97,7 +97,7 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:insert src="/pages/sourcePage.xhtml" highlight="xhtml"/>
- ...]]></programlisting>
+...]]></programlisting>
<figure>
<para>The result of using <emphasis role="bold">
<property><rich:insert></property>
Modified: trunk/docs/userguide/en/src/main/docbook/included/keepAlive.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/keepAlive.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/keepAlive.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -32,22 +32,23 @@
<para>Simple Component definition on a page:</para>
<para>
- <emphasis role="bold">Example:</emphasis>
+ <emphasis role="bold">Example:</emphasis> </para>
<programlisting role="XML"><![CDATA[<a4j:keepAlive beanName = "#{myClass.testBean}"/>]]></programlisting>
- </para>
+
</section>
<section>
<title>Dynamical creation of a component from Java code</title>
<para>
- <emphasis role="bold">Example:</emphasis>
+ <emphasis role="bold">Example:</emphasis> </para>
+
<programlisting role="JAVA"><![CDATA[import org.ajax4jsf.ajax.AjaxKeepAlive;
...
AjaxKeepAlive myKeepAlive = new AjaxKeepAlive();
...
]]></programlisting>
- </para>
+
</section>
<section>
@@ -61,14 +62,13 @@
</emphasis> is used to maintain the state of the whole bean object among subsequent request.
</para>
- <para>
- <emphasis role="bold">Example:</emphasis>
+ <para><emphasis role="bold">Example:</emphasis></para>
+
<programlisting role="XML"><![CDATA[<a4j:keepAlive beanName = "#{myClass.testBean}"/>]]></programlisting>
-</para>
<para>
Note that the attribute 'beanName' must point to a legal jsf EL expression which resolves to a managed mean instance. For example for
- the above code the class definition may look like this:
+ the above code the class definition may look like this:</para>
<programlisting role="XML"><![CDATA[
class MyClass{
@@ -78,8 +78,8 @@
...
}
]]></programlisting>
-</para>
+
</section>
<section>
<title>Relevant resources links</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/loadBundle.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/loadBundle.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/loadBundle.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -32,22 +32,22 @@
<para>Simple component definition on a page:</para>
<para>
- <emphasis role="bold">Example:</emphasis>
+ <emphasis role="bold">Example:</emphasis></para>
<programlisting role="XML"><![CDATA[<a4j:loadBundle baseName="demo.bundle.Messages" var="Message"/>]]></programlisting>
- </para>
+
</section>
<section>
<title>Dynamical creation of a component from Java code</title>
<para>
- <emphasis role="bold">Example:</emphasis>
+ <emphasis role="bold">Example:</emphasis></para>
<programlisting role="JAVA"><![CDATA[import org.ajax4jsf.component.html.AjaxLoadBundle;
...
AjaxLoadBundle myBundle = new AjaxLoadBundle();
...
]]></programlisting>
- </para>
+
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -65,7 +65,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="java"><![CDATA[import org.richfaces.component.html.HtmlMenuGroup;
+ <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlMenuGroup;
...
HtmlMenuGroup myMenuGroup = new HtmlMenuGroup();
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -63,7 +63,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="java"><![CDATA[import org.richfaces.component.html.HtmlMenuItem;
+ <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlMenuItem;
...
HtmlMenuItem myMenuItem = new HtmlMenuItem();
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -63,7 +63,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="java"><![CDATA[import org.richfaces.component.html.HtmlMenuSeparator;
+ <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlMenuSeparator;
...
HtmlMenuSeparator myMenuSeparator = new HtmlMenuSeparator();
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -239,7 +239,9 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="JAVA"><![CDATA[onshow="alert(event.parameters.param1)"</programlisting>
+
+ <programlisting role="JAVA"><![CDATA[onshow="alert(event.parameters.param1)"]]></programlisting>
+
<para> Here, during modalPanel opening the value of a passing parameter is output. </para>
<para> More information about this problem could be found on the <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=111804"
@@ -261,6 +263,7 @@
<a href="javascript:Richfaces.showModalPanel('_panel', {top:'10px', left:'10px', height:'400'});">Show</a>
...
]]></programlisting>
+
<para> Here, if user opens modal dialog window using current link and after submits data then
modalPanel destination and height on new loaded page will be restored. </para>
<para>if you need the content of the modalPanel to be submitted - you need to remember two important rules: </para>
@@ -270,9 +273,9 @@
<listitem>modalPanel must not be included into the form (on any level up) if it has the
form inside.</listitem>
</itemizedlist>
- <para>Simple example of using
- commandButton within modalPanel is placed below.</para>
- <emphasis role="bold">Example:</emphasis>
+ <para>Simple example of using commandButton within modalPanel is placed below.</para>
+ <emphasis role="bold">Example:</emphasis></para>
+
<programlisting role="XML"><![CDATA[...
<rich:modalPanel>
<f:facet name="header">
@@ -291,6 +294,7 @@
</h:form>
...
]]></programlisting>
+
<para>See also discussion about this problem on the <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064191"
>RichFaces Users Forum</ulink>.</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -76,7 +76,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="java"><![CDATA[import org.richfaces.component.html.HtmlPanelMenuGroup;
+ <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlPanelMenuGroup;
...
HtmlPanelMenuGroup myPanelMenuGroup = new HtmlPanelMenuGroup();
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -76,7 +76,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="java"><![CDATA[import org.richfaces.component.html.HtmlPanelMenuItem;
+ <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlPanelMenuItem;
...
HtmlPanelMenuItem myPanelMenuItem = new HtmlPanelMenuItem();
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/repeat.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/repeat.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/repeat.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -60,7 +60,8 @@
<para>The main difference of this component from iterative components of other libraries is a special <emphasis >
<property>"ajaxKeys"</property>
</emphasis> attribute. This attribute defines strings that are updated after an Ajax request. As a result it becomes easier to update several child components separately without updating the whole page.</para>
- <programlisting role="JSP"><![CDATA[<a4j:poll intervall="1000" action="#{repeater.action}" reRender="list">
+
+<programlisting role="XML"><![CDATA[<a4j:poll intervall="1000" action="#{repeater.action}" reRender="list">
...
<table>
<tbody>
@@ -75,6 +76,7 @@
<tbody>
<table>
]]></programlisting>
+
<para>Thus, a list with a table structure from <emphasis >
<property>"bean.props"</property>
</emphasis> is output.</para>
@@ -101,7 +103,7 @@
</note>
<para>One more benefit of this component is absence of strictly defined markup as JSF HTML DataTable and Tomahawk DataTable has, hence the components could be used more flexibly anywhere where it's necessary to output the results of selection from some collection.</para>
<para>The next example shows collection output as a plain HTML list</para>
- <programlisting role="JSP"><![CDATA[<ul>
+ <programlisting role="XML"><![CDATA[<ul>
<a4j:repeat ...>
<li>...<li/>
...
Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -139,7 +139,10 @@
<property>"iconLeaf"</property>
</emphasis> attributes define icons for the component. Also you can define icons using facets
with the same names. If the facets are defined, the corresponding attributes are ignored and
- facets contents are used as icons. The width of a rendered facet area is 16px. <programlisting role="JAVA"><![CDATA[...
+ facets contents are used as icons. The width of a rendered facet area is 16px.
+ </para>
+
+ <programlisting role="JAVA"><![CDATA[...
<rich:tree ....>
...
<f:facet name="icon">
@@ -157,7 +160,7 @@
...
</rich:tree>
...
-]]></programlisting></para>
+]]></programlisting>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -82,8 +82,10 @@
<property>"iconLeaf"</property>
</emphasis> attributes define icons for the component. Also you can define icons using facets
with the same names. If the facets are defined, the corresponding attributes are ignored and
- facets contents are used as icons. The width of a rendered facet area is 16px. <programlisting role="JAVA"><![CDATA[...
- <rich:tree ....>
+ facets contents are used as icons. The width of a rendered facet area is 16px. </para>
+
+ <programlisting role="JAVA"><![CDATA[...
+ <rich:tree ...>
...
<rich:treeNode ...>
<f:facet name="icon">
@@ -102,7 +104,7 @@
...
</rich:tree>
...
-]]></programlisting></para>
+]]></programlisting>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCGettingStarted.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCGettingStarted.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCGettingStarted.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -105,7 +105,9 @@
<?dbhtml filename="JSPPage.html"?>
<title>JSP Page</title>
<para>Here is the necessary page (echo.jsp):</para>
- <programlisting role="JSP"> <![CDATA[<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
+
+ <programlisting role="XML"><![CDATA[
+ <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<html>
@@ -125,6 +127,7 @@
</f:view>
</body>
</html>]]></programlisting>
+
<para>Only two tags distinguish this page from a "regular" JSF
one. There are <emphasis role="bold">
<property><rich:panel></property>
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml 2007-08-29 11:55:34 UTC (rev 2563)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml 2007-08-29 12:54:34 UTC (rev 2564)
@@ -292,7 +292,7 @@
<h:outputLink value="http://labs.jboss.com/jbossrichfaces/">
<h:outputText value="RichFaces Home Page"></h:outputText>
</h:outputLink>
- </rich: treeNode>
+ </rich:treeNode>
...
</rich:tree ...>
...
17 years, 4 months
JBoss Rich Faces SVN: r2563 - in trunk/test-applications/facelets/src/main: webapp/Paint2D and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-08-29 07:55:34 -0400 (Wed, 29 Aug 2007)
New Revision: 2563
Modified:
trunk/test-applications/facelets/src/main/java/paint2D/Paint2D.java
trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-753
Modified: trunk/test-applications/facelets/src/main/java/paint2D/Paint2D.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/paint2D/Paint2D.java 2007-08-29 11:55:22 UTC (rev 2562)
+++ trunk/test-applications/facelets/src/main/java/paint2D/Paint2D.java 2007-08-29 11:55:34 UTC (rev 2563)
@@ -28,7 +28,8 @@
private String bgcolor;
private String border;
private boolean rendered;
-
+ private boolean style;
+
public boolean isRerender() {
return rendered;
}
@@ -54,8 +55,16 @@
bgcolor = "white";
rendered = true;
border = "2px";
+ style = false;
}
+ public String getStyleString() {
+ if(style)
+ return "style";
+ else
+ return "";
+ }
+
public void paint(Graphics2D g2, Object obj) {
PaintData data = (PaintData) obj;
int testLenght = data.text.length();
@@ -159,4 +168,12 @@
public void setRendered(boolean rendered) {
this.rendered = rendered;
}
+
+ public boolean isStyle() {
+ return style;
+ }
+
+ public void setStyle(boolean style) {
+ this.style = style;
+ }
}
Modified: trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml 2007-08-29 11:55:22 UTC (rev 2562)
+++ trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml 2007-08-29 11:55:34 UTC (rev 2563)
@@ -17,20 +17,15 @@
height="#{paint2D.height}" align="#{paint2D.align}"
hspace="#{paint2D.hspace}" vspace="#{paint2D.vspace}"
bgcolor="#{paint2D.bgcolor}" format="#{paint2D.format}"
- title="#{paint2D.title}" styleClass="style"
+ title="#{paint2D.title}" styleClass="#{paint2D.styleString}"
border="#{paint2D.border}" rendered="#{paint2D.rendered}" />
<h:panelGrid columns="2" cellpadding="5px" border="2">
<h:outputText value="Text"></h:outputText>
<h:inputText value="#{paintData.text}">
- <a4j:support event="onkeyup" reRender="paint2d" />
+ <a4j:support event="onchange" reRender="paint2d" />
</h:inputText>
- <h:outputText value="Border: "></h:outputText>
- <h:inputText value="#{paint2D.border}">
- <a4j:support event="onclick" reRender="paint2d"></a4j:support>
- </h:inputText>
-
<h:outputText value="Width: "></h:outputText>
<h:inputText value="#{paint2D.width}">
<a4j:support event="onchange" reRender="paint2d"></a4j:support>
@@ -85,7 +80,17 @@
<f:selectItem itemLabel="white" itemValue="white" />
<a4j:support event="onclick" reRender="paint2d"></a4j:support>
</h:selectOneMenu>
+
+ <h:outputText value="Style" />
+ <h:selectBooleanCheckbox value="#{paint2D.style}" >
+ <a4j:support event="onclick" reRender="paint2d,borderID" />
+ </h:selectBooleanCheckbox>
+ <h:outputText value="Border: "></h:outputText>
+ <h:inputText id="borderID" disabled="#{paint2D.style}" value="#{paint2D.border}">
+ <a4j:support event="onchange" reRender="paint2d"></a4j:support>
+ </h:inputText>
+
<h:outputText value="Rendered"></h:outputText>
<h:selectBooleanCheckbox value="#{paint2D.rendered}">
<a4j:support event="onclick" reRender="paint2d"></a4j:support>
17 years, 4 months
JBoss Rich Faces SVN: r2562 - in trunk/test-applications/jsp/src/main: webapp/Paint2D and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-08-29 07:55:22 -0400 (Wed, 29 Aug 2007)
New Revision: 2562
Modified:
trunk/test-applications/jsp/src/main/java/paint2D/Paint2D.java
trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp
Log:
http://jira.jboss.com/jira/browse/RF-753
Modified: trunk/test-applications/jsp/src/main/java/paint2D/Paint2D.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/paint2D/Paint2D.java 2007-08-29 11:41:29 UTC (rev 2561)
+++ trunk/test-applications/jsp/src/main/java/paint2D/Paint2D.java 2007-08-29 11:55:22 UTC (rev 2562)
@@ -21,7 +21,16 @@
private String bgcolor;
private String border;
private boolean rendered;
+ private boolean style;
+ public boolean isStyle() {
+ return style;
+ }
+
+ public void setStyle(boolean style) {
+ this.style = style;
+ }
+
public boolean isRerender() {
return rendered;
}
@@ -46,7 +55,16 @@
title = "Pain2D title";
bgcolor = "white";
rendered = true;
+ border = "4px";
+ style = false;
}
+
+ public String getStyleString() {
+ if(style)
+ return "style";
+ else
+ return "";
+ }
public void paint(Graphics2D g2, Object obj) {
PaintData data = (PaintData) obj;
Modified: trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp 2007-08-29 11:41:29 UTC (rev 2561)
+++ trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp 2007-08-29 11:55:22 UTC (rev 2562)
@@ -13,7 +13,7 @@
<h:form>
<rich:paint2D id="paint2d" paint="#{paint2D.paint}" data="#{paintData}" width="#{paint2D.width}" height="#{paint2D.height}" align="#{paint2D.align}"
hspace="#{paint2D.hspace}" vspace="#{paint2D.vspace}" bgcolor="#{paint2D.bgcolor}" format="#{paint2D.format}" title="#{paint2D.title}"
- styleClass="style" border="#{paint2D.border}" rendered="#{paint2D.rendered}" />
+ styleClass="#{paint2D.styleString}" border="#{paint2D.border}" rendered="#{paint2D.rendered}" />
<h:panelGrid columns="2" cellpadding="5px" border="2">
<h:outputText value="Text"></h:outputText>
@@ -21,11 +21,6 @@
<a4j:support event="onkeyup" reRender="paint2d" />
</h:inputText>
- <h:outputText value="Border: "></h:outputText>
- <h:inputText value="#{paint2D.border}">
- <a4j:support event="onclick" reRender="paint2d"></a4j:support>
- </h:inputText>
-
<h:outputText value="Width: "></h:outputText>
<h:inputText value="#{paint2D.width}">
<a4j:support event="onchange" reRender="paint2d"></a4j:support>
@@ -81,6 +76,16 @@
<a4j:support event="onclick" reRender="paint2d"></a4j:support>
</h:selectOneMenu>
+ <h:outputText value="Style" />
+ <h:selectBooleanCheckbox value="#{paint2D.style}" >
+ <a4j:support event="onclick" reRender="paint2d,borderID" />
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="Border: "></h:outputText>
+ <h:inputText id="borderID" disabled="#{paint2D.style}" value="#{paint2D.border}">
+ <a4j:support event="onchange" reRender="paint2d"></a4j:support>
+ </h:inputText>
+
<h:outputText value="Rendered"></h:outputText>
<h:selectBooleanCheckbox value="#{paint2D.rendered}">
<a4j:support event="onclick" reRender="paint2d"></a4j:support>
17 years, 4 months
JBoss Rich Faces SVN: r2561 - in trunk/ui/calendar/src: main/java/org/richfaces/component and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: akushunin
Date: 2007-08-29 07:41:29 -0400 (Wed, 29 Aug 2007)
New Revision: 2561
Added:
trunk/ui/calendar/src/main/config/component/listener.ent
Removed:
trunk/ui/calendar/src/main/java/org/richfaces/component/CurrentDateChangeEvent.java
Modified:
trunk/ui/calendar/src/main/config/component/calendar.xml
trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java
trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
trunk/ui/calendar/src/test/java/org/richfaces/component/CurrentDateEventTest.java
Log:
added CurrentDateChangeEvent
Modified: trunk/ui/calendar/src/main/config/component/calendar.xml
===================================================================
--- trunk/ui/calendar/src/main/config/component/calendar.xml 2007-08-29 11:37:16 UTC (rev 2560)
+++ trunk/ui/calendar/src/main/config/component/calendar.xml 2007-08-29 11:41:29 UTC (rev 2561)
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN" "https://ajax4jsf.dev.java.net/nonav/dtds/component-config.dtd" >
+<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN" "https://ajax4jsf.dev.java.net/nonav/dtds/component-config.dtd"
+[
+<!ENTITY listeners SYSTEM "listener.ent">
+]
+>
<components>
<component>
<name>org.richfaces.Calendar</name>
@@ -37,7 +41,7 @@
org.ajax4jsf.tests.AbstractAjax4JsfTestCase
</superclassname>
</test>
- </tag>
+ </tag>
<!--
<taghandler>
<classname>org.ajax4jsf.tag.TestHandler</classname>
@@ -111,6 +115,11 @@
java.util.Calendar.getInstance(getTimeZone()).getTime()
</defaultvalue>
</property>
+ <!--property>
+ <name>currentDateChangeListener</name>
+ <classname>javax.faces.el.MethodBinding</classname>
+ <description>MethodBinding representing an action listener method that will be notified after date selection</description>
+ </property -->
<property>
<name>datePattern</name>
<classname>java.lang.String</classname>
@@ -413,4 +422,6 @@
</property>
</component>
+ &listeners;
</components>
+
Added: trunk/ui/calendar/src/main/config/component/listener.ent
===================================================================
--- trunk/ui/calendar/src/main/config/component/listener.ent (rev 0)
+++ trunk/ui/calendar/src/main/config/component/listener.ent 2007-08-29 11:41:29 UTC (rev 2561)
@@ -0,0 +1,17 @@
+<listener>
+ <name>currentDateChangeListener</name>
+ <listenerclass>
+ org.richfaces.event.CurrentDateChangeListener
+ </listenerclass>
+ <componentclass>
+ javax.faces.component.UIInput
+ </componentclass>
+ <eventclass>
+ org.richfaces.event.CurrentDateChangeEvent
+ </eventclass>
+ <taghandler generate="false">
+ <classname>
+ org.richfaces.taglib.CurrentDateChangeListenerTagHandler
+ </classname>
+ </taghandler>
+</listener>
\ No newline at end of file
Deleted: trunk/ui/calendar/src/main/java/org/richfaces/component/CurrentDateChangeEvent.java
===================================================================
--- trunk/ui/calendar/src/main/java/org/richfaces/component/CurrentDateChangeEvent.java 2007-08-29 11:37:16 UTC (rev 2560)
+++ trunk/ui/calendar/src/main/java/org/richfaces/component/CurrentDateChangeEvent.java 2007-08-29 11:41:29 UTC (rev 2561)
@@ -1,45 +0,0 @@
-package org.richfaces.component;
-
-import java.util.Date;
-
-import javax.faces.component.UIComponent;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-
-public class CurrentDateChangeEvent extends FacesEvent {
-
- /**
- *
- */
- private static final long serialVersionUID = -8169207286087810907L;
- private Date currentDate = null;
- private String currentDateString = null;
-
- public CurrentDateChangeEvent(UIComponent component, Date curentDate) {
- super(component);
- this.currentDate = curentDate;
-
- }
- public CurrentDateChangeEvent(UIComponent component, String curentDateString) {
- super(component);
- this.currentDateString = curentDateString;
- }
-
- public boolean isAppropriateListener(FacesListener listener) {
- return false;
- }
-
- public void processListener(FacesListener listener) {
- // TODO Auto-generated method stub
- throw new UnsupportedOperationException();
- }
-
- public Date getCurrentDate() {
- return currentDate;
- }
-
- public String getCurrentDateString() {
- return currentDateString;
- }
-
-}
Modified: trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java
===================================================================
--- trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java 2007-08-29 11:37:16 UTC (rev 2560)
+++ trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java 2007-08-29 11:41:29 UTC (rev 2561)
@@ -46,10 +46,13 @@
import org.ajax4jsf.event.AjaxEvent;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.richfaces.event.CurrentDateChangeEvent;
+import org.richfaces.event.CurrentDateChangeListener;
import org.richfaces.model.CalendarDataModel;
import org.richfaces.model.CalendarDataModelItem;
import org.richfaces.renderkit.CalendarDataModelItemAdaptor;
import org.richfaces.renderkit.CalendarRendererBase;
+//import org.richfaces.component.CurrentDateChangeListener;
// import org.richfaces.renderkit.html.BaseGradient.Data;
@@ -391,8 +394,19 @@
return (Date[]) dates.toArray(new Date[dates.size()]);
}
+
+ public void addCurrentDateChangeListener(CurrentDateChangeListener listener) {
+ addFacesListener(listener);
+ }
+ public CurrentDateChangeListener[] getCurrentDateChangeListener() {
+ return (CurrentDateChangeListener[]) getFacesListeners(CurrentDateChangeListener.class);
+ }
+ public void removeCurrentDateChangeListener(CurrentDateChangeListener listener) {
+ removeFacesListener(listener);
+ }
+
}
class AdaptingCollection extends AbstractCollection {
@@ -427,5 +441,7 @@
public int size() {
return this.items.length;
- }
+ }
+
+
}
Modified: trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
===================================================================
--- trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2007-08-29 11:37:16 UTC (rev 2560)
+++ trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2007-08-29 11:41:29 UTC (rev 2561)
@@ -46,7 +46,7 @@
import org.ajax4jsf.javascript.ScriptUtils;
import org.ajax4jsf.renderkit.AjaxRendererUtils;
import org.ajax4jsf.util.SelectUtils;
-import org.richfaces.component.CurrentDateChangeEvent;
+import org.richfaces.event.CurrentDateChangeEvent;
import org.richfaces.component.UICalendar;
import org.richfaces.component.util.ComponentUtil;
Modified: trunk/ui/calendar/src/test/java/org/richfaces/component/CurrentDateEventTest.java
===================================================================
--- trunk/ui/calendar/src/test/java/org/richfaces/component/CurrentDateEventTest.java 2007-08-29 11:37:16 UTC (rev 2560)
+++ trunk/ui/calendar/src/test/java/org/richfaces/component/CurrentDateEventTest.java 2007-08-29 11:41:29 UTC (rev 2561)
@@ -25,6 +25,7 @@
import org.ajax4jsf.event.AjaxEvent;
import org.ajax4jsf.tests.AbstractAjax4JsfTestCase;
+import org.richfaces.event.CurrentDateChangeEvent;
/**
* Unit test for CurrentDateChangeEvent.
17 years, 4 months
JBoss Rich Faces SVN: r2560 - trunk/framework/api/src/main/java/org/richfaces/event.
by richfaces-svn-commits@lists.jboss.org
Author: akushunin
Date: 2007-08-29 07:37:16 -0400 (Wed, 29 Aug 2007)
New Revision: 2560
Added:
trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeEvent.java
trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeListener.java
Log:
added CurrentDateChangeEvent
Added: trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeEvent.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeEvent.java (rev 0)
+++ trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeEvent.java 2007-08-29 11:37:16 UTC (rev 2560)
@@ -0,0 +1,45 @@
+package org.richfaces.event;
+
+import java.util.Date;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+
+public class CurrentDateChangeEvent extends FacesEvent {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -8169207286087810907L;
+ private Date currentDate = null;
+ private String currentDateString = null;
+
+ public CurrentDateChangeEvent(UIComponent component, Date curentDate) {
+ super(component);
+ this.currentDate = curentDate;
+
+ }
+ public CurrentDateChangeEvent(UIComponent component, String curentDateString) {
+ super(component);
+ this.currentDateString = curentDateString;
+ }
+
+ public boolean isAppropriateListener(FacesListener listener) {
+ return false;
+ }
+
+ public void processListener(FacesListener listener) {
+ // TODO Auto-generated method stub
+ throw new UnsupportedOperationException();
+ }
+
+ public Date getCurrentDate() {
+ return currentDate;
+ }
+
+ public String getCurrentDateString() {
+ return currentDateString;
+ }
+
+}
Property changes on: trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeEvent.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeListener.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeListener.java (rev 0)
+++ trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeListener.java 2007-08-29 11:37:16 UTC (rev 2560)
@@ -0,0 +1,36 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.event;
+
+import javax.faces.event.FacesListener;
+
+/**
+ * @author Alexej Kushunin - akushunin(a)exadel.com
+ * created 28.08.2007
+ *
+ * Base calendar events interface
+ */
+public interface CurrentDateChangeListener extends FacesListener {
+
+ public void processCurrentDateChange(CurrentDateChangeEvent event);
+
+}
\ No newline at end of file
Property changes on: trunk/framework/api/src/main/java/org/richfaces/event/CurrentDateChangeListener.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
17 years, 4 months
JBoss Rich Faces SVN: r2559 - in trunk/ui: dropdown-menu/design/funcspec and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2007-08-29 07:26:42 -0400 (Wed, 29 Aug 2007)
New Revision: 2559
Modified:
trunk/ui/calendar/design/funcspec/FuncSpec - RF Calendar Component.doc
trunk/ui/dropdown-menu/design/funcspec/FuncSpec - RF Menu Component.doc
trunk/ui/message/design/funcspec/FuncSpec - RF Message Component.doc
trunk/ui/panelmenu/design/funcspec/FuncSpec - RF Panel Menu Component.doc
trunk/ui/tooltip/design/funcspec/FuncSpec - RF Tool Tip Component.doc
Log:
Modified: trunk/ui/calendar/design/funcspec/FuncSpec - RF Calendar Component.doc
===================================================================
(Binary files differ)
Modified: trunk/ui/dropdown-menu/design/funcspec/FuncSpec - RF Menu Component.doc
===================================================================
(Binary files differ)
Modified: trunk/ui/message/design/funcspec/FuncSpec - RF Message Component.doc
===================================================================
(Binary files differ)
Modified: trunk/ui/panelmenu/design/funcspec/FuncSpec - RF Panel Menu Component.doc
===================================================================
(Binary files differ)
Modified: trunk/ui/tooltip/design/funcspec/FuncSpec - RF Tool Tip Component.doc
===================================================================
(Binary files differ)
17 years, 4 months
JBoss Rich Faces SVN: r2558 - trunk/ui/simpleTogglePanel/src/main/templates.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-08-29 07:15:46 -0400 (Wed, 29 Aug 2007)
New Revision: 2558
Modified:
trunk/ui/simpleTogglePanel/src/main/templates/simpleTogglePanel.jspx
Log:
remive relative styles
Modified: trunk/ui/simpleTogglePanel/src/main/templates/simpleTogglePanel.jspx
===================================================================
--- trunk/ui/simpleTogglePanel/src/main/templates/simpleTogglePanel.jspx 2007-08-29 10:56:26 UTC (rev 2557)
+++ trunk/ui/simpleTogglePanel/src/main/templates/simpleTogglePanel.jspx 2007-08-29 11:15:46 UTC (rev 2558)
@@ -31,7 +31,7 @@
<f:call name="utils.encodeBeginFormIfNessesary"/>
<div id="#{clientId}_header"
class="dr-stglpnl-h rich-stglpanel-header #{component.attributes['headerClass']}"
- style="position : relative;"
+ style="float: right;"
onclick="#{this:getOnClick(context,component)}">
<jsp:scriptlet><![CDATA[
@@ -48,7 +48,7 @@
]]></jsp:scriptlet>
<div id="#{clientId}_switch_on"
- style="position : absolute; top: 0px; right: 15px; display: #{this:getSwitchOnStatus(context, component)};">
+ style="padding-right: 15px; display: #{this:getSwitchOnStatus(context, component)};">
<jsp:scriptlet><![CDATA[
if(component.getFacet("closeMarker")!=null && component.getFacet("closeMarker").isRendered()) {
]]></jsp:scriptlet>
@@ -60,7 +60,7 @@
]]></jsp:scriptlet>
</div>
<div id="#{clientId}_switch_off"
- style="position : absolute; top: 0px; right: 15px; display: #{this:getSwitchOffStatus(context, component)};">
+ style="padding-right: 15px; display: #{this:getSwitchOffStatus(context, component)};">
<jsp:scriptlet><![CDATA[
if(component.getFacet("openMarker")!=null && component.getFacet("openMarker").isRendered()) {
]]></jsp:scriptlet>
17 years, 4 months