The ROnin Forms Library for Managing Application Objects
Gosu
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits behind carsongross:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/roflmao
test
README.md
pom.xml
roflmao.iml

README.md

ROnin Form Library for Managing Application Objects

ROFLMAO makes it easy to create HTML forms within the Ronin web framework. It adds methods to the standard ronin.RoninTemplate, allowing you to quickly output a well-constructed form that is bound to a remote Ronin controller method:

  <html>
    <body>
      <% target = controller.Example#search() %>
      ${formFor(target)} <!-- create a form for the search() method -->
        Search Term: ${input(target.$term)} <!-- create an input bound to the 'term' parameter -->
        ${submit("Search")}
      ${endForm}
    </body>
  </html>