>   [X] +1 (YES, in 1.8 and 1.7)

Pierre,

I am voting YEA for 1.7 and 1.8, but I don't think it is ok to use the
<xsl:template name="prompt"> in the <option>. The <xsl:template
name="prompt"> generates a <span> with title and description. Shouldn't it
just be?

<xsl:call-template name="i18n">
  <xsl:with-param name="nodes" select="prompt" /> 
</xsl:call-template>



Michiel,

There is a simple reason for it. It is way harder to implement a correct
optionlist when you don't use an extra element. 

      <optionlist name="show">
        <option id="1" xml:lang="en">Show (using embargo fields)</option>
        <option id="1" xml:lang="nl">Tonen (gebruik embargo velden)</option>
        <option id="0" xml:lang="en">Don't show</option>
        <option id="2" xml:lang="nl">Yoon altijd</option>
      </optionlist>

The optionlist for different users will have different values. With pierres
implementation the optionlist will always contain all values. The only
problem is what to show when the language is not available.

Nico


Reply via email to