Re: OT: Best AJAX framework

2005-11-08 Thread Faisal Mahmoud
Check out http://www.backbase.com for an Ajax framework. On 11/8/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: sarcasmFar be it from me to push my own creation.../sarcasm http://javawebparts.sourceforge.net Go into the javadocs and look at the javawebparts.taglib.ajaxtags package. This

Problem with results of validate method in ActionForm

2005-10-20 Thread Faisal Mahmoud
I have an an HTML form displayed on a jsp with struts html:form tags. In the validate method, I have a checkForEmpty and checkForNumber method that will check whether the field is empty or not a number (as applicable) and if so, add an ActionError to the ActionErrors object. The validate method

Adding images to option items in a select drop down list

2005-10-19 Thread Faisal Mahmoud
Hi, I am creating a drop down list using the HTML select and option tags. The items in the list will be color names (ex. red, green, blue, etc..). I would like a small square image to be next to each color name text in the list. How would I go about this in my jsp file with my struts tags?

Re: Adding images to option items in a select drop down list

2005-10-19 Thread Faisal Mahmoud
Okay, somewhere in my head I can remember seeing an example of this, but I can't recall where it was. Sounds like the solution (if one exists) is non-trivial. Appreciate the ideas and if I do come across or develop some sort of solution I will post back to this thread. On 10/19/05, Frank W.

Trouble with html:link and params

2005-10-12 Thread Faisal Mahmoud
I need to construct a table of files available for download. A file is downloaded by hitting the /download.do?jobId=2 action. The info for each row in the table is stored in an action form called retrieveJobsFormBean. This actionform contains a List of DownloadJob objects. Each of these objects is

Re: Trouble with html:link and params

2005-10-12 Thread Faisal Mahmoud
: On 10/12/05, Faisal Mahmoud [EMAIL PROTECTED] wrote: I need to construct a table of files available for download. A file is downloaded by hitting the /download.do?jobId=2 action. The info for each row in the table is stored in an action form called retrieveJobsFormBean. This actionform

Re: Is this an appropriate use for plugins

2005-10-09 Thread Faisal Mahmoud
@struts.apache.org Sent: Saturday, October 08, 2005 5:28 PM Subject: Re: Is this an appropriate use for plugins See http://wiki.apache.org/struts/StrutsPlugins Niall - Original Message - From: Faisal Mahmoud [EMAIL PROTECTED] Sent: Saturday, October 08, 2005 8:34 PM

Re: Cannot find a bean in the session

2005-10-08 Thread Faisal Mahmoud
:) Thanks for the help Wendy, I was looking at the wrong object, it wasn't a typo. Yet another reason why coding at 8pm on a Friday is a bad idea. On 10/8/05, Wendy Smoak [EMAIL PROTECTED] wrote: From: Faisal Mahmoud [EMAIL PROTECTED] Secondly, in my ContactSupportAction class (subclass

Is this an appropriate use for plugins

2005-10-08 Thread Faisal Mahmoud
For the webapp I am writing, I have several compenents that run as services that always need to be available. I refer to them as JobManagers. Basically, a job handler will receive a job request, add that job to it's job queue and then launch a thread to work on the job. I plan on having these

Cannot find a bean in the session

2005-10-07 Thread Faisal Mahmoud
I am using Struts 1.1 deployed in Tomcat 4.1 running under JDK 1.3. I have a contact form I am building. It will get the user's email from an object called a UserInfoBean, which is not an ActionForm subclass, but does follow the JavaBean paradigm. It simply holds user info such as first name,

Re: Struts Tags examples and usage

2005-10-07 Thread Faisal Mahmoud
TheServerSide.com has access to a free PDF download of Jakarta Struts Live. While I don't think the book is that great overall, there are some chapters on the Struts tag libs. http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss On 10/7/05, Leon Rosenberg [EMAIL PROTECTED]

Navigation menu help

2005-10-05 Thread Faisal Mahmoud
I have created a navigation menu jsp file that I include with all the pages on my webapp via the jsp:include tag. This page has the following nav menu: ul lia href=/homePageHome/a/li lia href=/newJobPageNew Job/a/li lia href=/retrieveJobPageRetrieve Job/a/li /ul I have placed all jsp pages under

Datasource not found by Plugin on startup

2005-10-03 Thread Faisal Mahmoud
Hi, I have written a plugin for a Struts app which accesses a DB connection via a datasource. The datasource is defined in the Tomcat server.xml file, and is loaded via a library we wrote. I know the datasource works fine because I can access if from other classes in the app. But when I start up