Maybe not related to your error but...

Is com.edesa.due.tapestry.pages.CompJerarquias extending BaseComponent or BasePage? In the second case are you sure that you want your component extend BasePage?

In the class attribute of the component specification tag the package name seems somewhere where I would put my pages but not my components.

best regards.

Raul.

Gabriel H. Lozano M. wrote:
I have been developing pages with tapestry 3.0.3 but I have not developed
any component yet. I have this :

                </tr>
                <tr>
                        <td>
                                <select jwcid="@compJerarquias"
parent="ognl:jerarquia" value="ognl:jerNuevo"/>
                        </td>
                </tr>
                </table>
                </td>
                </tr>
                
                        </table>

this is my .page ( just the props declaration ) :

        <property-specification name="jerarquia"
type="com.edesa.due.tapestry.common.IObjetoJerarquia"/>
        
        <property-specification name="jerNuevo"
type="com.edesa.due.tapestry.common.IObjetoJerarquia"/>
        

when I comment the component that I am developing everything works fine (
except the component ) but when I uncomment the component I get this
exception:

org.apache.tapestry.ApplicationRuntimeException
component:
[EMAIL PROTECTED]
ministracionDeUsuarios]
location:       context:/WEB-INF/AdministracionDeUsuarios.page, line 6,
column 83
java.lang.AbstractMethodError
Stack Trace:

    *
org.apache.tapestry.AbstractPage.firePageBeginRender(AbstractPage.java:463)
    * org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:293)
    *
org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:368)
    *
org.apache.tapestry.engine.AbstractEngine.renderResponse(AbstractEngine.java
:749)
    *
org.apache.tapestry.engine.DirectService.service(DirectService.java:174)
    *
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:889)
    *
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:198
)
    *
org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:159)
    * javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    * javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    *
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
    *
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
    *
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:81)

the .jwc file in my component is this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE component-specification
      PUBLIC "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
      "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd";>
<!-- generated by Spindle, http://spindle.sourceforge.net -->

<component-specification class="com.edesa.due.tapestry.pages.CompJerarquias" allow-body="yes" allow-informal-parameters="yes"> <parameter name="parent" type="com.edesa.due.tapestry.common.IObjetoJerarquia" required="yes" direction="form"/>
        
<parameter name="value" type="com.edesa.due.tapestry.common.IObjetoJerarquia" required="yes" direction="form"/>
                
    <property-specification name="jerarquiasModel"
                type="org.apache.tapestry.form.IPropertySelectionModel"/>
<context-asset name="estilos" path="estilos/general.css"/> </component-specification>

so, can anybody tell me what am I doing wrong??/

thanks

Gabriel Lozano M.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to