Accessing components in TabNavigator on unselected tabs

Hi there,
I want to set the value of components (says a rich text
editor, or image source attribute value, etc.) in tabs that are NOT
selected. So if I have three tabs say, and I currently have tab 1
selected and I want to set the value of a text field that is
visible when tab 2 is selected...how can I achieve this? I know the
TabNavigator extends the ViewStack class but I'm new to Flex and am
having difficulty with this. In Java it's a very easy process so
I'm assuming it would be quite similar in Flex...any help is
greatly appreciated. Thanks!

quote:
I would think this code works, but it gives an error. Anyone
know why?
You can't use dot syntax to refer to components that way. If
you know what that component's id ("futuresLbl") is, why would you
use such a roundabout way to refer to it anyway? From the Flex
docs:
The IDs for all tags in an MXML component, no matter how deeply
nested they are, generate public variables of the component being
defined. As a result, all id properties must be unique within a
document. This also means that if you specified an ID for a
component instance, you can access that component from anywhere in
the application: from functions, external class files, imported
ActionScript files, or inline scripts.
I imagine if you want to do it the roundabout way, you'd have
to cast the individual DisplayObjects to the proper type and then
set the text property on the Label. Note that I use a name
attribute "futuresLbl" for the Label
private function clickHandler():void{
var myVBox:VBox = tb.getChildByName("futures") as VBox;
var myLabel:Label = myVBox.getChildByName("futuresLbl") as
Label;
myLabel.text = "New Futures Information";
TS

Similar Messages

  • How to Install Oracle Data Access Components (ODAC) on Windows Server 2003?

    I recently installed "32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio" on my computer (Windows 7, 64bit). Everything seems fine and I can develop and run my application in Visual Studio 2010 and IIS 7.
    Now, when I deploy my application to the Server, it raises error:
    Exception: System.TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleCommand' threw an exception. ---> Oracle.DataAccess.Client.OracleException: The provider is not compatible with the version of Oracle client
    Obviously I need to install ODAC on the server, too. My server is:
    - Windows 2003 32 bit R2 (I know, I know!)
    - IIS 6
    So. I downloaded the same installation from Oracle website (ODAC 11.2 Release 5 and Oracle Developer Tools for Visual Studio [11.2.0.3.20]) and installed it on the server. But still getting the same error.
    PS: When I was installing, I chose Oracle Data Access Component for Oracle Client 11.2.0.3.20 in Oracle Universal Installer. hmmmm. Should I choose "Oracle Server" instead? Screenshot
    Edited by: 1000434 on Apr 17, 2013 6:35 AM
    Edited by: 1000434 on Apr 17, 2013 6:36 AM

    ODP.NET, Unmanaged Driver uses unmanaged dependencies in the Oracle Client. The error you see means you have another Oracle Client installed on the Win2003 machine and ODP.NET is attempting to load the incorrect Oracle Client version, rather than the version you installed ODP.NET with.
    What you need to do is direct ODP.NET where to find the correct version of its unamanaged Oracle Client dependencies. This will be generally the bin directory of your Oracle Client home that was installed with ODP.NET.
    You can learn more about DllPath here:
    http://docs.oracle.com/cd/E20434_01/doc/win.112/e23174/InstallODP.htm#sthref94
    If you're not familiar with how to set ODP.NET settings in the Registry or .NET config files, you can read how to do that here:
    http://docs.oracle.com/cd/E20434_01/doc/win.112/e23174/featConfig.htm#sthref106

  • How to check if Oracle Data Access Components  is installed?

    How to check if  Oracle Data Access Components is installed and version on my computer?
    Also How to check if Oracle Data Provider is installed and version?
    TIA
    Steve42

    Regedit HKLM->Software->Oracle.  See what's there...
    At the very least, that can give you paths and can check file versions from there.

  • No Setup.exe in 64-bit Oracle Data Access Components (ODAC) Dowload

    Why is there no Setup.exe in the 64-bit Oracle Data Access Components (ODAC) Download? Are the only instructions for installing in the dowloaded readme file?

    You're probably looking at an XCOPY bundle.
    If you're looking for an x64 11.2 bundle installed via the Oracle Installer, you'd need to get either the 11201 full client on OTN, or the 11202 full client on My Oracle Support. The 11202 full client includes support for .NET 4 if you need that.
    Hope it helps,
    Greg

  • After installing latest update cannot access "messenger options" under the options tab

    After installing Firefox latest update I cannot access "messenger options" under the options tab. The other tabs, themes and mail options work when clicked but nothing happens when I click "messenger options" It works fine in IE.

    When I go to the settings page to access iCloud and click on terms and conditions it gives the message

  • Unselected Tab Text / background colour

    Hi all,
    I have a PS6.0 installation, using JSPTabContainer.
    The docs tell me how to change the background colour for the selected tab, but not the unselected tab.
    I assume it is a default value sourced from somewhere, but I don't know where.
    Any hints?
    (ps. I'm a little new to this)
    - jd

    /etc/opt/SUNWps/desktop/default/JSPTabContainer/
    The jsp templates in this folder will give you a clearer
    picture of what is going on at the runtime...
    For your problem see tab.jsp (and tabs.jsp )
    Cheers,
    Alex :-)

  • Accessing components vars.

    Hi,
    How do I access a var in a differint component? I have two custom components in the same application and need to get the variable (arrayCollection) from one to populate a chart in the other.

    Thanks Benji,
    ListItems Component
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init(), reloadData()" height="95%" width="100%" backgroundAlpha="0">
    <mx:Script>
         <![CDATA[
              import mx.core.Application;
              import mx.collections.ArrayCollection;
              import mx.containers.Box;
              import mx.controls.Alert;
              import mx.events.DragEvent;
              import flash.net.navigateToURL;
              import mx.events.StateChangeEvent;
              import mx.controls.ComboBox;
              import mx.controls.LinkButton;
              import mx.containers.VBox;
              import mx.controls.CheckBox;
              import mx.controls.Text;
              import mx.containers.HBox;
              import mx.collections.XMLListCollection;
              import mx.rpc.events.ResultEvent;
              import mx.managers.CursorManager;
              import flash.text.TextField;
              namespace ink = "http://www.inktomi.com/";
              use namespace ink;
              //     Archive Vars
              [Bindable] private var xmlList:XMLList;
              [Bindable] private var listCollection:XMLListCollection;
              [Bindable] private var listData:XML;
              [Bindable] public var serviceURL:String = "http://boss.yahooapis.com/ysearch/news/v1/";
              [Bindable] public var searchFor:String = "biotechnology%20AND%20biotech";  
              private const PROXY:String = "http://localhost/employeePhoneDesktop/src/php/proxy.php?url=";
              private const APIID:String = "?appid=######
              private const PARAMS:String = "&format=xml&orderby=date";
              private var reload:Timer;
              //     Archive Vars
              private var vBox:VBox;
              private var hBox:HBox;
              private var titleText:LinkButton;
              private var itemInfo:Text;
              private var abstract:Text;
              private var archive:CheckBox;
              private var rateItem:ComboBox;
              private var category:ComboBox;
              private var container:VBox;
              private var clickURL:Text;
              private var canvas:Canvas;
              private var titleFormat:TextFormat;
              //     Archive Vars
              /*[Bindable]
              public var newsDB:ArrayCollection = new ArrayCollection( [
                     { title: null, clickURL: null, info: null, abstract: null, category: null, rateItem: null }
             public var newsDB:ArrayCollection = new ArrayCollection;
              private function init():void {
                   listService.send()
                   CursorManager.setBusyCursor();
              private function getData(e:TimerEvent):void{
                   listService.send()
                   CursorManager.setBusyCursor();
                   removeChild(container);
              private function reloadData():void {
                   reload = new Timer(10000, 10);
                   //reload.start();
                   reload.addEventListener(TimerEvent.TIMER, getData);
                   //trace(reload.delay);
                   //reload.addEventListener(TimerEvent.TIMER_COMPLETE,
              private function resultHandler(e:ResultEvent):void {
                   listData = e.result as XML;
                   // add the imems to an XMLList and XMLListCollection
                   // so that they can be used with the repeater class
                   // and update automatically
                   xmlList = e.result.resultset_news.result as XMLList;
                   listCollection = new XMLListCollection(xmlList);
                   CursorManager.removeBusyCursor();
                   // populate the layout with datd
                   createLayout();
              private function createLayout():void {
                   container = new VBox();
                   var categoryLabels:Array = new Array("Health","Industrial","Emerging Tech","Food & Ag");
                   var rateLabels:Array = new Array("Positive","Neutral","Negative");
                   for(var i:int=0; i<listCollection.length; i++) {
                        //vBox = new VBox();
                        canvas = new Canvas();
                        hBox = new HBox();
                        titleText = new LinkButton();
                        titleFormat = new TextFormat();
                        itemInfo = new Text();
                        abstract = new Text();
                        archive = new CheckBox();
                        rateItem = new ComboBox();
                        category = new ComboBox();
                        clickURL = new Text();
                        titleText.label = listCollection.getItemAt(i).title;
                        //titleText.addEventListener(MouseEvent.DOUBLE_CLICK, getURL);
                        titleText.addEventListener(MouseEvent.CLICK, getURL);
                        titleText.width = 400;
                        clickURL.text = listCollection.getItemAt(i).clickurl;
                        clickURL.visible = false;
                        clickURL.includeInLayout = false;
                        itemInfo.text = listCollection.getItemAt(i).source + " | " + listCollection.getItemAt(i).date;
                        itemInfo.y = 25;
                        abstract.text = listCollection.getItemAt(i).abstract;
                        abstract.y = 42;
                        abstract.visible = true;
                        abstract.includeInLayout = true;
                        abstract.width = 400;
                        abstract.height= 60;;
                        archive.label = "Archive";
                        category.prompt = "Category";
                        category.dataProvider = categoryLabels;
                        category.rowCount = categoryLabels.length;
                        category.visible = false;
                        category.includeInLayout = false;
                        category.width = 95;
                        category.height = 20;
                        rateItem.prompt = "Rate";
                        rateItem.dataProvider = rateLabels;
                        rateItem.visible = false;
                        rateItem.includeInLayout = false;
                        rateItem.width = 95;
                        rateItem.height = 20;
                        canvas.addChild(titleText);
                        canvas.addChild(clickURL);
                        canvas.addChild(itemInfo);
                        canvas.addChild(abstract);
                        canvas.addChild(hBox);
                        hBox.addChild(archive);     
                        hBox.addChild(category);
                        hBox.addChild(rateItem);
                        hBox.y = abstract.y + 60;
                        hBox.percentWidth = 80;
                        hBox.percentHeight = 80;
                        archive.addEventListener(Event.CHANGE, toggleArchive);     
                        container.addChild(canvas);          
                   container.x = 10;
                   container.y = 10;
                   addChild(container);
       // If someone chooses to archive the item, set the properties of the
       // ComboBoxes (visible & includeInLayout) to true
       private function toggleArchive(e:Event):void {
             var chb:CheckBox = e.currentTarget as CheckBox;
             var hBox:HBox = chb.parent as HBox;
             var len:int = hBox.numChildren;
             for(var i:int=0; i<len; i++) {
                   var cb:DisplayObject = hBox.getChildAt(i);
                   if((cb is ComboBox)) {
                    // toogle visibility and include in layout
                    (cb as ComboBox).visible = chb.selected;
                    (cb as ComboBox).includeInLayout = chb.selected;
       // Called when someone clicks on the titleLink. This function pulls the
       // origional website URL up in a seperate browser window
       private function getURL(e:MouseEvent):void {
                 var link:LinkButton = e.currentTarget as LinkButton;
                 var canvas:Canvas = link.parent as Canvas;
                 var clickURL:Text = canvas.getChildAt(1) as Text;
                 var url:URLRequest = new URLRequest(clickURL.text);
                 navigateToURL(url);
              trace(clickURL.text);
      /* private function showAbstract(e:MouseEvent):void {
                    var link:LinkButton = e.currentTarget as LinkButton;
                 var canvas:Canvas = link.parent as Canvas;
                 var abstract:Text = canvas.getChildAt(3) as Text;
                 var hBox:HBox = canvas.getChildAt(4) as HBox;
                 link.removeEventListener(MouseEvent.CLICK, showAbstract);
                 link.addEventListener(MouseEvent.CLICK, hideAbstract);
                 abstract.visible = true;
                 abstract.includeInLayout = true;
                 while(abstract.hitTestObject(hBox) == true){
                      hBox.y += 1;
                 trace(canvas.getChildren());
       private function hideAbstract(e:MouseEvent):void {
                    var link:LinkButton = e.currentTarget as LinkButton;
                 var canvas:Canvas = link.parent as Canvas;
                 var abstract:Text = canvas.getChildAt(3) as Text;
                 var hBox:HBox = canvas.getChildAt(4) as HBox;
                 link.removeEventListener(MouseEvent.CLICK, hideAbstract);
                 link.addEventListener(MouseEvent.CLICK, showAbstract);
                 abstract.visible = false;
                 abstract.includeInLayout = false;
              hBox.y = 35;
                 trace(abstract.text);
       public function archiveData():void {
                 var containerArray:Array = container.getChildren() as Array;
                 for(var i:int=0;i<containerArray.length;i++){
                 //for(var i:int=0;i<1;i++){
                      var canvas:Canvas = container.getChildAt(i) as Canvas;
                      var titleText:LinkButton = canvas.getChildAt(0) as LinkButton;
                      var clickURL:Text = canvas.getChildAt(1) as Text;
                      var itemInfo:Text = canvas.getChildAt(2) as Text;
                      var abstract:Text = canvas.getChildAt(3) as Text;
                      var hBox:HBox = canvas.getChildAt(4) as HBox;
                      var archive:CheckBox = hBox.getChildAt(0) as CheckBox;
                      var category:ComboBox = hBox.getChildAt(1) as ComboBox;
                      var rateItem:ComboBox = hBox.getChildAt(2) as ComboBox;     
                      if(archive.selected == true){
                        newsDB.addItem( {
                        title: titleText.label,
                        clickURL: clickURL.text,
                        info: itemInfo.text,
                        abstract: abstract.text,
                        category: category.selectedLabel,
                        rateItem: rateItem.selectedItem });                    
                      trace(newsDB[0].title);
       private function archiveSuccess():void {
                 Alert.show("Your clips have been successfully saved","Archive Complete");        
       private function archiveFault():void {
                 Alert.show("Your clips have not been saved. Please contact an administrator.","Archive Error");
         ]]>
    </mx:Script>
         <mx:HTTPService id="listService" url="{serviceURL + searchFor + APIID + PARAMS}" result="resultHandler(event)" resultFormat="e4x"/>
    </mx:Canvas>
    Main mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
         layout="absolute"
         xmlns:com="components.*"
         backgroundGradientAlphas="[1.0, 1.0]"
         backgroundGradientColors="[#EDF4FF, #C6D9FF]"
         width="800" height="600"
         backgroundAlpha=".75"
         title="  Media Trap Beta V1.1"
         titleAlignment="left"
         creationComplete="init()">
         <mx:Script>
              <![CDATA[
              ]]>
         </mx:Script>
         <mx:Style source="assets/style.css" />
         <mx:Label x="19" y="14" text="Media Trap" fontWeight="bold" fontSize="20"/>
         <mx:Label x="20" y="38" text="beta 1.1"/>
         <mx:TabNavigator id="navigator" width="450" height="89%"  x="20" y="61">
              <mx:VBox label="News">
                   <com:listItems id="newsFeed" name="newsFeed" backgroundColor="#FFFFFF" x="0" y="0" height="100%">
                   </com:listItems>
              </mx:VBox>
              <mx:VBox label="Blogs">
                   <mx:Text text="Blog Coverage"/>
              </mx:VBox>
              <mx:VBox label="Twitter">
                   <mx:Text text="Twitter Coverage"/>
              </mx:VBox>
              <mx:VBox label="Video">
                   <mx:Text text="Video Coverage"/>
              </mx:VBox>
         </mx:TabNavigator>
         <mx:Button x="348" y="36" label="Archive Selected" click="newsFeed.archiveData()"/>
         <!--<com:currentArchiveChart id="currentCats" x="478" y="81" height="212" />-->
    </mx:WindowedApplication>
    Charting Component
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="300" height="346" xmlns:com="components.*" creationComplete="init()" >
        <mx:Script>
            <![CDATA[
            import mx.core.Application;
            import mx.collections.ArrayCollection;
              // testing variable
            [Bindable]
            private var medalsAC:ArrayCollection = new ArrayCollection( [
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29, Test: 20000 }
            private function init():void{
                 trace(mx.core.Application.application.myListItems.newsDB as ArrayCollection);
                 medalsAC.addItem( { Country: "Canada", Gold: 75, Silver:39, Bronze: 29 });
                 medalsAC.addItem( { Country: "England", Gold: 100, Silver: 200, Bronze: 100 });
            private function displayGold(data:Object, field:String, index:Number, percentValue:Number):String {
                var temp:String= (" " + percentValue).substr(0,6);
                return data.Country + ": " + '\n' + "Total Gold: " + data.Gold + '\n' + temp + "%";
            ]]>
        </mx:Script>
             <mx:Label id="archiveTitle" x="10" y="10" text="Current Archive " fontSize="14" fontWeight="bold"/>
             <mx:PieChart id="chart" height="130" width="300" color="0x323232"
                showDataTips="false" dataProvider="{medalsAC}"  y="22">
                <mx:series>
                    <mx:PieSeries labelPosition="callout" field="Gold">
                    </mx:PieSeries>
                </mx:series>
            </mx:PieChart>
    </mx:Canvas>

  • TabNavigator and dynamic tab-styles

    I'm trying to change the tab-style skin style based on the content that the parent canvas is being provided.
    For example, if the parent canvas (which is being reused everywhere) has a particular property, i'd like my tabNavigator's tabbar to use another skin for the buttons.  I've created a getter in my tabNavigator to access the tab bar.  To which i set the skin style to the class i'd want.  Doesn't work. Is there a simple style that i can set to do this?
    I've tried creating a css for every possibility and assign it to tabNavigator with a bindable variable.  But it still displays the default value.  If i put it in the mxml declaration stylename="customskin" it works.  but if i put stylename="{_bindableStyle}", it doesn't work.
    In both cases, none of the tabNavigator's children are created until this value is set, so i'm not trying to set a style after the content was created.
    I've also tried creating the tabNavigator on creation instead of having it in the mxml declaration, doesn't work either.
    Any thing else i can try that i haven't yet?

    Hi Frank, thanks for response.
    Do you think that somehow in my case there is only one instance of the TF_A ?
    Here is relevant settings for my popup containing static region with TF_A
              <af:popup id="pB55" contentDelivery="lazyUncached"
                        popupFetchListener="#{myBean.crudPopupFetchListener}"
                        autoCancel="disabled" childCreation="deferred">
                <af:panelWindow ...>
                  <af:region value="#{bindings.TF_A.regionModel}" id="r6"
                </af:panelWindow>
              </af:popup>myBean.crudPopupFetchListener :
       //Task flow activation code (for the TF binding 'active' property  bellow)
       pageFlowScope.put("pB55", "true);
       // code for setting the TF parameters:
       .....and here i setting for TF_A binding from the pageDef:
        <taskFlow id="TF_A"
                  taskFlowId="..."
                  activation="conditional"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding"
                  Refresh="ifNeeded" active="#{pageFlowScope.pB55 eq true}">
          <parameters>
          </parameters>
        </taskFlow>

  • Accessing components

    I have upgraded an existing WebDB 2.2 application to Portal 3.0.6.6.5 and I am still able to access the ported procedures directly thru URL (like http://<hostname.domain>:7777/pls/NATT/OSNASS.NSARS_RPT.show). In my previous application one of the reports was the actual starting page with links to other components and forms added as PL/SQL code at the bottom of the report. When creating new applications in Portal the procedure doesn't seem to be accessible the same way as before, the procedure does not show up in the user schema and can not be addressed directly thru URL. Is this true or am I missing something?

    I'm sorry, this was probably the wrong forum. I've reposted this item under Portal Content Areas.
    Peres

  • How to access components in a iview from program

    Hi,
        Can we access the iview components from program dynamically? I have a Table Control , i want to refresh it in my program.
        How to set Mandatory (*) mark for a label? Is there any property for that?
    Thanks,
    Sridhar

    If table is displayed in current view, it will be refreshed with most of the events(There are few exceptions) from that view. You don't need to do anything for that.
    Suppose You have one Input Fields - Inp, and Lable - Lb.
    From the label properties select "Label For" with Inp from DropDown menu. From properties of the inputfield change property "Status" to required.
    Now u would get required mandatory mark.
    Note that, selecting the status "Required" for inputfield only displays the asterisk. But it doesnt stop you from navigating to another view with out entering a value.

  • JTabbedPane: Components before and after the tabs themselves.

    I want to make Google Chrome..!
    Well, really, I want to have GUI stuff up in the title pane. In particular, I want the tabs of a TabbedPane up there.
    I've concluded that the easiest way to accomplish this (hopefully in a somewhat LaF-neutral way) is to set the frame to be undecorated, and instead implement my own frame with handling and all. I'd set a JFrame undecorated, and put a JTabbedPane over the entire thing, sticking the application icon to the left of the tabs, and the minimize, maximize, close buttons to the far right of the tabs themselves.
    If anyone have any other suggestions to this initial problem, I would seriously appreciate to hear about them.
    But given the above solution: How would I go about getting a component to the left of the tabs, and some other components to the right of the tabs, of a JTabbedPane? A LaF-neutral solution would be very much appreciated - but I have faint hopes here, so pointers for how to accomplish this using LaF-tricks will be appreciated too.
    I've seen that laf-widget from kirill, https://laf-widget.dev.java.net/, does something like it (the magnifying-glass icon to the left of the tabs) for several LaFs. However, I must admit that I'm not yet well enough versed to understand how he does it - and also it seems like a somewhat complicated process, whereby one "physically" change the LaF in question (bytecode manipulates it), injecting the laf-widget stuff (and I still don't know how the JTabbedPane or TabbedPaneUI is modulated to inject that icon).
    Any help or pointers will be much appreciated!
    Thanks,
    Endre.

    Could you elaborate slightly on that? I don't get your "what's left" idea..?
    I think the JTabbedPane should have this functionality built-in. It is a truly obvious need, to the extent that it has had to be solved several times by others.
    From an answer to this problem on StackOverflow: The JideTabbedPane from the Jide open source parts have an setTabLeadingComponent. However, Jide doesn't manage to follow the active LaF (the installs its own UI delegate), so I don't instantly want to jump on it.

  • ADF Faces 16 Components not displaying in Disign Tab

    I am trying to create a page with the ADF Faces Table component. When I add the component to the page it tells me to restart JDeveloper (as expected). When I restart JDev the page shows up blank in the designer tab. The source tab seems to have all the code.
    Also, when I run the project the page does display with the header text but without the table.
    Any ideas on how to get the components to show in the designer?

    btw, here is the jsp code:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/EA16"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/EA16/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html binding="#{backing_JSFCustomerUwq.html1}">
    <afh:head title="JSFCustomerUwq"
    binding="#{backing_JSFCustomerUwq.head1}">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <style type="text/css">
    body {
    background-color: #ffffff;
    </style>
    </afh:head>
    <afh:body binding="#{backing_JSFCustomerUwq.body1}">
    <link href="css/blaf.css" rel="stylesheet" media="screen"/>
    <h2>
    My Delinquent Customer Work List
    </h2>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    <af:table binding="#{backing_JSFCustomerUwq.table1}" banding="Row"
    bandingInterval="2" rows="5"
    value="#{CustomerUwqBean.customers}" var="DelCustomers"/>
    </p>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>

  • Accessing components in a different state

    There's probably a more elegant way of doing this.
    Right now I'm setting certain components to be available in all states, but that means I need to make them visible or invisible depending on the state... which is a pain.
    How can I access a component in a different state.
    Maybe I'm missing something simple like stateName.component.text or something?

    I am currently using this, but I'm getting the error that states that what I'm after doesn't exist... when it clearly does.
    Here's that code.
    private function stateChangeHandler(e:StateChangeEvent):void {
         if (e.newState == "State1") {
              dg.visible = true;
              optionsPanels.visible = false;
         } else if (e.newState == "options") {
              dg.visible = false;
              optionsPanels.visible = true;
              if (preferences["searchType"] == 0) {
                   googleLocalChoice.selected = true;
              } else {
                   yahooLocalChoice.selected = true;
              yahooID.text = preferences["yahooAPI"];
         } else if (e.newState == "notes") {
              dg.visible = false;
              optionsPanels.visible = false;
         } else if (e.newState == "password") {
              dg.visible = false;
              optionsPanels.visible = false;
    What I'm having trouble with is in the if e.newstate == "options" - I'm getting the error on yahooLocalChoice, because preferences["searchType"] does not equal 0.

  • In onLoad JavaScript, I'm getting "Error: Permission denied to access property 'classes'" when I access Components.classes; how do I enable that permission?

    I need to emulate several ActiveX functions in my client's web application. I have located several Mozilla web pages that describe how to do the things I need, and I have attempted to implement those instructions. However, I can't seem to get past the first line of code. In my web page, I am calling a JavaScript function using the onLoad attribute of the <body> tag. I am using the Navigator object to determine that the browser is Firefox. I then attempt to access the extension classes using the following code on lines 51 and 52 of the Download.js file:
    var C = Components;
    var CC = C.classes;
    The Web Console gives me these two messages:
    [13:51:55.621] The Components object is deprecated. It will soon be removed. @ http://distribution:781/NewDDI/DownLoad.js:51
    [13:51:55.621] Error: Permission denied to access property 'classes' @ http://distribution:781/NewDDI/DownLoad.js:52
    How do I enable adequate permission to be able to access the Components classes?

    I think Components is available only in extensions (or otherwise privileged code) and not in ordinary web pages.

  • Shared Components option missing from Applications tab's Create New

    The Shared Components option is missing from the Applications tab's Create New... list. As anyone else experienced this? The installation completed without errors.

    Never mind, I found the Shared Components option.

Maybe you are looking for

  • Can u have two icloud accounts attached to one itunes account

    i would like to have my daughter ipod touch on a different account so that i dont recieve her texts on my phone.  can i have two icloud accounts to one itunes account so that i dont have to open another itunes account and repurchase all her apps and

  • Interface Sony (Digibeta) DVW-A500 to iMac and final cut pro x

    Hello all, I am looking for a way to import (capture) footage from the DVW -A500 Digibeta deck into an iMac, (OSX mountain lion Final Cut pro x ) with XLR out for two channel audio and component out for the video. I have a Canapous ADVC110 but the pr

  • Aperture will only import from Camera if it's the Active Application

    Aperture won't let me import images from my Canon 5D Mark 2 unless I give it my full attention, ie I can't Check my email or browse the Internet on Safari etc while it is importing. If I do it will stop importing the images until I click on the Apert

  • Load/Unload Picture

    Hi all, How to load/unload a picture into an Image Item. best regards Jansen Hutagalung

  • Excel to labVIEW usage

    Hello, I know that you can use labVIEW to write/read to/from excel. If you use labVIEW to read an excel file (CSV) what can you do it with it afterwards. I've seen quite a few videos and tutorials on reading/writing excel files, but I have not seen o