Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Potential Technical Hurdles

Use of $(document).ready

Most JavaScript-using Jasig portlets contain some sort of initialization methods that are called in a $(document).ready block. This initialization strategy does not appear to be compatible with jQuery mobile.

jQM recommends that such initialization tasks be performed via. However, code for these methods needs to be included before the import of the jQuery mobile javascript file.

Fluid Renderer

Using the Fluid renderer alongside of jQM appears to present some particular challenges. jQM parses the DOM to determine the roles of various elements, then adds additional divs, spans, and other wrappers, and applies CSS classes to both old and new elements. This process means that the markup originally included in the page is not the markup ultimately presented.

...