Re: Liquibase for Tapestry5

2013-08-14 Thread Dmitry Gusev
Thanks for sharing this, Michael! On Thu, Aug 15, 2013 at 1:00 AM, Michael Gentry wrote: > Hi Dmitry, > > Part of the risk-factor for us was that it takes about 1 week to do a > production deployment here. If the application was running > flyway.migrate() itself (reading the scripts out of the

Re: Liquibase for Tapestry5

2013-08-14 Thread Michael Gentry
Hi Dmitry, Part of the risk-factor for us was that it takes about 1 week to do a production deployment here. If the application was running flyway.migrate() itself (reading the scripts out of the WAR) and there was an issue, it would be quite difficult to fix because we'd have to go through the d

Re: Quick ActivationContext question

2013-08-14 Thread Thiago H de Paula Figueiredo
On Wed, 14 Aug 2013 11:32:57 -0300, Tony Nelson wrote: Why don't you try what I suggested in my previous e-mail? ;) Because I want to use Tapestry's built in Hibernate ValueEncoders. Just @Inject ValueEncoderSource, which is what Tapestry itself uses. Or add the id to the URL itself, no

RE: Quick ActivationContext question

2013-08-14 Thread Tony Nelson
From: Nathan Quirynen [mailto:nat...@pensionarchitects.be] Sent: Wednesday, August 14, 2013 10:41 AM To: users@tapestry.apache.org Subject: Re: Quick ActivationContext question And what is the reason that you can't add the context when creating the event link as mentioned before: componentRes

Re: Quick ActivationContext question

2013-08-14 Thread Nathan Quirynen
And what is the reason that you can't add the context when creating the event link as mentioned before: componentResources.createEventLink("deleteContactLog", contactLogId) On 14/08/13 16:32, Tony Nelson wrote: -Original M

RE: Quick ActivationContext question

2013-08-14 Thread Tony Nelson
Try now, I made your user account, olwi Tony > -Original Message- > From: Tony Nelson [mailto:tnel...@starpoint.com] > Sent: Wednesday, August 14, 2013 10:33 AM > To: Tapestry users > Subject: RE: Quick ActivationContext question > > > > > -Original Message- > > From: Thiago H de

Re: Liquibase for Tapestry5

2013-08-14 Thread Dmitry Gusev
Hi, I think this is a good point to only check if migrations applied if your risks are high. But if something went wrong with migration -- it should be rolled back and simply won't apply. So in both cases your application won't be started, whether you stopped application manually and applied migr

RE: Quick ActivationContext question

2013-08-14 Thread Tony Nelson
> -Original Message- > From: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] > Sent: Wednesday, August 14, 2013 10:15 AM > To: Tapestry users > Subject: Re: Quick ActivationContext question > > On Wed, 14 Aug 2013 10:50:32 -0300, Tony Nelson > wrote: > > > But if I hand craft th

Re: Quick ActivationContext question

2013-08-14 Thread Thiago H de Paula Figueiredo
On Wed, 14 Aug 2013 10:50:32 -0300, Tony Nelson wrote: But if I hand craft the URL, "/instihire/view/jacket:deletecontactlog/someidhere And post that, it works just fine. It does because you manually put the activation context in the URL, not because you put the id in the POST part of

RE: Quick ActivationContext question

2013-08-14 Thread Tony Nelson
> -Original Message- > From: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] > Sent: Wednesday, August 14, 2013 9:47 AM > To: Tapestry users > Subject: Re: Quick ActivationContext question > > On Wed, 14 Aug 2013 10:06:21 -0300, Tony Nelson > wrote: > > > componentResources.crea

Re: Quick ActivationContext question

2013-08-14 Thread Thiago H de Paula Figueiredo
On Wed, 14 Aug 2013 10:06:21 -0300, Tony Nelson wrote: componentResources.createEventLink("deleteContactLog", new Object[] {}).toURI() Your mistake here is to think that the event context will come from the POST'ed data. It doesn't. It comes from the path in the URL. You're passing an

Re: Liquibase for Tapestry5

2013-08-14 Thread Michael Gentry
Hi Dmitry, Like Borut, we have many Maven profiles set up to do Flyway migrations in all of our environments and have set up our DBAs with Maven/etc in order for them to do our production migrations. On the Tapestry side, our AppModule has an @Startup method that does a Flyway validate() to ensur

Re: Quick ActivationContext question

2013-08-14 Thread Tony Nelson
On Aug 13, 2013, at 6:52 PM, Thiago H de Paula Figueiredo mailto:thiag...@gmail.com>> wrote: On Tue, 13 Aug 2013 18:32:46 -0300, Tony Nelson mailto:tnel...@starpoint.com>> wrote: I have a simple page that has an ActivationContext. I'd like to handle a simple ajax call with one parameter. Whe

Re: Form inside component isn't working as I expected (Fairly new to tapestry, help greatly appreciated!)

2013-08-14 Thread Steve
Thanks Howard and Lenny for the guidance. I'll order the paper back book. Looking at the contents online it does look like it covers some items which my current book doesn't. It's very nice to have such a supportive community, thanks again. Hopefully I can give something back as soon as I know wha

Re: Liquibase for Tapestry5

2013-08-14 Thread Borut Bolčina
Also by running flyway maven plugin with production profile activated. We have several profiles based on environment and based on database. What puzzles me at the moment is how to streamline the editorial changes on some data made after migration has been made. Those changes should be somehow inco

Re: Liquibase for Tapestry5

2013-08-14 Thread Dmitry Gusev
Just curious, and how do you deliver your migrations to target environments, like production? On Wed, Aug 14, 2013 at 10:39 AM, Borut Bolčina wrote: > Hello, > > no reusable modules at the moment, nor any integration, as we use the > flyway as a maven plugin. I do see a potential use, but have no