• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTML generation from java beans

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Sheriff
Posts: 67750
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please provide a detail of what you have and what you are looking for.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic