JBoss Rich Faces SVN: r2875 - trunk/test-applications/jsp/src/main/webapp/SuggestionBox.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-09-11 11:24:50 -0400 (Tue, 11 Sep 2007)
New Revision: 2875
Modified:
trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp
Log:
Render
Modified: trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp 2007-09-11 14:48:57 UTC (rev 2874)
+++ trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp 2007-09-11 15:24:50 UTC (rev 2875)
@@ -21,8 +21,7 @@
first="#{sb.first}" minChars="#{sb.minchars}" tokens=", ]"
bgcolor="#{sb.bgColor}" focus="#{sb.forcus}" title="#{result.text}"
summary="summary" shadowOpacity="#{sb.shadowOpacity}"
- shadowDepth="#{sb.shadowDepth}" reRender="#{sb.reRender}"
- selectValueClass="mousemove" >
+ shadowDepth="#{sb.shadowDepth}" selectValueClass="mousemove" rendered="#{sb.reRender}">
<h:column>
<h:outputText value="#{result.text}" />
</h:column>
@@ -121,8 +120,8 @@
<a4j:support event="onclick" reRender="suggestionBoxId"></a4j:support>
</h:selectOneRadio>
- <h:outputText value="reRender"></h:outputText>
- <h:selectBooleanCheckbox value="#{sb.reRender}"></h:selectBooleanCheckbox>
+ <h:outputText value="Render"></h:outputText>
+ <h:selectBooleanCheckbox value="#{sb.reRender}" onchange="submit();"></h:selectBooleanCheckbox>
</h:panelGrid>
<h:commandLink value="Back" action="main"></h:commandLink>
</h:form>
18 years, 10 months
JBoss Rich Faces SVN: r2874 - in trunk/docs: userguide/en/src/main/docbook/modules and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-09-11 10:48:57 -0400 (Tue, 11 Sep 2007)
New Revision: 2874
Modified:
trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml
trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml
trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml
trunk/docs/userguide/en/src/main/docbook/included/toolBar.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.desc.xml
trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
trunk/docs/xslt/en/src/main/xslt/fopdf.xsl
Log:
http://jira.jboss.com/jira/browse/RF-875
Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-09-11 14:43:37 UTC (rev 2873)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-09-11 14:48:57 UTC (rev 2874)
@@ -93,7 +93,7 @@
<mediaobject>
<imageobject>
- <imagedata fileref="images/calendar.png"/>
+ <imagedata fileref="images/calendar.png" />
</imageobject>
</mediaobject>
</figure>
@@ -793,7 +793,7 @@
<mediaobject>
<imageobject>
- <imagedata fileref="images/calendar1.png"/>
+ <imagedata fileref="images/calendar1.png" scalefit="1"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2007-09-11 14:43:37 UTC (rev 2873)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2007-09-11 14:48:57 UTC (rev 2874)
@@ -131,7 +131,7 @@
<title>DataTable class names</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/dataTable2.gif"/>
+ <imagedata fileref="images/dataTable2.gif" scalefit="1"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml 2007-09-11 14:43:37 UTC (rev 2873)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml 2007-09-11 14:48:57 UTC (rev 2874)
@@ -115,7 +115,7 @@
<mediaobject>
<imageobject>
- <imagedata fileref="images/panelBar2.gif"/>
+ <imagedata fileref="images/panelBar2.gif" scalefit="1"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.desc.xml 2007-09-11 14:43:37 UTC (rev 2873)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.desc.xml 2007-09-11 14:48:57 UTC (rev 2874)
@@ -14,7 +14,7 @@
<title>PanelBarItem component</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/panelBarItem.gif"/>
+ <imagedata fileref="images/panelBarItem.gif" scalefit="1"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-09-11 14:43:37 UTC (rev 2873)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-09-11 14:48:57 UTC (rev 2874)
@@ -162,7 +162,7 @@
<title>PanelBarItem style classes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/panelBar3.gif"/>
+ <imagedata fileref="images/panelBar3.gif" scalefit="1"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2007-09-11 14:43:37 UTC (rev 2873)
+++ trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2007-09-11 14:48:57 UTC (rev 2874)
@@ -175,7 +175,7 @@
<title>TabPanel style classes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/tabPanel4.gif"/>
+ <imagedata fileref="images/tabPanel4.gif" scalefit="1"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBar.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBar.desc.xml 2007-09-11 14:43:37 UTC (rev 2873)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBar.desc.xml 2007-09-11 14:48:57 UTC (rev 2874)
@@ -13,7 +13,7 @@
<mediaobject>
<imageobject>
- <imagedata fileref="images/toolBarMain.gif"/>
+ <imagedata fileref="images/toolBarMain.gif" scalefit="1"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2007-09-11 14:43:37 UTC (rev 2873)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2007-09-11 14:48:57 UTC (rev 2874)
@@ -91,7 +91,7 @@
<mediaobject>
<imageobject>
- <imagedata fileref="images/toolBar2.gif"/>
+ <imagedata fileref="images/toolBar2.gif" scalefit="1"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.desc.xml 2007-09-11 14:43:37 UTC (rev 2873)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.desc.xml 2007-09-11 14:48:57 UTC (rev 2874)
@@ -12,7 +12,7 @@
<title>ToolbarGroup with items on it</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/toolbarGroup.gif"/>
+ <imagedata fileref="images/toolbarGroup.gif" scalefit="1"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2007-09-11 14:43:37 UTC (rev 2873)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2007-09-11 14:48:57 UTC (rev 2874)
@@ -28,7 +28,7 @@
</figure>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newpic1.jpg"/>
+ <imagedata fileref="images/newpic1.jpg" scalefit="1"/>
</imageobject>
</mediaobject>
<para><property>RichFaces</property> allows to define (by means of JSF tags) different parts of a JSF page you
@@ -63,7 +63,7 @@
</figure>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newpic3.jpg"/>
+ <imagedata fileref="images/newpic3.jpg" scalefit="1"/>
</imageobject>
</mediaobject>
<para>In both cases, the information about required static or dynamic resources that your application
@@ -79,7 +79,7 @@
</figure>
<mediaobject>
<imageobject>
- <imagedata fileref="images/newpic4.jpg"/>
+ <imagedata fileref="images/newpic4.jpg" scalefit="1"/>
</imageobject>
</mediaobject>
<formalpara>
Modified: trunk/docs/xslt/en/src/main/xslt/fopdf.xsl
===================================================================
--- trunk/docs/xslt/en/src/main/xslt/fopdf.xsl 2007-09-11 14:43:37 UTC (rev 2873)
+++ trunk/docs/xslt/en/src/main/xslt/fopdf.xsl 2007-09-11 14:48:57 UTC (rev 2874)
@@ -295,7 +295,7 @@
Images
################################################### -->
-
+ <xsl:param name="default.image.width" select="'175mm'"></xsl:param>
<!--###################################################
Labels
18 years, 10 months
JBoss Rich Faces SVN: r2873 - trunk/ui/tree/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-09-11 10:43:37 -0400 (Tue, 11 Sep 2007)
New Revision: 2873
Modified:
trunk/ui/tree/src/main/config/component/treeNode.xml
Log:
http://jira.jboss.com/jira/browse/RF-696
Modified: trunk/ui/tree/src/main/config/component/treeNode.xml
===================================================================
--- trunk/ui/tree/src/main/config/component/treeNode.xml 2007-09-11 14:10:28 UTC (rev 2872)
+++ trunk/ui/tree/src/main/config/component/treeNode.xml 2007-09-11 14:43:37 UTC (rev 2873)
@@ -64,26 +64,31 @@
<property>
<name>ondropend</name>
<classname>java.lang.String</classname>
+ <description>A JavaScript handler for event fired on a drop even the drop for a given type is not available</description>
<defaultvalue>getDefaultOndropend()</defaultvalue>
</property>
<property>
<name>ondragstart</name>
<classname>java.lang.String</classname>
+ <description>A JavaScript event handler called before drag object</description>
<defaultvalue>getDefaultOndragstart()</defaultvalue>
</property>
<property>
<name>ondragend</name>
<classname>java.lang.String</classname>
+ <description>A JavaScript event handler called after a drag operation</description>
<defaultvalue>getDefaultOndragend()</defaultvalue>
</property>
<property>
<name>ondragenter</name>
<classname>java.lang.String</classname>
+ <description>A JavaScript event handler called on enter draggable object to zone</description>
<defaultvalue>getDefaultOndragenter()</defaultvalue>
</property>
<property>
<name>ondragexit</name>
<classname>java.lang.String</classname>
+ <description>A JavaScript event handler called after a drag object leaves zone</description>
<defaultvalue>getDefaultOndragexit()</defaultvalue>
</property>
18 years, 10 months
JBoss Rich Faces SVN: r2872 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-09-11 10:10:28 -0400 (Tue, 11 Sep 2007)
New Revision: 2872
Modified:
trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml
Log:
Modified: trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.desc.xml 2007-09-11 13:35:34 UTC (rev 2871)
+++ trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.desc.xml 2007-09-11 14:10:28 UTC (rev 2872)
@@ -1,5 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<section>
<para>The <emphasis role="bold"><property><a4j:ajaxListener></property></emphasis>
-component is the same one as <emphasis><property>"ActionListener"</property></emphasis> or "ValueChangeListener", but for an Ajax container.</para>
+component is the same one as <emphasis><property>"ActionListener"</property></emphasis>
+or <emphasis><property>"ValueChangeListener"</property></emphasis>, but for an Ajax container.</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-09-11 13:35:34 UTC (rev 2871)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-09-11 14:10:28 UTC (rev 2872)
@@ -145,7 +145,7 @@
<rich:dropDownMenu>
...
<rich:menuItem submitMode="none">
- <h:outputLink value=”www.jboss.org”/>
+ <h:outputLink value="www.jboss.org"/>
</rich:menuItem>
...
<rich:dropDownMenu>
18 years, 10 months
JBoss Rich Faces SVN: r2871 - trunk/docs/xslt/en/src/main/xslt.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-09-11 09:35:34 -0400 (Tue, 11 Sep 2007)
New Revision: 2871
Added:
trunk/docs/xslt/en/src/main/xslt/fo-images-scaling.xsl
Modified:
trunk/docs/xslt/en/src/main/xslt/fopdf.xsl
Log:
http://jira.jboss.com/jira/browse/RF-875
Added: trunk/docs/xslt/en/src/main/xslt/fo-images-scaling.xsl
===================================================================
--- trunk/docs/xslt/en/src/main/xslt/fo-images-scaling.xsl (rev 0)
+++ trunk/docs/xslt/en/src/main/xslt/fo-images-scaling.xsl 2007-09-11 13:35:34 UTC (rev 2871)
@@ -0,0 +1,213 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY lowercase "'abcdefghijklmnopqrstuvwxyz'">
+<!ENTITY uppercase "'ABCDEFGHIJKLMNOPQRSTUVWXYZ'">
+ ]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:stext="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.TextFactory"
+ xmlns:xtext="com.nwalsh.xalan.Text"
+ xmlns:lxslt="http://xml.apache.org/xslt"
+ exclude-result-prefixes="xlink stext xtext lxslt"
+ extension-element-prefixes="stext xtext"
+ version='1.0'>
+
+
+<!-- ==================================================================== -->
+<!-- Override these templates for FO -->
+<!-- ==================================================================== -->
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/lib/lib.xsl"/>
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/graphics.xsl"/>
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/pi.xsl"/>
+
+<xsl:template name="process.image">
+ <!-- When this template is called, the current node should be -->
+ <!-- a graphic, inlinegraphic, imagedata, or videodata. All -->
+ <!-- those elements have the same set of attributes, so we can -->
+ <!-- handle them all in one place. -->
+
+ <xsl:variable name="scalefit">
+ <xsl:choose>
+ <xsl:when test="$ignore.image.scaling != 0">0</xsl:when>
+ <xsl:when test="@contentwidth">0</xsl:when>
+ <xsl:when test="@contentdepth and
+ @contentdepth != '100%'">0</xsl:when>
+ <xsl:when test="@scale">0</xsl:when>
+ <xsl:when test="@scalefit"><xsl:value-of select="@scalefit"/></xsl:when>
+ <xsl:when test="@width or @depth">1</xsl:when>
+ <xsl:otherwise>1</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="scale">
+ <xsl:choose>
+ <xsl:when test="$ignore.image.scaling != 0">0</xsl:when>
+ <xsl:when test="@contentwidth or @contentdepth">1.0</xsl:when>
+ <xsl:when test="@scale">
+ <xsl:value-of select="@scale div 100.0"/>
+ </xsl:when>
+ <xsl:otherwise>1.0</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="filename">
+ <xsl:choose>
+ <xsl:when test="local-name(.) = 'graphic'
+ or local-name(.) = 'inlinegraphic'">
+ <!-- handle legacy graphic and inlinegraphic by new template -->
+ <xsl:call-template name="mediaobject.filename">
+ <xsl:with-param name="object" select="."/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- imagedata, videodata, audiodata -->
+ <xsl:call-template name="mediaobject.filename">
+ <xsl:with-param name="object" select=".."/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="content-type">
+ <xsl:if test="@format">
+ <xsl:call-template name="graphic.format.content-type">
+ <xsl:with-param name="format" select="@format"/>
+ </xsl:call-template>
+ </xsl:if>
+ </xsl:variable>
+
+ <xsl:variable name="bgcolor">
+
+ <xsl:call-template name="pi.dbfo_background-color">
+ <xsl:with-param name="node" select=".."/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <fo:external-graphic>
+ <xsl:attribute name="src">
+ <xsl:call-template name="fo-external-image">
+ <xsl:with-param name="filename">
+ <xsl:if test="$img.src.path != '' and
+ not(starts-with($filename, '/')) and
+ not(contains($filename, '://'))">
+ <xsl:value-of select="$img.src.path"/>
+ </xsl:if>
+ <xsl:value-of select="$filename"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:attribute>
+
+ <xsl:attribute name="width">
+ <xsl:choose>
+ <xsl:when test="$ignore.image.scaling != 0">auto</xsl:when>
+ <xsl:when test="contains(@width,'%')">
+ <xsl:value-of select="@width"/>
+ </xsl:when>
+ <xsl:when test="@width and not(@width = '')">
+ <xsl:call-template name="length-spec">
+ <xsl:with-param name="length" select="@width"/>
+ <xsl:with-param name="default.units" select="'px'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="not(@depth) and $default.image.width != ''">
+ <xsl:call-template name="length-spec">
+ <xsl:with-param name="length" select="$default.image.width"/>
+ <xsl:with-param name="default.units" select="'px'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>auto</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+
+ <xsl:attribute name="height">
+ <xsl:choose>
+ <xsl:when test="$ignore.image.scaling != 0">auto</xsl:when>
+ <xsl:when test="contains(@depth,'%')">
+ <xsl:value-of select="@depth"/>
+ </xsl:when>
+ <xsl:when test="@depth">
+ <xsl:call-template name="length-spec">
+ <xsl:with-param name="length" select="@depth"/>
+ <xsl:with-param name="default.units" select="'px'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>auto</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+
+ <xsl:attribute name="content-width">
+ <xsl:choose>
+ <xsl:when test="$ignore.image.scaling != 0">auto</xsl:when>
+ <xsl:when test="contains(@contentwidth,'%')">
+ <xsl:value-of select="@contentwidth"/>
+ </xsl:when>
+ <xsl:when test="@contentwidth">
+ <xsl:call-template name="length-spec">
+ <xsl:with-param name="length" select="@contentwidth"/>
+ <xsl:with-param name="default.units" select="'px'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="number($scale) != 1.0">
+ <xsl:value-of select="$scale * 100"/>
+ <xsl:text>%</xsl:text>
+ </xsl:when>
+ <xsl:when test="$scalefit = 1">scale-to-fit</xsl:when>
+ <xsl:otherwise>auto</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+
+ <xsl:attribute name="content-height">
+ <xsl:choose>
+ <xsl:when test="$ignore.image.scaling != 0">auto</xsl:when>
+ <xsl:when test="contains(@contentdepth,'%')">
+ <xsl:value-of select="@contentdepth"/>
+ </xsl:when>
+ <xsl:when test="@contentdepth">
+ <xsl:call-template name="length-spec">
+ <xsl:with-param name="length" select="@contentdepth"/>
+ <xsl:with-param name="default.units" select="'px'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="number($scale) != 1.0">
+ <xsl:value-of select="$scale * 100"/>
+ <xsl:text>%</xsl:text>
+ </xsl:when>
+ <xsl:when test="$scalefit = 1">scale-to-fit</xsl:when>
+ <xsl:otherwise>auto</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+
+ <xsl:if test="$content-type != ''">
+ <xsl:attribute name="content-type">
+ <xsl:value-of select="concat('content-type:',$content-type)"/>
+ </xsl:attribute>
+ </xsl:if>
+
+ <xsl:if test="$bgcolor != ''">
+ <xsl:attribute name="background-color">
+ <xsl:value-of select="$bgcolor"/>
+ </xsl:attribute>
+ </xsl:if>
+
+ <xsl:if test="@align">
+ <xsl:attribute name="text-align">
+ <xsl:value-of select="@align"/>
+ </xsl:attribute>
+ </xsl:if>
+
+ <xsl:if test="@valign">
+ <xsl:attribute name="display-align">
+ <xsl:choose>
+ <xsl:when test="@valign = 'top'">before</xsl:when>
+ <xsl:when test="@valign = 'middle'">center</xsl:when>
+ <xsl:when test="@valign = 'bottom'">after</xsl:when>
+ <xsl:otherwise>auto</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ </xsl:if>
+ </fo:external-graphic>
+</xsl:template>
+
+</xsl:stylesheet>
Modified: trunk/docs/xslt/en/src/main/xslt/fopdf.xsl
===================================================================
--- trunk/docs/xslt/en/src/main/xslt/fopdf.xsl 2007-09-11 13:32:25 UTC (rev 2870)
+++ trunk/docs/xslt/en/src/main/xslt/fopdf.xsl 2007-09-11 13:35:34 UTC (rev 2871)
@@ -20,7 +20,6 @@
<!-- assume catalog-based resolution... -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl" />
-
<!-- ########## XRef -->
<!-- this controls whether xrefs have the title in it. We
@@ -282,10 +281,22 @@
</xsl:attribute-set>
<!-- Only hairlines as frame and cell borders in tables -->
<xsl:param name="table.frame.border.thickness">0.1pt</xsl:param>
- <xsl:param name="table.cell.border.thickness">0.1pt</xsl:param>
+ <xsl:param name="table.cell.border.thickness">0.1pt</xsl:param>
+
+ <xsl:attribute-set name="table.table.properties">
+ <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
+ </xsl:attribute-set>
+ <xsl:attribute-set name="table.properties">
+ <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
+ </xsl:attribute-set>
+
+ <!--###################################################
+ Images
+ ################################################### -->
+
+
-
<!--###################################################
Labels
################################################### -->
@@ -455,17 +466,20 @@
<xsl:attribute name="padding-left">0.5em</xsl:attribute>
<xsl:attribute name="padding-right">0.5em</xsl:attribute>
<xsl:attribute name="padding-bottom">0.5em</xsl:attribute>
- <xsl:attribute name="margin-left">0.5em</xsl:attribute>
- <xsl:attribute name="margin-right">0.5em</xsl:attribute>
+ <xsl:attribute name="margin-left">0em</xsl:attribute>
+ <xsl:attribute name="margin-right">0em</xsl:attribute>
</xsl:attribute-set>
<!-- Shade (background) programlistings -->
- <xsl:param name="shade.verbatim">1</xsl:param>
+ <xsl:param name="shade.verbatim">1</xsl:param>
+ <xsl:param name="verbatim.margin.left">0pt</xsl:param>
<xsl:attribute-set name="shade.verbatim.style">
<xsl:attribute name="background-color">#F0F0F0</xsl:attribute>
</xsl:attribute-set>
+ <xsl:attribute-set name="monospace.verbatim.properties">
+ <xsl:attribute name="wrap-option">wrap</xsl:attribute>
+ </xsl:attribute-set>
-
<!--###################################################
Callouts
################################################### -->
@@ -538,6 +552,7 @@
Turn this crap off. If you have to work with the "status"
attribute, don't.
-->
- <xsl:param name="draft.mode" select="'no'"/>
+ <xsl:param name="draft.mode" select="'no'"/>
+
</xsl:stylesheet>
18 years, 10 months
JBoss Rich Faces SVN: r2869 - trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-09-11 09:23:21 -0400 (Tue, 11 Sep 2007)
New Revision: 2869
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
revert to the version before RF-877
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-09-11 12:47:37 UTC (rev 2868)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-09-11 13:23:21 UTC (rev 2869)
@@ -577,7 +577,7 @@
if (baseInput && baseInput.value!=undefined)
{
- this.selectDate(baseInput.value);
+ this.selectDate(baseInput.value, true);
}
var iframe = $(this.IFRAME_ID);
@@ -1267,17 +1267,8 @@
resetSelectedDate: function()
{
if (!this.selectedDate) return;
- if (this.invokeEvent("dateselect", null, null, null))
+ if (this.selectDate(null))
{
- this.selectedDate = null;
- $(this.INPUT_DATE_ID).value = "";
- if (this.selectedDateElement)
- {
- Element.removeClassName(this.selectedDateElement, "rich-calendar-select");
- this.selectedDateElement = null;
- }
- this.renderHeader();
- this.renderFooter();
this.doCollapse();
}
},
18 years, 10 months
JBoss Rich Faces SVN: r2868 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2007-09-11 08:47:37 -0400 (Tue, 11 Sep 2007)
New Revision: 2868
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml
Log:
Error in description Fixed.
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml 2007-09-11 12:32:37 UTC (rev 2867)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml 2007-09-11 12:47:37 UTC (rev 2868)
@@ -78,7 +78,7 @@
<dd><code>Richfaces.getComponent('calendar',element).api_function_name(parameters)</code></dd>
<dt>For example, the following call is
used on the "Next Year" button on the popup calendar panel:</dt>
- <dd><code>Richfaces.invokeOnComponent('calendar',this).nextYear(); </code></dd>
+ <dd><code>Richfaces.getComponent('calendar',this).nextYear(); </code></dd>
The second parameter
is an element inside the calendar. Richfaces.invokeOnComponent tries to find
the component in the parents hierarchy with type specified with the first parameter and
18 years, 10 months
JBoss Rich Faces SVN: r2867 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-09-11 08:32:37 -0400 (Tue, 11 Sep 2007)
New Revision: 2867
Modified:
trunk/docs/userguide/en/src/main/docbook/included/recursiveTreeNodesAdaptor.xml
trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml
Log:
http://jira.jboss.com/jira/browse/RF-869 Renaming of recursiveTreeNodes to recursiveTreeNodesAdaptor
Modified: trunk/docs/userguide/en/src/main/docbook/included/recursiveTreeNodesAdaptor.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/recursiveTreeNodesAdaptor.xml 2007-09-11 12:24:44 UTC (rev 2866)
+++ trunk/docs/userguide/en/src/main/docbook/included/recursiveTreeNodesAdaptor.xml 2007-09-11 12:32:37 UTC (rev 2867)
@@ -86,7 +86,7 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:tree adviseNodeOpened="#{treeModelBean.adviseNodeOpened}" switchType="client">
- <rich:treeNodes id="project" nodes="#{loaderBean.projects}" var="project">
+ <rich:treeNodesAdaptor id="project" nodes="#{loaderBean.projects}" var="project">
<rich:treeNode>
<h:commandLink action="#{project.click}" value="Project: #{project.name}" />
@@ -98,17 +98,17 @@
<h:commandLink action="#{dir.click}" value="Directory: #{dir.name}" />
</rich:treeNode>
- <rich:treeNodes id="file" var="file" nodes="#{dir.files}">
+ <rich:treeNodesAdaptor id="file" var="file" nodes="#{dir.files}">
<rich:treeNode>
<h:commandLink action="#{file.click}" value="File: #{file.name}" />
</rich:treeNode>
- </rich:treeNodes>
+ </rich:treeNodesAdaptor>
- <rich:treeNodes id="file1" var="file" nodes="#{dir.files}">
+ <rich:treeNodesAdaptor id="file1" var="file" nodes="#{dir.files}">
<rich:treeNode>
<h:commandLink action="#{file.click}" value="File1: #{file.name}" />
</rich:treeNode>
- </rich:treeNodes>
+ </rich:treeNodesAdaptor>
<rich:recursiveTreeNodesAdaptor id="archiveEntry" var="archiveEntry"
roots="#{dir.files}" nodes="#{archiveEntry.archiveEntries}"
@@ -122,7 +122,7 @@
</rich:recursiveTreeNodesAdaptor>
</rich:recursiveTreeNodesAdaptor>
- </rich:treeNodes>
+ </rich:treeNodesAdaptor>
</rich:tree>
...
]]></programlisting>
Modified: trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml 2007-09-11 12:24:44 UTC (rev 2866)
+++ trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml 2007-09-11 12:32:37 UTC (rev 2867)
@@ -137,12 +137,12 @@
is output for the data.name element of this node.</para>
<para>Different nodes for rendering could be defined depending on some conditions on the tree
level. Each condition represents some rendering template. To get more information on various
- <property>treeNodes</property> definition for nodes, <link linkend="tree">see the tree
+ <property>treeNodesAdaptorAdaptor</property> definition for nodes, <link linkend="tree">see the tree
component chapter</link>.</para>
<para>Switching between expanded/collapsed modes is also managed on the tree level and defined
in <link linkend="tree">the corresponding section</link>.</para>
<para>Default nodes of the tree level as well as ones defined with the
- <property>treeNodes</property> component could send Ajax requests when selected with the
+ <property>treeNodesAdaptorAdaptor</property> component could send Ajax requests when selected with the
mouse, it's managed with the <emphasis>
<property>"ajaxSubmitSelection"</property>
</emphasis> attribute (true/false).</para>
@@ -171,7 +171,7 @@
</emphasis>.</para>
<para>Default style classes are mapped on <emphasis><property>skin
parameters</property>.</emphasis></para>
- <para>To redefine appearance of all treeNodes at once, there are two ways:</para>
+ <para>To redefine appearance of all treeNodesAdaptor at once, there are two ways:</para>
<itemizedlist>
<listitem>to redefine corresponding skin parameters</listitem>
<listitem>to add <emphasis>
@@ -248,7 +248,7 @@
</tbody>
</tgroup>
</table>
- <para>Hence, to change look and feel of all <property>treeNodes</property> components on an
+ <para>Hence, to change look and feel of all <property>treeNodesAdaptor</property> components on an
application, change these parameters values.</para>
</section>
<section>
@@ -260,9 +260,9 @@
<listitem>rich-tree-node-selected</listitem>
<listitem>rich-tree-node-highlighted</listitem>
</itemizedlist>
- <para>Hence, in order to change an appearance of all <property>treeNodes</property> on a page,
+ <para>Hence, in order to change an appearance of all <property>treeNodesAdaptor</property> on a page,
declare and customize the above-mentioned classes in your CSS.</para>
- <para>It is also possible to change look and feel of specific <property>treeNodes</property>
+ <para>It is also possible to change look and feel of specific <property>treeNodesAdaptor</property>
with the help of defining for them <emphasis>
<property>"selectedClass"</property>
</emphasis> and <emphasis>
@@ -273,6 +273,6 @@
<section>
<title>Relevant resources links</title>
<para>How to Expand/Collapse Tree Nodes from code see <ulink
- url="http://labs.jboss.com/wiki/ExpandCollapseTreeNodes">here</ulink>. </para>
+ url="http://labs.jboss.com/wiki/ExpandCollapsetreeNodesAdaptor">here</ulink>. </para>
</section>
</section>
18 years, 10 months
JBoss Rich Faces SVN: r2866 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-09-11 08:24:44 -0400 (Tue, 11 Sep 2007)
New Revision: 2866
Modified:
trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
Log:
http://jira.jboss.com/jira/browse/RF-887
Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-09-11 12:21:30 UTC (rev 2865)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-09-11 12:24:44 UTC (rev 2866)
@@ -820,9 +820,9 @@
</row>
<row>
- <entry>rich-calendar-popupicon</entry>
+ <entry>rich-calendar-button</entry>
- <entry>Defines the styles for the icon for button</entry>
+ <entry>Defines the styles for the popup button</entry>
</row>
</tbody>
18 years, 10 months