Re: Where are my ActionForm's changes?

2003-02-21 Thread MarwanSalam [EMAIL PROTECTED]
' and the html:form's 'name' attribute is indicating that a form named 'updateOrderForm' be used. These will result in two instances of the same class. Not what you want Hope that helps Sri -Original Message- From: MarwanSalam [EMAIL PROTECTED] [mailto:marwansalam@y...] Sent

Where are my ActionForm's changes?

2003-02-20 Thread MarwanSalam [EMAIL PROTECTED]
Hi, I am using the login:iterate tag to display a collection of objects. The objects have attributes that some can be edited by the user. After the user changes some values and submits back to the Action class, the values that were changed in the JSP are not reflected in the form. I know that

Re: Where are my ActionForm's changes?

2003-02-20 Thread MarwanSalam [EMAIL PROTECTED]
-initializing the form. Will need to see the necessary action mappings too. Sri -Original Message- From: MarwanSalam [EMAIL PROTECTED] [mailto:marwansalam@y...] Sent: Thursday, February 20, 2003 1:09 PM To: [EMAIL PROTECTED] Subject: Where are my ActionForm's changes? Hi

Re: Where are my ActionForm's changes?

2003-02-20 Thread MarwanSalam [EMAIL PROTECTED]
Message- From: MarwanSalam [EMAIL PROTECTED] [mailto:marwansalam@y...] Sent: Thursday, February 20, 2003 1:55 PM To: [EMAIL PROTECTED] Subject: Re: Where are my ActionForm's changes? Thanks Sri for the quick reply. The first of two assumptions you mentioned below are not true but I am

Could not find Java 1.4 encode method

2003-02-19 Thread MarwanSalam [EMAIL PROTECTED]
Hi, I upgraded from Struts v1.02 to v1.1-b3 and now I am getting the below error stack. Doesn't 1.1-b3 run on JRE 1.3.1? Marwan 2003-02-19 13:49:00,383 [8585544 DEBUG Servlet.Engine.Transports:9 - util.RequestUtils(1869)] - Could not find Java 1.4 encode method. Using deprecated

Attribute indexed invalid according to the specified TLD

2003-02-17 Thread MarwanSalam [EMAIL PROTECTED]
Hi, I am getting Attribute indexed invalid according to the specified TLD in my JSP. Here is part of my ActionForm: private List parameterList = new ArrayList(); public List getParameterList() { logger.debug(List size is: + this.parameterList.size()); return

Error 500: Cannot retrieve definition for form bean null

2003-02-13 Thread MarwanSalam [EMAIL PROTECTED]
Hi, I am getting Error 500: Cannot retrieve definition for form bean null when I use the form tag html:form action=/updateOrder.do. However, if I use form action=updateOrder.do method=post, I don't get that error. Is there something wrong I am doing? Here is the action-mapping from

Re: posting an updated collection back to Action

2003-02-12 Thread MarwanSalam [EMAIL PROTECTED]
version of the html taglib. (Although I'm not sure the name property has to be specified if you use the html:form tag instead of the form tag as you've shown here) -Original Message- From: MarwanSalam [EMAIL PROTECTED] [mailto:marwansalam@y...] Sent: Monday, February 10, 2003 5:46

posting an updated collection back to Action

2003-02-10 Thread MarwanSalam [EMAIL PROTECTED]
Hi, I have a list of line items displayed in a JSP where some of the attributes can be edited. I would like to capture the updated data by the user to return it to my Action class so I can modify my model accordingly. Here is my JSP code: form action=updateOrder.do method=post input

j_security_check with LogonAction

2003-01-31 Thread MarwanSalam [EMAIL PROTECTED]
Hi, I am trying to use j_security_check Servlet to authenticate users from a login.jsp. However, if I do this, I will not be able to take advantage of LogonAction class where I need to set certain session and request attributes. If I submit the logon form to LogonAction, I can forward the

Cannot find bean categoryArray in scope request

2003-01-31 Thread MarwanSalam [EMAIL PROTECTED]
Hi, I am using Struts where I have an ShowCategoriesAction that extends Action. In the perform method, I am reading data from the database and storing it in a collecion object(ArrayList). Then I am using request.setAttribute(categoryArray, myCollectionObject) to set it on the request. I have