Re: Two fundamental questions.

2015-01-20 Thread Cheng Zhang
Hi Thiago, I just wanted to practice, so there is no specific scenario with my requirement. Let me try to use the components you mentioned. Many thanks. Charles On Tue, Jan 20, 2015 at 2:44 PM, Thiago H de Paula Figueiredo wrote: > On Tue, 20 Jan 2015 19:27:15 -0200, Cheng Zhang > wrote: > >>

Re: PageRenderLinkSource failing in service when called by cron scheduler - Unable to delegate method invocation to property

2015-01-20 Thread George Christman
Thanks Thiago, but I think I'm even more confused now lol It looks like I confused HOSTPORT_SECURE with SECURE_ENABLED. Anyhow should I not be using PageRenderLinkSouce? You said to take a look at ComponentEventLinkEncoder, are you suggesting to take a look at it to build my own link building metho

Re: Two fundamental questions.

2015-01-20 Thread Thiago H de Paula Figueiredo
On Tue, 20 Jan 2015 19:27:15 -0200, Cheng Zhang wrote: Hi all, Hi! I am new to Tapestry. I have two questions. Welcome! 1. What is the best solution for Tapestry-Cayenne integration? I found the only project is as below but it looks like no longer developed for over 4 years. And there

Two fundamental questions.

2015-01-20 Thread Cheng Zhang
Hi all, I am new to Tapestry. I have two questions. 1. What is the best solution for Tapestry-Cayenne integration? I found the only project is as below but it looks like no longer developed for over 4 years. And there are no many supporting documents. https://code.google.com/p/tapestry5-cayenne/

Re: PageRenderLinkSource failing in service when called by cron scheduler - Unable to delegate method invocation to property

2015-01-20 Thread Thiago H de Paula Figueiredo
On Tue, 20 Jan 2015 19:13:30 -0200, Thiago H de Paula Figueiredo wrote: On Tue, 20 Jan 2015 19:03:30 -0200, George Christman wrote: So I just took a look at the tapestry code and I'm not seeing anyway to work around it unless I want to build my own links which I'd rather not do because o

Re: PageRenderLinkSource failing in service when called by cron scheduler - Unable to delegate method invocation to property

2015-01-20 Thread Thiago H de Paula Figueiredo
On Tue, 20 Jan 2015 19:03:30 -0200, George Christman wrote: So I just took a look at the tapestry code and I'm not seeing anyway to work around it unless I want to build my own links which I'd rather not do because of my use of the url rewriter. Tap code line 113 https://github.com/apache/t

Re: HibernateEntityValueEncoder NullPointerException - Composite/Compund Primary Key Issue

2015-01-20 Thread Thiago H de Paula Figueiredo
On Tue, 20 Jan 2015 17:43:35 -0200, Witt, Aaron wrote: Hi Tapestry Users, Hi! I'm using a CRUD framework called Tynamo, which in turn relies on Apache Tapestry and Hibernate. This all works fine, except for when I try to use it for CRUD on a table with a composite/compound primary key.

Re: PageRenderLinkSource failing in service when called by cron scheduler - Unable to delegate method invocation to property

2015-01-20 Thread George Christman
So I just took a look at the tapestry code and I'm not seeing anyway to work around it unless I want to build my own links which I'd rather not do because of my use of the url rewriter. Tap code line 113 https://github.com/apache/tapestry-5/blob/5.4-beta-26/tapestry-core/src/main/java/org/apache/

HibernateEntityValueEncoder NullPointerException - Composite/Compund Primary Key Issue

2015-01-20 Thread Witt, Aaron
Hi Tapestry Users, I'm using a CRUD framework called Tynamo, which in turn relies on Apache Tapestry and Hibernate. This all works fine, except for when I try to use it for CRUD on a table with a composite/compound primary key. I've decided not to go the @EmbeddedId route, since it seems to not

Re: PageRenderLinkSource failing in service when called by cron scheduler - Unable to delegate method invocation to property

2015-01-20 Thread George Christman
Still no success in getting this to work. I've contributed the Hostname etc. configuration.add(SymbolConstants.HOSTNAME, "localhost"); configuration.add(SymbolConstants.HOSTPORT, "8080"); configuration.add(SymbolConstants.HOSTPORT_SECURE, "false"); And a simple test which fails w

Re: PageRenderLinkSource failing in service when called by cron scheduler - Unable to delegate method invocation to property

2015-01-20 Thread George Christman
So toAbsolute is the code calling the request and the cause of this exception? I'm assuming your referring to me contributing those values to my appmodule. Once I contribute those values, would toAbsolute use those values instead of the request? Just trying to understand the issue a little bit bett

Re: PageRenderLinkSource failing in service when called by cron scheduler - Unable to delegate method invocation to property

2015-01-20 Thread Kalle Korhonen
On Tue, Jan 20, 2015 at 1:23 AM, George Christman wrote: > I'm using T5 beta-25 and I have the following code and I'm noticing > when the scheduler fires off my service, my PageRenderLinkSource does > not work. If I manually fire it off through the admin with an > actionlink, it works without iss

PageRenderLinkSource failing in service when called by cron scheduler - Unable to delegate method invocation to property

2015-01-20 Thread George Christman
I'm using T5 beta-25 and I have the following code and I'm noticing when the scheduler fires off my service, my PageRenderLinkSource does not work. If I manually fire it off through the admin with an actionlink, it works without issue. AppModule.class @Startup public static void initApplicati