Re: Liquibase for Tapestry5

2013-08-13 Thread Borut Bolčina
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 clear vision on how to use the auto-migration in a more complex development/runtime environments. Will have to dedicate some time into it and discover safe a

Re: Liquibase for Tapestry5

2013-08-13 Thread Dmitry Gusev
Hi, It seems Flyway is popular among tapestry users, we've discussed it yesterday on the #tapestry IRC channel. It seems (the only?) advantage of Flyway against Liquibase is that you can run custom Java code during migrations. Do you have any reusable modules or, maybe, best practices how you us

Re: Liquibase for Tapestry5

2013-08-13 Thread Borut Bolčina
Nice Dmitry! I (we) use Flyway for database migrations, but it is always nice to see a new Tapestry module! Regards, borut 2013/8/12 Dmitry Gusev > FYI: > > > https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-liquibase > > -- > Dmitry Gusev > > AnjLab Team > http:/

Re: How to use Jquery with Tapestry

2013-08-13 Thread William Lopes
Hi, Links for help you: http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/jquery http://tapestry5-jquery.com/ Hugs. 2013/8/4 newbie newbie > Hi, > I am using jquery/datatable. I want to highlight selected row in the > datatable. There is sample jQuery code that implements t

Re: Quick ActivationContext question

2013-08-13 Thread Thiago H de Paula Figueiredo
On Tue, 13 Aug 2013 18:32:46 -0300, Tony Nelson wrote: I have a simple page that has an ActivationContext. I'd like to handle a simple ajax call with one parameter. When I use componentResource.createEventLink("foo"), the URL contains the ActivationContext, like this: /ih/view:foo?t:a

Re: Quick ActivationContext question

2013-08-13 Thread Dusko Jovanovski
I'm not sure what your exact scenario is, but are you aware that you can pass an varargs parameter to the createEventLink method? http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ComponentResourcesCommon.html#createEventLink(java.lang.String, java.lang.Object...) Seems like exactly

Re: Quick ActivationContext question

2013-08-13 Thread Lenny Primak
Have you tried to create onPassivate() that returns void / null? Maybe that will solve your issue, or you can just ignore the context. On Aug 13, 2013, at 5:32 PM, Tony Nelson wrote: > I have a simple page that has an ActivationContext. I'd like to handle a > simple ajax call with one paramet

Quick ActivationContext question

2013-08-13 Thread Tony Nelson
I have a simple page that has an ActivationContext. I'd like to handle a simple ajax call with one parameter. When I use componentResource.createEventLink("foo"), the URL contains the ActivationContext, like this: /ih/view:foo?t:ac=77 I don't need the ActivationContext for this call, and I wa

Re: Tapestry 5.2.5: Tapestry Exception "MarkupWriter.element() and not followed up with MarkupWriter.end()"

2013-08-13 Thread Lenny Primak
Yup. Things change. Bugs get exposed etc. that's just the way it is unfortunately. On Aug 13, 2013, at 5:02 PM, rukmini n wrote: > OK.. But this was working fine, earlier.. We upgraded tapestry from 5.0.15 > to 5.2.5. Since then we are seeing this issue. > > > Thanks, > Rukmini > > On Tu

Re: Tapestry 5.2.5: Tapestry Exception "MarkupWriter.element() and not followed up with MarkupWriter.end()"

2013-08-13 Thread rukmini n
OK.. But this was working fine, earlier.. We upgraded tapestry from 5.0.15 to 5.2.5. Since then we are seeing this issue. Thanks, Rukmini On Tue, Aug 13, 2013 at 12:48 PM, Lenny Primak wrote: > I would suggest you crack open the debugger, and debug the code that > throws NPE. > Even if it's ins

Re: Tapestry 5.2.5: Tapestry Exception "MarkupWriter.element() and not followed up with MarkupWriter.end()"

2013-08-13 Thread Lenny Primak
I would suggest you crack open the debugger, and debug the code that throws NPE. Even if it's inside Tapestry, it'll shine the light on what's causing it in your code. You will learn the mistake immediately, and learn something new in the process. On Aug 13, 2013, at 3:45 PM, rukmini n wrote: >

