Skip to content
This repository

Liftweb Helpers for various things like SHtml and Mapper-Validation

branch: master
README.md

BHtml - Bettag Html Package for Liftweb

It is a collection of wrapper-libraries build around Liftweb. Check the API Docs for more.

How to use

./sbt package publish-local

The basic idea is, to pass fields something like:

BHtml.text[Long, MapperClass](myMapperRecord.name)

A more complex example would be:

val enableSubmitJs = JsRaw("""$('input[type=submit]').removeAttr('disabled')""")

val disableSubmitJs = JsRaw("""$('input[type=submit]').attr('disabled', 'disabled')""")

BHtml.text[Long, MapperClass](myMapperRecord.name, false, enableSubmitJs, disableSubmitJs)

Thanks

Thanks to everybody in the Lift Community and on Liftweb Google Groups.

Something went wrong with that request. Please try again.