Need help with Bean:define.

2001-04-17 Thread Alex Colic
Hi, I have a bean StoreRoomForm which I have saved in the session in application scope via: StoreRoomForm storerooms=new StoreRoomForm(); ServletContext context=this.getServlet().getServletContext(); context.setAttribute("storeroom",storerooms ); StoreRoomForm has the

Caching going well.

2001-04-17 Thread Alex Colic
Hi, caching my lists is going pretty well. In the init of my ActionServlet I compile all my lists and place them into the ServletContext. Then throughout my web pages I pull the lists out and populate select boxes. I have noticed a large speed improvement. My next challenge is going to be to

Last little bit of help will get me over the hump!

2001-04-17 Thread Alex Colic
Hi, I have almost moved my app over to struts. Fantastic framework. I am being held up at that dual select control where the user selects a storeroom in the first box and the second box is populated with locations using criteria from the first. I have a class pwStoreroomList in the session

Re: Newbie question #4-more info please help.

2001-04-13 Thread Alex Colic
You were right, the class was not public. What exception does it throw? This should be in the log file for your servlet container. I would bet, however, that your class is not "public", or does not have a public no-args constructor. Thanks Alex

Help with bean value within a tag?

2001-04-12 Thread Alex Colic
Hi, I have two combo boxes. The first is a list of storerooms. When the user picks a storeroom, the second combo is filled using the value in the first. I have a session bean 'requisition' that is used over a number of forms. My first combo is as follows: TR TDbean:message

Should you override ActionServlet?

2001-04-12 Thread Alex Colic
Hi, should you be overriding ActionServlet? Since ActionServlet is the main servlet I need ActionServlet to during its init method to read the servlet config settings and place the values into my general purpose config object. Should I be overriding the init method of ActionServlet? Thanks for

How to fill combo two depending on choice in combo one?

2001-04-10 Thread Alex Colic
can get the value via JavaScript but then what do I do? Any help is appreciated. Regards Alex Colic

Please explain these lines to me.

2001-04-09 Thread Alex Colic
Hi, I amusing the example struts app to modify my present web app. I am using one bean across a number of forms. Each form populates this bean. In my loginaction servlet I create an instance of a bean and place it into the session. I then intend to have that bean used across all forms. In the

How to pass messages between pages.

2001-04-09 Thread Alex Colic
Hi, simple questions. On web page 1 the user enters something. The page 1 action servlet hits the database and creates a record. Lets say the servlet gets a record number back. On page 2 you want to notify the user of the record number. How can you pass the number created by the 1 action

help with JavaScript and text box.

2001-04-09 Thread Alex Colic
Hi, I have a text box mapped to a bean via: html:text property="requisitionLines.requiredOnDate" size="10" / My form is called requisition. If I try to set the value of the text box via JavaScript I have to access the box via form.object or requisition.requsitionLine.requiredOnDate.

Newbie question #1

2001-04-06 Thread Alex Colic
Hi, I am porting one of my web apps to the struts infrastructure. I have a few questions that should get me on the right track. I hope someone out there can help. 1: I understand that you have a bean associated with a form and the form populates the bean and is populated by the bean. Lets say

Newbie question #2

2001-04-06 Thread Alex Colic
to change that so I want to make that text box read-only. Regards Alex Colic, HBA, B. Ed PopWare Inc. "Driving down the cost of conversions!" E-Mail: [EMAIL PROTECTED] Tel: 1-905-777-8171 ext. 104 Fax: 1-905-777-0132

Newbie question #3

2001-04-06 Thread Alex Colic
er that I need to call methods on. How do you do that in the below tag? html:text name="user" property="employee.getDepartment()" size="16" maxlength="20" / Any help is this case is highly appreciated. Regards Alex Colic, HBA, B. Ed PopWare Inc. "Driv

Newbie question #4

2001-04-06 Thread Alex Colic
Last question. Could someone explain this part of struts.xml Am I correct that: path=form action path that is submitting this request type=class to handle this request name=name of form bean to handle this request scope=scope of from bean input=path of page submitting this request forward=local

Newbie question #3-clarification

2001-04-06 Thread Alex Colic
ot; Sorry. Regards Alex Colic, HBA, B. Ed PopWare Inc. "Driving down the cost of conversions!" E-Mail: [EMAIL PROTECTED] Tel: 1-905-777-8171 ext. 104 Fax: 1-905-777-0132

Newbie question #4-more info please help.

2001-04-06 Thread Alex Colic
, actionInstance); As I step through I can see that clazz is properly created but the next line when actionInstance is set to clazz.newInstance throws an exception. Throughout the method actionInstance =null. I obviously have set something up incorrectly in struts-config.xml. Can anyone he

<    1   2