Why can I do this...

<cfajaximport tags="cflayout-border">

<!--Link the CSS style  sheet that styles the accordion-->
<link href="assets/SpryAccordion.css" rel="stylesheet" type="text/css" />
<!--Link the Spry Accordion JavaScript library-->
<script src="assets/SpryAccordion.js" type="text/javascript"></script>

<cflayout style="height:285px;" type="vbox"  >
        <cflayoutarea style="height:285px;" name="mylyt">
                <cfinclude template="accordionPage.cfm">
        </cflayoutarea>
</cflayout>

but not this...

<cfajaximport tags="cflayout-border">

<!--Link the CSS style  sheet that styles the accordion-->
<link href="assets/SpryAccordion.css" rel="stylesheet" type="text/css" />
<!--Link the Spry Accordion JavaScript library-->
<script src="assets/SpryAccordion.js" type="text/javascript"></script>

<cflayout style="height:285px;" type="vbox"  >
        <cflayoutarea style="height:285px;" name="mylyt" 
source="accordionPage.cfm">
        
        </cflayoutarea>
</cflayout>

this causes an "Error processing Javascript in markup for element in mylyt:...".

This means I can't use ColdFusion.navigate() to load a page with a Spry 
accordion into a div or layoutarea.

? 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308429
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to