You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Philippe Gassmann (JIRA)" <ji...@apache.org> on 2006/01/13 15:58:19 UTC

[jira] Created: (COCOON-1731) Unable to create a new JXParthBinding outside the org.apache.cocoon.forms.binding package

Unable to create a new JXParthBinding outside the org.apache.cocoon.forms.binding package
-----------------------------------------------------------------------------------------

         Key: COCOON-1731
         URL: http://issues.apache.org/jira/browse/COCOON-1731
     Project: Cocoon
        Type: Bug
  Components: Blocks: Forms  
    Versions: 2.1.8, 2.2-dev (Current SVN), 2.1.9-dev (current SVN)    
    Reporter: Philippe Gassmann
    Priority: Minor


I want to create a new custom JXPath binding and I have the following problem : 

My class extends JXPathBindingBase so i must call super(commonAttrs) in my constructors (commonAttrs is a CommonAttribtues object). 

The CommonAttributes class (org.apache.cocoon.forms.binding.JXPathBindingBuilderBase.CommonAttributes) is protected so I'm not able to write a custom binding outside the package of CommonAttributes (org.apache.cocoon.forms.binding)

Is it possible to make Commoattributes public ?

-- 
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


[jira] Closed: (COCOON-1731) Unable to create a new JXParthBinding outside the org.apache.cocoon.forms.binding package

Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/COCOON-1731?page=all ]
     
Jean-Baptiste Quenot closed COCOON-1731:
----------------------------------------

    Resolution: Fixed

See http://svn.apache.org/viewcvs.cgi?rev=369846&view=rev

Thanks for reporting!

> Unable to create a new JXParthBinding outside the org.apache.cocoon.forms.binding package
> -----------------------------------------------------------------------------------------
>
>          Key: COCOON-1731
>          URL: http://issues.apache.org/jira/browse/COCOON-1731
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms
>     Versions: 2.1.8, 2.2-dev (Current SVN), 2.1.9-dev (current SVN)
>     Reporter: Philippe Gassmann
>     Priority: Minor

>
> I want to create a new custom JXPath binding and I have the following problem : 
> My class extends JXPathBindingBase so i must call super(commonAttrs) in my constructors (commonAttrs is a CommonAttribtues object). 
> The CommonAttributes class (org.apache.cocoon.forms.binding.JXPathBindingBuilderBase.CommonAttributes) is protected so I'm not able to write a custom binding outside the package of CommonAttributes (org.apache.cocoon.forms.binding)
> Is it possible to make Commoattributes public ?

-- 
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


[jira] Commented: (COCOON-1731) Unable to create a new JXParthBinding outside the org.apache.cocoon.forms.binding package

Posted by "Jason Johnston (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/COCOON-1731?page=comments#action_12362651 ] 

Jason Johnston commented on COCOON-1731:
----------------------------------------

I can verify this is a problem.  I brought it up on the developers mailing list a few months ago but I didn't follow up.  JXPathBindingBase.CommonAttributes needs to either be made into a public inner class or pulled out into its own class file.

> Unable to create a new JXParthBinding outside the org.apache.cocoon.forms.binding package
> -----------------------------------------------------------------------------------------
>
>          Key: COCOON-1731
>          URL: http://issues.apache.org/jira/browse/COCOON-1731
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms
>     Versions: 2.1.8, 2.2-dev (Current SVN), 2.1.9-dev (current SVN)
>     Reporter: Philippe Gassmann
>     Priority: Minor

>
> I want to create a new custom JXPath binding and I have the following problem : 
> My class extends JXPathBindingBase so i must call super(commonAttrs) in my constructors (commonAttrs is a CommonAttribtues object). 
> The CommonAttributes class (org.apache.cocoon.forms.binding.JXPathBindingBuilderBase.CommonAttributes) is protected so I'm not able to write a custom binding outside the package of CommonAttributes (org.apache.cocoon.forms.binding)
> Is it possible to make Commoattributes public ?

-- 
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