Sequence Diagram

2003-07-02 Thread Abhinav (Cognizant)
Is there a Sequence diagram of Struts 1.1 around ** Message from InterScan E-Mail VirusWall NT ** ** No virus found in attached file noname.htm No Virus detected in the attached file(s). * End of message *** This e-mail and any files

RE: Using modules and actionforward to an action

2003-06-26 Thread Abhinav (Cognizant)
as global-forward in all of you module configs. then you can call mapping.findForward(/logout) from any modules's action. HTH Navjot Singh |-Original Message- |From: Abhinav (Cognizant) [mailto:[EMAIL PROTECTED] |Sent: Thursday, June 26, 2003 10:29 AM |To: Struts Users Mailing List

Could not deserialize context attribute

2003-06-25 Thread Abhinav (Cognizant)
When I compile my code already deploed in the server and then try to access my page I get 'Could not deserialize context attribute' exception. Any ideas, Why ** Message from InterScan E-Mail VirusWall NT ** ** No virus found in attached file noname.htm No Virus detected in the attached

RE: Setting focus on a field that referring to a deed property

2003-06-25 Thread Abhinav (Cognizant)
Use document.form_1.elements('element_name') -Original Message- From: Jeremy Nix [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 8:01 PM To: [EMAIL PROTECTED] Subject: Setting focus on a field that referring to a deed property Okay, I have an object on my ActionForm that is a

Using modules and actionforward to an action

2003-06-25 Thread Abhinav (Cognizant)
For logging out I use this piece of code : RequestUtils.selectModule(, req, getServlet().getServletContext()); return (new ActionForward(/AuthFail.jsp)); I don't want to hardcode /AuthFail.jsp instead of that i want to forward to an action /logout

Using modules and actionforward to an action

2003-06-25 Thread Abhinav (Cognizant)
For logging out I use this piece of code : RequestUtils.selectModule(, req, getServlet().getServletContext()); return (new ActionForward(/AuthFail.jsp)); I don't want to hardcode /AuthFail.jsp instead of that i want to forward to an action /logout

RE: Using modules and actionforward to an action

2003-06-25 Thread Abhinav (Cognizant)
- From: Abhinav (Cognizant) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 9:29 PM Subject: Using modules and actionforward to an action For logging out I use this piece of code : RequestUtils.selectModule(, req, getServlet

Exception java.io.NotSerializableException

2003-06-03 Thread Abhinav (Cognizant)
Why am I getting such an exception Jun 2, 2003 6:39:51 PM IST Error HTTP [WebAppServletContext(4443267,Struts2,/Struts2)] Could not deserialize context attribute java.io.NotSerializableException: org.apache.struts.action.RequestProcessor This happens only some times. ** Message

RE: Checkbox

2003-05-31 Thread Abhinav (Cognizant)
action path=/checkForm forward=/checkForm.jsp / action path=/check name=SodaForm scope=request forward=/check.jsp / FILE Abhinav (Cognizant) wrote: This one is not getting into my head .. html:checkbox property=chk value=abc / and in the form

Bean and Scripting

2003-05-31 Thread Abhinav (Cognizant)
Can I use a bean or anythying that is defined/declared in a struts taglib for scripting. say this kind of thing bean:define id="id" name="x" property="y"/ and then % String tmp = id; % ** Message from InterScan E-Mail VirusWall NT ** ** No virus found in attached file

Bean and Scripting

2003-05-31 Thread Abhinav (Cognizant)
Can I use a bean or anythying that is defined/declared in a struts tag for scripting. say this kind of thing bean:define id=id name=x property=y/ and then % String tmp = id; % ** Message from InterScan E-Mail VirusWall NT ** ** No virus found in attached file noname.htm No

RE: Bean and Scripting

2003-05-31 Thread Abhinav (Cognizant)
... Panchasheel -Original Message- From: Abhinav (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 10:51 AM To: Struts Users Mailing List Subject: Bean and Scripting Can I use a bean or anythying that is defined/declared in a struts tag for scripting. say this kind of thing

Simple problem.

2003-05-30 Thread Abhinav (Cognizant)
logic:iterate id=el name=%= l_strFormName % property=results indexId=index html:text property=primKey[bean:write name=index/]/ /logic:iterate primKey is an Array in the Fom Bean. So I have to Index it in the html:text .. tag. My

Indexed Fields

2003-05-30 Thread Abhinav (Cognizant)
How to dynamically generate indexed html fields as well as populate them from the form bean. I am unable to do both simultaneously. My fields will be generated by html:text property=indexdProperty[0]/ html:text property=indexdProperty[1]/ ... For this I use

RE: Indexed Fields

2003-05-30 Thread Abhinav (Cognizant)
-html.html#text look at indexed property. hth Denis Abhinav (Cognizant) wrote: How to dynamically generate indexed html fields as well as populate them from the form bean. I am unable to do both simultaneously. My fields will be generated by html:text property=indexdProperty[0

Upgrading to 1.1

2003-05-30 Thread Abhinav (Cognizant)
I have an Application based on Struts 1.0.2 What changes are necessary in my application for upgrading to 1.1. I changed my libraries, and relaced perform() by execute(), and then I get this . javax.servlet.jsp.JspTagException: Since tag class org.apache.struts.taglib.bean.DefineTag does not

RE: Upgrading to 1.1

2003-05-30 Thread Abhinav (Cognizant)
this helps - Original Message - From: Abhinav (Cognizant) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, May 30, 2003 1:09 PM Subject: Upgrading to 1.1 I have an Application based on Struts 1.0.2 What changes are necessary in my application for upgrading

RE: Checkbox ????

2003-05-30 Thread Abhinav (Cognizant)
reasons its recommended to preceed all views with an action - even if its a no-op action - instead of linking directly to the jsp) -Original Message- From: Abhinav (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Thursday, 29 May 2003 20:00 To: Struts Users Mailing List Subject: Checkbox

Checkbox

2003-05-30 Thread Abhinav (Cognizant)
This one is not getting into my head .. html:checkbox property=chk value=abc / and in the form bean boolean getChk(), void setChk(boolean) checkbox is checked and form is submitted. how do I retreieve the value abc Thanx. ** Message from InterScan E-Mail VirusWall NT **

I dont understand whats wrong with this.

2003-05-29 Thread Abhinav (Cognizant)
For my form validation failure, I have specified another action as Input. When I submit to /result/view, the validation fails, I change one of my form-bean attribute in validate method itself. It then goes to /login and the validate method is again called. I find that the form-bean attribue has

Forwarding to another action

2003-05-29 Thread Abhinav (Cognizant)
For my form validation failure, I have specified another action as Input. When I submit to /result/view, the validation fails, I change one of my form-bean attribute in validate method itself. It then goes to /login and the validate method is again called. I find that the form-bean attribue has

Indexed Property

2003-05-29 Thread Abhinav (Cognizant)
In order that my javascript validations run, I can't have my html field names like name[0], name[1] ... now I need to have multiple elements in my form with the same name. In this case though, I wont be able to populate my form bean which has methods setName(int, String)/ getName(int) and

Indexed Properties

2003-05-29 Thread Abhinav (Cognizant)
In order that my javascript validations run, I can't have my html field names like name[0], name[1] ... now I need to have multiple elements in my form with the same name. In this case though, I wont be able to populate my form bean which has methods setName(int, String)/ getName(int) and

indexed properties.

2003-05-29 Thread Abhinav (Cognizant)
Will someone please tell me how to override indexed naming (like name[0], name[1], name[2]) in my form when my form bean has attribute String [] name and methods getName(int index), setName(int index, String nm). thanx, coz its really urgent. I need this b'coz i cant validate field named

RE: which is better, use a display for paginating or ...

2003-05-29 Thread Abhinav (Cognizant)
If you have to always fetch latest data (data is fairly quickly changing), make a database call. If you are serving static data do otherwise. -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:54 PM To: [EMAIL PROTECTED] Subject: which is better, use

Checkbox ????

2003-05-29 Thread Abhinav (Cognizant)
The documentation says : You must set the boolean property to false in the reset method of ActionForm. What does it mean. Browser will only submit those checkboxes which are checked. And what is the significance of 'value' attribute of the checkbox thus generated given that it has one of {on,

RE: html:select / html:options

2003-05-27 Thread Abhinav (Cognizant)
=unsafeValues labelName=incidentForm labelProperty=unsafeLabels / /html:select/TD -Original Message- From: Abhinav (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 11:20 AM To: Struts Users Mailing List Subject

RE: html:options

2003-05-27 Thread Abhinav (Cognizant)
.. regards, Shirish -Original Message- From: Abhinav (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 5:44 PM To: Struts Users Mailing List Subject: RE: html:options correct me if I am wrong. This would work if getOptionList() returns an array of String. In my case array