Re: Two fundamental questions.

2015-01-21 Thread Kalle Korhonen
Always worth mentioning tapestry-model ( http://tynamo.org/tapestry-model+guide) when talking about CRUD. The more you generalize your T5 CRUD implementation, the more it will start looking like tapestry-model. Kalle On Wed, Jan 21, 2015 at 5:40 AM, Geoff Callender < geoff.callender.jumpst...@gma

Re: Two fundamental questions.

2015-01-21 Thread Bob Harner
Cheng, in case you haven't seen it, here's the write-up Robert Z. provided 3 years ago listing all the cool functionality in the Tapestry5-cayenne module: http://mail-archives.apache.org/mod_mbox/tapestry-users/201112.mbox/%3cf6c2be07-ffad-4488-ae2f-2112a0e7b...@roxanemy.com%3E On Wed, Jan 21, 20

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

2015-01-21 Thread George Christman
I dunno maybe, I just got sick of fighting with it lol. On Wed, Jan 21, 2015 at 5:04 PM, Chris Poulsen wrote: > Would it be easier to mock a request? > > On Wed, Jan 21, 2015 at 10:30 PM, George Christman > wrote: > >> On Wed, Jan 21, 2015 at 4:13 PM, Kalle Korhonen >> wrote: >> > On Wed, Jan 2

Re: HibernateEntityValueEncoder NullPointerException - Composite/Compund Primary Key Issue

2015-01-21 Thread Kalle Korhonen
I see Lance already answered to your question on Stackoverflow. Follow his advice and make sure you contribute the encoder. After that, you may hit another issues with tynamo not recognizing @IdClass (see an old issue https://jira.codehaus.org/browse/TYNAMO-168), whether it matters to you, I'm not

Re: Two fundamental questions.

2015-01-21 Thread Robert Zeigler
I haven't tried tapestry-cayenne with 5.4. I've been heavily involved in a lot of other projects that don't involve tapestry or even java. That said, my recollection is that the Library works with 5.3, at least. At some point, I will migrate the code over to github, but that isn't likely to happ

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

2015-01-21 Thread Chris Poulsen
Would it be easier to mock a request? On Wed, Jan 21, 2015 at 10:30 PM, George Christman wrote: > On Wed, Jan 21, 2015 at 4:13 PM, Kalle Korhonen > wrote: > > On Wed, Jan 21, 2015 at 1:07 PM, George Christman < > gchrist...@cardaddy.com> > > wrote: > > > >> On Wed, Jan 21, 2015 at 3:16 PM, Kall

Re: Two fundamental questions.

2015-01-21 Thread zcsrssrs
Thank you Michael for your detailed comments. I will look into these once I am done with basic crud. On Wed, Jan 21, 2015 at 6:11 AM, Michael Gentry wrote: > Hi Charles, > > We generally don't use any kind of special integration with our > Tapestry+Cayenne applications here. A couple general sc

Re: Two fundamental questions.

2015-01-21 Thread zcsrssrs
Thank you Geoff, I just noticed jumpstart before, never know there are two version of jumpstart. Many thanks. On Wed, Jan 21, 2015 at 6:40 AM, Geoff Callender < geoff.callender.jumpst...@gmail.com> wrote: > For several approaches to CRUD: > > T5.4: http://jumpstart.doublenegative.com.au/

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

2015-01-21 Thread George Christman
On Wed, Jan 21, 2015 at 4:13 PM, Kalle Korhonen wrote: > On Wed, Jan 21, 2015 at 1:07 PM, George Christman > wrote: > >> On Wed, Jan 21, 2015 at 3:16 PM, Kalle Korhonen >> wrote: >> > On Tue, Jan 20, 2015 at 1:03 PM, George Christman < >> gchrist...@cardaddy.com> >> > wrote: >> >> So I just took

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

2015-01-21 Thread Kalle Korhonen
On Wed, Jan 21, 2015 at 1:07 PM, George Christman wrote: > On Wed, Jan 21, 2015 at 3:16 PM, Kalle Korhonen > wrote: > > On Tue, Jan 20, 2015 at 1:03 PM, George Christman < > gchrist...@cardaddy.com> > > wrote: > >> So I just took a look at the tapestry code and I'm not seeing anyway > >> to work

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

2015-01-21 Thread George Christman
On Wed, Jan 21, 2015 at 3:16 PM, Kalle Korhonen wrote: > On Tue, Jan 20, 2015 at 1:03 PM, 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 th

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

2015-01-21 Thread George Christman
On Wed, Jan 21, 2015 at 3:32 PM, Thiago H de Paula Figueiredo wrote: > On Wed, 21 Jan 2015 12:07:10 -0200, George Christman > wrote: > >> I guess there is a bug in the PageRenderLinkSource component > > > It's not a component: it's a service. > > then or >> >> I'm missing something because it doe

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

2015-01-21 Thread Thiago H de Paula Figueiredo
On Wed, 21 Jan 2015 12:07:10 -0200, George Christman wrote: I guess there is a bug in the PageRenderLinkSource component It's not a component: it's a service. then or I'm missing something because it does not seem to work. My configuration is as followed, perhaps I'm missing something sim

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

2015-01-21 Thread Kalle Korhonen
On Tue, Jan 20, 2015 at 1:03 PM, 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/apa

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

2015-01-21 Thread George Christman
I guess there is a bug in the PageRenderLinkSource component then or I'm missing something because it does not seem to work. My configuration is as followed, perhaps I'm missing something simple. My local environment uses Jetty In my DevelopmentModule I have the following config. public static v

Re: Two fundamental questions.

2015-01-21 Thread Geoff Callender
For several approaches to CRUD: T5.4: http://jumpstart.doublenegative.com.au/jumpstart7 T5.3: http://jumpstart.doublenegative.com.au/jumpstart HTH, Geoff On 21 Jan 2015, at 8:27 am, Cheng Zhang wrote: > Hi all, > > I am new to Tapestry. I have two questions. > > 1. What is t

Re: Two fundamental questions.

2015-01-21 Thread Michael Gentry
Hi Charles, We generally don't use any kind of special integration with our Tapestry+Cayenne applications here. A couple general scenarios are: 1. Your application is session-heavy (ours are). In this case you store your Cayenne objects in your session objects (page/component-based or global) a

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

2015-01-21 Thread Thiago H de Paula Figueiredo
On Tue, 20 Jan 2015 21:13:08 -0200, George Christman wrote: 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 should use it. You said to take a look at ComponentEven