Hi all,
I have followed the example in struts documentation (validwhen validaton
section). I have an email address field that needs to be validated when one
other field's value is set to true. But I can't get it to work at all.
This is the example I cut and paste from struts web site. I am
Hi all,
I ran into a problem of posting a hidden form field with a special UTF-8
characters and when it gets to the action and I looked at the action form
had a different value, it's no longer containing UTF-8 characteres instead a
'? was replaced. In my jsp, I have to put %@ page
Anyone has any idea? I haven't seen anyone's reply. Thanks.
-Betty
-Original Message-
From: Betty Koon [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 8:07 PM
To: [EMAIL PROTECTED]
Subject: validator validwhen error
Hi,
I got the following validator error, but not sure why
Hi,
I got the following validator error, but not sure why.
here is my validator.xml and the exception:
formset
form name=someForm
field
property=email
depends=validwhen,email
arg0 key=email.error_label/
var
var-nametest/var-name
I have trouble using html:messages. Here is how I used it:
html:messages id=errors property=propName /
I have double-checked the ActionErrors object to make sure it does contain
the error message for property propName. But nothing is being displayed
though, any idea?
Also the
Resolved. Should be using html:errors property=propName / instead.
-Original Message-
From: Betty Koon [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 07, 2004 12:35 AM
To: 'Struts Users Mailing List'
Subject: Html:messages
I have trouble using html:messages. Here is how I used
still the same as first time through.
-Original Message-
From: Betty Koon [mailto:[EMAIL PROTECTED]
Sent: Friday, 27 February 2004 15:39
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: Problem with loss form (session scope)
I am sorry. I only have 1 action map to this form
Anyone has experience lost of form that are scoped in session? Thanks
-Betty
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
know totally like
gone. In fact like, I couldnt even like you know find my whole session, and
I was like whoa! dude - wheres my session?. /friday
;-
Perhaps you could be a bit more specific about the problem you encountered?
-Original Message-
From: Betty Koon [mailto:[EMAIL PROTECTED
I don't think it's a timeout issue. I lost the form right after I posted a
page.
-Betty
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 8:34 PM
To: Struts Users Mailing List
Subject: Re: Problem with loss form (session scope)
Thats
as you get
into your action and before you set it up as session scope or after that
when you get to your detail screen. Could you clarify that as well please.
Niall
- Original Message -
From: Betty Koon [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED];
[EMAIL PROTECTED
. You are storing under same attribute key
yes? Both actions mapping also defined the scope to be session?
-Original Message-
From: Betty Koon [mailto:[EMAIL PROTECTED]
Sent: Friday, 27 February 2004 14:51
To: 'Struts Users Mailing List'
Subject: RE: Problem with loss form (session scope
is that the source is the best reference and I
certainly found this the case when I was first learning struts :-)
-Original Message-
From: Betty Koon [mailto:[EMAIL PROTECTED]
Sent: Friday, 27 February 2004 15:10
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: Problem
I've used:
logic:messagesPresent message=false
td class=small3 colspan=2
html:messages id=error message=false
c:out value=${error} escapeXml=false /br /
/html:messages
/td
/logic:messagesPresent
HTH,
Curtis
--
c dot tee at verizon dot net
Betty Koon wrote:
Any one has any
Any one has any idea why this exception happens?
I am using 1.2 nightly build currently.
My jsp is simply using the following:
logic:messagesPresent
html:errors /
/logic:messagesPresent
java.lang.ClassCastException
at
15 matches
Mail list logo