[ http://issues.apache.org/jira/browse/COCOON-1738?page=comments#action_12363371 ]
Fabrizio Sitzia commented on COCOON-1738:
-----------------------------------------
Hello,
I did apply the COCOON-1718 patch, thinking that it might perhaps solve the "from.options
has no properties" problem, but it made no difference - I still had to fix the global scope
and onload handler issues.
Therefore I think this patch tackles an unrelated problem.
> double-listbox problem in repeaters
> -----------------------------------
>
> Key: COCOON-1738
> URL: http://issues.apache.org/jira/browse/COCOON-1738
> Project: Cocoon
> Type: Bug
> Components: Blocks: Ajax, Blocks: Forms
> Versions: 2.1.8, 2.1.9-dev (current SVN)
> Reporter: Fabrizio Sitzia
> Attachments: cocoon-ajax.js.diff, forms-advanced-field-styling.xsl.diff, forms-lib.js.diff
>
> Rendering a multivaluefield using the 'double-listbox' styling fails, when that multivaluefield
is contained in a repeater, and Ajax is enabled for the form:
> The 'double-listbox'-styled fields in the repeater stop working as soon as some action,
involving a round-trip to the server and a partial re-rendering of the repeater, is being
performed (for example adding or deleting a repeater row, validation error on submit...)
> After such a round-trip, a click on any of the double-listbox's UI elements (double-click
on an item, click on an option-transfer button) will yield a Javascript error ("optxxxxx is
not defined" on Cocoon 2.1.8, and "from.options has no properties" on the current BRANCH_2_1_X)
> The multivaluefield's values will not be submitted correctly afterwards.
--
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
|