2.5. Using MWT APIs in taglibs

Accessing MWT APIs from taglibs is straightforward. As we have seen in the previous paragraph the APIs are packed in mwt function taglib.

As an example let's take the same XHTML snippet from Using MWT APIs in PHP scripts paragraph, rewriting it using the taglibs expression language: