• 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

pure html java view technology

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Sheriff
Posts: 67746
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

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
Sheriff
Posts: 67746
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
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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Do you pee on your compost? Does this tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic