cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Berens (JIRA)" <>
Subject [jira] Commented: (COCOON-1809) [PATCH] Forms page styling: Added event handling for group of type choice
Date Mon, 03 Apr 2006 11:49:55 GMT
    [ ] 

Rob Berens commented on COCOON-1809:

I see, what you meant.
I have tried your patch 20060403-cocoon-forms-1809. It looks a lot nicer, because you avoid
to code the same thing twice. It doesn't work however. It fails with the message:

SystemID: resource://org/apache/cocoon/forms/resources/forms-page-styling.xsl; Line#: 182;
Column#: 62
javax.xml.transform.TransformerException: Could not find variable with the name of id

The reason is that the variable id is not available in the context of the template formsOnShow.
I suppose the same applies to the fi:items/fi:* path that is used in the template.

So might be we have to take my version in the end..

> [PATCH] Forms page styling: Added event handling for group of type choice
> -------------------------------------------------------------------------
>          Key: COCOON-1809
>          URL:
>      Project: Cocoon
>         Type: Improvement

>   Components: Blocks: Forms
>     Versions: 2.2-dev (Current SVN), 2.1.9-dev (current SVN)
>     Reporter: Rob Berens
>     Assignee: Jean-Baptiste Quenot
>     Priority: Minor
>  Attachments: 20060403-cocoon-forms-1809, forms-page-styling.txt, forms-page-styling.xsl
> In forms-page-styling.xsl also a group of the type chois must implement event handling
i.e. for the choice elements it must be possible to have an attribute formsOnShow containing
some javascript to be executed.
> The attached patch makes this possible.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message