You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ja...@apache.org on 2006/07/27 16:02:25 UTC
svn commit: r426080 -
/lenya/trunk/src/pubs/default/lenya/modules/editors/usecases/forms/xhtml-common.xsl
Author: jann
Date: Thu Jul 27 07:02:25 2006
New Revision: 426080
URL: http://svn.apache.org/viewvc?rev=426080&view=rev
Log:
[Minor changes]:
- An error occured if an ul has been added by the FormEditor.
- Making form fields a bit wider
Modified:
lenya/trunk/src/pubs/default/lenya/modules/editors/usecases/forms/xhtml-common.xsl
Modified: lenya/trunk/src/pubs/default/lenya/modules/editors/usecases/forms/xhtml-common.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/lenya/modules/editors/usecases/forms/xhtml-common.xsl?rev=426080&r1=426079&r2=426080&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/lenya/modules/editors/usecases/forms/xhtml-common.xsl (original)
+++ lenya/trunk/src/pubs/default/lenya/modules/editors/usecases/forms/xhtml-common.xsl Thu Jul 27 07:02:25 2006
@@ -35,7 +35,7 @@
<insert-after select="{$path}[@tagID='{@tagID}']">
<element name="Paragraph" xupdate="<xupdate:insert-after select="{$path}[@tagID='{@tagID}']"><xupdate:element name="xhtml:p" {$ns}>New Paragraph</xupdate:element></xupdate:insert-after>"/>
<element name="Table" xupdate="<xupdate:insert-after select="{$path}[@tagID='{@tagID}']"><xupdate:element name="xhtml:table" {$ns}><tr><td>New Table</td></tr></xupdate:element></xupdate:insert-after>"/>
- <element name="Unordered List" xupdate="<xupdate:insert-after select="{$path}[@tagID='{@tagID}']"><xupdate:element name="xhtml:ul" {$ns}><li>New Unordered List</li>;</xupdate:element></xupdate:insert-after>"/>
+ <element name="Unordered List" xupdate="<xupdate:insert-after select="{$path}[@tagID='{@tagID}']"><xupdate:element name="xhtml:ul" {$ns}><li>New Unordered List</li></xupdate:element></xupdate:insert-after>"/>
<element name="Ordered List" xupdate="<xupdate:insert-after select="{$path}[@tagID='{@tagID}']"><xupdate:element name="xhtml:ol" {$ns}><li>New Ordered List</li></xupdate:element></xupdate:insert-after>"/>
<element name="Headline 1" xupdate="<xupdate:insert-after select="{$path}[@tagID='{@tagID}']"><xupdate:element name="xhtml:h1" {$ns}>New Headline 1</xupdate:element></xupdate:insert-after>"/>
<element name="Headline 2" xupdate="<xupdate:insert-after select="{$path}[@tagID='{@tagID}']"><xupdate:element name="xhtml:h2" {$ns}>New Headline 2</xupdate:element></xupdate:insert-after>"/>
@@ -53,7 +53,7 @@
<node name="Paragraph" select="/*/xhtml:body/xhtml:p[@tagID='{@tagID}']">
<action><delete name="<xupdate:remove select="/*/xhtml:body/xhtml:p[@tagID='{@tagID}']"/>"/></action>
<content>
- <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:p[@tagID='{@tagID}']">" cols="40" rows="30">
+ <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:p[@tagID='{@tagID}']">" cols="80" rows="30">
<xsl:copy-of select="node()"/>
</textarea>
</content>
@@ -68,8 +68,8 @@
<node name="Table" select="/*/xhtml:body/xhtml:table[@tagID='{@tagID}']">
<action><delete name="<xupdate:remove select="/*/xhtml:body/xhtml:table[@tagID='{@tagID}']"/>"/></action>
<content>
- <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:table[@tagID='{@tagID}']">" cols="40" rows="30">
- <xsl:copy-of select="."/>
+ <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:table[@tagID='{@tagID}']">" cols="80" rows="30">
+ <xsl:copy-of select="node()"/>
</textarea>
</content>
</node>
@@ -82,7 +82,7 @@
<node name="Unordered List" select="/*/xhtml:body/xhtml:ul[@tagID='{@tagID}']">
<action><delete name="<xupdate:remove select="/*/xhtml:body/xhtml:ul[@tagID='{@tagID}']"/>"/></action>
<content>
- <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:ul[@tagID='{@tagID}']">" cols="40" rows="30">
+ <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:ul[@tagID='{@tagID}']">" cols="80" rows="30">
<xsl:copy-of select="node()"/>
</textarea>
</content>
@@ -96,7 +96,7 @@
<node name="Ordered List" select="/*/xhtml:body/xhtml:ol[@tagID='{@tagID}']">
<action><delete name="<xupdate:remove select="/*/xhtml:body/xhtml:ol[@tagID='{@tagID}']"/>"/></action>
<content>
- <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:ol[@tagID='{@tagID}']">" cols="40" rows="30">
+ <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:ol[@tagID='{@tagID}']">" cols="80" rows="30">
<xsl:copy-of select="node()"/>
</textarea>
</content>
@@ -110,7 +110,7 @@
<node name="Headline 1" select="/*/xhtml:body/xhtml:h1[@tagID='{@tagID}']">
<action><delete name="<xupdate:remove select="/*/xhtml:body/xhtml:h1[@tagID='{@tagID}']"/>"/></action>
<content>
- <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:h1[@tagID='{@tagID}']">" cols="40" rows="3">
+ <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:h1[@tagID='{@tagID}']">" cols="80" rows="3">
<xsl:copy-of select="node()"/>
</textarea>
</content>
@@ -124,7 +124,7 @@
<node name="Headline 2" select="/*/xhtml:body/xhtml:h2[@tagID='{@tagID}']">
<action><delete name="<xupdate:remove select="/*/xhtml:body/xhtml:h2[@tagID='{@tagID}']"/>"/></action>
<content>
- <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:h2[@tagID='{@tagID}']">" cols="40" rows="3">
+ <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:h2[@tagID='{@tagID}']">" cols="80" rows="3">
<xsl:copy-of select="node()"/>
</textarea>
</content>
@@ -138,7 +138,7 @@
<node name="Headline 3" select="/*/xhtml:body/xhtml:h3[@tagID='{@tagID}']">
<action><delete name="<xupdate:remove select="/*/xhtml:body/xhtml:h3[@tagID='{@tagID}']"/>"/></action>
<content>
- <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:h3[@tagID='{@tagID}']">" cols="40" rows="3">
+ <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:h3[@tagID='{@tagID}']">" cols="80" rows="3">
<xsl:copy-of select="node()"/>
</textarea>
</content>
@@ -152,7 +152,7 @@
<node name="Headline 4" select="/*/xhtml:body/xhtml:h4[@tagID='{@tagID}']">
<action><delete name="<xupdate:remove select="/*/xhtml:body/xhtml:h4[@tagID='{@tagID}']"/>"/></action>
<content>
- <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:h4[@tagID='{@tagID}']">" cols="40" rows="3">
+ <textarea name="<xupdate:update select="/*/xhtml:body/xhtml:h4[@tagID='{@tagID}']">" cols="80" rows="3">
<xsl:copy-of select="node()"/>
</textarea>
</content>
@@ -175,7 +175,7 @@
<node name="Object">
<action><delete name="<xupdate:remove select="/*/xhtml:body/xhtml:p/xhtml:object[@tagID='{@tagID}']"/>"/></action>
<content>
- <input type="text" name="<xupdate:update select="/*/xhtml:body/xhtml:p/xhtml:object[@tagID='{@tagID}']">" size="40">
+ <input type="text" name="<xupdate:update select="/*/xhtml:body/xhtml:p/xhtml:object[@tagID='{@tagID}']">" size="80">
<xsl:attribute name="value">
<xsl:value-of select="@data"/>
</xsl:attribute>
@@ -193,7 +193,7 @@
<delete name="<xupdate:remove select="/*/xhtml:body/lenya:asset[@tagID='{@tagID}']"/>"/>
</action>
<content>
- <input type="text" name="<xupdate:update select="/*/xhtml:body/lenya:asset[@tagID='{@tagID}']">" size="40">
+ <input type="text" name="<xupdate:update select="/*/xhtml:body/lenya:asset[@tagID='{@tagID}']">" size="80">
<xsl:attribute name="value">
<xsl:value-of select="@src"/>
</xsl:attribute>
@@ -205,4 +205,4 @@
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org