Re: is there drawdown select box in struts?

2002-03-04 Thread Jonathan James
remove the 'size=10' - Original Message - From: Struts Newsgroup @[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 04, 2002 3:25 AM Subject: Re: is there drawdown select box in struts? Subject: Re: is there drawdown select box in struts? From: zb cong [EMAIL PROTECTED]

Re: Annoyance with html:form name=xxxx/

2002-02-28 Thread Jonathan James
try html:form action= where is the path of the action defined in the struts-config.xml file - Original Message - From: Ian Tomey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 28, 2002 4:53 AM Subject: Annoyance with html:form name=/ Hi all, Using

Re: Multiple checkboxes with the same name -- possible with Struts?

2002-02-28 Thread Jonathan James
I'm assuming its not smart enough to do this? Nope. Struts is smart enough to do this. If you use the multibox tag as David Gaulin suggested and your bean looks like public void setFruit( String[] fruits ) {...} public String[] getFruit() {...} Then all your multiboxes look like

Re: Development Environment

2002-02-21 Thread Jonathan James
Windows 2000, cygwin vim - Original Message - From: Dave Wellman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 11:41 AM Subject: Development Environment Hello, Quick question, what is the preferred development environment that you are all using, Linux -

Re: ActionForm and default values

2002-02-20 Thread Jonathan James
1. It gets created by the ActionServlet and passed to the action's perform method as an ActionForm. Just cast it. I don't understand what you mean by 2. - Original Message - From: Ian Beaumont [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, February

Re: Indexed Properties

2002-01-22 Thread Jonathan James
Yes, that can be done currently with 1.0 or 1.0.1 using the multibox tag. Look through the archive and at the docs for multibox. If you still need more help, let us know. -Jonathan - Original Message - From: Marcus Brito [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

Re: still the same problem--help needed---missing source code of some of the classesin struts

2002-01-22 Thread Jonathan James
http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.1/src/jakarta-s truts-1.0.1-src.zip or http://jakarta.apache.org/builds/jakarta-struts/nightly/src/ for nightly build src. For your future reference you get here by going to http://jakarta.apache.org/struts/ and then clicking

Re: Option List Submit Question

2002-01-22 Thread Jonathan James
I think it's that the html:submit tag creates a button named submit which overrides the submit method on the form. If you look through the mail archive, this has come up a number of times. The easiest solution is to rename your submit button as so: html:submit

Re: same problem--help needed---missing source code of some of the classesin struts

2002-01-22 Thread Jonathan James
I used. should I try it again ?? Can you please check and let me know the path Once again thanks a lot for the response regards Amit K - Original Message - From: Jonathan James [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 22, 2002 10:25

Re: Forwarding from a FormAction with parameters...

2002-01-17 Thread Jonathan James
What about having an action mapping like this: action path=/initialWhateverActionThatWas forward=/whateverActionThatWas.do?type=initial / or maybe (better?) in your original action mapping just a forward for each one like: action ... forward name=successInitial

Re: How do I remove a formBean?

2001-12-26 Thread Jonathan James
Have you tried putting session.remove( beanName ); in the action that displays the form? -Jonathan - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 21, 2001 1:16 PM Subject: How do I remove a formBean? I have an app that shows a form which

Re: Help:Handling Exceptions within Formbean Validate ???

2001-12-12 Thread Jonathan James
I don't see how that would work. If he just gets a normal validation problem, but no exceptions (the normal case) then he needs to go back to the jsp, not to some generic error.jsp. Isn't there a way to set up a generic exception handler page so that if the container catches an exception it

Re: 2 problems with html:errors

2001-12-10 Thread Jonathan James
Sounds like you don't have errors.header errors.header defined in your ApplicationResources.properties file, since those get prepended appended to every error message. -Jonathan - Original Message - From: Mike Hoeffner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 09,

Re: 2 problems with html:errors

2001-12-10 Thread Jonathan James
Oops, that should be errors.header errors.footer -Jonathan - Original Message - From: Jonathan James [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, December 10, 2001 7:36 AM Subject: Re: 2 problems with html:errors Sounds like you don't have

Re: 2 problems with html:errors

2001-12-10 Thread Jonathan James
, December 10, 2001 10:19 AM Subject: RE: 2 problems with html:errors This is a HUGE source of user error. Is there a chance we can make html:errors work WITHOUT the special properties in the ApplicationResources.properties file? -Original Message- From: Jonathan James [mailto:[EMAIL PROTECTED

Re: forwarding question

2001-12-06 Thread Jonathan James
Can you not just do this? return new ActionForward( mapping.getInput() ); -Jonathan - Original Message - From: Robert Parker [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 7:54 PM Subject: Re: forwarding question I can think of

Re: Is there a way to call a struts custom tag from your own custom tag?

2001-11-30 Thread Jonathan James
I think the shourt answer is, No. However, what David is saying should get the job done. For instance I wanted a tag that would allow you to say mytags:validatedText property=name / and would output html:text property=name /html:errors property=name / so I wrote a tag that extends the Struts

Re: Is there a way to call a struts custom tag from your own custom tag?

2001-11-30 Thread Jonathan James
the other, and check the return values of each. Thanks! -Original Message- From: Jonathan James [mailto:[EMAIL PROTECTED]] Sent: Friday, November 30, 2001 3:39 PM To: Struts Users Mailing List Subject: Re: Is there a way to call a struts custom tag from your own custom tag? I