{"id":21419151,"url":"https://github.com/fbettag/lift-bhtml","last_synced_at":"2025-07-14T06:30:59.119Z","repository":{"id":2281550,"uuid":"3238760","full_name":"fbettag/lift-bhtml","owner":"fbettag","description":"Liftweb Helpers for various things like SHtml and Mapper-Validation","archived":false,"fork":false,"pushed_at":"2012-04-11T22:22:11.000Z","size":1346,"stargazers_count":9,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-01T19:23:06.966Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://fbettag.github.com/lift-bhtml/latest/api/#ag.bett.lift.bhtml.package","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fbettag.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-22T08:38:43.000Z","updated_at":"2024-05-01T19:23:06.967Z","dependencies_parsed_at":"2022-07-19T14:38:52.901Z","dependency_job_id":null,"html_url":"https://github.com/fbettag/lift-bhtml","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbettag%2Flift-bhtml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbettag%2Flift-bhtml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbettag%2Flift-bhtml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbettag%2Flift-bhtml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fbettag","download_url":"https://codeload.github.com/fbettag/lift-bhtml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225955113,"owners_count":17550985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T19:35:53.329Z","updated_at":"2024-11-22T19:35:53.981Z","avatar_url":"https://github.com/fbettag.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"BHtml - Bettag Html Package for Liftweb\n==========\n\nIt is a collection of wrapper-libraries build around Liftweb. Check the [API Docs](http://fbettag.github.com/lift-bhtml/latest/api/#ag.bett.lift.bhtml.package) for more.\n\n\n## How to use\n\n```shell\n./sbt package publish-local\n```\n\nThe basic idea is, to pass fields something like:\n\n```scala\nBHtml.text[Long, MapperClass](myMapperRecord.name)\n```\n\nA more complex example would be:\n\n```scala\nval enableSubmitJs = JsRaw(\"\"\"$('input[type=submit]').removeAttr('disabled')\"\"\")\n\nval disableSubmitJs = JsRaw(\"\"\"$('input[type=submit]').attr('disabled', 'disabled')\"\"\")\n\nBHtml.text[Long, MapperClass](myMapperRecord.name, false, enableSubmitJs, disableSubmitJs)\n```\n\n\n## Thanks\n\nThanks to everybody in the Lift Community and on [Liftweb Google Groups](http://groups.google.com/group/liftweb).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbettag%2Flift-bhtml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffbettag%2Flift-bhtml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbettag%2Flift-bhtml/lists"}