Downgrading to Tapestry 5.0.14 seems to have helped a bit. Now I'm getting
the following error:
DEBUG [qtp0-6] MainMenu.pageLoaded(42) | Storing user info in the ASO
DEBUG [qtp0-6] Index.triggerContextEvent(1035) | Dispatch event:
ComponentEvent[exception from (self)]
ERROR [qtp0-6] RequestExceptionHandler.handleRequestException(170) |
Unexpected runtime exception: Template for component MainMenu:message does
not contain a block with identifier 'error'.
org.apache.tapestry5.runtime.ComponentEventException: Template for component
MainMenu:message does not contain a block with identifier 'error'.
at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1054)
at
org.apache.tapestry5.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:52)
at
org.apache.tapestry5.services.TapestryModule$29.handle(TapestryModule.java:1653)
at
$PageRenderRequestHandler_11e18cb992a.handle($PageRenderRequestHandler_11e18cb992a.java)
at
$PageRenderRequestHandler_11e18cb991f.handle($PageRenderRequestHandler_11e18cb991f.java)
at
org.apache.tapestry5.internal.services.PageRenderDispatcher.process(PageRenderDispatcher.java:97)
at
org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:83)
at $Dispatcher_11e18cb9925.dispatch($Dispatcher_11e18cb9925.java)
at $Dispatcher_11e18cb9918.dispatch($Dispatcher_11e18cb9918.java)
at
org.apache.tapestry5.services.TapestryModule$13.service(TapestryModule.java:953)
at
org.apache.tapestry5.internal.services.LocalizationFilter.service(LocalizationFilter.java:42)
Matt
On Mon, Dec 8, 2008 at 3:17 PM, Matt Raible <[EMAIL PROTECTED]> wrote:
> Serge,
> Thanks for doing this initial work. I've been trying to integrate your work
> into AppFuse today and have been successful in getting everything to
> compile. As you know, the tests are incomplete and I haven't started working
> on those yet.
>
> I'm attaching the work I've done so far. Unfortunately, it's not working.
> When I run "mvn jetty:run" and hit http://localhost:8080, I get the
> following error.
>
> HTTP ERROR: 500
>
> The root element of the rendered document was <p>, not <html>. A root
> element of <html> is needed when linking JavaScript and stylesheet
> resources.
>
> RequestURI=/
> Caused by:
>
> java.lang.RuntimeException: The root element of the rendered document was
>
> , not . A root element of is needed when linking JavaScript and stylesheet
> resources. at
> org.apache.tapestry5.internal.services.DocumentLinkerImpl.validateRoot(DocumentLinkerImpl.java:98)
> at
> org.apache.tapestry5.internal.services.DocumentLinkerImpl.addStylesheetsToHead(DocumentLinkerImpl.java:182)
> at
> org.apache.tapestry5.internal.services.DocumentLinkerImpl.updateDocument(DocumentLinkerImpl.java:84)
> at
> org.apache.tapestry5.services.TapestryModule$25.renderMarkup(TapestryModule.java:1493)
> at
> $MarkupRenderer_11e18a8d997.renderMarkup($MarkupRenderer_11e18a8d997.java)
> at
> $MarkupRenderer_11e18a8d993.renderMarkup($MarkupRenderer_11e18a8d993.java)
>
> Please let me know if you have any idea what the problem might be.
>
> Thanks,
>
> Matt
>
>
> On Thu, Sep 4, 2008 at 10:36 PM, SergeEby <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi,
>>
>> I've just released an early version of the tapestry5-appfuse project.
>> It is still alpha and is available via SVN on Google Code at:
>> http://code.google.com/p/tapestry5-appfuse/
>>
>> Feedback would be appreciated.
>>
>> --
>> Serge
>> --
>> View this message in context:
>> http://www.nabble.com/-ANN--tapestry5-%2B-appfuse-tp19325193s2369p19325193.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>