From dev-return-84307-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Wed Feb 01 15:18:29 2006 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 95137 invoked from network); 1 Feb 2006 15:18:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Feb 2006 15:18:28 -0000 Received: (qmail 63194 invoked by uid 500); 1 Feb 2006 15:18:25 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 63130 invoked by uid 500); 1 Feb 2006 15:18:24 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 63119 invoked by uid 99); 1 Feb 2006 15:18:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 07:18:24 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 7823BC9 for ; Wed, 1 Feb 2006 16:18:03 +0100 (CET) Message-ID: <344930843.1138807083471.JavaMail.jira@ajax.apache.org> Date: Wed, 1 Feb 2006 16:18:03 +0100 (CET) From: "Jean-Baptiste Quenot (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Updated: (COCOON-1238) Improvements for CustomJXPathBinding MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/COCOON-1238?page=all ] Jean-Baptiste Quenot updated COCOON-1238: ----------------------------------------- Attachment: 20060201-cocoon-forms-1238 Here is an uptodate patch, please give some feedback! > Improvements for CustomJXPathBinding > ------------------------------------ > > Key: COCOON-1238 > URL: http://issues.apache.org/jira/browse/COCOON-1238 > Project: Cocoon > Type: Improvement > Components: Blocks: Forms > Versions: 2.1.5 > Environment: Operating System: All > Platform: All > Reporter: Bart Molenkamp > Assignee: Jean-Baptiste Quenot > Priority: Minor > Attachments: 20060201-cocoon-forms-1238, AbstractCustomBinding.java.patch, CustomJXPathBinding.java.patch, CustomJXPathBindingBuilder.java, CustomJXPathBindingBuilder.java.patch > > 2 improvements: > 1. Custom bindings get a service manager when they implement Serviceable. > 2. Relative JXPath context is not created. Instead, the current context, and the > xpath query are passed to the custom binding. This allows bindings to set values > for objects that are null (whereas a getRelativeContext() will throw an > exception). Custom bindings now can do a > context.createPathAndSetValue(getXpath(), ...) to set a value that was null > before setting it. -- 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