Shouldn't your formbean type point to the actual class loginForm instead of
org.apache.struts.validator.DynaValidatorForm, which i believe should be
in the bean code (bean extends DynaValidatorForm) ?
- Original Message -
From: Kelly Goedert [EMAIL PROTECTED]
To: Struts Users Mailing
Hi all,
i'd like to access my properties file from the Action. My purpose is deliver
an error message to my result page. Any sample code showing the use of the
MessageResources object ?
Regards,
ERic
-
To unsubscribe, e-mail:
Nachricht-
Von: Eric C [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 16. Januar 2004 12:42
An: Struts Users Mailing List
Betreff: Access Applicationresources.properties from Action
Hi all,
i'd like to access my properties file from the Action. My purpose is deliver
an error message to my result
: Tuesday, January 13, 2004 8:02 PM
Subject: RE: Multiple Beans one Action
From: Eric C [mailto:[EMAIL PROTECTED]
suppose I have 2 beans one beanA extends Action Form, the other beanB
extends ValidatorForm. I have one Action class which needs
data from both
beans. How can I do that ?
AFAIK Struts
Hello all and happy new year,
suppose I have 2 beans one beanA extends Action Form, the other beanB
extends ValidatorForm. I have one Action class which needs data from both
beans. How can I do that ?
Regards,
ERic
-
To
In yourAction class.
- Original Message -
From: Huw Jones [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 04, 2003 10:22 AM
Subject: Where should database select go for select dropdown
Sorry if this is trivial - but I'm new to the framework and I'm finding
the
to add JavaScript code as indicated in your preceding
mails
but I must also place the collections in the HttpSession or Servlet
Context
(if
the collection is the same for all clients) and not in the request.
Is it true ?
Sandra
-Original Message-
From: Eric C. Hein [mailto:[EMAIL
Sandra,
This works with the javascript code Chris pointed you to. The
communityIssue is the parent field and there are two dependent fields
(targetAudience activityType).
- Eric
td
html:select property=communityIssue styleClass=select size=10
multiple=true tabindex=11
Want to move to Toronto?
- Original Message -
From: Max Kremer [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 1:37 PM
Subject: Struts Job
Hi,
I've been developing a struts application (http://www.datastay.com) for
several months and
I think NoSect may have meant synchronized.
Unlike the new collection implementations, Vector is *synchronized*.
- Original Message -
From: Attila Szegedi [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, January 21, 2003 9:48 AM
Subject:
Mark,
HashTables should never be worn after Labor day.
- Original Message -
From: NoSect [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 21, 2003 9:30 AM
Subject: RE: [OT] Not spam...I swear--
Vectors are also serializedhashtables not.
From: Mark Galbreath
html:select property=item styleClass=select multiple=true
html:options collection=itemList property=value
labelProperty=label/
/html:select
- Original Message -
From: Gus Delgado [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, January 10, 2003 12:31
getItem() should take a String[].
- Original Message -
From: Gus Delgado [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, January 10, 2003 2:10 PM
Subject: Re: JList
will the getItem() in the Form take a Collection as suppose of a String?
Eric C. Hein
Sash,
bean:write name=someBean property=desc filter=false/
- Eric
- Original Message -
From: Sash Sash [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 29, 2002 11:04 AM
Subject: bean:write html stuff, how
Hello and Happy Holidays to you all!!!
Got a quick
This should work.
td
html:select property=stateIncorporated styleClass=select size=1
tabindex=3
html:options collection=stateList property=value
labelProperty=label/
/html:select
/td
- Eric
- Original Message -
From: Dinesh Samson J [EMAIL PROTECTED]
To: 'Struts Users Mailing
I have a form myForm with a property myProperty that is a String array. I want to
set a javascript array to the contents of a myProperty. I think I need to use an
iterate tag in combination with the bean:write/ tag but I cannot figure out from the
javadocs how to do this.
Can anyone post
Background:
In my form I have a field city that the user selects from a drop down list. The
city dropdown is initially setup to have one option that cues the user to select a
county first (-1, select county first). After the user selects a county the options
list for city is then set to a
Rick,
Thanks. The problem with setting a hidden field was that after the form is
created the bean property was already overwritten. What I needed to do was
set a javascript variable:
theCity = new String(bean:write name=beanName property=city);
This gets done before the form is created.
Here is some sample code:
html:select property=county styleClass=select size=1
html:options collection=countyList property=value
labelProperty=label/
/html:select
- Eric
- Original Message -
From: pramod parnati [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 09,
Prarmod,
Here is a link to an example of the javascript you might use.
http://javascript.internet.com/forms/items-popup-list.html
- Eric
- Original Message -
From: pramod parnati [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 8:01 AM
Subject: Struts with
Sven,
I am curious about your last statement. I am doing some volunteer work for
a non-profit and I have a case where the user will select a parent from a
dropdown box, and based on that selection I will need to load only the
associated children to the next dropdown. I was planning to create a
21 matches
Mail list logo