Thanks Erik, that was it, adding a path to the user_classes in /cfform/flex-config.xml worked


On 5/3/05, Erik Westra <[EMAIL PROTECTED]> wrote:
There might be another flex-config.xml file in this directory:
 
\WEB-INF\cfform
 
Im using CF7 and thats where the settings used by the flex-bootstrap shizzle are located.
 
 
Greetz Erik


From: [email protected] [mailto:[email protected]] On Behalf Of Rick Schmitty
Sent: dinsdag 3 mei 2005 16:47
To: [email protected]
Subject: Re: [flexcoders] iteration::two AdvancedTabNavigator problem

Thanks for the reply Ali, and yes, your component works fine in a .mxml page.  I have CFMX installed under IIS6 and then integrated Flex under CF following these tech notes:

http://www.macromedia.com/support/documentation/en/flex/1/flexforcf.html
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19344

That leaves me with a shared context root

C:\CFusionMX\wwwroot\WEB-INF\flex\flex-config.xml
C:\CFusionMX\wwwroot\WEB-INF\flex\user_classes
C:\webs\dev\test.cfm  (this is the cfimport with your SWC which cant find the class path)
C:\webs\dev\test.mxml (this is just the mxml code from the cfm page and works)


Perhaps this is a question for the ColdFusion team then regarding the flex-bootstrap as I don't see any other flex-config.xml files?

Thanks

On 5/3/05, Alistair McLeod <[EMAIL PROTECTED]> wrote:
Hi Rick,
 
I've never used it in a ColdFusion environment, but theres no reason why it shouldn't work. Did you get it to work OK in the standalone JRun environment? Is the flex classpath in flex-confi.xml ok - ie. does it still include user_classes. Can you give us more info on the setup you have - it might give us a clue.
 
Has anyone used a SWC in the same enviroment as Rick is using here?
 
Cheers,
 
Ali
 
--
Alistair McLeod
Development Director
iteration::two
[EMAIL PROTECTED]
 
Office:  +44 (0)131 338 6108
 
This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened.
 
 


From: [email protected] [mailto: [email protected]] On Behalf Of Rick Schmitty
Sent: 02 May 2005 15:25
To: [email protected]
Subject: [flexcoders] iterationtwo AdvancedTabNavigator problem

Hi all!

I'm trying out the AdvancedTabNavigator and ran into some problems when using Cold Fusion

I have AdvancedComponentSet-0_1.swc in my user_classes directory. But when I use Ben Forta's method described here:
http://www.forta.com/blog/index.cfm?mode=e&entry=1038

I get the following error:
Error /test.cfm:5
Don't know how to parse element "com.iterationtwo.containers.*:AdvancedTabNavigator". It is not a known type or a property of mx.core.Application.


Here is the code for test.cfm
<!--- Import Flex JSPs --->
<CFIMPORT TAGLIB="/WEB-INF/lib/flex-bootstrap.jar" PREFIX="mm">

<!--- Page --->
<HTML>
<BODY>

<H1>Flex Embedded in ColdFusion</H1>

<!--- Start of MXML --->
<mm:mxml>
<mx:Application xmlns:mx=" http://www.macromedia.com/2003/mxml"
xmlns:iterationtwo="com.iterationtwo.containers.*">

   <iterationtwo:AdvancedTabNavigator tabPlacement="bottom">
<mx:Panel width="200" height="150" title="tab1"/>
<mx:Panel width="200" height="150" title="tab2"/>
   </iterationtwo:AdvancedTabNavigator>

</mx:Application>
</mm:mxml>

</BODY>
</HTML>



This works fine in in a pure .mxml page in the same directory in my test.mxml example file:

<mx:Application xmlns:mx=" http://www.macromedia.com/2003/mxml"
xmlns:iterationtwo="com.iterationtwo.containers.*">

   <iterationtwo:AdvancedTabNavigator tabPlacement="bottom">
<mx:Panel width="200" height="150" title="tab1"/>
<mx:Panel width="200" height="150" title="tab2"/>
   </iterationtwo:AdvancedTabNavigator>

</mx:Application>


Any help appreciated, thanks!




Yahoo! Groups Links



Yahoo! Groups Links



Yahoo! Groups Links

Reply via email to