Using the Flex JSP tag library

To use the Flex tag library, you add a taglib directive in your JSP that points to the FlexTagLib URI, as the following example shows:

<%@ taglib uri="FlexTagLib" prefix="mm" %>

As with any JSP taglib directive, this line must appear before you use any tags in the Flex JSP tag library.

The Flex JSP tag library is stored in the flex-bootstrap.jar file. This location is defined by the taglib declaration in the flex_app_root/WEB-INF/web.xml file. The default taglib declaration from the web.xml file is as follows:

<taglib>
   <taglib-uri>FlexTagLib</taglib-uri>
   <taglib-location>/WEB-INF/lib/flex-bootstrap.jar</taglib-location>
</taglib>

Version 1.5

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/15/flex_docs_en/00000848.htm