• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

pure html java view technology

 
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?

 
Author and all-around good cowpoke
Posts: 13078
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.
 
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?
 
Marshal
Posts: 67289
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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
Marshal
Posts: 67289
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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?
 
Rancher
Posts: 43011
76
  • 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.

 
Yes, my master! Here is the tiny ad you asked for:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!