Q: ActionForms and BeanUtils.populate() functionality versus jsp:setProperty

2002-09-20 Thread Steve Wilkinson
I have a question regarding on the BeanUtils.populate() relative to jsp:setProperty within Tomcat 4.0.4. I didn't see anything on this within the mail-archive, so, if there is a prior thread discussing this please let me know how to access that thread. When using an HTML form that contains all

Tiles and sub-applications within cvs code

2002-08-14 Thread Steve Wilkinson
I'm looking into spliting our web application into multiple sub-applications. The sub-application break will need access to the same layouts. I was wondering if a definition within the main application will it be available in the sub-applications? Steve -- To unsubscribe, e-mail:

DynaActionFormBean Enhancement

2002-05-24 Thread Steve Wilkinson
I haven't seen a reply to this so I'll bring it up on the user list to see if I can catch a committer's attention. Bug: 9322 When playing with the DynaActionForm I noticed something that I think could be improved upon. When there are IndexProperties on the form, either java.util.ArrayList type

Re: Value object doubt !!!

2002-05-24 Thread STEVE WILKINSON
Given the comments from Craig on not using Value Objects as form beans our project is taking the following approach. We are creating a helper class to transform our ValueObject (Data Transfer Object as we call it) into a form bean (Strings, Boolean, and boolean types only) and the reverse. I

Re: Value object doubt !!!

2002-05-24 Thread STEVE WILKINSON
= less effort. Actually, anyone can build a web app. But a software engineer can help you use less resources and effort and make it more scalable and maintainable. Hth, V. Thanks for any help with this. STEVE WILKINSON wrote: Given the comments from Craig

RE: Value object doubt !!!

