Lift Web Framework

Lift keeps the page as an XML data structure throughout the rendering process. This allows Lift to rewrite the web page at different rendering phases. After the rendering is complete, Lift looks for all the <head/> tags in the <body> tag. Lift takes the contents of each <head/> tag, removes any duplicates and places the resulting tags in the top level <head/> tag.

So, if you have the following code in your page:

<span>
  <head>
    <script type="text/javascript" src="/classpath/jquery.js"/>
  </head>
  do some jQuery stuff here
</span>


<span>
  <head>
    <script type="text/javascript" src="/classpath/jquery.js"/>
  </head>
  Do some other jQuery stuff here
</span>
Lift will put a single <script type="text/javascript" src="/classpath/jquery.js"/> into the <head/> of the page.


Lift is Copyright 2007-2010 WorldWide Conferencing, LLC. Distributed under an Apache 2.0 License.
Lift version 2.3 built on Tue Apr 05 13:24:00 PDT 2011.
Stats: Total Memory: 535,166,976 Free Memory: 497,645,568 Open Sessions: 20
Updated At: Wed May 22 20:13:34 PDT 2013 Started At: Tue Apr 30 12:37:45 PDT 2013