Well this is what I'm doing:
 
At app level:
 
  <mx:ViewStack id="screenStack" width="100%" height="100%">
   <!-- The viewstack contains all screens within the application -->
   <local:InitialScreen xmlns:local="*" id="scInitialScreen" />
   <local:ManageCredits xmlns:local="*" id="scManageCredits" />`
   <local:ImportCredits xmlns:local="*" id="scImportCredits"/>
  </mx:ViewStack>

 
ManageCredits contains a canvas. On this is a tab navigator:
 
   <mx:TabNavigator vScrollPolicy="off" hScrollPolicy="off" 
themeColor="#78CDD7">
    <local:ManageCreditsCustomerTabpage id="customer_details" 
height="295" width="778" label="Customer Details"/>

 
ManageCreditsCustomerTabpage contains a form:
 
<?xml version="1.0" encoding="utf-8"?>
<mx:Form  xmlns:mx="http://www.macromedia.com/2003/mxml"; 
   xmlns:local="localComponents.*"
>
   
  <mx:FormHeading label="customer_details"/>
  
  <mx:FormItem id="sap_id_item" label="SAP Cust No:" required="true">
   <local:RawTextInput id="sap_id" toolTip="Unique SAP Customer 
Number (SAP ID)"/>
  </mx:FormItem>
  <mx:FormItem id="contact_details_item" label="Contact Details:" 
required="false">
   <local:RawTextInput id="contact_details" width="271" 
toolTip="Contact within Company"/>
  </mx:FormItem>
  <mx:FormItem id="customer_name_item" label="Customer Name:" 
required="false">
   <local:RawTextInput id="customer_name" width="271" toolTip="Name 
of Company"/>
  </mx:FormItem>
  <mx:FormItem id="billing_address_item" label="Billing Address:" 
required="false">
   <local:RawTextInput id="address_line_1" width="271" />
   <local:RawTextInput id="address_line_2" width="271" />
   <local:RawTextInput id="address_line_3" width="271" />
   <local:RawTextInput id="address_line_4" width="131" />
   <local:RawTextInput id="address_line_5" width="271" />
  </mx:FormItem>
  <mx:FormItem id="region_item" label="Region:" required="false">
   <local:enhancedComboBox id="region" dataField = "code" 
dataProvider="{regionList}" labelField="text"  width="211" />
  </mx:FormItem>
 
</mx:Form>

 
The error I get from Flex in the build is:
 
'Mixed Content Not Allowed in mx.containers.ViewStack'
 
Without the form, it builds fine.
 
The error is issued from the app level.
 
Any ideas ?
 
Thanks,
 
Jamie.

--- In [email protected], "Abdul Qabiz" <[EMAIL PROTECTED]> wrote:
> Hi Jamie,
> 
> Forms should work in TabNavigator also. What problem are you 
facing?
> 
> Can you briefly explain here? A complete sample code would help.
> 
> -abdul 
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of jamiebadman
> Sent: Wednesday, June 08, 2005 10:28 PM
> To: [email protected]
> Subject: [flexcoders] Forms in TabNavigator
> 
> Hi,
> 
> I've seen that you can use Forms in the Accordion component - but 
I 
> can't get anything similar working using the TabNavigator rather 
than 
> the Accordion.
> 
> Is this achievable ? I don't want to waste time running down the 
wrong 
> track!
> 
> Are forms only workable via the Accordion ?
> 
> Grateful for any help,
> 
> Jamie.
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links







 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to