cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: CForms in a coplet
Date Thu, 25 Mar 2004 08:45:12 GMT
 
Jon Evans wrote:

> I can see two ways around this.
> 
> 1) Split out the forms-samples-styling.xsl stuff, so that it 
> is done in two stages so we can insert an 
> HTMLEventLinkTransformer stage in the
> middle:
> 
> <map:transform src="cforms-pre-styling.xsl"/>
> <!-- now we have the form element etc. in place --> 
> <map:transform type="portal-html-eventlink"/> <map:transform 
> src="cforms-post-styling.xsl"/>
> <!-- now we have other elements, like forms-validation-messaage links 
> -->
> 
> 
> 2) Modify HTMLEventLinkTransformer so that it ignores certain 
> anchor link classes:
> 
> <map:transform type="portal-html-eventlink">
>    <map:parameter name="ignore-link-classes" 
> value="forms-validation-message"/>
> </map:transform>
> 
> (the popup links have their own class, forms-validation-message).
> 
> I can code up either solution - I need it anyway for my own 
> code.  What do you think?  Or is there another way?
> 
I think 2) makes sense. Do you plan to make the parameter container several
values (comma separated)? That would be great!

Waiting for the patch :)

Carsten


Mime
View raw message