This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HTML generation from java beans

 
vishwas bhatt
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to generate html page/form from java beans. Is there any standard way of doing this or any existing framework is available? If anybody can help me on this, it would be very grateful.

Thanks,
Vishwas
[ February 19, 2007: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65535
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this regarding why using "urgent" in your posts is not the best of ideas.

I have remvoed it from the topic title.
 
vishwas bhatt
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
Please read this regarding why using "urgent" in your posts is not the best of ideas.

I have remvoed it from the topic title.


Hi All,

This is for the first time, I posted my question on javaranch. So, I was not aware of certain rules. I am very sorry for that.
Still I am waiting for my question's reply.

Thanks,
Vishwas
 
Rao Raghu
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by vishwas bhatt
This is for the first time, I posted my question on javaranch.


Then how do you have 76 posts to your name?
 
vishwas bhatt
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am using my brother's account. He told me that I will get some help from java ranch on this problem.

Sorry for everything.
waiting for reply.

Thnaks.
 
Rao Raghu
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please provide a detail of what you have and what you are looking for.
 
Piotr Kiraga
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it is a bigger web application I would try to read something about Struts framework (http://struts.apache.org/). It's quite big, and old framework, but it works. I've used it for many web applications.

If You are searching for something like Model View Controller design pattern, of course.

Another one like Struts: Tapestry (http://tapestry.apache.org/). The newer implementation of MVC patters. Modern and more smart I think.

Now I'm trying to dig into Stripes framework (http://stripes.mc4j.org/). It's the simplest implementation of MVC pattern I've met. The main goal of this approach is not to require so much configuration and make it simple to develop web application with the lower technological-overhead. Very good for quick shots, but I hope for bigger deals too. But I've just started to learn it.
Probably this one will be the best for Your needs.
[ February 20, 2007: Message edited by: Piotr Kiraga ]
 
vishwas bhatt
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by vishwas bhatt:
Hi,
I want to generate html page/form from java beans. Is there any standard way of doing this or any existing framework is available? If anybody can help me on this, it would be very grateful.

Thanks,
Vishwas

[ February 19, 2007: Message edited by: Bear Bibeault ]


Hi,

Let me explain my requirement in bit detail.
1. I have information (Purchase Order detaills) in the form of XSD file.
2. By comipling XSD file, it'll generate interfaces, which will have getters and setters methods of Purchase Order details.
3. I am reading all those getters from interface, and having collection of properties with it's prototype. (like String customer, String lineitem etc.)
4. Now, I want to generate dynamic HTML form, which should render with the above properties.
5. So, while reading these propeties, it should identify it by it's prototype and accordingly html control should be generated.

like, customer is of type String, then it should be placed on the form as input box.

Thanks,
Vishwas
 
Piotr Kiraga
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by vishwas bhatt:

5. So, while reading these propeties, it should identify it by it's prototype and accordingly html control should be generated.

like, customer is of type String, then it should be placed on the form as input box.


I suppose You need something like this, right?

Sorry. Unfortunately never used such mapper. And this one could be commercial.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!