The typical case for DynaForm is a very simple case, when you have
couple of basic properties you have in your Form.
I supose, that creating of a separate ActionForm class is more
appropriate for your case. If you are new to Struts and have to work
really fast (it was my case couple of months
/msg32014.html)?
from my struts-config.xml:
cheers,
pj
-Opprinnelig melding-
Fra: Danny Lee [mailto:[EMAIL PROTECTED]
Sendt: 21. november 2005 17:18
Til: user@struts.apache.org
Emne: Re: nested Sets
Well, your problem is storing the value in "formulaPart".
What is f
Are you positive that your action has done a Hibernate query that returns a set
of data into your POJO so that your problem is only the nested iteration? Are
you positive your beans are being saved in a scope (most likely request or
session, not application), etc. ?
Regards,
David
-Origin
Well, your problem is storing the value in "formulaPart".
What is formulaPart? You are populating the form, and you have lot of
input fields after populations.
So you have to have formulaPart[x] as a property, and List formulaPart
in the scope!
Read this:
http://www.developer.com/java/ent/a
sorry for the bad formatting in my previous mail... I try again:
thanks for the answer!
I have tried to follow your suggestions, but I can not get Struts to
populate my Hibernate POJOs...
This is the code I am using:
MyForm.java:
private Set Bs; //this also has a getter and setter
B.java (which
You just have to organize something like
seto of B's in yur A and set of C's in your B.
This has to be done per Hibernate ('s in hibernate.cfg.xml and List
getters setters in DAO Classes).
When you've done this, you can iterate all the attributes without big
prob's. After user submiting new va
6 matches
Mail list logo