You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Nathan Hamblen (JIRA)" <ji...@apache.org> on 2007/03/10 19:00:09 UTC

[jira] Updated: (WICKET-376) form serialization doesn't recurse into all elements

     [ https://issues.apache.org/jira/browse/WICKET-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Hamblen updated WICKET-376:
----------------------------------

    Attachment: ajax-serialize.patch

Moves the name-attribute/disabled check so that all elements are recursed into, but only those having a name and that are not disabled are passed to the element serialization method.

> form serialization doesn't recurse into all elements
> ----------------------------------------------------
>
>                 Key: WICKET-376
>                 URL: https://issues.apache.org/jira/browse/WICKET-376
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Nathan Hamblen
>            Priority: Critical
>         Attachments: ajax-serialize.patch
>
>
> Changes made to support serialization of nested forms (http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/ajax/wicket-ajax.js?r1=515852&r2=515851&pathrev=515852) causes all DOM elements, not just form elements, to be iterated upon. However, existing code expects these elements to have a "name" attribute (and not to be disabled); lacking those, recursion stops and potential form elements below them are not considered for serialization.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.