RIA With Adobe Flex and Java Book Errata
RIA With Adobe Flex and Java Book Errata
Reader Feedback: Page 1 of 1

I'm trying to run the Portfolio example from Chapter 5 using Flex Builder 3 with LiveCycle Data Service 2.6 in JBoss 4.2.2 (JDK 1.6). The .war deploys without a problem (I had to change some port numbers in services-config.xml), but when I try to go to the deployed application using this URL

http://localhost:8080/ch05-stock-portfolio-lcds-POJO/PortfolioView.html

I get this error:

Error: No class registered for interface 'mx.styles::IStyleManager2'.
at mx.core::Singleton$/getInstance()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\Singleton.as:111]
at mx.styles::StyleManager$/get impl()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\styles\StyleManager.as:78]
at mx.styles::StyleManager$/http://www.adobe.com/2006/flex/mx/internal::initProtoChainRoots()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\styles\StyleManager.as:144]
at PortfolioView/http://www.adobe.com/2006/flex/mx/internal::_PortfolioView_StylesInit()[C:\dean\src\flex\fain.book\ch05\stock-portfolio-lcds-POJO\flex_src\PortfolioView.mxml:0]
at PortfolioView()[C:\dean\src\flex\fain.book\ch05\stock-portfolio-lcds-POJO\flex_src\PortfolioView.mxml:0]

If I use the following URL for the autogenerated index.html

http://localhost:8080/ch05-stock-portfolio-lcds-POJO/

I get no error, but the application doesn't run.

Do I need to change the index.html page to access the PortfolioView application? Something else I need to do?

The link to your sample code is broken. Is there a new link?

Thanks.

Hi, I'd really like to buy this book, but we are already on Flex 3 and I fear that this book will not introduce me to all the new potentials of flex 3 especially when applied to Java. Have you got in mind any updates?

Thanks.

M.

Any hints on how to get riabook code to "just work" w/eclipse+fb?

I'm using Eclipse Europa w/WTP. So far, what I've found is:
1. Create a new workspace.
2. Create a new, empty Flex project. This is needed to get proper Flex support loaded into workspace.
3. Use import wizard to import w/root directory set to code/flex directory from theriacode.zip.

There are a number of hard-coded references (e.g., "c:\fds\..." in project files.

It would be helpful to have a version that would "just work", or to have instructions for customizing the supplied code. (I'm eager to get to the "good stuff", rather than mucking about w/eclipse & fb).

Thanks!