Hello everyone,
I am trying to modify the struts example to display a list of users at the
end of the registration form when someone selects edit registration from the
main menu.
I have three users in database.xml and this is code i've added to
registration.jsp:
table
logic:iterate id=user
is a hashmap of some sort, so what you need is
bean:write name=user property=value.username/
see
http://jakarta.apache.org/struts/struts-logic.html#iterate
--m
- Original Message -
From: Corneliu Rachieru [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 21, 2001 2:46
Hi,
I've modified the struts example to do a couple of things for me, but now i
want to add a main menu entry that will display a form which contains a
select box. This select box will contain the usernames of all the users in
the database.
I am a bit confused on how to approach building this.
I am
trying to load a hashtable named Table into a form.
I have
a EditTableAction class which is supposed to do this, however, looking at the
struts example,loading is done for each property of the objects that make
up the hashtable as opposed to loading the whole table. Is there a way to
Hi,
Can anyone point me to any relevant DynaBeans documentation and/or examples
?
Thank you,
Corneliu
Hello everyone,
Can anyone help me with the following questions:
How do i instantiate a DynaBean ?
How do i copy a HashMap to DynaBean (if possible using
PropertyUtils.copyProperties) ?
There is no documentation that i could find about this and I am really lost
in this...
Thank very much,
I have a bean called adminMap(a java.util.HashMap) defined that contains the
keys id, username, password. I also have a DynaActionForm named form
defined in the struts-config.xml as
form-bean name=adminForm
dynamic=true
: PropertyUtils.copyProperties question...
Importance: High
Corneliu Rachieru wrote:
I have a bean called adminMap(a java.util.HashMap) defined that contains
the
keys id, username, password. I also have a DynaActionForm named form
defined in the struts-config.xml as
form-bean name=adminForm
light on how multiple
struts-config files are implemented ?
Thank you,
Corneliu
these are my opinions... and i could be wrong...
: Corneliu Rachieru
: Java/J2ee UI designer
: Espial Inc. espial.com
: (613)230-4770 x1234
: [EMAIL PROTECTED]
So the 1.1 patch on your site does not work ?
Are there any plans to implement this for 1.1 then ?
Regards,
Cornelius
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 7:00 PM
To: Struts Users Mailing List
Subject: RE: multiple
10 matches
Mail list logo