Also would like to add another thing :
If I add the following line :
then I think I do not need to add namespace in all the entries??
On Fri, Oct 19, 2012 at 9:28 AM, Srineel Mazumdar wrote:
> Hi,
>
> I am trying t rewrite the jpetstore project in Struts 2. I am referring to
> the Struts 1 i
Thanks man! I'll check it out this morning. I think the protected seems like
a great idea. It's an interesting question, whether to make such things
protected or private.
> -Original Message-
> From: Lukasz Lenart [mailto:lukaszlen...@apache.org]
> Sent: Thursday, October 18, 2012 11:
You are right!
On Fri, Oct 19, 2012 at 2:54 PM, Hoying, Ken wrote:
> I believe that your problem is that the field names are the same as your
> label names and with the validator both are in the stack.
> ${getText(user.password)} is first evaluating user.password and finding the
> field value "12
I believe that your problem is that the field names are the same as your label
names and with the validator both are in the stack. ${getText(user.password)}
is first evaluating user.password and finding the field value "1234". getText
is then trying to locate an entry for "1234" and cannot find
Mi mistake. Sorry.
The resource error message I was using is in fact:
errors.confirmPassSame=The ${user.confirmPassword} field has to have the
same value as the ${user.password} field.
whereas it should be:
errors.confirmPassSame=The ${getText("user.confirmPassword")} field has to
have the same
Hi,
I'm having a problem with getText().
I have the following xml validator:
(user.confirmPassword.equals(user.password))
And the error message is defined in a bundle like this:
error
6 matches
Mail list logo