Hello,
I have an edit.jsp where a user can edit message details. So for example, if a
message has a start date (day,month, year) these fields can be updated by user.
The problem is that I have dropdowns for month and day. I would like it if the
dropdown for month could be prepolutated w
Why do you have a testAction?
When you configure validation.xml and validator-rules.xml (see Apache/Struts/Validator
documentation) you don't need to write an Action Class.
Also, why do you have failure/success forwards? Upon a failure, the validation will
automatically forward your page to
Hello,
The user wishes to edit a message that was previously created. In my edit.jsp I wish
to display a dropdown
with the option that was previously selected as "selected". Currently I have:
I want the value of expiryDay from the database to be selected (by default) on the
dr
pulated parts)
- hit submit
- CreateMessageAction gets info from form-bean and does stuff...
Do I have to write a separate Action class for putting the collection (from database)
into the request object? Or can I somehow incorporate this into my current
CreateMessageAction class ?
pleas
Yes, I was using the old tag but now works like a charm...
thanks :)
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Fri 01/10/2004 4:03 PM
To: Struts Users Mailing List
Subject: Re: populate html:select
From: "Anna Kerekes" <[EMAIL PROTE
Just the "select" list information is gone, all the textbox information is preserved
on the form.
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Fri 01/10/2004 3:38 PM
To: Struts Users Mailing List
Subject: Re: populate html:select
From: &qu
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Fri 01/10/2004 2:35 PM
To: Struts Users Mailing List
Subject: Re: populate html:select
From: "Anna Kerekes" <[EMAIL PROTECTED]>
Hello,
1
...
> The problem is that the value selected from the drop-down menu (i.e.
ht
Hello,
I am using struts validation to validate an input form. In my jsp I have:
1
2
3
4
The form is filled out. After I hit the "submit" button Struts validation is run and
the input form is displayed again with the errors on the form. The problem is that
the value selected from t
tml:errors tag.
Matt
Anna Kerekes wrote:
> Hello,
>
> I am trying to add my own custom validation method to my validator-rules.xml file.
> Here's the new snippet I am adding (Validator is a utility class I wrote to perform
> extra validation):
>
>
> classn
Hello,
I am trying to add my own custom validation method to my validator-rules.xml file.
Here's the new snippet I am adding (Validator is a utility class I wrote to perform
extra validation):
I have tried debugging my code, the validator does indeed go into my validateDate
method and retur
Does anyone know where I can get a copy of this file? In its default form?
thanks,
Anna
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
PROTECTED]
Sent: Mon 20/09/2004 4:35 PM
To: Struts Users Mailing List
Subject: Re: set not working
Interesting..
what about
?
On 20 Sep 2004, at 21:01, Anna Kerekes wrote:
> The first way works..thankyou
>
> However, the second way does not :( I get the following e
?
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Mon 20/09/2004 2:56 PM
To: Struts Users Mailing List
Subject: Re: set not working
<%
java.lang.String a = "init";
request.setAttribute("a",a);
%>
or
Mark
On 20 Sep 2004, at 20:16, Anna Kerekes
Hello,
I am having some problems running the program below (it does not run the way it
should).
*The output I get is***
before a a is null after a
*The desired output is
before a init after a
I'm not sure why "${a}" is e
I don't think you're using the set tag properly.
Try:
hope it helps,
Anna Kerekes
From: Pedro Salgado [mailto:[EMAIL PROTECTED]
Sent: Mon 20/09/2004 1:15 PM
To: Struts Users List
Subject: standard-1.1.1 expression language not working
Hi t
Why can't you call the init() method from inside the execute() method (at the
beginning of it )?
Anna
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Fri 17/09/2004 2:06 PM
To: [EMAIL PROTECTED]
Subject: No Way to Put the init() Method Inside the ActionForwa
thanks...problem solved. The request object is not the same in the action and the
jsp!
Anna Kerekes
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Wed 15/09/2004 3:58 PM
To: Struts Users Mailing List
Subject: RE: CustomActionForward -- How do I
doing wrong, I've tried to look at the action-mappings-element
in struts-config.xml
but the scope is correctly set to "request".
Any help would be appreciated,
Anna Kerekes
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
18 matches
Mail list logo