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
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.
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
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
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
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
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
://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
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
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:
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
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
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
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
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
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
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
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
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.
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
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
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
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
) 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
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
.
-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
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
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
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
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
: 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
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
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]
33 matches
Mail list logo