How to handle customer versions of Tapestry pages?

2006-06-16 Thread lornamas
Hello. We develop a product using Tapestry 3.0.4. For our different customers, parts of the pages need to differ while the overall structure is the same. This begins with having different images in the @Border for branding and goes on with e.g. form fields only present in versions for some cus

listener invocation via javascript?

2006-06-16 Thread Mul
Is there way to invoke a listener via javascript? I have a element that eventually will be invoked at the server side after certain client side processing; and it'd contain certain new data that'd need to be passed in to the listener. Thanks.

Re: Input dates validator

2006-06-16 Thread Paul Ferraro
This should work: Paul Malin Ljungh wrote: > Hi all, > > I'm a newbie and just too tired think right now. Please help me :) > > I have a form with two TextFields where the user should enter somes > dates. I > use the date validator to check that co

RE: Input dates validator

2006-06-16 Thread Mark Stang
Hi, The Calendar class in Java has a ".before" test. And a ".after" check. I don't know if there is a "date validator". hth, Mark -Original Message- From: [EMAIL PROTECTED] on behalf of Malin Ljungh Sent: Fri 6/16/2006 1:32 PM To: Tapestry users Subject: Input dates validator Hi al

Input dates validator

2006-06-16 Thread Malin Ljungh
Hi all, I'm a newbie and just too tired think right now. Please help me :) I have a form with two TextFields where the user should enter somes dates. I use the date validator to check that correct dates are supplied. Though, I need to check that date2 < date1 - how can I do this? Can I use the m

Reading parameters

2006-06-16 Thread Erik Johansson
Hi, Im trying to create a component which initializes a PropertySelection component based on a parameter provided to my own component. I have placed the setup code in prepareForRender() since the parameter does not seem to be set in pageBeginRender() public abstract class BasketItem extends

RE: Remove jsessionid from static resources?

2006-06-16 Thread Jeff Lubetkin
It's not a bug. When session is first created, Tomcat can't know if cookies are supported or not, so it tries both cookies and URL rewriting. If, on the subsequent request, the session ID comes out of the cookie, Tomcat will stop rewriting the URLs. jeff -Original Message- From: Henri D

Re: Remove jsessionid from static resources?

2006-06-16 Thread Henri Dupre
On 6/16/06, D&J Gredler <[EMAIL PROTECTED]> wrote: Can you get banned from Google for this? I seem to remember they want to be served exactly the same content that a regular useragent would get. Obviously this isn't the kind of stuff they're trying to avoid... Just wondering. It is actually m

RE: Remove jsessionid from static resources?

2006-06-16 Thread Jeff Lubetkin
We've noticed no issues, and SEO experts that we've talked to support this mechanism. Of course, Google being Google there's no way to know for sure what they do or don't like... jeff -Original Message- From: D&J Gredler [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 4:24 AM To:

RE: custom namespace

2006-06-16 Thread James Carman
There's a new enhancement that allows you to create a base class and have your HM services auto-wired in. It's available in 4.1. -Original Message- From: Gentry, Michael (Contractor) [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 11:41 AM To: Tapestry users Subject: RE: custom nam

RE: custom namespace

2006-06-16 Thread Gentry, Michael \(Contractor\)
+1 (to Bryan and Geoff). I'm still mumbling over getVisit() (as an example) being deprecated. Something as simple as getting your session in a session-based application shouldn't require HM (or Annotations, which don't work in Java 1.4.x, or XML for N pages to do an inject of the HM class (oh,

Problems with listener-configuration in web.xml for Spring-Integration

2006-06-16 Thread Claus Bogner
Hi, I configured the web.xml of my tapestry application for integration with struts like that: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/TR/xmlschema-1/"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; version="2.4"> crm contextConfigLoca

Re: Setting selected values on Palette

2006-06-16 Thread Rui Pacheco
I think I'm having problems because I use a custom model for my PropertySelection and Palette. I am using a model that has both values and labels, the values being defined not by the position of the label on the drop down but by an ID that I fetch from the database. The content of that model is

Re: Remove jsessionid from static resources?

2006-06-16 Thread D&J Gredler
Can you get banned from Google for this? I seem to remember they want to be served exactly the same content that a regular useragent would get. Obviously this isn't the kind of stuff they're trying to avoid... Just wondering. On 6/15/06, Jeff Lubetkin <[EMAIL PROTECTED]> wrote: You can prevent