JBoss Rich Faces SVN: r2227 - in trunk/ui/calendar/src/main: templates/org/richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: akushunin
Date: 2007-08-13 12:14:23 -0400 (Mon, 13 Aug 2007)
New Revision: 2227
Modified:
trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java
trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
Log:
OptionalHeader and Footer added
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-13 16:12:46 UTC (rev 2226)
+++ trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java 2007-08-13 16:14:23 UTC (rev 2227)
@@ -32,8 +32,6 @@
import java.util.TimeZone;
import javax.faces.application.FacesMessage;
-import javax.faces.component.NamingContainer;
-import javax.faces.component.UIComponent;
import javax.faces.component.UIInput;
import javax.faces.component.UIViewRoot;
import javax.faces.context.FacesContext;
@@ -59,7 +57,7 @@
* JSF component class
*
*/
-public abstract class UICalendar extends UIInput implements TemplateComponent, NamingContainer {
+public abstract class UICalendar extends UIInput {
public static final String COMPONENT_TYPE = "org.richfaces.Calendar";
@@ -143,6 +141,14 @@
public abstract void setBoundaryDatesMode(String boundaryDatesMode);
+ public abstract String getOptionalHeader();
+
+ public abstract void setOptionalHeader(String optionalHeader);
+
+ public abstract String getOptionalFooter();
+
+ public abstract void setOptionalFooter(String optionalFooter);
+
//TODO onclick add users onclick
// currentDate processing -------------------------------------------------
@@ -281,31 +287,6 @@
}
- private transient boolean inTemplateEncode = false;
-
- public void startTemplateEncode() {
- if (getChildCount() > 0) {
- Iterator children = getChildren().iterator();
- while (children.hasNext()) {
- UIComponent child = (UIComponent) children.next();
- child.setId(child.getId());
- }
- }
- inTemplateEncode = true;
- }
-
- public void endTemplateEncode() {
- inTemplateEncode = false;
- }
-
- public String getClientId(FacesContext context) {
- if (inTemplateEncode) {
- return TemplateComponent.TEMPLATE_CLIENT_ID;
- } else {
- return super.getClientId(context);
- }
- }
-
public void broadcast(FacesEvent event) throws AbortProcessingException {
// TODO Auto-generated method stub
if (event instanceof AjaxEvent) {
Modified: trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
===================================================================
--- trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-08-13 16:12:46 UTC (rev 2226)
+++ trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-08-13 16:14:23 UTC (rev 2227)
@@ -37,8 +37,31 @@
<f:call name="writeSymbols" />,
firstWeekDay: #{this:getFirstWeekDay(context, component)},
minDaysInFirstWeek: #{this:getMinDaysInFirstWeek(context, component)},
- headerOptionalMarkup: [new E('b',{},[new T('User defined header')])],
- footerOptionalMarkup: [new E('b',{},[new T('User defined footer')])],
+
+ <jsp:scriptlet> /*<![CDATA[*/
+ if (component.getFacet("optionalHeader")!= null&& component.getFacet("optionalHeader").isRendered()){
+ /*]]>*/ </jsp:scriptlet>
+ headerOptionalMarkup: [new E('b',{},
+ <jsp:scriptlet> /*<![CDATA[*/
+ writeMarkupScriptBody(context, component.getFacet("optionalHeader"), false);
+ /*]]>*/ </jsp:scriptlet>
+ )],
+ <jsp:scriptlet> /*<![CDATA[*/
+ }
+ /*]]>*/ </jsp:scriptlet>
+
+ <jsp:scriptlet> /*<![CDATA[*/
+ if (component.getFacet("optionalFooter")!= null&& component.getFacet("optionalFooter").isRendered()){
+ /*]]>*/ </jsp:scriptlet>
+ footerOptionalMarkup: [new E('b',{},
+ <jsp:scriptlet> /*<![CDATA[*/
+ writeMarkupScriptBody(context, component.getFacet("optionalFooter"), false);
+ /*]]>*/ </jsp:scriptlet>
+ )],
+ <jsp:scriptlet> /*<![CDATA[*/
+ }
+ /*]]>*/ </jsp:scriptlet>
+
<jsp:scriptlet>/*<![CDATA[*/
if (component.getChildCount() != 0) {
/*]]>*/</jsp:scriptlet>
@@ -47,10 +70,12 @@
writeMarkupScriptBody(context, component, true);
}
/*]]>*/</jsp:scriptlet>
+
<f:call name="writeFacetMarkupScriptBody"><f:parameter value="weekDay" /></f:call>
<f:call name="writeFacetMarkupScriptBody"><f:parameter value="weekNumber" /></f:call>
<f:call name="writeFacetMarkupScriptBody"><f:parameter value="header" /></f:call>
<f:call name="writeFacetMarkupScriptBody"><f:parameter value="footer" /></f:call>
+
}).load(
<jsp:scriptlet>/*<![CDATA[*/
writePreloadBody(context, component);
18 years, 8 months
JBoss Rich Faces SVN: r2226 - trunk/samples/calendar-sample/src/main/webapp/pages.
by richfaces-svn-commits@lists.jboss.org
Author: akushunin
Date: 2007-08-13 12:12:46 -0400 (Mon, 13 Aug 2007)
New Revision: 2226
Modified:
trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp
Log:
OptionalHeader and Footer added
Modified: trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp
===================================================================
--- trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp 2007-08-13 16:01:51 UTC (rev 2225)
+++ trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp 2007-08-13 16:12:46 UTC (rev 2226)
@@ -47,10 +47,15 @@
buttonLabel="PopUp"
inputType="#{calendarBean.inputType}"
boundaryDatesMode="#{calendarBean.boundary}">
-
+ <f:facet name="optionalHeader">
+ <h:outputText value="optionalHeader Facet" />
+ </f:facet>
+ <f:facet name="optionalFooter">
+ <h:outputText value="optionalFooter Facet" />
+ </f:facet>
<f:validator validatorId="org.richfaces.CalendarValidator" />
- <h:panelGrid columns="2" id="dayTable">
+ <h:panelGrid columns="2">
<f:verbatim><p style="padding: 2px;" <%-- class="largeText"--%>>{day}</p></f:verbatim>
<%-- h:panelGrid>
<h:outputText styleClass="smallText" value="{data.enLabel}" />
18 years, 8 months
JBoss Rich Faces SVN: r2225 - trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-08-13 12:01:51 -0400 (Mon, 13 Aug 2007)
New Revision: 2225
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
- Help control deleted;
- Reset control redesigned and merged with the selectedDate control.
Modified: trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
--- trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-08-13 14:27:12 UTC (rev 2224)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-08-13 16:01:51 UTC (rev 2225)
@@ -1001,10 +1001,6 @@
if (updateflag) if (noUpdate) this.render; else this.onUpdate();
},
- help: function() {
- alert("Calendar help");
- },
-
selectDate: function(date, noUpdate) {
if (date)
{
@@ -1046,8 +1042,8 @@
{
if (!this.selectedDate) return;
this.selectedDate=null;
+ if (this.params.popup && this.isVisible) this.render();
$(this.INPUT_DATE_ID).value="";
- if (this.params.popup && this.isVisible) this.render();
}
});
@@ -1070,15 +1066,30 @@
return new E('div',attr,[new T(text)]);
};
+CalendarView.getSelectedDateControl = function(text, functionName) {
+ var attr = {
+ onclick: "Richfaces.invokeOnComponent('richfaces:calendar',this,'selectDate'); return false;",
+ className: "calendar_btn"
+ };
+
+ var a = [new T(text)];
+ if (text)
+ {
+ a.push(new T(" "));
+ a.push(new E('a', {href: '#', onclick: "Richfaces.invokeOnComponent('richfaces:calendar',this,'resetSelectedDate');return false;"}, [new T('(x)')]));
+ }
+
+ return new E('div',attr,a);
+};
+
CalendarView.nextYearControl = CalendarView.getControl(">>", "nextYear");
CalendarView.previousYearControl = CalendarView.getControl("<<", "prevYear");
CalendarView.nextMonthControl = CalendarView.getControl(">", "nextMonth");
CalendarView.previousMonthControl = CalendarView.getControl("<", "prevMonth");
CalendarView.currentMonthControl = function (context) { return context.calendar.getCurrentDate().format("MMMM, y", context.monthLabels, context.monthLabelsShort);};
CalendarView.todayControl = CalendarView.getControl("Today", "today");
-CalendarView.selectedDateControl = function (context) { return CalendarView.getControl(context.calendar.getSelectedDateString(context.calendar.params.datePattern), "selectDate");};
-CalendarView.resetSelectedDateControl = function (context) { return (context.calendar.getSelectedDate() ? CalendarView.getControl("x", "resetSelectedDate") : "");};
-CalendarView.helpControl = CalendarView.getControl("Help", "help");
+CalendarView.selectedDateControl = function (context) { return CalendarView.getSelectedDateControl(context.calendar.getSelectedDateString(context.calendar.params.datePattern));};
+//CalendarView.resetSelectedDateControl = function (context) { return (context.calendar.getSelectedDate() ? CalendarView.getControl("x", "resetSelectedDate") : "");};
CalendarView.header = [
new E('table',{'border': '0', 'cellpadding': '0', 'cellspacing': '0', 'width': '100%'},
@@ -1119,18 +1130,14 @@
[
new E('tr',{},
[
- new E('td',{'class': 'calendar_toolfooter'},
+ /*new E('td',{'class': 'calendar_toolfooter'},
[
new ET(function (context) { return Richfaces.evalMacro("resetSelectedDateControl", context)})
- ]),
+ ]),*/
new E('td',{'class': 'calendar_toolfooter', 'style': 'white-space:nowrap'},
[
new ET(function (context) { return Richfaces.evalMacro("selectedDateControl", context)})
]),
- new E('td',{'class': 'calendar_toolfooter', 'width': '100%'},
- [
- new ET(function (context) { return Richfaces.evalMacro("helpControl", context)})
- ]),
new E('td',{'class': 'calendar_toolfooter', 'align': 'right'},
[
new ET(function (context) { return Richfaces.evalMacro("todayControl", context)})
@@ -1159,6 +1166,5 @@
currentMonthControl: CalendarView.currentMonthControl,
todayControl: CalendarView.todayControl,
selectedDateControl: CalendarView.selectedDateControl,
- resetSelectedDateControl: CalendarView.resetSelectedDateControl,
- helpControl: CalendarView.helpControl
+ //resetSelectedDateControl: CalendarView.resetSelectedDateControl,
});
\ No newline at end of file
18 years, 8 months
JBoss Rich Faces SVN: r2224 - in trunk: ui/tree/src/main/config/component and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-08-13 10:27:12 -0400 (Mon, 13 Aug 2007)
New Revision: 2224
Modified:
trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java
trunk/ui/tree/src/main/config/component/tree.xml
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss
Log:
resize icon demo mode added
Modified: trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java
===================================================================
--- trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java 2007-08-13 14:07:05 UTC (rev 2223)
+++ trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java 2007-08-13 14:27:12 UTC (rev 2224)
@@ -66,6 +66,8 @@
private String iconLeaf = null;
private String icon = null;
+ private String styleClass = "";
+
private boolean renderFacets = false;
private String pathToExpand;
@@ -98,7 +100,7 @@
iconExpanded = "/images/item.png";
iconLeaf = "/images/ajax_process.gif";
icon = "/images/ajax_stoped.gif";
- commandButtonCaption = "Set defoult icons";
+ commandButtonCaption = "Set default icons";
} else {
iconCollapsed = null;
iconExpanded = null;
@@ -326,6 +328,15 @@
this.iconLeaf = iconLeaf;
}
+ public String getStyleClass() {
+ return styleClass;
+ }
+
+ public void setStyleClass(String styleClass) {
+ this.styleClass = styleClass;
+ }
+
+
public String getPathToExpand() {
return pathToExpand;
}
Modified: trunk/ui/tree/src/main/config/component/tree.xml
===================================================================
--- trunk/ui/tree/src/main/config/component/tree.xml 2007-08-13 14:07:05 UTC (rev 2223)
+++ trunk/ui/tree/src/main/config/component/tree.xml 2007-08-13 14:27:12 UTC (rev 2224)
@@ -129,6 +129,7 @@
<description>If "true", connecting lines are show</description>
<defaultvalue>true</defaultvalue>
</property>
+
<property>
<name>preserveDataInRequest</name>
<classname>boolean</classname>
Modified: trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss
===================================================================
--- trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss 2007-08-13 14:07:05 UTC (rev 2223)
+++ trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss 2007-08-13 14:27:12 UTC (rev 2224)
@@ -29,16 +29,16 @@
padding: 1px;
}
+.dr-tree-h-ic-img{
+ width : 16px;
+ height : 16px;
+}
+
.dr-tree-h-ic-img-md{
margin: 0px;
display: block;
}
-.dr-tree-h-ic-img{
- width : 16px;
- height : 16px;
-}
-
.dr-tree-h-ic-facets{
overflow: hidden;
}
18 years, 8 months
JBoss Rich Faces SVN: r2223 - in trunk/docs/userguide: en/src/main/docbook and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-08-13 10:07:05 -0400 (Mon, 13 Aug 2007)
New Revision: 2223
Modified:
trunk/docs/userguide/en/src/main/docbook/master.xml
trunk/docs/userguide/pom.xml
Log:
http://jira.jboss.com/jira/browse/RF-502
Modified: trunk/docs/userguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/master.xml 2007-08-13 14:06:43 UTC (rev 2222)
+++ trunk/docs/userguide/en/src/main/docbook/master.xml 2007-08-13 14:07:05 UTC (rev 2223)
@@ -39,6 +39,9 @@
<!ENTITY panelMenu_table SYSTEM "../../../target/generated/panelmenu.xml">
<!ENTITY message_table SYSTEM "../../../target/generated/message.xml">
<!ENTITY calendar_table SYSTEM "../../../target/generated/calendar.xml">
+
+<!ENTITY tooltip_table SYSTEM "../../../target/generated/tooltip.xml">
+
<!ENTITY coreComponents_table SYSTEM "../../../target/generated/a4j.xml">
@@ -105,6 +108,7 @@
&tabPanel_table;
&togglePanel_table;
&toolBar_table;
+&tooltip_table;
&tree_table;
Modified: trunk/docs/userguide/pom.xml
===================================================================
--- trunk/docs/userguide/pom.xml 2007-08-13 14:06:43 UTC (rev 2222)
+++ trunk/docs/userguide/pom.xml 2007-08-13 14:07:05 UTC (rev 2223)
@@ -52,6 +52,7 @@
3.1.0-SNAPSHOT
</version>
</artifactItem>
+
<artifactItem>
<groupId>
org.richfaces.ui
@@ -61,10 +62,21 @@
3.1.0-SNAPSHOT
</version>
</artifactItem>
+
<artifactItem>
<groupId>
org.richfaces.ui
</groupId>
+ <artifactId>tooltip</artifactId>
+ <version>
+ 3.1.0-SNAPSHOT
+ </version>
+ </artifactItem>
+
+ <artifactItem>
+ <groupId>
+ org.richfaces.ui
+ </groupId>
<artifactId>
dataFilterSlider
</artifactId>
18 years, 8 months
JBoss Rich Faces SVN: r2222 - in trunk/docs/userguide/en/src/main: resources/images and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-08-13 10:06:43 -0400 (Mon, 13 Aug 2007)
New Revision: 2222
Added:
trunk/docs/userguide/en/src/main/docbook/included/tooltip.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/tooltip.xml
trunk/docs/userguide/en/src/main/resources/images/tooltip1.png
trunk/docs/userguide/en/src/main/resources/images/tooltip2.png
trunk/docs/userguide/en/src/main/resources/images/tooltip3.png
Log:
http://jira.jboss.com/jira/browse/RF-502
Added: trunk/docs/userguide/en/src/main/docbook/included/tooltip.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tooltip.desc.xml (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/tooltip.desc.xml 2007-08-13 14:06:43 UTC (rev 2222)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section>
+<sectioninfo>
+<keywordset>
+<keyword>tooltip</keyword>
+</keywordset>
+</sectioninfo>
+<section>
+<title>Description</title>
+ <para>The component used for creation non-modal popup that activated on some event and display some information.
+ </para>
+ <figure>
+ <title>Tooltip component</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/tooltip1.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </section>
+ <section>
+ <title>Key Features</title>
+ <itemizedlist>
+ <listitem>Highly customizable look and feel </listitem>
+ <listitem>Different ways of data loading to tooltip</listitem>
+ <listitem>Disablement support</listitem>
+ </itemizedlist>
+</section>
+</section>
\ No newline at end of file
Added: trunk/docs/userguide/en/src/main/docbook/included/tooltip.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tooltip.xml (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/tooltip.xml 2007-08-13 14:06:43 UTC (rev 2222)
@@ -0,0 +1,219 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<section>
+<sectioninfo>
+<keywordset>
+<keyword>tooltip</keyword>
+<keyword>rich:tooltip</keyword>
+<keyword>HtmlTooltip</keyword>
+</keywordset>
+</sectioninfo>
+ <table>
+ <title>Component identification parameters </title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Value</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>component-type</entry>
+ <entry>org.richfaces.component.ToolTip</entry>
+ </row>
+ <row>
+ <entry>component-class</entry>
+ <entry>org.richfaces.component.html.HtmlToolTip</entry>
+ </row>
+ <row>
+ <entry>component-family</entry>
+ <entry>org.richfaces.component.ToolTip</entry>
+ </row>
+ <row>
+ <entry>renderer-type</entry>
+ <entry>org.richfaces.renderkit.html.ToolTipRenderer</entry>
+ </row>
+ <row>
+ <entry>tag-class</entry>
+ <entry>org.richfaces.taglib.HtmlToolTipTag</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <section>
+ <title>Creating the Component with a Page Tag</title>
+ <para>To create the simplest variant of <property>tooltip</property> on a page, use the following syntax:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<h:commandButton value="Button">
+ <rich:tooltip value="Tooltip content"/>
+</h:commandButton>
+...
+]]></programlisting>
+ </section>
+
+ <section>
+ <title>Creating the Component Dynamically Using Java</title>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlToolTip;
+...
+HtmlToolTip myToolTip = new HtmlToolTip();
+...
+]]></programlisting>
+</section>
+
+<section>
+<title>Details of Usage</title>
+<para>
+<property>Tooltip</property> main area is a simple rectangle area with any information inside. The content may be defined via
+"value" attribute as text or through any nested content. In case if both defined - value displayed as text and nested content after the text.
+<property>Tooltip</property> stretches if the content more than the <property>tooltip</property> sizes.
+</para>
+
+<para>
+There is possibility to define a facet with name "defaultContent." This facet provides default content to be
+displayed while main content loaded to the page in Ajax mode. So after <property>tooltip</property> called in Ajax mode - it
+appeared with the content defined in the facet and after loading complete content changes to loaded one.
+</para>
+
+<para>
+ Here is an example:
+</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<h:commandLink value="Simple Link">
+<rich:toolTip followMouse="true" direction="top-right" mode="ajax" value="#{bean.toolTipContent}" horizontalOffset="5"
+verticalOffset="5" layout="block">
+<f:facet name="defaultContent">
+<f:verbatim>DEFAULT TOOLTIP CONTENT</f:verbatim>
+</f:facet>
+</rich:toolTip>
+</h:commandLink>
+...
+]]></programlisting>
+
+<para>
+This is the result:
+</para>
+ <figure>
+ <title>Tooltip component with default content</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/tooltip2.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+<para>
+And after tooltip loaded it will be changed to next one:
+</para>
+ <figure>
+ <title>Tooltip component with loaded content</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/tooltip3.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+<para>
+By default, <property>tooltip</property> appears smart positioned. But as you can see from the previous example - developer
+can define appearance direction through the corresponding attribute "direction". And also it's possible to define vertical and horizontal
+offsets relatively to mouse position.
+</para>
+
+
+
+
+<para>
+<property>Tooltip</property> appears attached to the corner dependent on "direction" attribute. By default it is positioned bottom-right.
+<property>Tooltip</property> activation occurs after defined event (default=mouseover) on the parent component taking into consideration
+"delay" attribute (default=0) or after calling JS API function doShow(). <property>Tooltip</property> deactivation occurs after mouseout event
+on the parent component (except mouse hovered the <property>tooltip</property> itself) or after calling JS API function doHide().
+</para>
+
+<para>
+The "mode" attribute is provided to developer to control the way of data loading to <property>tooltip</property> and has following values:
+ <itemizedlist>
+ <listitem>Client</listitem>
+ <listitem>Ajax</listitem>
+ </itemizedlist>
+</para>
+
+<para>
+In client mode <property>tooltip</property> content is rendered once on server and could be reRendered only through external submit.
+In Ajax mode <property>tooltip</property> content will be requested from server every activation.
+</para>
+
+<para>
+Special JS API is provided to control of component behaviour:
+ <itemizedlist>
+ <listitem>doShow() - Show corresponding tooltip</listitem>
+ <listitem>doHide() - Hide corresponding tooltip</listitem>
+ <listitem>doEnable() - Enable corresponding tooltip</listitem>
+ <listitem>doDisable() - Disable corresponding tooltip</listitem>
+ </itemizedlist>
+</para>
+
+<para>
+Disabled <property>tooltip</property> will be rendered to the page as usual but JS that responds for its activation will be
+disabled until doEnable() will called.
+</para>
+<para>
+Moreover, to add some JavaScript effects, client events defined on it are used:
+</para>
+ <title>Standart:</title>
+ <itemizedlist>
+ <listitem>onclick</listitem>
+ <listitem>ondblclick</listitem>
+ <listitem>onmouseout</listitem>
+ <listitem>onmousemove</listitem>
+ <listitem>onmouseover</listitem>
+ </itemizedlist>
+ <title>Special:</title>
+ <itemizedlist>
+ <listitem>onshow - Called after the <property>tooltip</property> called (some element overed) but before its requesting
+ </listitem>
+ <listitem>oncomplete - Called just after the <property>tooltip</property> shown
+ </listitem>
+ <listitem>onhide - Called after the <property>tooltip</property> hidden
+ </listitem>
+ </itemizedlist>
+</section>
+
+
+
+
+
+
+ <section>
+ <title>Look-and-Feel Customization</title>
+ <para>For skinnability implementation the components use a <emphasis><property>style class redefinition method</property></emphasis>.
+ </para>
+ <para>Default style classes are mapped on <emphasis><property>skin parameters</property>.</emphasis></para>
+
+ <para>To redefine appearance of all <property>tooltip</property> at once, there are two ways:</para>
+ <itemizedlist>
+ <listitem>to redefine corresponding skin parameters</listitem>
+ <listitem>to add to a user's style sheets style classes used by a <property>tooltip</property></listitem>
+ </itemizedlist>
+ </section>
+
+ <section>
+ <title>Definition custom style classes:</title>
+ <para>
+ <property>Tooltip</property> provides one class 'rich-tool-tip' which applies to wrapper element 'span' or 'div'
+ dependently to <property>tooltip</property> layout. In order to redefine style for all <property>tooltips</property>
+ on the page with using CSS it's enough to create classes with this name and define in it necessary properties.
+ To change style peculiarities of the particular <property>tooltips</property>, define your own style classes in the corresponding
+ <property>tooltips</property> attributes.
+ </para>
+</section>
+</section>
+
\ No newline at end of file
Added: trunk/docs/userguide/en/src/main/resources/images/tooltip1.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/tooltip1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/tooltip2.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/tooltip2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/tooltip3.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/tooltip3.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
18 years, 8 months
JBoss Rich Faces SVN: r2221 - trunk/ui/scrollable-grid/src/main/javascript/ClientUI/controls/grid.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-08-13 09:03:57 -0400 (Mon, 13 Aug 2007)
New Revision: 2221
Modified:
trunk/ui/scrollable-grid/src/main/javascript/ClientUI/controls/grid/GridBody.js
Log:
fixed minor4 bug with container hide
Modified: trunk/ui/scrollable-grid/src/main/javascript/ClientUI/controls/grid/GridBody.js
===================================================================
--- trunk/ui/scrollable-grid/src/main/javascript/ClientUI/controls/grid/GridBody.js 2007-08-13 13:00:28 UTC (rev 2220)
+++ trunk/ui/scrollable-grid/src/main/javascript/ClientUI/controls/grid/GridBody.js 2007-08-13 13:03:57 UTC (rev 2221)
@@ -260,6 +260,8 @@
this.contentBox.setWidth(Math.max(this.getWidth(), totalWidth));
}
+ height = this.scrollBox.getViewportHeight();
+
this.contentBox.setHeight(height - fixH);
this.frozenContentBox.setWidth(frozenContentWidth);
this.frozenContentBox.setHeight(height - fixH);
@@ -435,7 +437,7 @@
this.currRange = range;
this.currentPos = task.pos;
- this.container.hide();
+ //this.container.hide();
var options = {
index: startIndex,
18 years, 8 months
JBoss Rich Faces SVN: r2220 - in trunk: framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts and 6 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-08-13 09:00:28 -0400 (Mon, 13 Aug 2007)
New Revision: 2220
Added:
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/extend/
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/extend/extend.js
trunk/ui/scrollable-grid/src/main/java/org/richfaces/model/
trunk/ui/scrollable-grid/src/main/java/org/richfaces/model/selection/
trunk/ui/scrollable-grid/src/main/java/org/richfaces/model/selection/ClientSelection.java
trunk/ui/scrollable-grid/src/main/java/org/richfaces/model/selection/SelectionRange.java
Modified:
trunk/framework/api/src/main/java/org/richfaces/model/GridDataModel.java
trunk/framework/api/src/main/java/org/richfaces/model/ScrollableGridRange.java
trunk/framework/api/src/main/java/org/richfaces/model/SortField.java
trunk/framework/api/src/main/java/org/richfaces/model/SortOrder.java
trunk/ui/scrollable-grid/generatescript.xml
trunk/ui/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx
Log:
moved packages across jars
Modified: trunk/framework/api/src/main/java/org/richfaces/model/GridDataModel.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/GridDataModel.java 2007-08-13 12:04:01 UTC (rev 2219)
+++ trunk/framework/api/src/main/java/org/richfaces/model/GridDataModel.java 2007-08-13 13:00:28 UTC (rev 2220)
@@ -21,7 +21,7 @@
* Base class for data models
* Subclasses must implement {@link #loadData(int, int, SortOrder)}
* For certain features (like selection and sorting) to work correctly together,
- * {@link #getId(Object)} and {@link #getObjectById(Object)}
+ * both {@link #getId(Object)} and {@link #getObjectById(Object)}
* methods need to be overriden
*
* @author Maksim Kaszynski
@@ -136,7 +136,6 @@
}
/**
- * To get rid of Entity interface, method is introduced
* Implementations may override it to provide domain-specific searches
* Id should be serializable
* Default implementation returns <code>null</code> anyway
Modified: trunk/framework/api/src/main/java/org/richfaces/model/ScrollableGridRange.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/ScrollableGridRange.java 2007-08-13 12:04:01 UTC (rev 2219)
+++ trunk/framework/api/src/main/java/org/richfaces/model/ScrollableGridRange.java 2007-08-13 13:00:28 UTC (rev 2220)
@@ -14,9 +14,8 @@
import org.ajax4jsf.model.Range;
-
-
/**
+ * Iteration range for Scrollable Grid
* @author Maksim Kaszynski
* @modified by Anton Belevich
*/
Modified: trunk/framework/api/src/main/java/org/richfaces/model/SortField.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/SortField.java 2007-08-13 12:04:01 UTC (rev 2219)
+++ trunk/framework/api/src/main/java/org/richfaces/model/SortField.java 2007-08-13 13:00:28 UTC (rev 2220)
@@ -6,6 +6,7 @@
import java.io.Serializable;
/**
+ * Sort field is the piece of {@link SortOrder}
* @author Maksim Kaszynski
*
*/
Modified: trunk/framework/api/src/main/java/org/richfaces/model/SortOrder.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/SortOrder.java 2007-08-13 12:04:01 UTC (rev 2219)
+++ trunk/framework/api/src/main/java/org/richfaces/model/SortOrder.java 2007-08-13 13:00:28 UTC (rev 2220)
@@ -3,13 +3,16 @@
import java.io.Serializable;
import java.util.Arrays;
/**
- *
+ * Class representing grid sort order
+ * Sort Order is the combination of {@link SortField}
+ * Order of occurrence of sort fields must be maintained
+ * to guarantee stable sorting
* @author Maksim Kaszynski
- *
- *
*/
public class SortOrder implements Serializable {
+ private static final long serialVersionUID = 2423450561570551363L;
+
private static int hashCode(Object[] array) {
final int prime = 31;
if (array == null)
@@ -22,8 +25,6 @@
return result;
}
- private static final long serialVersionUID = 2423450561570551363L;
-
private SortField [] fields;
public SortOrder() {
@@ -37,21 +38,6 @@
- public SortField[] getFields() {
- return fields;
- }
-
- public void setFields(SortField[] fields) {
- this.fields = fields;
- }
-
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + SortOrder.hashCode(fields);
- return result;
- }
-
public boolean equals(Object obj) {
if (this == obj)
return true;
@@ -65,6 +51,21 @@
return true;
}
+ public SortField[] getFields() {
+ return fields;
+ }
+
+ public int hashCode() {
+ final int prime = 31;
+ int result = 1;
+ result = prime * result + SortOrder.hashCode(fields);
+ return result;
+ }
+
+ public void setFields(SortField[] fields) {
+ this.fields = fields;
+ }
+
}
\ No newline at end of file
Added: trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/extend/extend.js
===================================================================
--- trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/extend/extend.js (rev 0)
+++ trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/extend/extend.js 2007-08-13 13:00:28 UTC (rev 2220)
@@ -0,0 +1,189 @@
+// vim: tw=80 ts=4 sw=4 noet
+// ----------------------------------------------------------------------------
+// Project : Extend - Prototype OOP extension
+// URL : <http://www.ivy.fr/js/extend>
+// ----------------------------------------------------------------------------
+// Author : Sebastien Pierre <sebastien(a)ivy.fr>
+// License : Revised BSD License
+// ----------------------------------------------------------------------------
+// Creation : 08-Sep-2006
+// Last mod : 17-Nov-2006
+// ----------------------------------------------------------------------------
+
+// The Extend object holds all the information required to implement the
+// inheritance and other OO-goodness.
+if(!window.Extend) {
+
+Extend = {
+ VERSION: 1.1,
+ CLASSDEF: "CLASSDEF",
+ DELETE: "DELETE",
+ // These are a list of methods of class instances that are reserved by the
+ // OO layer (see the reparent method for more info)
+ INSTANCE_RESERVED: {
+ CLASSDEF: true,
+ getClass: true,
+ parentClass: true
+ },
+
+ // Sets up a class
+ setupClass: function( _class, declaration )
+ {
+ // We create an empty prototype if the user did not provide one
+ declaration = declaration || {}
+ _class.prototype = declaration
+ // We clone the given method definition, because they will be augmented
+ // with the ones defined in the parent class
+ _class.methods = {}
+ for ( var key in declaration ) { _class.methods[key] = declaration[key] }
+ _class.inherited = {}
+ _class.parentClass = undefined
+ if ( declaration[Extend.CLASSDEF] )
+ { _class.className = declaration[Extend.CLASSDEF].name }
+ else
+ { _class.className = undefined }
+ _class.subclasses = _class.subclasses || []
+ _class.constructor = Extend.Operations.constructor
+ _class.reparent = Extend.Operations.reparent
+ _class.method = Extend.Operations.method
+ _class.update = Extend.Operations.update
+ if ( declaration[Extend.CLASSDEF] )
+ { _class.reparent(declaration[Extend.CLASSDEF].parent) }
+ // We update the class methods with an `ofClass` method that returns the
+ // class, so that instances will have a proper
+ declaration.getClass = function() {return _class}
+ declaration.parentClass = function() {return this.getClass().parentClass}
+ declaration.parentCall = function() {
+ var new_args = []
+ for ( var i=1;i<arguments.length;i++ ) {new_args.push(arguments[i])}
+ return this.parentClass().method(arguments[0]).apply(this, new_args)
+ }
+ declaration.setClass = function(newClass) {
+ return this.getClass().parentClass
+ }
+ // We reparent the subclasses if any
+ for ( var i=0 ; i<_class.subclasses ; i++ ) {
+ _class.subclasses[i].reparent(_class)
+ }
+ return _class
+ },
+ // These are operations that will be "mixed-in" with the new classes
+ Operations: {
+ constructor: function() {
+ return this.prototype.initialize || function() {}
+ },
+ // Reparents this class
+ reparent: function( newParentClass )
+ {
+ if ( this.parentClass )
+ {
+ var this_index = this.subclasses.indexOf(this)
+ this.parentClass.subclasses.splice(this_index, 1)
+ for ( var method_name in this.inherited ) {
+ this.method(method_name, null, this.parentClass)
+ }
+ }
+ this.parentClass = newParentClass
+ if ( !newParentClass ) return
+ var parent_methods = newParentClass.prototype
+ // We iterate on all the parent methods
+ for ( parent_method_name in parent_methods ) {
+ // If the method is a reserved one, we skip it
+ if ( Extend.INSTANCE_RESERVED[parent_method_name] == true ) { continue }
+ // If the method is not directly defined in the current class, we add it
+ if ( this.methods[parent_method_name] == undefined )
+ {
+ this.method( parent_method_name,
+ parent_methods[parent_method_name],
+ newParentClass.inherited[parent_method_name] || newParentClass
+ )
+ }
+ }
+ newParentClass.subclasses.push(this)
+ },
+ update: function(newPrototype) {
+ Extend.setupClass(this, newPrototype||this.prototype)
+ },
+ // Returns, sets or deletes a method in this class
+ method: function( name, body, declaredIn ) {
+ if ( body == undefined )
+ {
+ var method = this.prototype[name]
+ if ( name == undefined ) throw new Error("Method not found: "+name)
+ return method
+ }
+ else
+ {
+ declaredIn = declaredIn || this
+ // If the method is declared in this class
+ if ( declaredIn == this )
+ {
+ if ( body == Extend.DELETE ) {
+ delete this.methods[name]
+ delete this.inherited[name]
+ delete this.prototype[name]
+ // If the method is defined in the parent we set it
+ if ( this.parentClass ) {
+ var parent_method = this.parentClass.method(name)
+ if ( parent_method ) {
+ this.method(name, parent_method, this.parentClass.inherited[name] || this.parentClass)
+ }
+ }
+ } else {
+ this.methods[name] = body
+ this.prototype[name] = body
+ delete this.inherited[name]
+ }
+ }
+ // Or if its declared in another class
+ else
+ {
+ if ( body == Extend.DELETE ) {
+ delete this.inherited[name]
+ delete this.methods[name]
+ delete this.prototype[name]
+ // If the method is defined in the parent we set it
+ if ( this.parentClass ) {
+ var parent_method = this.parentClass.method(name)
+ if ( parent_method ) {
+ this.method(name, parent_method, this.parentClass.inherited[name] || this.parentClass)
+ }
+ }
+ }
+ else {
+ if ( this.methods[name] == undefined ) {
+ this.inherited[name] = declaredIn
+ this.prototype[name] = body
+ }
+ }
+ }
+ for ( var i=0 ; i<this.subclasses.length ; i++ )
+ {
+ this.subclasses[i].method(name,body,declaredIn)
+ }
+ }
+ }
+ }
+}
+
+// In case prototype is not available, we use this instead
+try {
+ Class = Class
+} catch ( Error ) {
+ Class = {create:function() {return function() {this.initialize.apply(this, arguments)}}}
+}
+Class._create = Class.create
+Class.create = function( declaration ) {
+ var new_class = Extend.setupClass(Class._create(declaration), declaration)
+ // The following only works on FireFox
+ /*
+ new_class.watch("prototype", function(id,oldval,newval) {
+ new_class.prototype = newval
+ Extend.setupClass(new_class, newval)
+ return newval
+ })*/
+ return new_class
+};
+
+};
+// EOF
Modified: trunk/ui/scrollable-grid/generatescript.xml
===================================================================
--- trunk/ui/scrollable-grid/generatescript.xml 2007-08-13 12:04:01 UTC (rev 2219)
+++ trunk/ui/scrollable-grid/generatescript.xml 2007-08-13 13:00:28 UTC (rev 2220)
@@ -21,7 +21,6 @@
<property name="gen-script-full-name" value="${target-dir}/${script-path}/${gen-script-name}"></property>
<concat append="false" binary="false" destfile="${gen-script-full-name}">
<filelist dir="${resources-dir}">
- <file name="${resources-dir}/common/prototype/ext/extend.js"/>
<file name="${resources-dir}/ClientUILib.js"/>
<file name="${resources-dir}/ClientUI/common/utils/Utils.js"/>
<file name="${resources-dir}/ClientUI/common/utils/StringBuilder.js"/>
@@ -56,7 +55,6 @@
<property name="gen-script-full-name" value="${target-dir}/${script-path}/${gen-script-name}"></property>
<concat append="false" binary="false" destfile="${gen-script-full-name}">
<filelist dir="${resources-dir}">
- <file name="/common/prototype/ext/extend.js"/>
<file name="ClientUILib.js"/>
<file name="/ClientUI/common/utils/Utils.js"/>
<file name="/ClientUI/common/utils/StringBuilder.js"/>
Added: trunk/ui/scrollable-grid/src/main/java/org/richfaces/model/selection/ClientSelection.java
===================================================================
--- trunk/ui/scrollable-grid/src/main/java/org/richfaces/model/selection/ClientSelection.java (rev 0)
+++ trunk/ui/scrollable-grid/src/main/java/org/richfaces/model/selection/ClientSelection.java 2007-08-13 13:00:28 UTC (rev 2220)
@@ -0,0 +1,131 @@
+/**
+ *
+ */
+package org.richfaces.model.selection;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+/**
+ * Class representing selection on client side.
+ * Actually, it's renderer specific
+ * @author Maksim Kaszynski
+ *
+ */
+public class ClientSelection implements Serializable{
+
+ private static final long serialVersionUID = 5855157282287053681L;
+
+ public static final String FLAG_RESET = "x";
+
+ public static final String FLAG_ALL = "a";
+
+ private String selectionFlag;
+
+ private List ranges = new ArrayList();
+
+ public ClientSelection() {
+ }
+
+
+ public void addRange(SelectionRange range) {
+ ranges.add(range);
+ }
+
+ public boolean isSelected(int i) {
+ boolean result = false;
+ Iterator iterator = ranges.iterator();
+ while (iterator.hasNext() && !result) {
+ result |= ((SelectionRange) iterator.next()).within(i);
+ }
+ return result;
+ }
+
+ public List getRanges() {
+ return ranges;
+ }
+
+ public void addIndex(int j) {
+ if(this.isSelected(j)) return;
+
+
+
+ SelectionRange firstRange = null;
+
+ int s = ranges.size();
+
+ int insertPosition = 0;
+
+ for(int i = 0; i < s && insertPosition >= 0 ; i++) {
+
+ firstRange = (SelectionRange) ranges.get(i);
+
+ if (firstRange.getStartIndex() == j + 1) {
+
+ firstRange.setStartIndex(j);
+ insertPosition = -1;
+
+ } else if (firstRange.getEndIndex() == j - 1) {
+
+ firstRange.setEndIndex(j);
+
+ if (i + 1 < s) {
+ SelectionRange range2 = (SelectionRange) ranges.get(i + 1);
+
+ if (range2.getStartIndex() == j || range2.getStartIndex() == j + 1) {
+
+ ranges.remove(i + 1);
+
+ firstRange.setEndIndex(range2.getEndIndex());
+ }
+ }
+
+ insertPosition = -1;
+
+ } else if (firstRange.getStartIndex() > j) {
+ insertPosition = i;
+ }
+
+ }
+
+ if (insertPosition >= 0) {
+ firstRange = new SelectionRange(j,j);
+ ranges.add(insertPosition, firstRange);
+
+ return;
+ }
+
+
+ }
+
+ private boolean reset = false;
+ public boolean isReset() {
+ return reset;
+ }
+
+ private boolean selectAll = false;
+ public boolean isSelectAll() {
+ return selectAll;
+ }
+
+
+ public String getSelectionFlag() {
+ return selectionFlag;
+ }
+
+
+ public void setSelectionFlag(String selectionFlag) {
+ this.selectionFlag = selectionFlag;
+
+ reset = false;
+ selectAll = false;
+
+ if (FLAG_ALL.equals(selectionFlag)) {
+ selectAll = true;
+ } else if (FLAG_RESET.equals(selectionFlag)) {
+ reset = true;
+ }
+ }
+}
Added: trunk/ui/scrollable-grid/src/main/java/org/richfaces/model/selection/SelectionRange.java
===================================================================
--- trunk/ui/scrollable-grid/src/main/java/org/richfaces/model/selection/SelectionRange.java (rev 0)
+++ trunk/ui/scrollable-grid/src/main/java/org/richfaces/model/selection/SelectionRange.java 2007-08-13 13:00:28 UTC (rev 2220)
@@ -0,0 +1,64 @@
+/**
+ *
+ */
+package org.richfaces.model.selection;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+public class SelectionRange {
+ private int startIndex = -1;;
+ private int endIndex = -1;
+
+ public SelectionRange(int startIndex, int endIndex) {
+ super();
+ this.startIndex = startIndex;
+ this.endIndex = endIndex;
+ }
+
+ public int getStartIndex() {
+ return startIndex;
+ }
+
+ public void setStartIndex(int startIndex) {
+ this.startIndex = startIndex;
+ }
+
+ public int getEndIndex() {
+ return endIndex;
+ }
+
+ public void setEndIndex(int endIndex) {
+ this.endIndex = endIndex;
+ }
+
+ public boolean within(int index) {
+ return startIndex <= index && endIndex >= index;
+ }
+
+ public int hashCode() {
+ final int prime = 31;
+ int result = 1;
+ result = prime * result + endIndex;
+ result = prime * result + startIndex;
+ return result;
+ }
+
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+ if (getClass() != obj.getClass())
+ return false;
+ final SelectionRange other = (SelectionRange) obj;
+ if (endIndex != other.endIndex)
+ return false;
+ if (startIndex != other.startIndex)
+ return false;
+ return true;
+ }
+
+
+}
Modified: trunk/ui/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx
===================================================================
--- trunk/ui/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx 2007-08-13 12:04:01 UTC (rev 2219)
+++ trunk/ui/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid.jspx 2007-08-13 13:00:28 UTC (rev 2220)
@@ -19,6 +19,7 @@
<h:scripts>
new org.ajax4jsf.javascript.PrototypeScript(),
new org.ajax4jsf.javascript.AjaxScript(),
+ /org/richfaces/renderkit/html/scripts/extend/extend.js,
/org/richfaces/renderkit/html/scripts/scrollable-grid.js
</h:scripts>
18 years, 8 months
JBoss Rich Faces SVN: r2219 - trunk/docs/xslt/en/src/main/xslt.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2007-08-13 08:04:01 -0400 (Mon, 13 Aug 2007)
New Revision: 2219
Modified:
trunk/docs/xslt/en/src/main/xslt/html_chunk.xsl
Log:
http://jira.jboss.com/jira/browse/EXIN-440
Double title is deleted from the title page
Modified: trunk/docs/xslt/en/src/main/xslt/html_chunk.xsl
===================================================================
--- trunk/docs/xslt/en/src/main/xslt/html_chunk.xsl 2007-08-13 12:01:27 UTC (rev 2218)
+++ trunk/docs/xslt/en/src/main/xslt/html_chunk.xsl 2007-08-13 12:04:01 UTC (rev 2219)
@@ -83,6 +83,7 @@
procedure before
</xsl:param>
<xsl:template match="section[@role = 'NotInToc']//*" mode="toc" />
- <xsl:template match="chapter[@role = 'NotInToc']//section//*" mode="toc" />
+ <xsl:template match="chapter[@role = 'NotInToc']//section//*" mode="toc" />
+ <xsl:template match="book" mode="object.title.markup"/>
</xsl:stylesheet>
18 years, 8 months
JBoss Rich Faces SVN: r2218 - trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-08-13 08:01:27 -0400 (Mon, 13 Aug 2007)
New Revision: 2218
Added:
trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/path.properties
Log:
http://jira.jboss.com/jira/browse/RF-523
Added: trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/path.properties
===================================================================
--- trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/path.properties (rev 0)
+++ trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/path.properties 2007-08-13 12:01:27 UTC (rev 2218)
@@ -0,0 +1,3 @@
+dgPath=http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/
+apiPath=http://labs.jboss.com/file-access/default/members/
+tldPath=http://labs.jboss.com/file-access/default/members/
18 years, 8 months