wood burning stoves 2.0*
The moose likes Other Application Frameworks and the fly likes pure html java view technology Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "pure html java view technology" Watch "pure html java view technology" New topic
Author

pure html java view technology

Joe morogono
Greenhorn

Joined: Aug 28, 2011
Posts: 2
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

Joined: Mar 22, 2000
Posts: 12806
    
    5
Sounds like a templating toolkit like Apache Velocity maybe?

Bill
Joe morogono
Greenhorn

Joined: Aug 28, 2011
Posts: 2
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

Joined: Apr 16, 2008
Posts: 2187
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

Joined: Jan 10, 2002
Posts: 61433
    
  67

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.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

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
Marshal

Joined: Mar 22, 2005
Posts: 42285
    
  64
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.


Ping & DNS - my free Android networking tools app
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
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.

 
 
subject: pure html java view technology