This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
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
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.
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?
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.
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?
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.
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.