Re: Formbean information lost

2006-12-26 Thread Thomas Thomas
Thank u ! it works great :-)

Re: No taglib element in web.xml v2.4 ?

2006-12-16 Thread Thomas Thomas
It is fixed Weird that in Eclipse it doesnt show the taglib element ! But I placed this somewhere and it works ! thx !

Re: Formbean information lost

2006-12-16 Thread Thomas Thomas
Thank u very much Miss Harper. I think it's due to this code, and I don't really know a good way to rectify this : Jour Mois Thank u very much for your support.

No taglib element in web.xml v2.4 ?

2006-12-16 Thread Thomas Thomas
Hi, I have this declaration for my web.xml : http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> I can see that this declaration has

Re: Validator - Date validation

2006-12-08 Thread Thomas Thomas
Ok everything is fixed, I forgot to do : ValidatorUtils.getValueAsString

Re: Validator - Date validation

2006-12-08 Thread Thomas Thomas
I get the String literals and not the real numbers

Re: Validator - Date validation

2006-12-08 Thread Thomas Thomas
I make a custom validator myDate I try to give as var value the day and the month, but when I try to get the values of the vars day and month, I get the String literals birthDay and birthMonth day

Validator - Date validation

2006-12-08 Thread Thomas Thomas
Hi, I see that I can validate a Date with the Validator framework, but don't know how to apply it in my case. my bean has separate variables for day - month - year (it is not one string) I have three fields because he had to choose the date with a select html tag for the day, a select html tag fo

Re: Another question about Validator

2006-12-08 Thread Thomas Thomas
Ok, I used this minlength 6 It work great. Thank u.

Another question about Validator

2006-12-08 Thread Thomas Thomas
Hi all, I want to display a message of type "required" if password is not entered, if it is entered and less than 6 chars, display *another* message of type "minlength" I have this for now on, but not completed : minlength

Re: Validator FrameWork

2006-12-08 Thread Thomas Thomas
Thank u, it works great :-) I have : May I ask u, dear Christopher, what's the difference of it with what u have done :

Re: Validator FrameWork

2006-12-07 Thread Thomas Thomas
Instead of : (passwordCheck == password) I put : (*this* == password) But it still doesn't work

Re: Validator FrameWork

2006-12-07 Thread Thomas Thomas
Dear Sean, thank u for your precious support. I added this : test (passwordCheck == password) But it's not working :-(

Validator FrameWork

2006-12-07 Thread Thomas Thomas
Hi, I'm using Validator Framework with Struts, Here I want to validate a registration form. I want to add a field property passwordCheck, (the user needs to enters his password twice : the first password will be in property password, the second in passwordCheck) I want to check if value of passwo

getting formbean properties in Action class

2006-12-03 Thread Thomas Thomas
Hi, To get the properties these two ways work : 1) System.out.println("lastName = " + custForm.get("login")); 2) System.out.println("lastName = " + request.getParameter("login")); Why should I use 1) rather than 2) ? Thank u.

Re: How to get a dynaform in the Action class ?

