On 10/2/07, Kothari, Kailash [EMAIL PROTECTED] wrote:
Thaks Rick.
This will give me an instance of the parent bean OR the child bean.
What I need is a child bean pre populated with data from the parent
bean.
Ok, so just get ParentBean and then populate your subclassed bean...
public
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 03, 2007 7:21 AM
To: Struts Users Mailing List
Subject: Re: Inheritance within form beans
On 10/2/07, Kothari, Kailash [EMAIL PROTECTED] wrote:
Thaks Rick.
This will give me an instance of the parent bean OR the child bean.
What I need is a child
be the only one that does this, but I have all my form beans
extend an abstract BaseActionForm that has these two methods:
public void populateValueObject(Object obj) throws
IllegalAccessException, InvocationTargetException {
BeanUtils.copyProperties(obj, this);
}
public
03, 2007 2:37 PM
To: Struts Users Mailing List
Subject: Re: Inheritance within form beans
On 10/3/07, Kothari, Kailash [EMAIL PROTECTED] wrote:
Thanks a lot Rick. That gives me a new area to explore.
The BeanUtils method - BeanUtils.copyProperties(Object target, Object
src) - does give me
On 10/3/07, Kothari, Kailash [EMAIL PROTECTED] wrote:
Ok, that's quite interesting..
I think I just need to find a efficient way of doing the deep copy
because my parent class has thousands of attributes in all including
nested attributes..
Hmm thousands of attributes? I doubt you are
-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 03, 2007 3:47 PM
To: Struts Users Mailing List
Subject: Re: Inheritance within form beans
On 10/3/07, Kothari, Kailash [EMAIL PROTECTED] wrote:
Ok, that's quite interesting..
I think I just need to find a efficient way
instances of the same
type of ActionForm in the session - the key is the action mapping name
they are tied to.)
-Original Message-
From: Kothari, Kailash [mailto:[EMAIL PROTECTED]
Sent: Monday, October 01, 2007 5:31 PM
To: user@struts.apache.org
Subject: Inheritance within form beans
Hello
--- Kothari, Kailash wrote:
This will give me an instance of the parent bean OR
the child bean.
What I need is a child bean pre populated with data
from the parent bean.
I'd probably consider hooking in to the request
processor (or chain if you're using 1.3, I suppose)
and implement the
Hello,
I have an interesting Struts design requirement and Im a little lost,
would really appreciate help !
I have multiple form beans in my application and a lot of them share
data.
Instead of duplicating the common attributes in each form bean, I am
opting for an more elegant approach, i.e
On 10/1/07, Kothari, Kailash [EMAIL PROTECTED] wrote:
What I also need is that, when a child form bean is instantiated by
Struts, I want Struts to check if there is an instance of the parent
form bean in the session and if so, pre populate that data from the
parent to the child form bean.
//EN
http://struts.apache.org/dtds/struts-config_1_3.dtd;
struts-config
global-exceptions
exception key=login.failure type=exception.LoginException
path=/failure.jsp
/exception
/global-exceptions
form-beans
://struts.apache.org/dtds/struts-config_1_3.dtd;
struts-config
global-exceptions
exception key=login.failure type=exception.LoginException
path=/failure.jsp
/exception
/global-exceptions
form-beans
form-bean
Hello,
I think I get the reason -- sequence.
form-beans must be prior to global-exceptions, like servlet and
servlet-mapping.
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Hi guys,
I'm new to Struts.
I'm using Struts 1.3.8 + JBoss 4.0.5.GA + JDK 1.5.0 + Windows XP.
I have
The DTD specifies the order of tags. Your error message is telling you what
order they should appear in.
On 4/28/07, jiangshachina [EMAIL PROTECTED] wrote:
Hello,
I think I get the reason -- sequence.
form-beans must be prior to global-exceptions, like servlet and
servlet-mapping.
a cup
Hi
I am using DispatchAction to do similar actions. As per the requirement i
have to use two different forms but similar actions. So added individual
methods in my action class for each type of form beans. This is my sample
config.xml
form-beans
form-bean name=SearchForm type
Hi Guys
I am new to Struts.Could any one send me a sample code where in i can set
the form bean values through the request and then retrieve the form beans
values in a jsp.
Thanking n advance
Sab
On 11/7/06, Thom Burnett [EMAIL PROTECTED] wrote:
What are common simple mistakes that would
I'm facing a situation where ideally I'd like to have a single ActionForm
like so:
public class MyActionForm extends ActionForm {
AnotherActionForm1 af1;
AnotherActionForm2 af2;
}
When in my JSP I do:
html:text property=af1.field1 /
...I do indeed see the value as I expect. The way I did
So what does happen when you submit the form? Are you getting NPEs?
By the time Struts attempts to populate the form bean, the nested
forms should already be instantiated. You should have getters and
setters for af1 and af2, and getAf1() and getAf2() should not return a
null. This could be an
, verified in Firebug. Lastly, here's struts-config:
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts
Configuration 1.2//EN
http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd;
struts-config
form-beans
form-bean name
;
struts-config
form-beans
form-bean name=masterForm type=app.test.formbeans.MasterForm /
/form-beans
action-mappings
action path=/final type=app.test.actions.FinalAction
name=masterForm scope=request validate=false
forward name=defaultForward path=/final.jsp /
/action
. Lastly, here's struts-config:
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD
Struts
Configuration 1.2//EN
http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd;
struts-config
form-beans
form-bean name=masterForm type
-//Apache Software Foundation//DTD
Struts
Configuration 1.2//EN
http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd;
struts-config
form-beans
form-bean name=masterForm type=app.test.formbeans.MasterForm /
/form-beans
action-mappings
action path=/final type
/struts/dtds/struts-config_1_2.dtd;
struts-config
form-beans
form-bean name=masterForm type=app.test.formbeans.MasterForm
/
/form-beans
action-mappings
action path=/final type=app.test.actions.FinalAction
name=masterForm scope=request validate=false
forward name
-config_1_2.dtd;
struts-config
form-beans
form-bean name=masterForm type=app.test.formbeans.MasterForm
/
/form-beans
action-mappings
action path=/final type=app.test.actions.FinalAction
name=masterForm scope=request validate=false
forward name=defaultForward path
/struts-config_1_2.dtd;
struts-config
form-beans
form-bean name=masterForm
type=app.test.formbeans.MasterForm
/
/form-beans
action-mappings
action path=/final type=app.test.actions.FinalAction
name=masterForm scope=request validate=false
forward name
-//Apache Software
Foundation//DTD
Struts
Configuration 1.2//EN
http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd;
struts-config
form-beans
form-bean name=masterForm
type=app.test.formbeans.MasterForm
/
/form-beans
action-mappings
:
%= masterForm.af1.field1 %
Peiyun
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: September 22, 2006 4:23 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Re: Nested form beans
On Fri, September 22, 2006 3:59 pm, Hubert Rabago wrote:
I can't see
-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: September 22, 2006 4:23 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Re: Nested form beans
On Fri, September 22, 2006 3:59 pm, Hubert Rabago wrote:
I can't see anything that would cause your problem.
I guess
[mailto:[EMAIL PROTECTED]
Sent: September 22, 2006 4:23 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Re: Nested form beans
On Fri, September 22, 2006 3:59 pm, Hubert Rabago wrote:
I can't see anything that would cause your problem.
I guess if it were me, I'd fire
Hi
We have Pages where user enters some data in step 1 ,step 2 and in last step
these data should be submitted to DB.
We are putting the all form beans in session as all of our transactions are
multiple step process.
Is there any better of way not putting the form beans in session
--
Thanks
, OneVO.java,TwoVO.java,ThreeVO.java as custome Vos
which hold the parameters in JSP like form beans.
Incase of form beans make all fields as String fields(Date as String,
int As String etc..), incase of Vos use correct fields(date as Date, int
as int etc..)
Use Composition like BaseVO.java has the three
Hi,
I have multiple modules configured in my web application
I want to in the init() method of my plugin
1. read a file with some info
2. find a particular ModConfig object corresponding to 1 of my modules
3. According to the info in the file create and add FormBeanConfig
objects to that
Eamonn:
The plugin gets the specific ModuleConfig for the module in which the
plugin element appears. If you want to perform a certain setup
operation in several modules, then each of them should repeat the
same plugin element (or as close to the same as is appropriate.)
If you only put
When creating form beans does it have to have only, which the user can enter
information to?
In my JSP, there are fields
order date: present order date input field (user can update the
order date here)
Like this the JSP has about 20 fields.
Does the form bean should contain only
fea jabi wrote:
When creating form beans does it have to have only, which the user can
enter information to?
In my JSP, there are fields
order date: present order date input field (user can update
the order date here)
Like this the JSP has about 20 fields.
Does the form bean
original, con motivo de su envío
por correo electrónico.
-Mensaje original-
De: Rick Reumann [mailto:[EMAIL PROTECTED] Enviado el: Tuesday, January
17, 2006 11:07 PM
Para: Struts Users Mailing List
Asunto: Re: Array of a java bean and Dynamic Form Beans
Néstor Boscán wrote:
The problem
Para: Struts Users Mailing List
Asunto: Re: Array of a java bean and Dynamic Form Beans
Néstor Boscán wrote:
The problem is that I have to minimize the use of object in session
scope to minimize session replication. Is there any way to do this in
request scope?
Right.. as I said you can use
Asunto: Re: RV: Array of a java bean and Dynamic Form Beans
Néstor Boscán wrote the following on 1/18/2006 8:06 AM:
Hi Rick
I created a class that extends DynaActionForm and checked the
parameters to determine the size of the array. After I determine the
size of the array I set the attribute
Néstor Boscán wrote the following on 1/18/2006 10:05 AM:
Hi Rick
If I comment the reset method I get:
java.lang.ArrayIndexOutOfBoundsException: 0 at
I'm assuming you get that when you submit your form? Some of these
things have to be broken down into baby stteps since sometimes the
Reumann [mailto:[EMAIL PROTECTED]
Enviado el: Wednesday, January 18, 2006 11:21 AM
Para: Struts Users Mailing List
Asunto: Re: RV: Array of a java bean and Dynamic Form Beans
Néstor Boscán wrote the following on 1/18/2006 10:05 AM:
Hi Rick
If I comment the reset method I get
Néstor Boscán wrote the following on 1/18/2006 10:48 AM:
set (variables, new VariableTo [count]);
}
}
Now the first time I call the JSP it works fine. I have a refresh button
that refreshes the page. The reset method is called with no problems and
then I get the exception
Hi
In the projects I'm working on we use a lot of Dynamic Form Beans with
Arrays of Java Beans. I read that the only way to make this work is to
declare the form bean with session scope. The problem is that I need all
form beans to have their scope set to request to minimize session
propagation
Néstor Boscán wrote:
In the projects I'm working on we use a lot of Dynamic Form Beans with
Arrays of Java Beans. I read that the only way to make this work is to
declare the form bean with session scope.
You can get this to work without using Session scope. You just need to
use your reset
el: Tuesday, January 17, 2006 10:16 PM
Para: Struts Users Mailing List
Asunto: Re: Array of a java bean and Dynamic Form Beans
Néstor Boscán wrote:
In the projects I'm working on we use a lot of Dynamic Form Beans with
Arrays of Java Beans. I read that the only way to make this work
Néstor Boscán wrote:
The problem is that I have to minimize the use of object in session scope to
minimize session replication. Is there any way to do this in request scope?
Right.. as I said you can use Request scope just fine. You just have to
make sure in the reset method to either use a
Hello. I am new to Struts and would like some advice. Is it better to use
one form bean to capture data from several forms that are being submitted
in succession or to use one form bean per form (i.e. multiple form beans)?
What are the advantages or disadvantages of either approach? Also, I
I think one form bean per form.
Regards
Ayusman
-Original Message-
From: Asad Habib [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 16, 2005 4:11 PM
To: user@struts.apache.org
Subject: Form Beans
Hello. I am new to Struts and would like some advice. Is it better to
use
one form bean
be a problem if you
have big objects or many user sessions hitting this set of pages and
therefore creating a lot of form beans in their sessions. Another
disadvantage is that you need to remove the formbean from the scope
when you are done (e.g. with c:remove var=myFormBean
scope=session/.
Do
On 11/16/05, Asad Habib [EMAIL PROTECTED] wrote:
Hello. I am new to Struts and would like some advice. Is it better to use
one form bean to capture data from several forms that are being submitted
in succession or to use one form bean per form (i.e. multiple form beans)?
What
data from several forms that are being submitted
in succession or to use one form bean per form (i.e. multiple form beans)?
What are the advantages or disadvantages of either approach? Also, I would
appreciate if you would forward me to documents on the web, book chapters,
etc., that discuss
PROTECTED] wrote:
Hello. I am new to Struts and would like some advice. Is it better to use
one form bean to capture data from several forms that are being submitted
in succession or to use one form bean per form (i.e. multiple form beans)?
What are the advantages or disadvantages of either approach
On 11/16/05, Frank W. Zammetti [EMAIL PROTECTED] wrote:
The one thing to keep in mind if you go [one ActionForm] route is
to be sure you don't have a field on one page
with the same name as another. I had one junior developer make that
mistake and it drove him nuts trying to figure out what
(i.e. multiple form beans)?
What are the advantages or disadvantages of either approach? Also, I would
appreciate if you would forward me to documents on the web, book chapters,
etc., that discuss this in detail. Thank you.
I prefer using one formbean. And one action too. Is this looks
Jouravlev wrote:
On 11/16/05, Asad Habib [EMAIL PROTECTED] wrote:
Hello. I am new to Struts and would like some advice. Is it better to use
one form bean to capture data from several forms that are being submitted
in succession or to use one form bean per form (i.e. multiple form beans
Imagine you have a single ActionForm with a firstName field. Now
imagine you have two wizard pages that are used in sequence, and you
want to use the same ActionForm for both.
Assume the form is stored in session, as you would expect in a wizard.
Now, imagine there is a firstName field on
are asking?
--Brad.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Wed 11/16/2005 11:46 AM
To: Struts Users Mailing List
Subject: Wizard page data corruption (was: Re: Form Beans)
Imagine you have a single ActionForm with a firstName field. Now
imagine you have
user@struts.apache.org
To: user@struts.apache.org
Subject: Re: how many Form beans
Date: Thu, 27 Oct 2005 22:33:06 -0400
fea jabi wrote:
thankyou for your responses.
for my Jsp I created a formbean and for Form1
with attributes
name
row[]
table row in the jsp created another formbean
Hi
When I first read the subject line I thought the question was, How many form
beans
does it take to change a light bulb? Maybe this is a question for the more
advanced
Struts user - I'm not sure of the answer to that question. Any ideas Wendy /
Laurie?
I like to keep things simpleI
@struts.apache.org
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: how many Form beans
Date: Fri, 28 Oct 2005 23:32:09 +1000
Hi
When I first read the subject line I thought the question was, How many
form beans
does it take to change a light bulb? Maybe this is a question
List user@struts.apache.org
Subject: Re: how many Form beans
Date: Fri, 28 Oct 2005 23:32:09 +1000
Hi
When I first read the subject line I thought the question was, How many
form beans
does it take to change a light bulb? Maybe this is a question for the
more advanced
Struts user - I'm
Thanksyou all for helping me thru this. I've got it working now.
From: Murray Collingwood [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: how many Form beans
Date: Sat, 29 Oct 2005 00:01:32 +1000
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: how many Form beans
Date: Sat, 29 Oct 2005 00:01:32 +1000
Hi again
CurrencyValueList must be extending the CurrencyValue right!!
No. CurrencyValueList extends ActionForm. It contains one property that
is a List
I am new to web development and struts too.
I am trying to create a jsp which has
a text field for display only for Name
and a Table below it with couple of rows and columns in it.
how many form beans do I have to create?
Do I have to create one for the jsp and one for the table alone?
do
fea jabi wrote:
I am new to web development and struts too.
I am trying to create a jsp which has
a text field for display only for Name
and a Table below it with couple of rows and columns in it.
how many form beans do I have to create?
Do I have to create one for the jsp and one
[EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: how many Form beans
Date: Thu, 27 Oct 2005 17:16:09 -0400
A couple of gotchas concerning TagLibs
what version JSP container ?
if its 2.0 then consider JSTL 1.1.x tags
On the other hand the struts html tag library
?
thanks.
From: Martin Gainty [EMAIL PROTECTED]
Reply-To: Martin Gainty [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: how many Form beans
Date: Thu, 27 Oct 2005 17:16:09 -0400
A couple of gotchas concerning TagLibs
what version JSP container ?
if its
Ciao,
I've planned to transform a Form-Bean to a XML-String
and but it into a Databasetable-field, among with others as the
user-id or the form-name.
Is there anything you can say against this procedure?
Ciao Antonio
-
To
as long as you only use it as blob, store and retrieve it, without
querying subforms, a byte[] gained through serialization or
externalization would be surely the faster alternative...
regards
leon
On 10/21/05, gollinger [EMAIL PROTECTED] wrote:
Ciao,
I've planned to transform a Form-Bean to
Hi,
has someone made experiences in using a
tool which can serialize Beans to XML-Files
and works stable and properly.
For example that can also handle String Arrays?
Nice Greetings Antonio
-
To unsubscribe, e-mail: [EMAIL
gollinger wrote:
Hi,
has someone made experiences in using a
tool which can serialize Beans to XML-Files
and works stable and properly.
For example that can also handle String Arrays?
http://jakarta.apache.org/commons/betwixt/
The Betwixt library provides an XML introspection mechanism for
Hi
Also there are a number of other API's for doing stuff like that, including the
Java extention from Sun: JAXB
Hermod
-Opprinnelig melding-
Fra: Bob Arnott [mailto:[EMAIL PROTECTED]
Sendt: 17. oktober 2005 11:15
Til: Struts Users Mailing List
Emne: Re: Serializing Form-Beans with XML
Thank you for your answers I'll try it!
Nice greetings
Antonio
-- Initial Header ---
From : [EMAIL PROTECTED]
To : user@struts.apache.org
Cc :
Date : Mon, 17 Oct 2005 12:48:56 +0200
Subject : SV: Serializing Form-Beans with XML
Hi
Also
in the array will wind up being a table row.
-Original Message-
From: Brian Kremmin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 11:02 AM
To: user@struts.apache.org
Subject: logic:iterate tag and form beans
Hello Everyone,
This is my first post. I've been watching
Example:
DataBean:
public class EmployeeBean(){
private String name = null;
Private String dept = null;
... Getters and setters
}
FormBean:
public class EmployeeForm extends ActionForm{
private Collection employees = new ArrayList();
... Getters and
Brian Kremmin wrote:
I'm planning to use an ArrayList to store the data and use the
logic:iterate tag to expose the elements of the list... however, I'm
unsure of the proper structure of all these data objects. I think I'm
using struts 1.1 if that makes a difference.
1) I'd tend towards
Brian Kremmin wrote:
I want to get some table data from a database and output it in table
form on a webpage.
I'm planning to use an ArrayList to store the data and use the
logic:iterate tag to expose the elements of the list... however, I'm
unsure of the proper structure of all these data
-
From: Andrew Tomaka [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 07, 2005 9:26 AM
To: user@struts.apache.org
Subject: Two Forms, Two Form Beans, One JSP
Hey all,
I'm attempting to create a JSP that is made up of two forms. Each
form needs a different form bean and is processed by a different
Andrew Tomaka wrote the following on 7/7/2005 10:26 AM:
I'm attempting to create a JSP that is made up of two forms. Each
form needs a different form bean and is processed by a different
action. The catch is that the first form returns back to the JSP and
the action responsible for this needs
for this needs the name attribute set to the
Form Bean of the first form. When the JSP is loaded after the
processing of the first form, both the form tags are assigned the name
of the first Form Bean.
Is it possible to assign Form Beans to a form instead of assigning
them to an action?
Thanks
bean assigned to it.
Since I have two different forms doing two different things, I should
have two different form beans, but I don't see how I can accomplish
that.
This is going to be a common thing to do throughout my entire
application so I am hoping a simple design solution will pop up.
Let me
,
-Original Message-
From: Andrew Tomaka [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 07, 2005 12:00 PM
To: Struts Users Mailing List
Subject: Re: Two Forms, Two Form Beans, One JSP
I imagine I've over complicated the problem, so I've taken a step back
and am looking at it from the beginning
From: Andrew Tomaka [EMAIL PROTECTED]
My problem is that I have a PreAction to do the processing on the
form. This requires the page to have the form bean assigned to it.
Since I have two different forms doing two different things, I should
have two different form beans, but I don't see how
to it.
Since I have two different forms doing two different things, I should
have two different form beans, but I don't see how I can accomplish
that.
There's nothing wrong with sharing one form across multiple Actions. I do
it for an accounting reporting webapp. All of the forms ask
]
My problem is that I have a PreAction to do the processing on the
form. This requires the page to have the form bean assigned to it.
Since I have two different forms doing two different things, I should
have two different form beans, but I don't see how I can accomplish
that.
There's
different things, I should
have two different form beans, but I don't see how I can accomplish
that.
There's nothing wrong with sharing one form across multiple Actions. I do
it for an accounting reporting webapp. All of the forms ask for similar
things, such as account numbers and dates
doing two different things, I should
have two different form beans, but I don't see how I can accomplish
that.
Here is a case where I don't believe you need to have these different
ActionForms. If you just need an id from one drop down list, simply
sumbit to the Action and pull that id out
two different form beans, but I don't see how I can accomplish
that.
There's nothing wrong with sharing one form across multiple Actions. I do
it for an accounting reporting webapp. All of the forms ask for similar
things, such as account numbers and dates, and this makes it simple for all
different form beans, but I don't see how I can accomplish
that.
There's nothing wrong with sharing one form across multiple Actions.
I do
it for an accounting reporting webapp. All of the forms ask for
similar
things, such as account numbers and dates, and this makes it simple
for all
the HTML
think you are:)
My problem is that I have a PreAction to do the processing on the
form. This requires the page to have the form bean assigned to it.
Since I have two different forms doing two different things, I should
have two different form beans, but I don't see how I can accomplish
@struts.apache.org
Subject: Two Forms, Two Form Beans, One JSP
Hey all,
I'm attempting to create a JSP that is made up of two forms. Each
form needs a different form bean and is processed by a different
action. The catch is that the first form returns back to the JSP and
the action responsible
Form Bean.
Is it possible to assign Form Beans to a form instead of assigning
them to an action?
Thanks,
~ Andrew Tomaka
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
in that page.
Regards,
Abdullah
-Original Message-
From: Michael Taylor [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 07, 2005 1:02 PM
To: Struts Users Mailing List
Cc: Andrew Tomaka
Subject: Re: Two Forms, Two Form Beans, One JSP
You can have multiple forms on the same page. I am using Tiles
On 7/7/05, Abdullah Jibaly [EMAIL PROTECTED] wrote:
No, I actually meant that Struts will only process and associate one form
with the action processing that request, and therefore any validation, etc.
So only one html form will get associated with the current ActionForm, even
with session
: Two Forms, Two Form Beans, One JSP
You can have multiple forms on the same page. I am using Tiles. I put
some forms in the header/footer and they work just fine. I had to use
different actions for the two forms, and I had to use session scope for
one of them in order to retain state
Hi all,
could I speed up my development by placing business beans inside a form
bean using delegating methods to set it. I could init the business bean
with a none bean method and only expose certain attributes of course
validating the way i need it. I am interested if I place such a
Hi all,
could I speed up my development by placing business beans inside a form
bean using delegating methods to set it. I could init the business bean
with a none bean method and only expose certain attributes of course
validating the way i need it. I am interested if I place such a
to selectively expose certain attributes, but it
does define form beans based on the fields you have in your business
beans. It might give you other ideas on how to deal with this issue.
Hubert
On 5/27/05, Nils Liebelt [EMAIL PROTECTED] wrote:
Hi all,
could I speed up my development by placing
objects (BeanUtils
comes with one for Date objecs).
Take a look a FormDef (https://formdef.dev.java.net). Right now it
doesn't allow you to selectively expose certain attributes, but it
does define form beans based on the fields you have in your business
beans. It might give you other ideas on how
Hi Michael,
On 5/27/05, Michael Jouravlev [EMAIL PROTECTED] wrote:
Hi Hubert,
* Is it possible to have a method, which would accept a reference to
an existing bean?
Yes, although the current set of convenience methods don't support it.
My goal with FormUtils is to provide the basic
hi folks,
if I just use plain html code(not struts html: tags)
for constructing input types like radios,
textfield,etc, would I still be able to use form-bean
for automatic retrieving and populating as long as I
wrap all the inputs in a form and set the form action
to be an action associated with
1 - 100 of 114 matches
Mail list logo