Re: Tapestry 5.2.5: Tapestry Exception "MarkupWriter.element() and not followed up with MarkupWriter.end()"

2013-08-13 Thread rukmini n
Hi Thiago.. I tried, what you suggested.. But I got the exception. Please help.. Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException [at classpath:com/test/ui/components/sh/common/LoginComponent.tml, line 44] at org.apache.tapestry5.internal.structure.ComponentPageElementImp

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

2013-08-13 Thread Lenny Primak
I second that. That's how I learned tapestry and it was quick and easy. On Aug 13, 2013, at 12:55 PM, Howard Lewis Ship wrote: > I'd recomment Igor Drobiasko's book ... very up to date! > > http://www.tapestry5book.com/ > > > On Tue, Aug 13, 2013 at 4:34 AM, Steve wrote: > >> Hi, >> >> Yes

Re: Tapestry 5.2.5: Tapestry Exception "MarkupWriter.element() and not followed up with MarkupWriter.end()"

2013-08-13 Thread Thiago H de Paula Figueiredo
On Tue, 13 Aug 2013 15:04:54 -0300, rukmini n wrote: Hi Thiago, Hi! I think the problem is here: msgEle.removeChildren(); msgEle.pop(); Have you tried just using msgEle.remove(), as you seem to want to remove the element completely? -- Thiago H. de Pau

Re: Tapestry 5.2.5: Tapestry Exception "MarkupWriter.element() and not followed up with MarkupWriter.end()"

2013-08-13 Thread rukmini n
Hi Thiago, Did you find any problem with the code? Please respond, thanks in advance.. Thanks, Rukmini On Tue, Aug 13, 2013 at 11:04 AM, rukmini n wrote: > Hi Thiago, > > Thanks for the response: Here is the code; > > import org.apache.tapestry5.Field; > import org.apache.tapestry5.MarkupWrite

Re: Tapestry 5.2.5: Tapestry Exception "MarkupWriter.element() and not followed up with MarkupWriter.end()"

2013-08-13 Thread rukmini n
Hi Thiago, Thanks for the response: Here is the code; import org.apache.tapestry5.Field; import org.apache.tapestry5.MarkupWriter; import org.apache.tapestry5.ValidationTracker; import org.apache.tapestry5.annotations.BeginRender; import org.apache.tapestry5.annotations.Environmental; import org.

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

2013-08-13 Thread Howard Lewis Ship
I'd recomment Igor Drobiasko's book ... very up to date! http://www.tapestry5book.com/ On Tue, Aug 13, 2013 at 4:34 AM, Steve wrote: > Hi, > > Yes - Living and learning. > This project which I am doing is actually part of my PhD, I needed to > build something quick that would be reliable and e

Re: Tapestry 5.2.5: Tapestry Exception "MarkupWriter.element() and not followed up with MarkupWriter.end()"

2013-08-13 Thread Thiago H de Paula Figueiredo
On Tue, 13 Aug 2013 13:48:29 -0300, rukmini n wrote: Hi all, Hi! I get the below exception while rendering tml file. What's the Java source code for FieldValidationErrorMsg? -- Thiago H. de Paula Figueiredo - To unsubsc

Tapestry 5.2.5: Tapestry Exception "MarkupWriter.element() and not followed up with MarkupWriter.end()"

2013-08-13 Thread rukmini n
Hi all, I get the below exception while rendering tml file. 2013-08-12 17:22:12,525 [d701#8/https://myaccount.srwd00.com/login/Signin] priority=ERROR app_name=testapps thread=ajp-127.0.0.3-8009-1 location=RequestExceptionHandler line=40 Unexpected exception: Render queue error in PostRenderCleanu

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

2013-08-13 Thread Steve
Hi, Yes - Living and learning. This project which I am doing is actually part of my PhD, I needed to build something quick that would be reliable and easy to expand in future (To allow me to start gathering some early results from users). In my undergraduate studies in Computer Science the main la