cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pier Fumagalli (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-1118) ArrayIndexOutOfBoundsException in cforms Transformer
Date Tue, 25 Oct 2005 10:24:44 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1118?page=all ]

Pier Fumagalli updated COCOON-1118:
-----------------------------------

    Reporter: Marc Portier  (was: Marc Portier)

> ArrayIndexOutOfBoundsException in cforms Transformer
> ----------------------------------------------------
>
>          Key: COCOON-1118
>          URL: http://issues.apache.org/jira/browse/COCOON-1118
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms
>     Versions: 2.1.8-dev (Current SVN)
>  Environment: Operating System: All
> Platform: All
>     Reporter: Marc Portier
>     Assignee: Cocoon Developers Team
>     Priority: Minor

>
> The cforms transformer allows to set the form-action from the sitemap using a
> 'form-action' parameter.
>  <map:transform type="forms" >
>    <map:parameter name="form-action" value="{flow-continuation:id}.continue" />
>  </map:transform>
> (sample uses the FlowContinuationModule to get the continuation id)
> This works fine as long as the <ft:form-template> has already an action
> attribute. (it may be empty) However when the action attribute is not present
> the transformation will throw an ArrayIndexOutOfBoundsException.
> Simple workaround is to provide the @action of course:
> <ft:form-template action="">
> -marc=

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message