RE: Tapestry 4.1 Numeric Validation

2008-06-10 Thread Jason.Yankus
Ok, originally I tried a numeric translator with what must have been a bad number format specification. I revisited my reading in the Kent Tong book and pulled a different number format specification out, and presto! It worked. Thanks -- it's nice to get some Tapestry 4.1 advice on the boards. F

Tapestry 4.1 Numeric Validation

2008-06-09 Thread Jason.Yankus
Greetings, I have a TextField bound to an Integer property. I want to add validation to my TextField such that it will not overflow or cause errors when converting to my Integer property. I've tried: I get a class cast exception at line 60 of org.apache.tapestry.form.validator.Max when I ent

RE: Refer to a page component in a library

2008-03-14 Thread Jason.Yankus
Tony, We use an annotation to perform the page injection, but fundamentally under the hood the annotation simply prepends the namespace onto the pagename. I think, based on http://tapestry.apache.org/tapestry4/tapestry/hivedocs/config/tapestry.e nhance.InjectWorkers.html that the page type i

RE: Refer to a page component in a library

2008-03-13 Thread Jason.Yankus
Use the namespace, just as you did with the component. It can depend on the component you're using, but for the most part you just specify the namespace as you did with the component. For things like page links, you can set the namespace parameter. -jason -Original Message- From: Tony

RE: Overriding Exception Page in Library module.

2007-07-20 Thread Jason.Yankus
Ok, I tried that and got: javax.servlet.ServletException: Library 'branding' not found in namespace 'branding'. org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.servi ce(WebRequestServicerPipelineBridge.java:60) $ServletRequestServicer_113e3ef5f0d.service($Servl

Overriding Exception Page in Library module.

2007-07-20 Thread Jason.Yankus
Greetings: I'm trying to override the infrastructure property for exceptionPageName in the hivemodule.xml for a common library module in our application. The page definition in my tapestry library file looks like: The definition in my hivemodule.xml for the same library looks like:

TAP 4: How to override asset service.

2007-07-05 Thread Jason.Yankus
Hello, We're a Tapestry 4 shop. I need to override the asset service within the tapestry.services.FactoryServices contribution point with my own asset service. My wrinkle is that I also need to inject the existing asset service as a property during construction of my own asset service. How m

RE: Access Session-scoped ASO from HttpSessionListener

2006-09-14 Thread Jason.Yankus
Thanks for taking a look at my problem. However, I still don't think I can get the ASO from within the listener. While within the sessionDestroyed(HttpSessionEvent) method in the HttpSessionListener I don't have the source data (a HttpServletRequest/Response) to create a WebRequest object with wh

Access Session-scoped ASO from HttpSessionListener

2006-09-14 Thread Jason.Yankus
I know this has been discussed here recently, but I haven't really seen a satisfactory conclusion yet. Perhaps someone can clear this up for me. --- Our situation --- We have a need to, upon session timeout, clean up a number of file system resources that may have been created by the applicati

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Jason.Yankus
James: I can't get access to the svn repo. Can you send the jars? Thanks, -jason -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 10:41 AM To: 'Tapestry users' Subject: RE: Populating Tapestry ASO after successful Acegi Auth You can use

Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Jason.Yankus
Greetings: I'm using Tapestry 4 and Acegi 1.0.1. I have acegi set up to perform authentication using the AuthenticationProcessingFilter. I have a requirement to place the domain object the Acegi UserDetails object is based upon into a Tapestry ASO for use during the user session. =20 My questio