RE: Preprocessing of request

2006-12-15 Thread Anil Kumar T
Kumar T [EMAIL PROTECTED] wrote: Hi Frank, Referring to your response.. you might also be able to have a base Action that all your Actions extend from, and the base action does the transformation before the real work happens. This might work if you don't need the transformation to happen

RE: logic:iterate for arraylist of beans

2006-12-13 Thread Anil Kumar T
Hi Kranti, I also had a similar requirement. But I did it in bad way.. which is ... input type=checkbox name=EMPIDS value=%=((( EmployeeBean) EMp).getEmpID())%/ See if this helps you as a quick fix. But if you get a better solution do let the group know Thanks regards, Anil.

RE: Preprocessing of request

2006-12-13 Thread Anil Kumar T
Hi Frank, Referring to your response.. you might also be able to have a base Action that all your Actions extend from, and the base action does the transformation before the real work happens. This might work if you don't need the transformation to happen before that point. How does this works

RE: dynamic html:select

2006-12-13 Thread Anil Kumar T
Thanks Dave. This is very useful... Anil. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 13, 2006 8:57 PM To: Struts Users Mailing List Subject: RE: dynamic html:select From: Kranti Parisa [mailto:[EMAIL PROTECTED] i have an ArrayList of beans

RE: On Error repopulating the data entered by user on the screen....! how.?

2006-12-13 Thread Anil Kumar T
difference I found from my other forms. Thanks regards, Anil. -Original Message- From: Anil Kumar T [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 3:22 PM To: Struts Users Mailing List Subject: RE: On Error repopulating the data entered by user on the screen! how.? Hi All

working with radio buttons with html tags.

2006-12-05 Thread Anil Kumar T
Hi All, Am trying to display a radio button according to the value in the database. The way am trying is ... logic:equal property=realStatus value=%=TIMKeys.ACT_FLAG% html:radio property=realStatus value=A

How Where to specify the Request Processor class name?

2006-11-28 Thread Anil Kumar T
Hi Guys, I have read in the documentation and on the net also about the Struts framework. There would be only one ActionServlet per web app and one RequestProcessor per module. Is that true? Any body pls help me with your answers and any useful sites. I believe we can over write the

RE: How Where to specify the Request Processor class name?

2006-11-28 Thread Anil Kumar T
://wiki.apache.org/struts/RequestProcessor - Original Message - From: Anil Kumar T [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, November 29, 2006 6:53 AM Subject: How Where to specify the Request Processor class name? Hi Guys, I have read

RE: html form

2006-11-22 Thread Anil Kumar T
Try changing the form method to get. I think post does not sends the data in the way you have done. Just my guess.. Anil. -Original Message- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 8:13 PM To: user@struts.apache.org Subject: html form I have a

RE: Query in action messages

2006-11-15 Thread Anil Kumar T
There is empty space before the key.. just observe.. errors.add(Error_FIELD_KEY,new ActionMessage( error.required,Zip Code)); should like ... errors.add(Error_FIELD_KEY,new ActionMessage(error.required,Zip Code)); hope it helps you... Anil. -Original Message- From:

RE: Query in action messages

2006-11-15 Thread Anil Kumar T
I was wrong... ignore my earlier mail.. Thanks. Anil. -Original Message- From: Hanmay Udgiri [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 1:56 PM To: user@struts.apache.org Subject: Query in action messages Hi I am doing validation in my Action Form which is extending

RE: Lost Error Message!!

2006-11-13 Thread Anil Kumar T
Would the svaeToken(), isTokenValid() helps you..? -Original Message- From: Juan Espinosa [mailto:[EMAIL PROTECTED] Sent: Monday, November 13, 2006 6:45 PM To: 'Struts Users Mailing List' Subject: RE: Lost Error Message!! Im not very sure, but i think that when you use redirect= true a

RE: How to make a SELECT list readonly? If set disabled, loses thevalue when submit.

2006-11-02 Thread Anil Kumar T
If you do not want the user to modify the select box then you should not display the select. Just display a text/label. If you can explain the scenario then you would get a better solution. Anil. -Original Message- From: Gareth Evans [mailto:[EMAIL PROTECTED] Sent: Thursday, November

RE: On Error repopulating the data entered by user on the screen....! how.?

2006-10-18 Thread Anil Kumar T
repopulating the data entered by user on the screen! how.? From: Anil Kumar T [mailto:[EMAIL PROTECTED] But in one particular form the data is not been shown to the user. [...] This application is developed by 4 people and only one is creating this problem. Seems like to problem is clear

On Error repopulating the data entered by user on the screen....! how.?

2006-10-16 Thread Anil Kumar T
Hi Group, In our struts application we have couple of forms. When ever there is failure in Create form the same page is shown to the user with the data filled by him. But in one particular form the data is not been shown to the user. All the forms in the application extend one super form which

Using ValidatorFramework for different validation scenarios of same functioanlity/form.

2006-09-14 Thread Anil Kumar T
Hi Group, I need a help on general issue which every body would have solved. Generally we'll have four operations like Add, Update, Query and Remove. I believe we can use DispatchAction to handle all these operation in a single action. So for the validation part we are planning to use

RE: empty fields of an input form get default value after submitting

2006-09-13 Thread Anil Kumar T
Hi, Since 0 would be the default value for primitive int, you cant do any thing over there. But if you are using Integer object then youc an get null. In the formBean you would have instantiated the fields globally. Check that. Ex : String s = ; or String s = new String() ; If so then you got

RE: Retrieve Data From WebServer

2006-08-31 Thread Anil Kumar T
Hi, I was also having similar problem some time back. According to my knowledge... If the data is common to all the users then may be you can have a singleton class and then only once you can populate the data, and every time you use the same data. If the data is user specific then I think

Session management

2006-08-27 Thread Anil Kumar T
Hi All, Can some one help me in understanding the session management with struts? How to do this with struts? I tried doing it in all the actions, but am not sure what am doing wrong, it does not work. Can any body help me on this. Any links, sample codes etc would be of great help. Anil.

How to handle session validation in struts 1.1

2006-08-14 Thread Anil Kumar T
Hi All, I need to validate the user session in all actions. For this I tried using saveToken, isTokenValid(), but failed to use them. Not sure what the reason is but it fails during second request. Any info on this particular step or is there any other way to handle the session in struts? Any

RE: dynamic casting in Action class

2006-07-26 Thread Anil Kumar T
You got to include one more step as mentioned below. Class classDefinition = Class.forName(ClassName_as_string); Object obj = classDefinition.newInstance(); classDefinition afc = (obj)fm; Anil. -Original Message- From: Andreas Hartmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, July

RE: Give me a solution

2006-07-23 Thread Anil Kumar T
I believe this is not a struts based question. You need to post this in SQL Server forums. Anil. From: senthil.s [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 11:26 AM To: user@struts.apache.org Subject: Give me a solution Hi all I have a

Accessing messages. from action, dao classes.

2006-07-19 Thread Anil Kumar T
Hi guys, I would like ot know how to acess the resource properties from an action class or subsequent DAO classes. Any help, links etc would be great. Thanks regards, Anil. Information transmitted by this e-mail is proprietary to Infinite Computer Solutions and / or its Customers and

RE: Dynamic Sort depending on the field requested by user.

2006-07-17 Thread Anil Kumar T
) action just sorts the form (retrieved from the session). On your html table, the column headings link to your sort action. -Original Message- From: Anil Kumar T [mailto:[EMAIL PROTECTED] Sent: 14 July 2006 08:11 To: Struts Users Mailing List Subject: Dynamic Sort depending on the field

RE: Dynamic Sort depending on the field requested by user.

2006-07-17 Thread Anil Kumar T
it in a parameter. Eg your table heading may have a link similar to a href=path/to/sortAction.do?sortColumn=namesortDirection=ascending -Original Message- From: Anil Kumar T [mailto:[EMAIL PROTECTED] Sent: 17 July 2006 13:35 To: Struts Users Mailing List Subject: RE: Dynamic Sort depending

RE: Dynamic Sort depending on the field requested by user.

2006-07-17 Thread Anil Kumar T
. -Original Message- From: Anil Kumar T [mailto:[EMAIL PROTECTED] Sent: 17 July 2006 13:45 To: Struts Users Mailing List Subject: RE: Dynamic Sort depending on the field requested by user. But I need the dynamic sort logic ? Anil. -Original Message- From: Lance [mailto:[EMAIL

RE: how to create a struts project in eclipse 3.1.2 + WTP ?

2006-07-07 Thread Anil Kumar T
Hi Hicham, I'm also having the same problem. But I'm using eclipse 3.1.1. Hi All, Any help would be appreciated in this regard. Thanks, Anil. -Original Message- From: hicham [mailto:[EMAIL PROTECTED] Sent: Friday, July 07, 2006 3:57 PM To: Struts Users Mailing List Subject: how to

Eclipse-Struts configuration.

2006-07-04 Thread Anil Kumar T
Hi folks, I have eclipse 3.1.1, I'm unable to create a struts project using eclipse. Any body has any idea about configuring / setup of struts applications with eclipse. Any help would be appreciated. Thanks regards, Anil. Information transmitted by this e-mail is proprietary to

RE: Eclipse-Struts configuration.

2006-07-04 Thread Anil Kumar T
Subject: Re: Eclipse-Struts configuration. Anil, what is the problem? Struts is just a java library. Go ahead and write a standard Eclipse java project. Anil Kumar T [EMAIL PROTECTED] wrote: Hi folks, I have eclipse 3.1.1, I'm unable to create a struts project using eclipse. Any body has any idea

RE: Eclipse-Struts configuration.

2006-07-04 Thread Anil Kumar T
Hi, Thanks for the info, I already tried it and WTP does not support struts. Anil. -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 04, 2006 1:28 PM To: Struts Users Mailing List Subject: Re: Eclipse-Struts configuration. Anil Kumar T ha scritto

RE: Eclipse-Struts configuration.

2006-07-04 Thread Anil Kumar T
: Tuesday, July 04, 2006 1:37 PM To: Struts Users Mailing List Subject: Re: Eclipse-Struts configuration. Anil Kumar T ha scritto: Hi, Thanks for the info, I already tried it and WTP does not support struts. Ok, I noticed that, besides webapp support, you need some extra support for Struts. You can

Need help on popups..

2006-06-24 Thread Anil Kumar T
Hi guys, I have a issue with the parent child window in struts application. Actually we are planning to use struts for our project. So I wanted to know if this can be achieved with struts. I have Page1.jsp, page2.jsp. Lets say in the parent window am opening page1.jsp and on button click a

RE: Reset the Action Form

2006-04-19 Thread Anil Kumar T
Are you trying to do a server side reset..? Generally it is a client side reset. I think this should be some thing like this... input type=reset name='Reset' value='Reset Isn't it..? did I understood wrongly.? Anil. -Original Message- From: Zheng Wen Zhe [mailto:[EMAIL PROTECTED]