teamon

  • Archive
  • RSS
  • Ask me anything

Liftweb 2.0 API

    • #scala
    • #lift
  • 2 years ago
  • Comments
  • Permalink
  • Share
    Tweet

Lift: Form fields attributes

+ =

  • one - The most basic tag, there are no attributes in code nor markup.
  • two - Same as above but with id attribute set in markup. As you can see in generated html this attribute is lost.
  • three - -%> syntax preserves markup attributes.
  • four - Other way of setting html attributes.
  • five - When setting attributes in both code and markup the second one has higher priority.
    • #lift
    • #scala
  • 2 years ago
  • Comments
  • Permalink
  • Share
    Tweet

Lift: “if(loggedIn)” in view

Via: http://wiki.github.com/dpp/liftweb/logging-in-users-without-any-db (there is a bug)

View: Boot.scala:
    • #lift
    • #scala
  • 2 years ago
  • Comments
  • Permalink
  • Share
    Tweet

About

Ruby, Scala and others.

Pages

  • About
  • Projects
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr