Talk:Flex 2 Tag Library for JSP
From Adobe Labs
| Table of contents |
Welcome!
Welcome to the Flex 2 Tag Library for JSP discussion page on Adobe Labs. Please enter your comments regarding this technology here. To help identify the author of comments, please create a new section and use ~~~~ at the end of your talk entries to automatically create a signature.
Comments should be added in list format, but feel free to add your comment under an existing comment to follow a thread structure. If you are responding to a thread, please use the H3 style for your subject (=== TEXT ===) so that the page is easier to read.
dtaborga 14:43, 9 Jan 2007 (PST)
flex2.server.j2ee.events.SourceCodeLoader missing
I get a no class deffound on embedding the tags in a jsp. <mm:mxml>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"> <mx:Text label="Hello World"> </mx:Application>
</mm:mxml>
Is this because I am using a trial version of fds, sdk and flex builder. the flex-webtier.jar contains the package - flex2.server.j2ee.events but not SourceCodeLoader. which jar is it in???
mailto:apoorva.singh@tribalfusion.com
apoorva singh 01:19, 19 Jan 2007 (PST)
reply
It appears to me that you installed on top of FDS2.0, which does not have the class you mentioned in your post. The Flex 2 Tag Library for JSP requires Flex™ Data Services 2.0.1, as stated in the http://labs.adobe.com/wiki/index.php/Flex_2_Tag_Library_for_JSP.
jhernand_adobe 11:01, 7 Feb 2007 (PST)
Can't inlcude MXML file in JSP
Hi: I Built a very simple testing application on top of the flex.war found in the installation of LiveCycle® Data Services ES Version 2.5.1. I just created a very simple JSP called TestExtMxml.jsp, its contents are:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri="FlexTagLib" prefix="mm"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> <mm:mxml source="TestExt.mxml"/> </body> </html>
and the contents of TestExt.mxml are:
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="#869ca7"
width="350" height="200" layout="absolute">
<mx:Label text="Welcome to Flex! Can't be inlcuded into a JSP" mouseDownEffect="WipeRight"/> </mx:Application>
But when I deployed this application to Tomcat 5.5 and tried to access the TestExtMxml.jsp, I got an error, and its root cause is:
ava.lang.NullPointerException flex.webtier.server.j2ee.jsp.MxmlTagImpl.setupExternalCompileMxmlContext(MxmlTagImpl.java:569) flex.webtier.server.j2ee.jsp.MxmlTagImpl.compileExternal(MxmlTagImpl.java:423) flex.webtier.server.j2ee.jsp.MxmlTagImpl.doEndTag(MxmlTagImpl.java:339)
wish someone can help me resolve this problem, thanks.
can any one give me the flex-bootstrap-jsp.jar. I'm unable to find it any where. please send it to my id.
talktoudaykumar@gmail.com
please do this need ful help
