[ANN] tapestry5 + appfuse

8 messages Options
Embed this post
Permalink
Serge Eby

[ANN] tapestry5 + appfuse

Reply Threaded More More options
Print post
Permalink
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

Re: [ANN] tapestry5 + appfuse

Reply Threaded More More options
Print post
Permalink
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

Re: [ANN] tapestry5 + appfuse

Reply Threaded More More options
Print post
Permalink
In reply to this post by Serge Eby
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

SergeEby 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
mraible

Re: [ANN] tapestry5 + appfuse

Reply Threaded More More options
Print post
Permalink
In reply to this post by Serge Eby
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:

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: [hidden email]
For additional commands, e-mail: [hidden email]




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

tapestry5.zip (307K) Download Attachment
mraible

Re: [ANN] tapestry5 + appfuse

Reply Threaded More More options
Print post
Permalink
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,

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:

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: [hidden email]
For additional commands, e-mail: [hidden email]



Serge Eby

Re: [ANN] tapestry5 + appfuse

Reply Threaded More More options
Print post
Permalink
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 wrote:
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 <matt@raibledesigns.com> 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 <sdeby@hotmail.com> 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: users-unsubscribe@appfuse.dev.java.net
>> For additional commands, e-mail: users-help@appfuse.dev.java.net
>>
>>
>
mraible

Re: [ANN] tapestry5 + appfuse

Reply Threaded More More options
Print post
Permalink
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:

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 wrote:
>
> 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,
>> 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:
>>
>>>
>>> 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: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>
>

--
View this message in context: http://www.nabble.com/-ANN--tapestry5-%2B-appfuse-tp19325193s2369p20905625.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


Serge Eby

Re: [ANN] tapestry5 + appfuse

Reply Threaded More More options
Print post
Permalink
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

mraible wrote:
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 <sdeby@hotmail.com> wrote:

>
> 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 wrote:
> >
> > 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 <matt@raibledesigns.com>
> > 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 <sdeby@hotmail.com> 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: users-unsubscribe@appfuse.dev.java.net
> >>> For additional commands, e-mail: users-help@appfuse.dev.java.net
> >>>
> >>>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/-ANN--tapestry5-%2B-appfuse-tp19325193s2369p20905625.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@appfuse.dev.java.net
> For additional commands, e-mail: users-help@appfuse.dev.java.net
>
>