Overriding ValidationDecorator

2012-09-07 Thread Mike Leonardo
Hey all, So I have this requirement to add a * after absolutely any field that is marked required. I have an old solution based on http://tapestry.1045711.n5.nabble.com/Example-of-overriding-the-default-ValidationDecorator-td2419072.html where I contributed a markupRenderer which replaced

Dynamically contributing a ServletContextListener

2012-01-26 Thread Mike Leonardo
Hi, I'm working with integrating WURFL into my Tapestry app but I need to conditionally add WURFL's ServletContextListener through Tapestry but I can't figure out the right "hooks" or contribution that would make this possible. I want to avoid anything in my web.xml since my project is also u

Re: T 5.2 & App Engine 1.3 SDK

2010-01-11 Thread Mike Leonardo
5:16:29 AM GMT -05:00 US/Canada Eastern Subject: Re: T 5.2 & App Engine 1.3 SDK Hi, > I keep getting the same issue with the LocalVariableTable I believe this is due to javaassist 3.11, try to revert this jar to version 3.9 On Mon, Jan 11, 2010 at 10:00, Mike Leonardo wrote: > Ah,

Re: T 5.2 & App Engine 1.3 SDK

2010-01-10 Thread Mike Leonardo
actory Software Engineer - Original Message ----- From: "Mike Leonardo" To: "Tapestry users" Sent: Monday, January 11, 2010 1:22:26 AM GMT -05:00 US/Canada Eastern Subject: Re: T 5.2 & App Engine 1.3 SDK Hey Alex (or Dmitry), I'm trying to get a T5.2 + 1.3GAE proje

Re: T 5.2 & App Engine 1.3 SDK

2010-01-10 Thread Mike Leonardo
Hey Alex (or Dmitry), I'm trying to get a T5.2 + 1.3GAE project working too. How did you perform the fix in Dmitry's solution? (http://dmitrygusev.blogspot.com/2009/10/develope-java-applications-with-gae-sdk.html) You mention replacing the agent in the jar file - but I thought Dmitry's fix was

Access the Tapestry IoC from another servlet

2009-12-06 Thread Mike Leonardo
Hello! I'm writing an application that has both a T5 web app and also a Restlet servlet in the same project. So T5 is the servlet-filter and the Restlet is an actual servlet. To allow both to co-exist I've configured the T5 AppModule to ignore anything with /rest/ at the beginning of the reques

Re: T5 Override 404 Page

2008-10-14 Thread Mike Leonardo
Hey, Thanks for the responses, I've given this a go and I am having a bit of trouble. When I add the: 404 /error404.jsp to the web.xml and restart - my application will still redirect all fake urls to my Index page. I'm running Jetty. Any thoughts? - Mike Leonardo

T5 Override 404 Page

2008-10-14 Thread Mike Leonardo
Hello, I'm looking to override the 404 page with my own custom one. I've scanned around the wiki how-to pages and can't find much. Can anyone point me to any resources or documentation that would help? Thanks!

T5: Form using Zone with two submits - possible bug?

2008-08-08 Thread Mike Leonardo
Hello, I have a form that uses the zone parameter so that the submission is handled as an Ajax reload. The problem is that my form has two submit buttons, but Tapestry seems to always trigger the "selected" event for the first button, regardless of which one I click. I've created this small te

Re: T5: Trigger zone reload with just javascript?

2008-08-08 Thread Mike Leonardo
ried using the t:zone parameter in your form? then you can perform a submit in your onchange handler e.g. Toby 2008/8/7 Mike Leonardo <[EMAIL PROTECTED]> > Hey All, > > I have a form where I want to be able to change one value and have t

T5: Trigger zone reload with just javascript?

2008-08-07 Thread Mike Leonardo
Hey All, I have a form where I want to be able to change one value and have the other values in the form update. I have a zone around the whole form, and I'd like to use the onchange event to reload the Zone, but what javascript I use to trigger the reloading? Thanks for any help! - Mike ---

T4: Issue with Hibernate Session closes on Custom 404 page render

2008-04-10 Thread Mike Leonardo
lazily initialize a collection of role: com.ifactory.cms.entities.StandardPage.children, no session or session was closed Here is how I set it in the web.xml: 404 /app?service=page&page=main/Custom404 Any thoughts? Thanks! - Mike Leon

Tapestry Shopping Cart?

2007-12-31 Thread Mike Leonardo
I have a project that I'd like to do with Tapestry 4 - but it requires the use of a shopping cart. Anyone have any good tips on possible solutions? Most shopping cart packages are written in Perl or PHP and I'd rather not have some mutant merge of them with my elegant tapestry templates. I'd lov

HtmlUnit testing with Contrib Palette 2

2007-01-11 Thread Mike Leonardo
Sorry, I actually hit send too soon... Here's the error. Thanks! Cheers, Mike Leonardo === EXCEPTION START EcmaError: lineNumber=[145] column=[0] lineSource=[null] name=[TypeError] sourceName=[http://localhost:9001/app?digest=db3d317f3d6334ce6ec25039e12b6d52&path=%2Forg

HtmlUnit testing with Contrib Palette

2007-01-11 Thread Mike Leonardo
Hey, I'm using the Palette contrib component... it works great when I user test it, but I get a strange error when I try to test it using HtmlUnit testing. I enabled the javascript, and built utility function to select and click the right links, but the javascript breaks in the test. Anyone have a