Re: validation problem

2004-01-16 Thread Eric C
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

Access Applicationresources.properties from Action

2004-01-16 Thread Eric C
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:

Re: Access Applicationresources.properties from Action

2004-01-16 Thread Eric C
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

Re: Multiple Beans one Action

2004-01-14 Thread Eric C
: 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

Multiple Beans one Action

2004-01-13 Thread Eric C
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

Re: Where should database select go for select dropdown

2003-02-04 Thread Eric C. Hein
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

Re: how to use two combo-box which depend one on the other ?

2003-01-31 Thread Eric C. Hein
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

Re: how to use two combo-box which depend one on the other ?

2003-01-30 Thread Eric C. Hein
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

Re: Struts Job

2003-01-22 Thread Eric C. Hein
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

Re: [OT] Not spam...I swear--

2003-01-21 Thread Eric C. Hein
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:

Re: [OT] Not spam...I swear--

2003-01-21 Thread Eric C. Hein
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

Re: JList

2003-01-10 Thread Eric C. Hein
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

Re: JList

2003-01-10 Thread Eric C. Hein
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

Re: bean:write html stuff, how

2002-12-29 Thread 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

Re: html:select setting my own font

2002-12-27 Thread Eric C. Hein
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

Iterate Tag Implementation

2002-12-22 Thread Eric C. Hein
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

javascript and STRUTS

2002-12-20 Thread Eric C. Hein
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

Re: javascript and STRUTS

2002-12-20 Thread Eric C. Hein
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.

Re: RE:HTML:SelectHtml :Options

2002-12-09 Thread Eric C. Hein
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,

Re: Struts with javascript

2002-12-06 Thread Eric C. Hein
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

Re: generate html:option from javascript locally

2002-11-28 Thread Eric C. Hein
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