You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Geoffrey van Dooren <gv...@ressource-toi.org> on 2004/03/09 15:24:21 UTC

bxeng & lenya problem

i ve the problem that there is no button in config.xml

http://localhost:8888/default/authoring/test.html?&lenya.event=edit&lenya.usecase=bxeng&lenya.step=config is the url to my config.xml file
/default/authoring/test.html?lenya.usecase=bxe&amp;lenya.step=xml is the url to the data xml file but i ve the following error message ...

=====================================================================================================================================
 An Error Occurred org.apache.cocoon.ResourceNotFoundException No pipeline matched request: default/authoring/test.html org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: default/authoring/test.html org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: default/authoring/test.html org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: default/authoring/test.html at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:167) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:161) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:161) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:176) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:161) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304) at org.apache.cocoon.Cocoon.process(Cocoon.java:640) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558) at org.mortbay.http.HttpContext.handle(HttpContext.java:1714) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507) at org.mortbay.http.HttpContext.handle(HttpContext.java:1664) at org.mortbay.http.HttpServer.service(HttpServer.java:863) at org.mortbay.http.HttpConnection.service(HttpConnection.java:775) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455) 
==========================================================================================================================================

Content of config.xml file
===================================================================================================================================
<config> 
    <files>
        <input>
            <!-- The XML-document with the actual data -->
            <file name="BX_xmlfile" cinclude="http://apache.org/cocoon/include/1.0">/default/authoring/test.html?lenya.usecase=bxe&amp;lenya.step=xml</file> 
           <!-- The xhtml with the appropriate div tag (e.g. <div bxe_xpath="/xhtml:html/lenya:meta/dc:title" />)
                 An xhtml file can be used instead of an xsl to provide the page layout of the non-editable part -->
            <file name="BX_xhtmlfile" cinclude="http://apache.org/cocoon/include/1.0">test.bxe.html</file>

            <!-- The XSL-document which transforms the xml to the output format -->

            
            <!-- The RelaxNG (XML Schema) -->
            <file name="BX_validationfile" cinclude="http://apache.org/cocoon/include/1.0">/default/authoring/xhtml.rng</file>
        
        <output>
            <file name="BX_exitdestination" cinclude="http://apache.org/cocoon/include/1.0">/default/authoring/test.html?lenya.usecase=checkin&amp;lenya.step=checkin&amp;backup=true</file>

         </output>
        
        <!-- You can't provide a different "method" than http.get for the following files -->
        <css>
            <!-- Document specific css, which you should adjust.  -->
             <file cinclude="http://apache.org/cocoon/include/1.0">/default/authoring/css/xhtml-bxeng.css</file>
          
        </css>
        
        <scripts>
        <!-- These are the to be included js files 
        the important .js files are included by bxeLoader.js, but you should
        not have to worry about them. 
        You can also add your own js-files here.
        -->

            <file>js/bxehtmltb.js</file>
            <file>js/table.js</file>
            <file>mozile/jsdav.js</file>
            <file>mozile/td/webdav.js</file>
            <file>mozile/mozilekb.js</file>
            
            
            <file>relaxng/AttributeVDOM.js</file>

            <file>relaxng/NodeVDOM.js</file>
            <file>relaxng/DocumentVDOM.js</file>
            <file>relaxng/ElementVDOM.js</file>
            <file>relaxng/DocumentVAL.js</file>
            <file>relaxng/NodeVAL.js</file>
            <file>relaxng/ElementVAL.js</file>

            <file>relaxng/RelaxNG.js</file>
        
        </scripts>
        
        
    </files>
    
    <namespaces>
      <xmlns uri="http://www.w3.org/1999/xhtml" prefix="xhtml"></xmlns>
      <xmlns uri="http://apache.org/cocoon/lenya/page-envelope/1.0" prefix="lenya"></xmlns>
      <xmlns uri="http://purl.org/dc/elements/1.1/" prefix="dc"></xmlns>
      <xmlns uri="http://unizh.ch/doctypes/elements/1.0" prefix="unzih"></xmlns>
      <xmlns uri="http://purl.org/dc/terms/" prefix="dcterms"></xmlns>
    </namespaces>
    <buttons>
    <dimension buttonheight="20" buttonwidth="20" height="140" width="120"></dimension>
        <button ns="http://www.w3.org/1999/xhtml" action="ToggleTextClass" row="1" col="1" name="b"></button>
        <button ns="http://www.w3.org/1999/xhtml" action="ToggleTextClass" row="1" col="0" name="i"></button>

        <button ns="http://www.w3.org/1999/xhtml" action="ToggleTextClass" row="1" col="4" name="sub"></button>
        <button ns="http://www.w3.org/1999/xhtml" action="ToggleTextClass" row="1" col="5" name="sup"></button>
        <button action="CleanInline" row="6" col="0" name="clean_inline"></button>
        <button action="InsertLink" row="5" col="0" name="link"></button>
        <button action="DeleteLink" row="5" col="1" name="unlink"></button>
        <button action="InsertTable" row="5" col="2" name="create_table"></button>
        <button action="UnorderedList" row="2" col="3" name="Unordered_List"></button>
        <button action="OrderedList" row="2" col="2" name="Ordered_List"></button>

        <button action="ClipboardCopy" row="4" col="0" name="Copy"></button>
        <button action="ClipboardCut" row="4" col="1" name="Cut"></button>

        <button action="ClipboardPaste" row="4" col="2" name="Paste"></button>
        <button action="InsertImage" row="5" col="3" name="Image"></button>
        <button action="DocumentSave" row="6" col="1" name="Save"></button>
        <button action="Undo" row="6" col="3" name="Undo"></button>
        <button action="Redo" row="6" col="4" name="Redo"></button>
        <button action="InsertAsset" row="6" col="2" name="Asset"></button>
    </buttons>
    <callbacks>
    <!--
        <element name="object" ns="http://www.w3.org/1999/xhtml" type="popup">?lenya.usecase=bxeng&amp;lenya.step=image-upload-show</element>

        <element name="img" ns="http://www.w3.org/1999/xhtml" type="popup">?lenya.usecase=bxeng&amp;lenya.step=image-upload-show</element>
        <element name="table" ns="http://www.w3.org/1999/xhtml" type="function">bxe_InsertTableCallback</element>
        <element name="asset" ns="http://apache.org/cocoon/lenya/page-envelope/1.0" type="popup">?lenya.usecase=bxeng&amp;lenya.step=asset-upload-show</element>
    -->
    	  <element type="popup" ns="http://www.w3.org/1999/xhtml" name="object">?lenya.usecase=bxeng&amp;lenya.step=image-upload-show</element>
        <element type="popup" ns="http://www.w3.org/1999/xhtml" name="img">?lenya.usecase=bxeng&amp;lenya.step=image-upload-show</element>
        <element type="function" ns="http://www.w3.org/1999/xhtml" name="table">bxe_InsertTableCallback</element>
        <element type="popup" ns="http://apache.org/cocoon/lenya/page-envelope/1.0" name="asset">?lenya.usecase=bxeng&amp;lenya.step=asset-upload-show</element>
        <element type="popup" ns="http://www.w3.org/1999/xhtml" name="a">?lenya.usecase=bxeng&amp;lenya.step=link-show</element>
    </callbacks>
<include src="" cinclude="http://apache.org/cocoon/include/1.0"></include></config>===================================================================================================================================


Can somebody help me, i don't understand where data xml file is create ....
thanks 
Geoffrey



Re: bxeng & lenya problem

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
 > i ve the problem that there is no button in config.xml

i assume you are using 1.2rc2

this problem has since been fixed. you may want to try
a nightly build.

http://cvs.wyona.org/nightly-builds/



-- 
Gregor J. Rothfuss
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                   http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org