Thank u ! it works great
:-)
It is fixed
Weird that in Eclipse it doesnt show the taglib element !
But I placed this somewhere and it works !
thx !
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.
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
Ok everything is fixed, I forgot to do :
ValidatorUtils.getValueAsString
I get the String literals and not the real numbers
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
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
Ok,
I used this
minlength
6
It work great.
Thank u.
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
Thank u,
it works great :-)
I have :
May I ask u, dear Christopher, what's the difference of it with what u have
done :
Instead of :
(passwordCheck == password)
I put :
(*this* == password)
But it still doesn't work
Dear Sean,
thank u for your precious support.
I added this :
test
(passwordCheck == password)
But it's not working :-(
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
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.
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
There is not much code for a FormBean in Java ...
I don't see the point to have it in XML
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
>
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.
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(
Nobody can help me ?
No-one has *Any* idea ?
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
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
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
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" %>
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
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
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
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
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
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
Thank u Chris,
I will try that !
Do u have a solution for number 1) ?
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
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
Thank u very much.
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.
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
37 matches
Mail list logo