2002-05-24 Thread STEVE WILKINSON
-Original Message- From: STEVE WILKINSON [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 10:23 AM To: [EMAIL PROTECTED] Subject: Re: Value object doubt !!! Given the comments from Craig on not using Value Objects as form beans our project is taking the following approach. We

Re: Value object doubt !!!

2002-05-24 Thread STEVE WILKINSON
Mutiple java types (java.sql.Date, java.lang.Float, etc.) From: Lalit Pant [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Value object doubt !!! Date: Fri, 24 May 2002 12:54:34 -0400 Steve, To the

Technique 4 debugging your struts JSP pages

2002-05-24 Thread STEVE WILKINSON
FYI, I'm using the log component from JSTL to dump values on my JSP page when debugging it. It is a big help. In you jsp page do the following: ... %@ taglib uri=http://jakarta.apache.org/tabligs/log-1.0; prefix=log % ... pb*** START: Dump of Page Variables ***/bbr / log:dump

Re: Pb : request.SetAttribute() from Action

2002-05-24 Thread STEVE WILKINSON
Am I missing something, but you put an ArrayList in the request. The ArrayList contains multiple LabelValue objects. logic:iterate id=whatYouWantToCallIt type=java.util.List name=projects FYI, see my other post about using the Log TabLib from the JSTL project. It helps in these kinds of

Re: How can I used html:select with a Collection of String

2002-03-19 Thread Steve Wilkinson
Of course he means Integer types and not int since primitive types can't be stored in a Vector. - Original Message - From: Yu, Yanhui Sent: Tuesday, March 19, 2002 1:31 PM To: '[EMAIL PROTECTED]'; Struts Users Mailing List Subject: RE: How can I used html:select with a Collection of

Re: bean define problems

2002-03-15 Thread Steve Wilkinson
I believe the bean is not available at the scripting level. Read the Bean Tag developers guide: http://jakarta.apache.org/struts/api/org/apache/struts/taglib/bean/package-summary.html#package_description My advice is to use a scriptlet to get the bean. % FooBar fooBar =

Re: Help about iterate tag using

2002-03-15 Thread Steve Wilkinson
Check out the JSPā„¢ Standard Tag Library (JSTL) http://jakarta.apache.org/taglibs/doc/standard-doc/standard-beta1/Overview.html snip from above page The convention is to use the name var for any tag attribute that exports information about the tag. For example, an iterator tag exposes the

Re: can't remove attributes from request scope - error in example?

2002-03-12 Thread Steve Wilkinson
Try searching http://www.mail-archive.com/struts-user%40jakarta.apache.org/ I searched on remove Attributes from request scope and found several of the 165 returned that may help. - Original Message - From: Struts Newsgroup Sent: Tuesday, March 12, 2002 11:58 AM To: [EMAIL PROTECTED]

Re: build failure problem

2002-02-12 Thread STEVE WILKINSON
You need Xalan either in your classpath or in your $ANT/lib directory since the ant script uses the Style task. The Style task is deprecated by Ant and the struts build.xml has not been changed/updated to whatever new approach is recommended. From: Adam Hardy [EMAIL PROTECTED] Reply-To:

Re: suggestions for multiple entries - One submit?

2002-02-12 Thread STEVE WILKINSON
Aaron, I have a sample that does something similar to what I think you are asking. I did not use a single submit. I used multiple submits and sent them to the same Action class. Here is the full JSP page from the application I developed for Wrox Pro JSP 2nd edition chapter 21 on Struts.

RE: Pre and Post Processing

2002-02-12 Thread STEVE WILKINSON
Why don't you have a servlet that is called on startup to execute some business logic class that loads the drop down list items into a collection and then store then in the application scope. This increases memory, but also increases speed. Then you can use the collections and the struts

Re: For Steve Wilkinson, Re: Best way to go about learning Views with Struts?

2002-02-11 Thread STEVE WILKINSON
] To: Struts Users Mailing List [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: For Steve Wilkinson, Re: Best way to go about learning Views with Struts? Date: Mon, 11 Feb 2002 11:14:26 -0700 Hi Steve: I also have a sample application that does some interesting things on the view side. Download

Re: For Steve Wilkinson, Re: Best way to go about learning Views with Struts?

2002-02-11 Thread STEVE WILKINSON
I've sent the latest war to your email address to avoid posting the war to the user list. From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: For Steve Wilkinson, Re: Best way to go about

Re: Multiple Forms on one JSP...

2002-02-07 Thread STEVE WILKINSON
. -Original Message- From: STEVE WILKINSON To: Struts user Sent: 2/6/02 4:39 PM Subject: Re: Multiple Forms on one JSP... I know that works also. It was not clear to me in your email that the example had to be specific to two different actions. Anywho... here is what you were talking about

Re: Antwort: How to go about??

2002-02-07 Thread STEVE WILKINSON
Chris, Thanks for the feedback on my chapter in Professional JSP. FYI, http://www.newparticles.com/struts contains updates and bug fixes to the chapter examples. In a few days they will post the latest edition that is built from a CVS snapshot of 12-15-2001. Steve - Original

Re: Multiple Forms on one JSP...

2002-02-07 Thread STEVE WILKINSON
be multiple html:submit tags, but there is only one FORM. I don't believe struts will work with multiple-forms, but I'm not sure. Multiple submit buttons is no problem. Jay - Original Message - From: STEVE WILKINSON [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 06, 2002

Re: Antwort: How to go about??

2002-02-07 Thread STEVE WILKINSON
Mailing List Subject: Re: Antwort: How to go about?? Hi Steve, Is it possible for us to get a soft copy of chapter 21 of your book to start with. I will also purchase the book over the weekend. Can't wait anymore to get into it. -Sanjay --- STEVE WILKINSON [EMAIL PROTECTED] wrote: Chris, Thanks

Re: Can anyone help me how to unsubscribe

2002-02-06 Thread STEVE WILKINSON
One note, you MUST make the request with the SAME email address to which you subscribed. If you don't you will not be unsubscribed. FYI when you remember the email address that you subscribed and make sure that you make the request from that return address it works like a champ. Obviously,

Re: Multiple Forms on one JSP...

2002-02-06 Thread STEVE WILKINSON
://www.newparticles.com/struts There is a new version being placed on the site that is based on the CVS snapshot from December. It's in the read me. I will be updating this in the next month or so to be current with CVS. Thanks, Steve Wilkinson From: Rustad, Aaron [EMAIL PROTECTED] Reply-To: Struts Users

Re: How to go about??

2002-02-06 Thread STEVE WILKINSON
Sanjay, 1. Your team will have a learning curve, but that mostly has to do with the tag libraries and the struts-config.xml file. 2. Yes, but you will have to convert the tags to the struts tags. 3. Use it and read about it. see the following web sites: http://www.husted.com/struts Look

Re: jbuilder jsp and struts tags

2002-02-05 Thread STEVE WILKINSON
No, I have not. My understanding is that you need Enterprise to debug JSPs. If you find out please let me know. From: Ben Kafka [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: jbuilder jsp and struts tags Date: