[ 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