2006-12-01 Thread Thomas Thomas
If u add a property in a bean, or remove ... I think u will have to change the code anyway and recompile ... 2006/12/1, Dave Newton <[EMAIL PROTECTED]>: From: Thomas Thomas [mailto:[EMAIL PROTECTED] > There is not much code for a FormBean in Java ... > I don't see the point

Re: How to get a dynaform in the Action class ?

2006-12-01 Thread Thomas Thomas
There is not much code for a FormBean in Java ... I don't see the point to have it in XML

Re: How to get a dynaform in the Action class ?

2006-12-01 Thread Thomas Thomas
Well there is still code in the XML, what's the point for having this code in XML then in Java in this case. 2006/12/1, Dave Newton <[EMAIL PROTECTED]>: From: Thomas Thomas [mailto:[EMAIL PROTECTED] > I don't know if I need to choose an ActionForm or DynaActionForm for >

Re: How to get a dynaform in the Action class ?

2006-11-30 Thread Thomas Thomas
Wendy, thank u for your support. I don't know if I need to choose an ActionForm or DynaActionForm for the login page. When do u choose to make it a DynaActionForm ? What's the advantage of it.

How to get a dynaform in the Action class ?

2006-11-30 Thread Thomas Thomas
Hi, I have the following DynaValidatorForm : How am I supposed to get the parameters of this Form bean in the Action class ? public class LoginAction extends Action { public ActionForward execute(

Re: Validator Framework problem

2006-11-30 Thread Thomas Thomas
Nobody can help me ? No-one has *Any* idea ?

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-30 Thread Thomas Thomas
But u suggested me to use the <[EMAIL PROTECTED] ... %> if I want to add static jsp content. Well then it's in contradiction with what u say ! I understand that let u fill the attributes but why do u suggest me then to use <[EMAIL PROTECTED] ... %> ? This attribute will then render always the s

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-30 Thread Thomas Thomas
I could just use this : ** tiles-defs.xml ** ** base.jsp ** <[EMAIL PROTECTED] page="incl/header.jsp" %> [...] And use the base.jsp-layout in different pages. And u see I'm not using

validate question ...

2006-11-29 Thread Thomas Thomas
Hi, My web-application allows a user to authenticate to the website. I check for login and password with the Validator Framework (correct length, correct carachters, ...) Then display with and in my jsp. This work ok. If he the fields are valid, I need to check in my DB if the user is really

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
I'm trying to understand Tiles ... Instead of this : ** tiles-defs.xml ** ** base.jsp ** [...] I could have this : ** tiles-defs.xml ** ** base.jsp ** <[EMAIL PROTECTED] page="incl/header.jsp" %>

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
e instead. 2006/11/29, Antonio Petrelli <[EMAIL PROTECTED]>: Thomas Thomas ha scritto: > Yes, I think you are right, > I'm doing this all wrong :-( > > I can't include jsp's in a static way with Tiles ? Use or <[EMAIL PROTECTED]> instead. Using Tiles does no

Re: [OT] RE: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
ROTECTED]>: From: Thomas Thomas [mailto:[EMAIL PROTECTED] > what do u think of my arguments ? I think you have too many CSS files :) I've seen sites with maybe 2-3, but if your site pages are supposed to look the same you might want to consolidate all your style information to avoid dupl

Re: [OT] RE: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
hink of my arguments ? 2006/11/29, Dave Newton <[EMAIL PROTECTED]>: From: Thomas Thomas [mailto:[EMAIL PROTECTED] > >> How about not having so many bloody CSS files? > How ? Delete some? Seriously; why are your styles so spread out? Don't you have a consistent style (perhap

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
any bloody CSS files? > > > -Original Message- > > From: Thomas Thomas [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 29, 2006 4:43 AM > > To: Struts Users Mailing List > > Subject: Re: Struts Tiles, Lose of Performance ? :-( > > > > The

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
ofcourse you can also go for Chris route. On 11/29/06, Thomas Thomas <[EMAIL PROTECTED]> wrote: > They will be cached if the user 'surf' on the webpage, > if I have thousand pages, and he may see two pages, > i am going to store 1000's css files in his cache. > &g

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
including CSS in all webpages does not decrease the performance. On 11/29/06, Thomas Thomas <[EMAIL PROTECTED]> wrote: > Thank u Chris, > I will try that ! > Do u have a solution for number 1) ? > > - To

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Thomas Thomas
Thank u Chris, I will try that ! Do u have a solution for number 1) ?

Struts Tiles, Lose of Performance ? :-(

2006-11-28 Thread Thomas Thomas
I just implemented Struts Tiles in my web application. I love the concept of seperating everything that has to do with layout and the rest. But it seems that I will lose some performance now : 1) The tag tiles:insert doesn't allow to include in a static way a jsp page. 2) Since the head tag is

Validator Framework problem

2006-11-28 Thread Thomas Thomas
Hi, since I added a constraint for the length with minlength, I have the following errror : 28-nov.-2006 21:31:33 org.apache.struts.validator.DynaValidatorForm validate GRAVE: org.apache.struts.util.StrutsValidator org.apache.commons.validator.ValidatorException: org.apache.struts.util.StrutsVali

Re: org.apache.commons.validator.ValidatorException: No such validation method:

2006-11-24 Thread Thomas Thomas
Thank u very much.

Re: org.apache.commons.validator.ValidatorException: No such validation method:

2006-11-24 Thread Thomas Thomas
I use Struts 1.3.5 When u talk about signatures, u talk about the doctypes of the validators xml files ? Because I copied pasted them from the struts 1.3.5 examples of validators.

org.apache.commons.validator.ValidatorException: No such validation method:

2006-11-23 Thread Thomas Thomas
Hi, been one week I have this error When I try to submit a form, I have this error : 23-nov.-2006 23:38:32 org.apache.struts.validator.DynaValidatorForm validate GRAVE: No such validation met