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: “if(loggedIn)” in view
Via: http://wiki.github.com/dpp/liftweb/logging-in-users-without-any-db (there is a bug)
View: Boot.scala: