|
|
|
SergeEby
|
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 |
|
kace-2
|
Hi Serge,
looks good, adapting it for my project now. Is there documentation coming that explains the conversion from T4 to T5? Would be interested to know what is still missing in terms of code completeness from T4. Are you still working on this? Thanks ..kace |
||||||||||||||||
|
Eric Ma
|
In reply to this post
by SergeEby
I am studying the code. Can you tell me where the checkboxselect component in UserEdit.tml comes from? I could not find it in the T5 core or commons lib.
Thanks, Eric
|
||||||||||||||||
|
mraible
|
In reply to this post
by SergeEby
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 <[hidden email]> wrote:
--------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
mraible
|
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 <[hidden email]> wrote: Serge, |
||||||||||||||||
|
SergeEby
|
Hi Matt,
I will look into this later tonight. FYI, I made several changes with the upcoming final RC (5.0.18) that I haven't had a chance to check in yet. /Serge
|
||||||||||||||||
|
mraible
|
I forgot to copy src/main/resources/org/** and that seems to be the cause of the problem. I'm going to check everything into SVN now. For any upgrades you're doing on the google-code project, can you send me diffs (or better yet, create issues in JIRA and attach patches). That way we can keep the sources in synch. If you're interested in becoming a committer, I can propose a vote on the developers list.
Thanks, Matt On Mon, Dec 8, 2008 at 4:13 PM, SergeEby <[hidden email]> wrote:
|
||||||||||||||||
|
SergeEby
|
Thanks!
I created and attached a patch to the following issue: http://issues.appfuse.org/browse/APF-1116 Sure, I am interested :) Let me know if you run into any issues. /Serge
|
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |