Many classes, including component classes, have changed.

Does NavLogin extend Form?  That's a very odd thing to do, from my
point of view, Forms are complex enough that they should be
encapsulated not extended.

On 10/26/05, Chris Chiappone <[EMAIL PROTECTED]> wrote:
> Ok, I have a little extra time on my project so I decided to take the
> plunge and try to upgrade 3.0 - 4 beta 11.
>
> Here are the following steps I did.  Ir emoved the 3.0 jars and added
> the 4.0 jars and hivemind jars in my WEB-INF/lib dir.
>
> I create the following hivemodule.xml
>
> <module id="myapp" version="1.0.0" package="com.corp.app">
>
>   <contribution configuration-id="tapestry.url.ServiceEncoders">
>     <direct-service-encoder id="direct" stateless-extension="direct"
> stateful-extension="sdirect"/>
>     <page-service-encoder id="page" extension="page" service="page"/>
>     <page-service-encoder id="external" extension="external"
> service="external"/>
>     <asset-encoder id="asset" path="/assets"/>
>     <extension-encoder id="ext" extension="svc" after="*"/>
>   </contribution>
>
> </module>
>
> I removed a service that I had defined in my app.application file, I
> figure I can get that working later after I get the app up and
> running.
>
> Then I redeployed the war.
>
> When I surf to my app I get the following exception:
>
>
> An exception has occurred.
> You may continue by restarting the session.
>
> org.apache.hivemind.ApplicationRuntimeException
> Error at context:/WEB-INF/NavLogin.jwc, line 9, column 37: Method
> 'public abstract void
> org.apache.tapestry.IForm.rewind(org.apache.tapestry.IMarkupWriter,org.apache.tapestry.IRequestCycle)'
> has no implementation in class com.corp.app.view.components.NavLogin
> (or enhanced subclass $NavLogin_2).
> location: context:/WEB-INF/NavLogin.jwc, line 9, column 37
> 4 "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd";>
> 5
> 6
> 7 <component-specification
> class="com.atwcorp.trustedapp.view.components.NavLogin"
> 8 allow-body="no"
> 9 allow-informal-parameters="yes">
> 10
> 11 <property-specification name="username" type="java.lang.String"
> initial-value=""/>
> 12 <property-specification name="password" type="java.lang.String"
> initial-value=""/>
> 13 <property-specification name="loginError" type="boolean"/>
> 14 <property-specification name="callback"
> type="org.apache.tapestry.callback.ICallback" persistent="yes"/>
>
> Stack Trace:
> org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39)
> org.apache.hivemind.impl.ErrorLogImpl.error(ErrorLogImpl.java:40)
> org.apache.tapestry.enhance.EnhancedClassValidatorImpl.validate(EnhancedClassValidatorImpl.java:121)
> $EnhancedClassValidator_1072db829db.validate($EnhancedClassValidator_1072db829db.java)
> org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl.getComponentConstructor(ComponentConstructorFactoryImpl.java:91)
>
>
> Also on a side note, when I click on the restarting link I get a 404
> that the restart.svc is not available.
>
>
> I thought I read that the 3.0 DTD for the page specs don't all need to
> be updated in 4.0 is that correct?  4.0 can still use the old 3.0
> dtd's?  I read throught the upgrade docs and am not sure what i'm
> missing or doing wrong.
>
>
>
> --
> ~chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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

Reply via email to