Re: Datasource problem again..

2004-07-19 Thread Asif Rahman
I tried using the tags in struts-config.xml, couldnt get it work so I modified the server.xml in tomcat/conf directly. Just add a context element as follows in your server.xml This is my configuration: factory org.apache.commons.dbcp.BasicDataSourceFactory

Problem with formatting messages from ApplicationResources.xml

2004-07-12 Thread Asif Rahman
I included in one of the entries in the ApplicationResources. Im not sure if that is allowed. This is what I get in my jsp output: a.. Your payment of $750.00 has been approved! Your Order ID is 6690. Please print this page for your records. I tried using the filter attribute , but that

Re: Is it possible to reuse the same FormBean with different actions?

2004-06-28 Thread Asif Rahman
Thanks! - Original Message - From: "Robert Taylor" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Asif Rahman" <[EMAIL PROTECTED]> Sent: Friday, June 25, 2004 4:21 PM Subject: RE: Is it possible to reuse t

Is it possible to reuse the same FormBean with different actions?

2004-06-25 Thread Asif Rahman
I have a few jsp pages that use almost the same information. I am using a formbean for one of them right now for validation. Of course I'd like to re-use the this same bean with the other jsp pages too since the info is so similar. But here's the catch, theres only one "input" field in an act

[SOLVED] Re: Problem with displaying a subset of error messages using

2004-06-24 Thread Asif Rahman
It works! I just got it to work the same way too:http://javaboutique.internet.com/tutorials/excep_struts/index-2.html Thanks so much Atta :) -Asif - Original Message - From: "atta-ur rehman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTE

Re: Problem with displaying a subset of error messages using

2004-06-24 Thread Asif Rahman
ey" in object of class "java.lang.String" using operator "." (null) at org.apache.taglibs.standard.tag.el.core.IfTag.condition(IfTag.java:102) Any ideas? -Asif - Original Message - From: "atta-ur rehman" <[EMAIL PROTECTED]> To: "Struts Use

Problem with displaying a subset of error messages using

2004-06-24 Thread Asif Rahman
Hi Im have been using pretty standard code to display error messages so far, eg: But now, the problem I am facing is that I want to display a subset of my error messages in one part of page, (e.g. Error messages that start with "Company") and the rest of the message

[SOLVED] Re: Struts alternative to using request.getParameterValues in an actionform?

2004-06-17 Thread Asif Rahman
t;atta-ur rehman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Asif Rahman" <[EMAIL PROTECTED]> Sent: Tuesday, June 15, 2004 5:14 PM Subject: Re: Struts alternative to using request.getParameterValues in an actionform? > Hellow

Re: Struts alternative to using request.getParameterValues in an actionform?

2004-06-16 Thread Asif Rahman
Satish, it does not seem to work in the actionform. The properties are not getting set for the individual site objects using the nested tags. I have a setSitesList(arraylistOfSiteTransferObjects). What am I missing? Thanks. -Asif - Original Message - From: "Asif Rahman&quo

Re: How do I put a JSP via a DispatchAction class into a tile?

2004-06-16 Thread Asif Rahman
Example: I have a DispatchAction called OpportunityCustomerAction that is forwadring to a tile: //*snippet start in struts config // //*snippet end struts config// Whether the validation fails or succeeds it will forwarded to the CustomerDef tile. //*snippet start

Re: Struts alternative to using request.getParameterValues in an actionform?

2004-06-16 Thread Asif Rahman
*blush* sorry, forgot the taglib directive. -Asif - Original Message - From: "Asif Rahman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 9:50 AM Subject: Re: Struts alternative to using request.get

Re: Struts alternative to using request.getParameterValues in an actionform?

2004-06-16 Thread Asif Rahman
- From: "Satish Kataria" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Asif Rahman" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 8:35 AM Subject: RE: Struts alternative to using request.getParameterValues in an action

Struts alternative to using request.getParameterValues in an actionform?

2004-06-15 Thread Asif Rahman
Hi Im using shown below to iterate through an arraylist (sitesList) in my actionform (OpportunitySitesForm). This arraylist contains a number of Site objects which have the properties siteName, address1, and city. This is getting displayed correctly. Now when processing the form, I am wonder