iteration of users database in struts-example

2001-06-21 Thread Corneliu Rachieru
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

RE: iteration of users database in struts-example

2001-06-21 Thread Corneliu Rachieru
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

struts-example: newbie question on adding multiple users form

2001-06-25 Thread Corneliu Rachieru
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.

Sending a hashtable to a form

2001-07-19 Thread Corneliu Rachieru
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

DynaBeans documentation

2002-04-10 Thread Corneliu Rachieru
Hi, Can anyone point me to any relevant DynaBeans documentation and/or examples ? Thank you, Corneliu

Newbie question

2002-04-10 Thread Corneliu Rachieru
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,

PropertyUtils.copyProperties question...

2002-04-11 Thread Corneliu Rachieru
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

RE: PropertyUtils.copyProperties question...

2002-04-12 Thread Corneliu Rachieru
: 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

multiple struts-config files

2002-04-17 Thread Corneliu Rachieru
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]

RE: multiple struts-config files

2002-04-18 Thread Corneliu Rachieru
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