cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz" <bdelacre...@apache.org>
Subject Re: cforms incompatibility in 2.1.9 (was [Fwd: [jira] Reopened: (COCOON-1687) [PATCH] JXPATHBinding : when saving the form, remove xml elements if the value of the widget is null])
Date Tue, 08 Aug 2006 08:23:55 GMT
On 8/8/06, Marc Portier <mpo@outerthought.org> wrote:

> ...since the mentioned fix however the effect of the 'null' in the 'text'
> field is that the complete element gets removed (since that executes the
> removePath() on ".")...

Sounds like a bug to me, removing an element because an attribute is
null doesn't make sense.

> ...My original idea therefor was to enable the requested feature through
> the introduction of some new attribute @remove-if-null on the fb:value
> binding. (defaulting to 'false')...

Sounds reasonable, +1 here.

-Bertrand

Mime
View raw message