I'm still trying to understand why my javascript onclick link <a href="#" onclick="blah..."> ends up bringing my back to my "Home" page, instead of just being a page jump.
Also is there a good place to find an example to create a hivemind service for a downloadlink. I'm new to hivemind and really don't know where to start. Thanks. On 10/26/05, Chris Chiappone <[EMAIL PROTECTED]> wrote: > Whoohoo, I pretty much have a success in upgrading from 3-4, wasn't as > bad as I thought, no to just make my downloadservice to use > hivemind... > > There is one issue I still seem to have though. I have a <a href="#" > onclick="expand()"> that used to work in 3 but now sends me to my > login page. I don't know if this issue has been addressed before or > is there just a different way to do this now? Thanks for the help. > > On 10/26/05, Geoff Longman <[EMAIL PROTECTED]> wrote: > > ah > > > > On 10/26/05, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > > Yes, but the number of methods specified by IForm has expanded. > > > > > > On 10/26/05, Geoff Longman <[EMAIL PROTECTED]> wrote: > > > > I wonder why NavLogin didn't throw an exception before? Tap 3 also > > > > checks for unimplemented methods?!? > > > > > > > > Geoff > > > > > > > > On 10/26/05, Chris Chiappone <[EMAIL PROTECTED]> wrote: > > > > > Actually I was implementing IForm for no reason at all, I haven't > > > > > looked at the code for that class for a long time must have added that > > > > > unintentionally a while back, thanks for the observation. I realize > > > > > this will be a bit larger of a undertaking than I expected. How big > > > > > of a learning curve is hivemind, since I've never used it before? > > > > > > > > > > On 10/26/05, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > > > > > 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] > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > ~chris > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > -- > > > > The Spindle guy. http://spindle.sf.net > > > > Get help with Spindle: > > > > http://lists.sourceforge.net/mailman/listinfo/spindle-user > > > > Announcement Feed: > > > > http://www.jroller.com/rss/glongman?catname=/Announcements > > > > Feature Updates: http://spindle.sf.net/updates > > > > > > > > --------------------------------------------------------------------- > > > > 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] > > > > > > > > > > > > -- > > The Spindle guy. http://spindle.sf.net > > Get help with Spindle: > > http://lists.sourceforge.net/mailman/listinfo/spindle-user > > Announcement Feed: > > http://www.jroller.com/rss/glongman?catname=/Announcements > > Feature Updates: http://spindle.sf.net/updates > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > ~chris > -- ~chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
