• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pure html java view technology

 
Joe morogono
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I remember stumbling upon a framework where the view technology was simply html no jsp tags etc etc and inputs were simply wired into the backend java via attributes on plain html input elements. Does anyone know such a framework or frameworks?

My goal is to allow designers to create pages which we can then wire into our backend java just by adding attributes to the form input tags

make sense?

 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a templating toolkit like Apache Velocity maybe?

Bill
 
Joe morogono
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just browsed some web resources about Apache Velocity, it seems like its pages contain non html elements, what I mean is if you take the template source files and display them in a browser directly they won't render, (or maybe I am mistaken), a designer will be handing java team guys pure html and the idea is to just an some attributes to the input elements to wire into the back end.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a designer will be handing java team guys pure html and the idea is to just an some attributes to the input elements to wire into the back end.


An HTML Form element contains an "action" attribute in the start-tag. If the value of the action attribute is a URL that points to a Java Servlet, then you can connect the HTML page to the "back end." This is very basic. Would this not work in your situation?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64617
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jimmy Clark wrote:
a designer will be handing java team guys pure html and the idea is to just an some attributes to the input elements to wire into the back end.


An HTML Form element contains an "action" attribute in the start-tag. If the value of the action attribute is a URL that points to a Java Servlet, then you can connect the HTML page to the "back end." This is very basic. Would this not work in your situation?

I think you are completely missing what he asking for. Essentially he's look for server-side templating without any templating markup in the HTML templates.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64617
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Personally, I've never heard of any framework such as this -- are you sure you're not confusing it with client-side templating with the jQuery tempting plugging or something similar?
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most editing tools a serious designer might use would know about templating languages like JSP, Velocity and FreeMarker, and render any pages containing such markup just fine. Is this an actual problem you're facing, or are you just wondering?

Apache Wicket uses something that is very close to HTML, and which should render OK even in a browser.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems like he is "looking" for a template and/or framework to achieve the following goal. Personally, I don't think he needs a framework to create simple HTML pages. In other words he does not "need" a framework to achieve the specified goal.

My goal is to allow designers to create pages which we can then wire into our backend java just by adding attributes to the form input tags


1. Designers create simple HTML documents in HTML Editor.

2. Connect to server processing using FORM element.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic