Another (very) old hack proposal.

<rant>
Sorry people, but it IS possible for other committers but the same old people every time to test stuff like this and commit it.
</rant>


Anyway.

I tested this - on my server both lines (with and without translation) work fine.
I.o.w. it doesn't introduce problems here.
I will add this to MMBase 1.8, so it can be tested, just in case this may cause odd behavior at some vague OS or with some weird browser.


Gomez


Martijn Houtman wrote:
The problem can be solved by changing wizard.xsl as follows:

.......
  <xsl:template name="ftype-text">
    <xsl:choose>
      <xsl:when test="@maywrite!=&apos;false&apos;">
        <span>
          <textarea name="[EMAIL PROTECTED]" id="[EMAIL PROTECTED]" 
class="input"
wrap="virtual">
            <xsl:if test="not(@cols)">
              <xsl:attribute name="cols"><xsl:value-of
select="$default-cols" /></xsl:attribute>
            </xsl:if>
            <xsl:if test="not(@rows)">
              <xsl:attribute name="rows"><xsl:value-of
select="$default-rows" /></xsl:attribute>
            </xsl:if>
            <xsl:apply-templates select="@*"/>

<!-- replaced to remove extra carriage returns
           <xsl:value-of select="value" />
-->
            <xsl:value-of select="translate(value,'&#13;','')" />

          </textarea>
........

This works for me, but it might introduce other problems. Please test it.

Martijn Houtman




--
Pierre van Rooden
Mediapark, C 107 tel. +31 (0)35 6772815
"Some Drink at the Fountain of Knowledge. Others Just Gurgle."

_______________________________________________
Developers mailing list
[EMAIL PROTECTED]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to