> Date: Thu, 4 Jul 2013 15:41:16 -0400
> From: em...@encs.concordia.ca
> To: user@struts.apache.org
> Subject: JSP read value from ActionForm
>
> Hello,
>
> May I know how to read a parameter value in JSP page for the following
> situation please?
>
> (1
Hello,
May I know how to read a parameter value in JSP page for the following
situation please?
(1) Struts2Action.java
... String list_size = list.size(); ...
getter/setter for list_size
(2) result.jsp
/>
Is there a simple way to assign Struts2Action.list_size to s:select.size
filed in the
t; ...
>>>
>>>
>>>
>>>
>>>
>>>
>>> then setting this xml string to ResponseActionForm - which have only one
>>> string property.
>>>
>>>
>>> Is it possible ? How to
;
>> then setting this xml string to ResponseActionForm - which have only one
>> string property.
>>
>>
>> Is it possible ? How to do that ?
>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Mapping-a-dynamic-html-form-wi
w to do that ?
>
>
> --
> View this message in context:
> http://old.nabble.com/Mapping-a-dynamic-html-form-with-ActionForm-tp29045058p29045132.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
ng to ResponseActionForm - which have only one
string property.
Is it possible ? How to do that ?
--
View this message in context:
http://old.nabble.com/Mapping-a-dynamic-html-form-with-ActionForm-tp29045058p29045132.html
Sent from the Struts - User mailing list archive at Nabbl
ActionForm.
But the fields in ActionForm need to be defined in advance, we we want to
show on html form.
- I want to know, what structure should I follow to design and implement my
application with such requirement. Can I make use of tag and
ActionForm OR I should not use them completely.
Thanks
Apologies all, I am editing my solution below for clarity and accuracy:
- Original Message
From: Andrew Sharpe
To: Struts Users Mailing List
Sent: Mon, March 22, 2010 8:44:42 AM
Subject: Re: Can a collection property have its changes saved back to the
ActionForm?
Thanks Adam. I
ions[i].selected = true;
}
}
ACTIONFORM
private String[] addresses;
public String[] getAddresses() {
return addresses;
}
public void setAddresses(String[] value) {
addresses = value;
}
private final List oldAddresses = new ArrayList();
public List getOldAddresses() {
return
o save multiple selected options,
then you can omit the javascript part which would be better.
> Date: Wed, 17 Mar 2010 17:23:45 -0700
> From: andrewrwsha...@yahoo.com
> Subject: Re: Can a collection property have its changes saved back to the
ideas I'm open to hearing them, but this seems to do
the trick.
Andrew
- Original Message
From: Andrew Sharpe
To: user@struts.apache.org
Sent: Mon, March 15, 2010 6:03:30 PM
Subject: Can a collection property have its changes saved back to the
ActionForm?
Hello all,
I have a Lis
Hello all,
I have a List collection that I am displaying in an
and it is working great. The problem is that my
jsp page makes changes to that control via
javascript (adds new options, removes, etc). I would like these
changes to be saved back to the ActionForm, preferrably to the same
So, I have an issue where when I submit a form, instead of the corresponding
ActionForm being populated with the correct field data, it remains
unpopulated for a reason unknown to me. Here is the form on my JSP page(js
functions provided for clarity, very simple):
function encryptSSN
;>> Or maybe You have some king of logic inside form's reset method.
>>>> One another thing is action beeing defined twice with two different
>>>> forms?
>>>>
>>>> Other than that i don't know,
>>>> reset works always for me.
>>
re You dealing with redirect in this case?
>>> Or maybe You have some king of logic inside form's reset method.
>>> One another thing is action beeing defined twice with two different
>>> forms?
>>>
>>> Other than that i don't know,
>>>
me.
>>
>> Best greeitings,
>> Paweł Wielgus.
>>
>> 2009/8/28 sharadsingh :
>>>
>>> well i applied break points on both "actionform" and "action" of the form
>>> and
>>> did both refresh and brand new request. It is
ow,
> reset works always for me.
>
> Best greeitings,
> Paweł Wielgus.
>
> 2009/8/28 sharadsingh :
>>
>> well i applied break points on both "actionform" and "action" of the form
>> and
>> did both refresh and brand new request. It is been
In the time between the first time you go to the page and the second time
where in your application is the data supposed to be?
Chris
-Original Message-
From: Paweł Wielgus
To: Struts Users Mailing List
Sent: Fri, Aug 28, 2009 5:34 am
Subject: Re: ActionForm is been
s always for me.
Best greeitings,
Paweł Wielgus.
2009/8/28 sharadsingh :
>
> well i applied break points on both "actionform" and "action" of the form and
> did both refresh and brand new request. It is been caught in both the times
> with the break point in the act
well i applied break points on both "actionform" and "action" of the form and
did both refresh and brand new request. It is been caught in both the times
with the break point in the action but not in the actionform
Paweł Wielgus wrote:
>
> Hi,
> what do You mean b
l. Please suggest me on this..,
> --
> View this message in context:
> http://www.nabble.com/ActionForm-is-been-called-once-only-tp25186640p25186640.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
>
method wont be called at all. Please suggest me on this..,
--
View this message in context:
http://www.nabble.com/ActionForm-is-been-called-once-only-tp25186640p25186640.html
Sent from the Struts - User mailing list archive at Nabble.com
I suggest that you not embed Java code in JSPs in scriptlets like this.
It's better to use Struts tags instead.
Are you looking at using Struts 1 or Struts 2?
Struts1 for now. Do you have a simple code. I am not sure I quite
understand how you propose to use java code in JSP?
Thanks,
--
Lu
I suggest that you not embed Java code in JSPs in scriptlets like this.
It's better to use Struts tags instead.
Are you looking at using Struts 1 or Struts 2?
jk
On Thu, Mar 5, 2009 at 3:22 PM, Emi Lu wrote:
> Good morning,
>
> In JSP file, may I know how to get action bean please?
>
>
> <%
Good morning,
In JSP file, may I know how to get action bean please?
<%
if(f1.getCode().equals('abc'))
{
%>
... ...
<%
}
%>
In JSP, I'd like to know how to call "methods, fields" in action form bean?
Thanks a lot!
--
Lu Ying
---
blic ActionForward execute(ActionMapping mapping, ActionForm form,
> HttpServletRequest request, HttpServletResponse
> response)
> throws Exception {
>
> // form arrives as null
> DynaValidatorForm myForm = (Dyn
Struts 1.1; There's something I think I am doing not right.. Here is the
code:
action .java:
public class EditColActionInit extends Action {
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletRes
Here is the code:
action .java:
public class EditColActionInit extends Action {
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse
response)
throws Exception {
// form
Hi Dave,
I am sorry if this question goes out of the range. Thanks for your answer
!!!
J.
--
View this message in context:
http://www.nabble.com/Action-and-ActionForm-newbie-questions-tp19692405p19721298.html
Sent from the Struts - User mailing list archive at Nabble.com
--- On Fri, 9/26/08, UseTheFork <[EMAIL PROTECTED]> wrote:
> What is the proper way?
There is no single "proper way". It depends on your environment, your
application, and so on.
In general your actions should be wrappers around calls to services, no matter
how they're implemented.
These quest
Hi Laurie and Dave,
I am reading contradictory information from different sources on the
Internet and I am getting confused.
i) Assuming that I am writing a JSP page to register a new user using a
form: I should implement an ActionForm to retrieve the data entered by the
user, correct? I
e between the View (JSP
> for example) and
> the Model part (Hibernate for example) in MVC. Typically,
> they should not
> implement business logic, but call EJBs instead.
>
> ii) When the struts controller calls execute(...) on the
> Action class, an
> ActionForm class may be
. Typically, they should not
implement business logic, but call EJBs instead.
Call EJBs?? An ActionForm is the data transfer object between the action
and the view template (JSP usually). Business logic belongs in the
action, or a service API the action interacts with. Talking to EJBs is
firmly in
not
implement business logic, but call EJBs instead.
ii) When the struts controller calls execute(...) on the Action class, an
ActionForm class may be passed as a parameter (if such has been implemented
and if struts has been configured properly).
iii) An ActionForm contains the data entered by
these selected answers for each question when
the user hits the submit button. The normal scenario for html:form is to
have the properties hardcoded with names which are there in the ActionForm
corresponding to that Action. But the problem here is, I can't specify the
properties for the Actio
Its working now. Thank you very much for the replies.
The problem was that the naming convention (it was like sStreet, sCity and the
getter/setters were getStreet, getCity etc.)of my attributes and I did not
initialize the inside bean in the ActionForm.
Thanks & Regards,
Chandra.
> From day one, as far as I know.
What? 4 years of blindness? What a mess, I have to go back to basis,
bheee. :P
Kind regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
Lukasz Lenart wrote:
For the record, Struts 1 definitely supports dot-notation access to
sub-fields. That's not the problem here.
Upsss... ;-)
Could you clarify my doubts, from which version?
From day one, as far as I know.
L.
---
> For the record, Struts 1 definitely supports dot-notation access to
> sub-fields. That's not the problem here.
Upsss... ;-)
Could you clarify my doubts, from which version?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To un
one to see the problem.
L.
Chandramouli P wrote:
Hi,
I have the below scenario:
I have a java bean as below:
public class Address
{
private String city;
private String state;
and public getters/setters for the above attributes;
}
and I have the ActionForm as below:
impo
Lukasz Lenart wrote:
We are using Struts 1.2.9 and writing the JSP page as below:
As I remember, Struts 1 don't support such evaluation, you can use
For the record, Struts 1 definitely supports dot-notation access to
sub-fields. That's not the problem here.
L.
someone to see the problem.
L.
Chandramouli P wrote:
Hi,
I have the below scenario:
I have a java bean as below:
public class Address
{
private String city;
private String state;
and public getters/setters for the above attributes;
}
and I have the ActionForm as below
Hi,
Thanks for getting back to me.
All I was trying to do is getting the inside bean's values along with the
ActionForm, so that I can handle those in my Action class.
Please suggest a best way to achieve that.
Thanks & Regards,
Chandra.
> Date: Thu, 3 Jul 2008 08:05:08
Hi
> We are using Struts 1.2.9 and writing the JSP page as below:
>
>
>
>
>
>
>
As I remember, Struts 1 don't support such evaluation, you can use
Nested Tags [1] , example are here [2]
[1] http://struts.apache.org/1.2.9/userGuide/struts-nested.html
[2] http://www.mail-
Hi,
I have the below scenario:
I have a java bean as below:
public class Address
{
private String city;
private String state;
and public getters/setters for the above attributes;
}
and I have the ActionForm as below:
import Address;
public class EmpForm extends
I accomplished this without using the DynaActionForm.
Its somewhat a crude way but it works.
When stuck with constraints what is one to do?
Here is an example, in the JSP I have coded the form element:
Once rendered in the HTML:
In the form bean:
private List beneficiaries = new ArrayList();
If i use the above form the choices that are entered by user are recived in
the ActionForm as follows:
MultipleFormAction.java --- execute()
===
DynaActionForm dynaForm = (DynaActionForm)form;
String[] choices = (String[]) dynaFo
s/Autocompleter.html
- Original Message -
From: "Mead Lai" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Sunday, May 04, 2008 8:43 PM
Subject: Re: How to get dynamic number of arguments into ActionForm
List type
On Sun, May 4, 2008 at 7:51 PM, venkat reddy
g
> choice1:String
> choice2:String
> .
> .
> .
> Add another option
>
> As you can see here, the number of choices are dynamic and i want to add a
> link to give the administrator another choice field.
>
> Now, how can i get these dynamic fields into my Acti
add a
link to give the administrator another choice field.
Now, how can i get these dynamic fields into my ActionForm and what type of
object should i declare in tag. explain in detail plz
gs_ <[EMAIL PROTECTED]> wrote:
>> Can me anybody give a simple example: How to use an POJO object in Struts
>> 2
>> (instead of ActionForm)?
>
> http://struts.apache.org/2.x/docs/hello-world.html
>
> See t
--- bugs_ <[EMAIL PROTECTED]> wrote:
> Can me anybody give a simple example: How to use an POJO object in Struts 2
> (instead of ActionForm)?
http://struts.apache.org/2.x/docs/hello-world.html
See the form creation/using the form
example: How to use an POJO object in Struts 2
(instead of ActionForm)?
--
View this message in context:
http://www.nabble.com/Struts-1-vs-Struts-2-actionform-execution-and-Struts2-POJO-example-tp16143242p16143242.html
Sent from the Struts - User mailing list archive at Nabble.com
mule_user wrote:
This is the scenario using Struts 1.1:
User Interface -> MyAction1 (input is Form1)-> MyAction 2 (input is Form2)
->User Interface
MyAction1 and MyAction2 are Action classes.
MyAction1 and MyAction1 are configured in struts-config.xmxl.
MyAction1 takes Form1 as input.
MyActi
ent class, then what value will Form2
have?
4. If Form1 and Form2 are of the same class, then what value will Form2
have?
5. Is it a good idea to do Action chaining? Servlet chaining was never
recommended.
--
View this message in context:
http://www.nabble.com/Struts1.1---Value-of-ActionForm-
e.g. country? Is there any
way to achieve this task?
thanks in advance
Joseph
nuwan chandrasoma-2 wrote:
>
> Hi,
>
> what you mean by ActionForm? in struts2 there is no such as ActionForm,
> you can access the session from your action class and add any object to
> the se
Hi,
what you mean by ActionForm? in struts2 there is no such as ActionForm,
you can access the session from your action class and add any object to
the session as an attribute.
http://struts.apache.org/2.x/docs/how-do-we-get-access-to-the-session.html
http://struts.apache.org/2.x/docs/how
hi All
how to make Action Form and a form in session scope in strut 2
help needed.
Thanks in advance
Joseph
--
View this message in context:
http://www.nabble.com/how-to-make-ActionForm-in-session-scope-tf4604877.html#a13148752
Sent from the Struts - User mailing list archive at Nabble.com
; call
>> reset(), can it help?
>
>
> Probably, but you have to override it to clear your properties in your
> ActionForm class.
>
> Antonio
>
>
--
View this message in context:
http://www.nabble.com/Session-scoped-ActionForm-causin
lp?
Probably, but you have to override it to clear your properties in your
ActionForm class.
Antonio
I call
reset(), can it help?
Thanks,
Ramita
Antonio Petrelli-3 wrote:
>
> 2007/10/3, Ramita Gambhir <[EMAIL PROTECTED]>:
>>
>> I integrated Struts with Ajax using DWR. For that I had to put the
>> ActionForm in session scope.
>
>
>
> Why do you
2007/10/3, Ramita Gambhir <[EMAIL PROTECTED]>:
>
> I integrated Struts with Ajax using DWR. For that I had to put the
> ActionForm in session scope.
Why do you need to put it into session?
Now I am facing a strange problem.
>
> When I change some values in the form, they
Hi all,
I integrated Struts with Ajax using DWR. For that I had to put the
ActionForm in session scope.
Now I am facing a strange problem.
When I change some values in the form, they are saved(marshalled) properly
at the backend(an XML file). But in the JSP, it shows old values only.
I suspect
You can set redirect=true on the action mapping.
On 9/19/07, Diego Ezquerro <[EMAIL PROTECTED]> wrote:
>
> Hi to everybody.
>
> I have a JSP that has a Tree that is modified by a submit button that
> sends data to an ActionForm.
> Inside this ActionForm class, the tree is
Hi to everybody.
I have a JSP that has a Tree that is modified by a submit button that sends
data to an ActionForm.
Inside this ActionForm class, the tree is modified but only if the page is
reloaded the tree is visually modified.
How can I reload the page after de mapping.findForward sentence
urrent action is pushed on the OGNL stack. If a
property is exposed by the action it can be accessed
via an tag.
If you're using S2 it would probably be better not to
refer to "ActionForm"s as that has specific S1
meaning.
I've paten
can retrieve the object with:
MyActionForm form = (MyActionForm)request.getAttribute("helloworld");
??
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 04, 2007 8:31 AM
To: Struts Users Mailing List
Subject: Re: How to access the ActionF
CTED]
Sent: Tuesday, September 04, 2007 8:31 AM
To: Struts Users Mailing List
Subject: Re: How to access the ActionForm in a JSP?
You can find the form as a request attribute with the same name you used
in your config file, so:
MyActionForm form = (MyActionForm)request.getAttribute("myFormN
You can find the form as a request attribute with the same name you used
in your config file, so:
MyActionForm form = (MyActionForm)request.getAttribute("myFormName");
Frank
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammet
Newbie question here. Suppose I have action, "helloworld.action" which
I use to grab a bunch of data I wish to display on a JSP page. My
question is how do get a reference to that action object in the JSP
page? The tutorials on the Struts2 website showed examples using tags, but I don't need t
How can I do that from the Scriplet ?
TIA,
Oleg.
On 8/2/07, Aram Mkhitaryan <[EMAIL PROTECTED]> wrote:
>
> Try this
>
> ${actionFormName.propertyName}
>
> Best,
> Aram
>
> Aram Mkhitaryan
>
> 52, 25 Lvovyan, Yerevan 375000, Armenia
>
> Mobile: +374 91 518456
>
pageContext.findAttribute() will return the ActionForm
instance .
On 8/2/07, Oleg Konovalov <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> How can I access an ActionForm from my JSP in Struts 1.2-1.3 ?
>
> Thank you,
> Oleg.
>
--
Yoge,
AdventNet, Inc.
925-965-6528
[EMAIL PROTECTED]
site24x7.com
Try this
${actionFormName.propertyName}
Best,
Aram
Aram Mkhitaryan
52, 25 Lvovyan, Yerevan 375000, Armenia
Mobile: +374 91 518456
E-mail: [EMAIL PROTECTED]
Hi,
How can I access an ActionForm from my JSP in Struts 1.2-1.3 ?
Thank you,
Oleg.
Peter Valencic wrote:
Hello to all...
I'am working on a large project for car assicuration.
My question is if it's possible to prepopulate a form for example..
On page A user must enter policy number... then in actionForm bean i get
datas from DB and depends on datas I must prepopul
Hello to all...
I'am working on a large project for car assicuration.
My question is if it's possible to prepopulate a form for example..
On page A user must enter policy number... then in actionForm bean i get
datas from DB and depends on datas I must prepopulate a form B
Anyone
Hello to all.
I would like to populate a ActionForm bean ..
for example
I have 2 pages
page A.jsp and page B.jsp on page A I have ActionForm and on page B I
have ActionForm bean..
Is there a possibility to prepopulate ActionForm for page B from page A?
example
*public* ActionForward
From: Ashuin Sharma Chamorro
Sent: Tuesday, May 01, 2007 5:12 PM
To: 'Struts Users Mailing List'
Subject: ActionForm
In which scope does the ActionForm lives??? In request or session??
Or what??
If in the Action Class I set some values t
session is thrown out, etc.
Paul
On 5/1/07, Ashuin Sharma Chamorro <[EMAIL PROTECTED]> wrote:
In which scope does the ActionForm lives??? In request or session??
Or what??
If in the Action Class I set some values to the form, do I have to add
the form back to the request or what do I h
In which scope does the ActionForm lives??? In request or session??
Or what??
If in the Action Class I set some values to the form, do I have to add
the form back to the request or what do I have to do so the success page
will see the modified form???
Is it this scope ??(JSP
PM
> To: Struts Users Mailing List
> Subject: Re: Using ActionForm in struts2
>
> --- Syed Ibrahim <[EMAIL PROTECTED]> wrote:
>> Instead of writing the getter and setters in Action
>> I would prefer then to be written separately as the
>> same bean can be used el
Thanks a Lot!
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Friday, March 30, 2007 2:36 PM
To: Struts Users Mailing List
Subject: Re: Using ActionForm in struts2
--- Syed Ibrahim <[EMAIL PROTECTED]> wrote:
> Instead of writing the getter and setters in A
--- Syed Ibrahim <[EMAIL PROTECTED]> wrote:
> Instead of writing the getter and setters in Action
> I would prefer then to be written separately as the
> same bean can be used elsewhere in models or
> DAO transfer objects.
>
> How to achieve that in Struts 2 ?
Write your POJO, expose it in you
Hi,
I want to use Simple ActionForms or POJO in Struts 2.
Instead of writing the getter and setters in Action I would prefer then to
be written separately as the same bean can be used elsewhere in models or
DAO transfer objects.
How to achieve that in Struts 2 ?
Thanks in advance
Ibrahim
--- xyz <[EMAIL PROTECTED]> wrote:
> Any hints/ideas on achieving this?
Have you considered using indexed properties?
d.
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.c
bble.com/Struts-Question---multiple-instances-of-an-actionForm-tf3396668.html#a9456868
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Don, that is exactly what I need.
On 3/8/07, Don Brown <[EMAIL PROTECTED]> wrote:
If you really want to have a JavaBean serve as a session-scoped
ActionForm, use this interceptor:
http://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html
It allows you to have a
If you really want to have a JavaBean serve as a session-scoped
ActionForm, use this interceptor:
http://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html
It allows you to have a single JavaBean as the Action's model
(ActionForm) and will manage storing and retrieving it to
Alex Wibowo wrote:
Hi all...
I am still in the process of learning Struts 2. As I understand it,
there is
no way in Struts 2 to do something like session scope ActionForm in Struts
1.
The only solution I can find is to use "ConversationScopeInterceptor"
written here:
https://issues.
Hi all...
I am still in the process of learning Struts 2. As I understand it, there is
no way in Struts 2 to do something like session scope ActionForm in Struts
1.
The only solution I can find is to use "ConversationScopeInterceptor"
written here:
https://issues.apache.org/struts/brow
Assuming Struts 1.x, Action Forms are null when the "name" attribute,
which specifies the form, is omitted. Forms are optional for actions.
Paul
Dave Newton wrote:
I'm glad you fixed your problem.
--- Monkeyden <[EMAIL PROTECTED]> wrote:
If I knew exactly what to tell you, I would likely
kno
I'm glad you fixed your problem.
--- Monkeyden <[EMAIL PROTECTED]> wrote:
> If I knew exactly what to tell you, I would likely
> know enough to fix it.
Most people seem to find that posting relevent
portions of the config file(s) in question and
isolated code chunks to be a reasonable place to
st
If I knew exactly what to tell you, I would likely know enough to fix it.
Turns out I did. The root cause of the problem, and the solution, had
nothing todo with Struts.
On 2/25/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Monkeyden <[EMAIL PROTECTED]> wrote:
> Im using Struts 1.2.9 on Tomca
--- Monkeyden <[EMAIL PROTECTED]> wrote:
> Im using Struts 1.2.9 on Tomcat 4.1.31. Somehow, my
> form is null within my Action.
That's not much to go on.
d.
Need Mail bonding?
Go to the Yahoo! Mail Q&A f
Im using Struts 1.2.9 on Tomcat 4.1.31. Somehow, my form is null within my
Action. It's even null at the level FormBeanConfig.formBeanClass() is
called. The type, returned by FormBeanConfig.getType(), returns the correct
String, but the call to classLoader.loadClass(getType()) fails to load the
g code snippet:
Form:
Action:
- Original Message -
From: Joe Germuska
To: Struts Users Mailing List
Sent: Thursday, February 08, 2007 11:00 AM
Subject: Re: Action and ActionForm in popup window
There needs to be an element in your struts-config.xml etc.
Whenever you use an tag,
al Message -
From: Joe Germuska
To: Struts Users Mailing List
Sent: Thursday, February 08, 2007 11:00 AM
Subject: Re: Action and ActionForm in popup window
There needs to be an element in your struts-config.xml etc.
Whenever you use an tag, Struts must be able to find (i
There needs to be an element in your struts-config.xml etc.
Whenever you use an tag, Struts must be able to find (in
struts-config.xml) the action you specify in the action attribute, and that
action must have a "name" attribute which points to an ActionForm
configuration. The form
Hi all:
>From a page in my struts application, I need to open a popup window with some
>fields to pick up some values. I created an ActionForm with the filed's
>properties and an Action asociated to it. The problem is that when I try to
>open the popup the following exception
re.
It seems as if the actionForm form is holding each propertyfield as long
as i stay on the same request.
That's true. If you submit a request parameter like "name" and then
process the request using SaveDetailAction (which uses DetailForm), then
your DetailForm for
1 - 100 of 1031 matches
Mail list logo