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]



Re: read html tags from database and display

2005-01-03 Thread Pavel Kolesnikov
On Thu, 30 Dec 2004 17:27:38 + (UTC), Partho
[EMAIL PROTECTED] wrote:

 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?

What about indexed/mapped properties?
See http://struts.apache.org/faqs/indexedprops.html

Pavel Kolesnikov

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



RE: read html tags from database and display

2004-12-30 Thread Jim Barrows


 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] Behalf Of Partho
 Sent: Thursday, December 30, 2004 10:28 AM
 To: user@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?


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