create text fields/radio buttons dynamically by reading from db

2005-01-03 Thread Partho Sandell
I need display html tags on the screen such as text fields, radio buttons etc 
by reading them from the database. 

Is there any way that the text fields/radio buttons can be created dynamically, 
in struts framework, by reading the list of html tags from the database. I 
would not like to hard code the getters and setters in a bean or add the 
enteries corresponding to the html tags in configuration files for dynaform? 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: read html tags from database and display

2005-01-03 Thread Partho Sandell
Jim Barrows jbarrows at sssc.com writes:

 
  -Original Message-
  From: news [mailto:news at sea.gmane.org]On Behalf Of Partho
  Sent: Thursday, December 30, 2004 10:28 AM
  To: user at struts.apache.org
  Subject: read html tags from database and display
  
  
  I need display html tags on the screen such as text fields, radio 
  buttons etc by reading them from the database. 
  
  Is there any way that the text fields/radio buttons can be created 
  dynamically, in struts framework, by reading the list from 
  the database 
  and without having to hard code the getters and setters in a bean or
  adding these fields to the configuration files for dynaform? 
 
 I'm confusled.
 
 I think what you want is to put some thing on the page that will read a 
database, and based on what it finds there
 create an entire HTML page?  On the fly?  at run time?
 Or are you looking for something to run at design time?
 
As you have correctly indicated I would like to put something on a web page 
that will read a database, and based on what it finds there create an entire 
HTML page on the fly and at run time.
Thanks




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Validate seperate fields per button for forms with multiple butto ns

2004-11-28 Thread Partho . Sandell
Hi,
I have a form with two buttons and a form bean that uses the validator frame
work. The same action class is invoked when any button is clicked. I would
like to check different text fields based on which button was clicked.
Any pointers how this can be achieved using the validation framework would
be appreciated.
Thanks,


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]