Another change I propose in woody-field-styling.xsl is the following:
<xsl:template match="wi:validation-message">
<a href="#" style="color:red; font-weight: bold"
onclick="alert('{normalize-space(.)}'); return false;"> ! </a>
</xsl:template>
by
<xsl:template match="wi:validation-message">
<a href="#" class="validation-message-indicator"
onclick="alert('{normalize-space(.)}'); return false;"> ! </a>
</xsl:template>
In this way it's easy to override the presentation format in a CSS file.
--------
David
-----Mensaje original-----
De: Bruno Dumon [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 07 de noviembre de 2003 14:23
Para: [EMAIL PROTECTED]
Asunto: Re: Woody error summary
On Fri, 2003-11-07 at 11:44, Carmona Perez, David wrote:
> Here is a custom version of woody-samples-styling.xsl, I made that
> think can be of general interest:
>
>
>
> I've added the new <wi:validation-errors> tag that show a summary of
> errors that may have happened, and can be embedded inside the
> <wt:form-template> tag.
>
>
>
> What do you think?
Looks good, other people have asked for this too (or maybe it was you, I
don't remember). However, I would add this template to
woody-field-styling.xsl. If you could do that and submit a proper diff
to bugzilla, that would be excellent. I think there's information on the
cocon website about how to do this, otherwise just ask.
PS: please don't send HTML email to the mailing list.
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]