Module + Tab Navigator = Error

Everything works FINE until I load a new module. (Even after
I go back to the original module, I get the error). Any component
with a Tab Container or Accordian throws the following error when I
load the component:
TypeError: Error #1009: Cannot access a property or method of
a null object reference.
at mx.managers::HistoryManager$/register()
at mx.containers::ViewStack/::addedHandler()
at flash.display::DisplayObjectContainer/addChildAt()
at mx.core::UIComponent/
http://www.adobe.com/2006/flex/mx/internal::$addChildAt()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
I have turned off History manager in the compiler page of the
project properties. That does not help any.
Any suggestions?
Thanks
Bruce

Hi Bill,
> Found a problem when submitting a textinput field from a
canvas on a
> TabNavigator. Problem only occurs when you do not go to
the tab when viewing
> on screen before submitting the TextInput.text
>
> This is the error.
> TypeError: Error #1009: Cannot access a property or
method of a null object
> reference.
>
> If you click on the tab, view the contents of whatever
and then submit, there
> is no error. If you do NOT click on the tab, then the
error occurs. Seems
> like it does not create the tab until you view it. Which
would not seem
> correct. Think of the case of entry screens where you
have 3 or 4 or more tab
> sections on the screen.
Try setting creationPolicy="all" on the TabNavigator. By
default,
creationPolicy is set to "auto", which means the TabNavigator
only
creates the children of the initially visible pane on
startup--this is
to make startup faster. In your case, since you need to
access children
of the hidden tabs regardless of whether the user visits
them, you
should use creationPolicy="all".
nj
Flex Builder team

Similar Messages

  • Tab Navigator Error

    Found a problem when submitting a textinput field from a
    canvas on a TabNavigator. Problem only occurs when you do not go to
    the tab when viewing on screen before submitting the TextInput.text
    This is the error.
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    If you click on the tab, view the contents of whatever and
    then submit, there is no error. If you do NOT click on the tab,
    then the error occurs. Seems like it does not create the tab until
    you view it. Which would not seem correct. Think of the case of
    entry screens where you have 3 or 4 or more tab sections on the
    screen.
    Thanks.
    Bill Brittain

    Hi Bill,
    > Found a problem when submitting a textinput field from a
    canvas on a
    > TabNavigator. Problem only occurs when you do not go to
    the tab when viewing
    > on screen before submitting the TextInput.text
    >
    > This is the error.
    > TypeError: Error #1009: Cannot access a property or
    method of a null object
    > reference.
    >
    > If you click on the tab, view the contents of whatever
    and then submit, there
    > is no error. If you do NOT click on the tab, then the
    error occurs. Seems
    > like it does not create the tab until you view it. Which
    would not seem
    > correct. Think of the case of entry screens where you
    have 3 or 4 or more tab
    > sections on the screen.
    Try setting creationPolicy="all" on the TabNavigator. By
    default,
    creationPolicy is set to "auto", which means the TabNavigator
    only
    creates the children of the initially visible pane on
    startup--this is
    to make startup faster. In your case, since you need to
    access children
    of the hidden tabs regardless of whether the user visits
    them, you
    should use creationPolicy="all".
    nj
    Flex Builder team

  • Master Detail Report + Tab navigation error

    Hello All,
    I built a master detail report and included a standard tab set. I built it with the wizard. When tabbing from the report page there is no problem. When tabbing from the associated master detail page you always get "web page not found" with this in the address bar-"http:///apex/wwv_flow.accept". I understand why you would not want to tab out from this type of page. Can anyone point me in the right direction to remove the tabs from view on this page. All my attempts want to remove the tabs at the application level. I am using the one level tab page template. Thanks ...

    Wayne,
    If you can put your application on apex.oracle.com and tell me how I can see this problem, that might be easiest. Just need your workspace name and application ID (plus instructions).
    Scott

  • CUP "Navigation error"

    Hi Experts,
    Im writing to see if anyone can give me a hand solving this error.
    Im working with CUP (GRC-SAC-SAE 5.3_15.1) and when a I try to create a new account request, I fill in all the fields, assign a role and then perform the RAR analysis I get an everything is ok message (you have no conflicts and can proceed) but when I push the "Next" button I get a Navigation Error Page.
    Taking a look at the system logs I found this error that caught my attention "ERROR Requested navigation control not found
    com.virsa.ae.commons.utils.framework.ControlNotFoundException: Action not found - loadcreaterequest" so I proceed to check if my ume roles had this "loadcreaterequest"action and they didnt. So I checked the last initiation files at the SAP marketplace to see if I got the last ones, and I did (and besides this action was not  included in those roles).
    Nevertheless im copying down the whole log to see if anyone can drop me a light on this.
    Thanks very much and apreciate any help.
    2011-04-25 16:06:10,229 [SAPEngine_Application_Thread[impl:3]_30] ERROR  NavigationEngine.java@175:execute() : inside catch : calling getConversationDefn cnvCreateRequest
    2011-04-25 16:06:10,229 [SAPEngine_Application_Thread[impl:3]_30] ERROR  NavigationEngine.java@177:execute() :  inside catch  : calling getConversationDefn completed successfullycnvCreateRequest
    2011-04-25 16:06:10,229 [SAPEngine_Application_Thread[impl:3]_30] ERROR  NavigationEngine.java@179:execute() : inside catch : calling getScreenDefn scrRequestDetails
    2011-04-25 16:06:10,229 [SAPEngine_Application_Thread[impl:3]_30] ERROR  NavigationEngine.java@181:execute() : inside catch : calling getScreenDefn completed successfully scrRequestDetails
    2011-04-25 16:06:10,229 [SAPEngine_Application_Thread[impl:3]_30] ERROR  NavigationEngine.java@183:execute() : inside catch : calling getActionDefn loadcreaterequest
    2011-04-25 16:06:10,261 [SAPEngine_Application_Thread[impl:3]_30] ERROR  ScreenDefn.java@168:getActionDefn() : failed to get action defn. Action id is : loadcreaterequest
    2011-04-25 16:06:10,261 [SAPEngine_Application_Thread[impl:3]_30] ERROR  ScreenDefn.java@170:getActionDefn() : try to get action defn from new map
    2011-04-25 16:06:10,261 [SAPEngine_Application_Thread[impl:3]_30] ERROR  ScreenDefn.java@174:getActionDefn() : failed to get action defn even from New Map. Action id is : loadcreaterequest
    2011-04-25 16:06:10,261 [SAPEngine_Application_Thread[impl:3]_30] ERROR  ScreenDefn.java@176:getActionDefn() : failed to get action defn. Action id is : loadcreaterequest throwing exception
    2011-04-25 16:06:10,261 [SAPEngine_Application_Thread[impl:3]_30] ERROR Requested navigation control not found even in catch block
    com.virsa.ae.commons.utils.framework.ControlNotFoundException: Action not found - loadcreaterequest
         at com.virsa.ae.commons.utils.framework.ScreenDefn.getActionDefn(ScreenDefn.java:177)
         at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:184)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:436)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:466)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    2011-04-25 16:06:10,261 [SAPEngine_Application_Thread[impl:3]_30] ERROR Requested navigation control not found
    com.virsa.ae.commons.utils.framework.ControlNotFoundException: Action not found - loadcreaterequest
         at com.virsa.ae.commons.utils.framework.ScreenDefn.getActionDefn(ScreenDefn.java:177)
         at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:184)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:436)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:466)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    2011-04-25 16:06:17,714 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@45:execute() : Getting target page info
    2011-04-25 16:06:17,729 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@94:execute() : Current Module: |AE| Conversation: |cnvCreateRequest| Screen: |scrRiskAnalysis|
    2011-04-25 16:06:17,729 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@115:execute() : requested conversation :  Module#AE#Conversation#cnvCreateRequest#Screen#scrTopNav#Action#cfg#
    2011-04-25 16:06:17,729 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@134:execute() : calling getConversationDefn for conversationid cnvCreateRequest
    2011-04-25 16:06:17,729 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@138:execute() : getConversationDefn object successfully
    2011-04-25 16:06:17,729 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@140:execute() : calling getScreenDefn for screen idscrTopNav
    2011-04-25 16:06:17,729 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@143:execute() : getScreenDefn object successfully
    2011-04-25 16:06:17,729 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@145:execute() : calling getActionDefn with requestedActionIdcfg
    2011-04-25 16:06:17,729 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@148:execute() : getActionDefn completed successfully
    2011-04-25 16:06:17,745 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@45:execute() : Getting target page info
    2011-04-25 16:06:17,745 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@94:execute() : Current Module: |AE| Conversation: |cnvCreateRequest| Screen: |scrTopNav|
    2011-04-25 16:06:17,745 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@115:execute() : requested conversation :  Module#CFG#Conversation#cnvConfigRequest#Screen#scrConfigRequest#Action#loadConfigRequest#
    2011-04-25 16:06:17,745 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@134:execute() : calling getConversationDefn for conversationid cnvConfigRequest
    2011-04-25 16:06:17,745 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@138:execute() : getConversationDefn object successfully
    2011-04-25 16:06:17,745 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@140:execute() : calling getScreenDefn for screen idscrConfigRequest
    2011-04-25 16:06:17,745 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@143:execute() : getScreenDefn object successfully
    2011-04-25 16:06:17,745 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@145:execute() : calling getActionDefn with requestedActionIdloadConfigRequest
    2011-04-25 16:06:17,761 [SAPEngine_Application_Thread[impl:3]_2] ERROR  NavigationEngine.java@148:execute() : getActionDefn completed successfully
    2011-04-25 16:06:31,792 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@45:execute() : Getting target page info
    2011-04-25 16:06:31,792 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@94:execute() : Current Module: |CFG| Conversation: |cnvConfigRequest| Screen: |scrConfigRequest|
    2011-04-25 16:06:31,792 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@115:execute() : requested conversation :  Module#CFG#Conversation#cnvConfigRequest#Screen#scrLeftNav#Action#linkConfigSystemLogSearch#
    2011-04-25 16:06:31,792 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@134:execute() : calling getConversationDefn for conversationid cnvConfigRequest
    2011-04-25 16:06:31,792 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@138:execute() : getConversationDefn object successfully
    2011-04-25 16:06:31,792 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@140:execute() : calling getScreenDefn for screen idscrLeftNav
    2011-04-25 16:06:31,792 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@143:execute() : getScreenDefn object successfully
    2011-04-25 16:06:31,792 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@145:execute() : calling getActionDefn with requestedActionIdlinkConfigSystemLogSearch
    2011-04-25 16:06:31,854 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@148:execute() : getActionDefn completed successfully
    2011-04-25 16:06:31,932 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@45:execute() : Getting target page info
    2011-04-25 16:06:31,932 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@94:execute() : Current Module: |CFG| Conversation: |cnvConfigRequest| Screen: |scrLeftNav|
    2011-04-25 16:06:31,932 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@115:execute() : requested conversation :  Module#CFG#Conversation#cnvConfigSystemLog#Screen#scrConfigSystemLog#Action#loadConfigSystemLogSearch#
    2011-04-25 16:06:31,932 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@134:execute() : calling getConversationDefn for conversationid cnvConfigSystemLog
    2011-04-25 16:06:31,932 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@138:execute() : getConversationDefn object successfully
    2011-04-25 16:06:31,932 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@140:execute() : calling getScreenDefn for screen idscrConfigSystemLog
    2011-04-25 16:06:31,932 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@143:execute() : getScreenDefn object successfully
    2011-04-25 16:06:31,932 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@145:execute() : calling getActionDefn with requestedActionIdloadConfigSystemLogSearch
    2011-04-25 16:06:31,932 [SAPEngine_Application_Thread[impl:3]_12] ERROR  NavigationEngine.java@148:execute() : getActionDefn completed successfully

    Hi Chinmaya,
    Thanks for your answer.
    Yes, I do have that option in my "Conifuration" tab. If I click that option I just see a page with another upgrade button.
    Should I push it?
    Regards,

  • Tab navigation does not show at all in FP 10 it shows in FP9

    Hi,
    I have module that is loaded at runtime,
    it has simple tab navigation with 3 children,
    in FlashPlaer 9 Debug, tab navigation shows fine, even
    thought for some reason it looks like linkbar :)
    also numericStepper looks like inputBox and ComboBox has no
    arrow, (they all look fine in FB 3.2)
    in Flash player 10 tab navigation does not show at all, is
    there any obvious thing that I am missing ?
    I am guessing something terribly wrong with flex styles, but
    I am not overriding any styles,
    my environment :
    vindows Vista 64 bit (although I use jvm 32)
    project is build with latest flex sdk :flex_sdk_3.3.0.4589
    P.S: I cant attach image here, so I will record video
    tomorrow, if that will help.
    thanks in advance
    Levan

    bump :)
    anybody , please please :)

  • Inserting tabbed navigation code makes my web page not display in design view..

    Hi everyone..
    I am on Dreamweaver 8 for MAC, and was working on a couple of web pages..these pages included divs and tables. But when I tried inserting a tabbed navigation I found at:
    http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
    In a nutshell, it asked me for step 1 to:
    Step 1: Insert the        below CSS and script into the HEAD section of your page:
    <link rel="stylesheet" type="text/css" href="tabcontent.css" />
    <script type="text/javascript" src="tabcontent.js">
    * Tab Content script v2.2- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    </script>
    The next step was this:
    Step 2: Finally, simply add the below      HTML to where you wish the Tab Content to appear on the page:
    <h3>Demo #1- Basic implementation</h3>
    <ul id="countrytabs" class="shadetabs">
    <li><a href="#" rel="country1" class="selected">Tab 1</a></li>
    <li><a href="#" rel="country2">Tab 2</a></li>
    <li><a href="#" rel="country3">Tab 3</a></li>
    <li><a href="#" rel="country4">Tab 4</a></li>
    <li><a href="http://www.dynamicdrive.com">Dynamic Drive</a></li>
    </ul>
    <div style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px">
    <div id="country1" class="tabcontent">
    Tab content 1 here<br />Tab content 1 here<br />
    </div>
    <div id="country2" class="tabcontent">
    Tab content 2 here<br />Tab content 2 here<br />
    </div>
    <div id="country3" class="tabcontent">
    Tab content 3 here<br />Tab content 3 here<br />
    </div>
    <div id="country4" class="tabcontent">
    Tab content 4 here<br />Tab content 4 here<br />
    </div>
    </div>
    <script type="text/javascript">
    var countries=new ddtabcontent("countrytabs")
    countries.setpersist(true)
    countries.setselectedClassTarget("link") //"link" or "linkparent"
    countries.init()
    </script>
    <p><a href="javascript:countries.cycleit('prev')" style="margin-right: 25px; text-decoration:none">Back</a> <a href="javascript: countries.expandit(3)">Click here to select last tab</a> <a href="javascript:countries.cycleit('next')" style="margin-left: 25px; text-decoration:none">Forward</a></p>
    <hr />
    Well, I did all the steps required, but when I put this inside a div I had inside a table, all of a sudden I couldnt see anything in my design view, only two tables that arent even the same size..When I take out all this code, I get back my regular page..Can I see this tabbed navigation in my design view? Unfortunately, I dont have the spry widgets since I am on Dreamweaver 8..If I preview it in both Safari and Firefox (on Mac Firefox/3.0.8) (Safari 3.2.1) I can see everything fine, including the tabbed navigation..But designing in code isnt really helpful because I want to see what it looks like in design view, in case we change things-its just easier for me to work on..So I assume there is something in this code that is making my design view show nothing..
    Update:I tried taking out the code again, but this time, I couldnt see anything again, even without this code..
    I know that I can go to validation website, and I got a lot of errors-but all the pages I have that are in the same style have those same errors too—and they display fine..its only when I insert this specific piece of code that everything goes haywire..Is it even possible to view tabbed navigations (like the one in the above link) inside of Dreamweaver Design View?
    Any help would be appreciated..

    DW8 doesn't render any dynamic content, so I'd say it's a no go. You'll just have to live with that limitation or upgrade to CS4...
    Mylenium

  • What is the use of Module  tab in Communication Channel  ?

    Hi Expertes
    can any body tell me the that
    What is the use of Module  tab in Communication Channel  ?
    How we can use in the senarios?
    Mainly What are the Situvation we can use this tab ?
    Thank you
    G,Praveen Kumar

    hi rajesh
    Thank You For Fast Responce
    Error  :
    Exception caught by adapter framework: The following configuration errors were detected: - Either dataRec.fieldSeparator or dataRec.fieldLengths must be specified.
    Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: The following configuration errors were detected: - Either dataRec.fieldSeparator or dataRec.fieldLengths must be specified : com.sap.aii.af.service.util.configuration.ConfigurationExceptionSet: The following configuration errors were detected: - Either dataRec.fieldSeparator or dataRec.fieldLengths must be specified.
    Can you Help me torectifiy the error .

  • Tab Navigation in ABAP screens

    Hi All,
    Is the navigation sequence of the screen elements in a dynpro screen on "tab" event is from left to right and top to bottom always irrespective of whether the fields are in multiple subscreens/tab pages?. Is there a way to control the tab navigation sequence in Screens. Any help regarding this would be appreciated.
    TIA,
    Sharath

    Hi,
    The navigation sequence in tabstrip can be controlled in coding itself.
    If u want to make the first tab as deault u can set that in coding as follows.
    I will give u some sample coding try this out.
    DATA FOR TABSTRIP 'MAIN_TAB'
    CONTROLS:  main_tab TYPE TABSTRIP.
    DATA:      BEGIN OF i_main_tab,
                 subscreen   LIKE sy-dynnr,
                 prog        LIKE sy-repid VALUE
                                  'Program name',
                 pressed_tab LIKE sy-ucomm,
                            <b>"  VALUE c_main_tab-tab1,(specify the tab u want to make default)</b>
               END OF i_main_tab.
    U can control the tab flow in the PBO as
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_9001.
      MODULE main_tab_active_tab_set.
      CALL SUBSCREEN main_tab_sca
        INCLUDING i_main_tab-prog i_main_tab-subscreen.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_9001.
      MODULE main_tab_active_tab_get.
      MODULE main_tab_active_tab_set.
    MODULE main_tab_active_tab_set OUTPUT.
    IF ( NOT cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab NE c_main_tab-tab1 ) .
       i_main_tab-pressed_tab = c_main_tab-tab2.
    elseif ( NOT cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab eq c_main_tab-tab1 ) .
       i_main_tab-pressed_tab = c_main_tab-tab1.
    ELSEIF ( cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab NE c_main_tab-tab2 ).
       i_main_tab-pressed_tab = c_main_tab-tab1.
    ELSEIF ( cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab eq c_main_tab-tab2 ).
       i_main_tab-pressed_tab = c_main_tab-tab2.
    ENDIF.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
          i_main_tab-subscreen = '9100'.
          CALL METHOD o_alvgrid1->set_table_for_first_display
          EXPORTING
        WHEN c_main_tab-tab2.
      To display detail report
          i_main_tab-subscreen = '9200'.
          CALL METHOD o_alvgrid2->set_table_for_first_display
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.                 " MAIN_TAB_ACTIVE_TAB_SET  OUTPUT
    *&      Module  MAIN_TAB_ACTIVE_TAB_GET  INPUT
          text
    MODULE main_tab_active_tab_get INPUT.
      CASE sy-ucomm.
        WHEN c_main_tab-tab1.<b>(tab name)</b>
          i_main_tab-pressed_tab = c_main_tab-tab1.
        WHEN c_main_tab-tab2.
          i_main_tab-pressed_tab = c_main_tab-tab2.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.              " MAIN_TAB_ACTIVE_TAB_GET  INPUT
    &----&      Module  USER_COMMAND_9001  INPUT
          This performs PAI
    MODULE user_command_9001 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          PERFORM exit_program.
          SET SCREEN '0'.
        WHEN 'EXIT' OR  'CANC'.
          PERFORM exit_program.
          LEAVE PROGRAM.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT
    *&      Module  MAIN_TAB_ACTIVE_TAB_SET  INPUT
          text
    MODULE main_tab_active_tab_set INPUT.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
          i_main_tab-subscreen = '9100'.
        WHEN c_main_tab-tab2.
          i_main_tab-subscreen = '9200'.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.              " MAIN_TAB_ACTIVE_TAB_SET  INPUT
    This is the sample code u can try this out.
    Thanks &  Regards,
    Judith

  • Tab Navigator not loading all tabs at start

    I have a tab navigator with a dataGrid in one tab and another
    dataGrid in another and when I double click the dataGrid in tab 1 I
    want it to go to tab 2 and set the selected item or dataGrid1 to
    dataGrid2. The problem is when I double click on the dataGrid, and
    havent navigated to tab 2 before. This gives "TypeError: Error
    #1009: Cannot access a property or method of a null object
    reference." The tabNavigator's creationPolicy="all" and the
    function that is called on doubleClick is
    private function GotoNext():void{
    if(firstDataGrid.selectedItem!=null){
    myTabNavigator.selectedIndex=1;
    secondDataGrid.selectedItem=firstDataGrid.selectedItem;
    This works if I first click on the 2nd tab then click back on
    the 1st tab, but not if I just double click.
    Any help would be appreciated.
    Thanks,
    Chris

    quote:
    Originally posted by:
    cjwprostar.
    ... The tabNavigator's creationPolicy="all" and ...
    Here's a working example that has this problem..
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.collections.XMLListCollection;
    public var xmlOne:XML=
    <root>
    <data>
    <name>Foo</name>
    <type>Number</type>
    </data>
    <data>
    <name>Bar</name>
    <type>String</type>
    </data>
    </root>;
    public var xmlTwo:XML=
    <root>
    <data>
    <name>Foo</name>
    <type>Number</type>
    </data>
    <data>
    <name>Bar</name>
    <type>String</type>
    </data>
    </root>;
    [Bindable]
    public var sourceOne:XMLListCollection=new
    XMLListCollection(new XMLList(xmlOne));
    [Bindable]
    public var sourceTwo:XMLListCollection=new
    XMLListCollection(new XMLList(xmlTwo));
    public function GotoNext():void{
    if(dgOne.selectedItem!=null){
    tabNav.selectedIndex=1;
    trace(dgOne.selectedItem);
    trace(dgTwo.selectedItem);
    dgTwo.selectedItem=dgOne.selectedItem;
    trace(dgTwo.selectedItem);
    trace("--------------------------");
    ]]>
    </mx:Script>
    <mx:TabNavigator id="tabNav" creationPolicy="all"
    left="20" right="20" top="20" bottom="20">
    <mx:Panel id="tabOne" label="Tab 1" width="100%"
    height="100%">
    <mx:DataGrid dataProvider="{sourceOne.child('data')}"
    width="100%" height="100%" doubleClickEnabled="true" id="dgOne"
    doubleClick="GotoNext();">
    <mx:columns>
    <mx:DataGridColumn headerText="Column 1"
    dataField="name"/>
    <mx:DataGridColumn headerText="Column 2"
    dataField="type"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Panel>
    <mx:Panel id="tabTwo" label="Tab 2" width="100%"
    height="100%">
    <mx:DataGrid dataProvider="{sourceOne.child('data')}"
    id="dgTwo" width="100%" height="100%">
    <mx:columns>
    <mx:DataGridColumn headerText="Column 1"
    dataField="name"/>
    <mx:DataGridColumn headerText="Column 2"
    dataField="type"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Panel>
    </mx:TabNavigator>
    </mx:Application>

  • Spry Tab Navigation not working in IE

    I have created a couple of test pages to highlight what happens and the issue I have.
    ONE: http://www.netballzone.com.au/aeasphase1handover/testCentresml.html   - navigation to specific tabs doesn't work in IE7 or 8 and all tabs content is displayed in one page and no tab navigation options available.
    TWO: http://www.netballzone.com.au/aeasphase1handover/testCentresml2.html - no way to navigate to get to specific tabs that works in IE7 or 8.
    In Webkit and Firefox all is well and the two examples show the same thing.
    The main requirements I have is to be able to navigate to specific tabs from outside of the page. I have looked at various related topics but cannot see a solution that works for me and Option ONE seems to be the closest I can find.
    As soon as I included the error I get in ONE above.   
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET4.0C; .NET CLR 3.0.30729)
    Timestamp: Tue, 12 Oct 2010 01:33:34 UTC
    Message: 'Spry.Widget.TabbedPanels' is null or not an object
    Line: 121
    Char: 1
    Code: 0
    URI: http://www.netballzone.com.au/aeasphase1handover/testCentresml.html
    From the page outside via a hyperlink I used  <a href="testCentresML.html?tab=1#TestCentresTabs">
    Thanks in anticipation and regards,
    Mike

    If you want to choose Brunei, the URL should look like
    <a href="testCentresML.html?test=0&country=1">
    and the code for the page
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet">
    <script src="SpryAssets/SpryTabbedPanels.js"></script>
    <script src="SpryAssets/SpryURLUtils.js"></script>
    <script> var params = Spry.Utils.getLocationParamsAsObject(); </script>
    </head>
    <body>
    <h1>Test Centres</h1>
    <div id="TestCentresTabs" class="TabbedPanels">
      <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0">First Tab</li>
        <li class="TabbedPanelsTab" tabindex="0">Second Tab</li>
        <li class="TabbedPanelsTab" tabindex="0">Third Tab</li>
        <li class="TabbedPanelsTab" tabindex="0">Test Availability</li>
      </ul>
      <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">
            <h2>Countries</h2>
            <div id="CountryTabs" class="TabbedPanels">
              <ul class="TabbedPanelsTabGroup">
                <li class="TabbedPanelsTab" tabindex="0">AUSTRALIA</li>
                <li class="TabbedPanelsTab" tabindex="0">BRUNEI</li>
                <li class="TabbedPanelsTab" tabindex="0">CAMBODIA</li>
              </ul>
              <div class="TabbedPanelsContentGroup">
                <div class="TabbedPanelsContent">Content AUSTRALIA</div>
                <div class="TabbedPanelsContent">Content BRUNEI</div>
                <div class="TabbedPanelsContent">Content CAMBODIA</div>
              </div>
            </div>
        </div>
        <div class="TabbedPanelsContent"><h2>2nd Tab</h2></div>
        <div class="TabbedPanelsContent">
            <h2>3rd Tab</h2>
          <p> 333333 </p>
        </div>
        <div class="TabbedPanelsContent">
          <h2>4th Tab</h2>
          <p> 44444 </p>
        </div>
      </div>
    </div>
    <script>
    var TestCentresTabs = new Spry.Widget.TabbedPanels("TestCentresTabs", {defaultTab: params.test ? params.test : 0});
    var CountryTabs = new Spry.Widget.TabbedPanels("CountryTabs", {defaultTab: params.country ? params.country : 0});
    </script>
    </body>
    </html>

  • Resetting Grid in Tab Navigator

    I have two states in my project, say 1 and 2. In 1 there is a button which switches to state 2. In 2 I've got a TabNavigator containing several child NavigatorContent objects. In one of the tabs I have a data grid. What I'd like to do is, each time the user selects the tab containing the grid, to have the first row in the grid selected. Once in the tab they can move the highlight up and down but if they go to another tab and then come back I'd like the first row selected. If they switch back to state 1 and then come back to 2 and then select the tab containing the grid I'd like the first row selected.
    I've tried setting the datagrid's selected index to 1 from the click handler of the button in state 1 but even THAT doesn't work. I've tried setting the datagrid's selected index to 1 from a Show event hooked to the tab containing the datagrid, still no go.
    As an aside, I'd also like to have the first tab selected each time the user clicks the button to go from state 1 to 2, but I figure one thing at a time.
    Can anyone give me a pointer to the right event or method(s) to use?
    Thanks.

    I'm getting the same error when I try to manipulate the
    visible property of datagrids inside a tab navigator in Flex 3 beta
    (Moxie).
    It looks like a bug has been filed against this:
    http://bugs.adobe.com/jira/browse/SDK-11609

  • Why data are not getting poulated in dynamically added tab in a tab navigator???

    Hi All,
    I am facing a very strange problem and need you expert opinion on this. Ok so the problem goes like this:
    In my application i have a tab navigator where i have 2 fixed tabs say tab A and tab B. In tab B I have a data grid where All the user name are getting populated. Once the user clicks on any datagrid row i am dynamically adding a new tab based on username , so if in my datagrid u1,u2 and u3 are getting displayed then once you clik on u1 a new tab called u1 is getting displayed. Code for this goes like this:
    var vbox1: VBox= new VBox();
    box1.label=mydatagrid.selectedItem.uName;
    var sde:* = new searchDetails();
    vbox1.addChild(sde);
    myTabnavigator.addChild(vBox1);
    Application.application.searchdetails.displayall();
    I have created a component called searchDetails where i have designed the page wit various fields for this tab.This also has a method called displayall() which is populating the data in all fields using php an my sql where i have designed the page wit various fields for this tab.
    New tab is getting displayed perfectly. My problem is once the tab is getting displayed fields are not getting populated with data.
    Please let me know what wrong i am doing. I am really struggling

    Hmm.. you have to assign text to the labelfields on creation complete not before that, the fllow will be like this
    var vbox1: VBox= new VBox();
    var sde:* = new searchDetails();
    vbox1.addEventListener(creationcompleteevent,function);
    vbox1.addChild(sde);
    myTabnavigator.addChild(vBox1);
    function(e:event):void{
    box1.label = "text";

  • Page and Tab create error

    I am getting PAGE_CREATE error while adding a new page. On create new page, after filling page name & description it displays the error message below.
    I am runing iAS9\Portal 3.0.8.9 on Win NT4.
    No installation errors.
    Exact error message:
    =======================
    ORA-01086: savepoint 'PAGE_CREATE' never established
    ORA-06512: at "PORTAL30.WWPOB_PAGE_EDIT", line 320
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWPOB_API_PAGE", line 340
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-01400: cannot insert NULL into ("PORTAL30"."WWPOB_PORTLET_INSTANCE$"."PROVIDER_ID")
    ORA-06512: at line 8
    =======================
    Recompiled all packages\package body (there are no 'Invalid' packages) - error still persist.
    when this error occurs, portal displays error message on adding a tab (it happens when I click on the tab icon to add a new tab):
    Exact error message:
    =======================
    Portlet Information could not be obtained. (WWC-44334)
    An unexpected error occurred: ORA-06550: line 1, column 34:
    PLS-00103: Encountered the symbol "." when expecting one of the following:
    ( - + mod not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string>
    The symbol "." was ignored. (WWC-43000)
    =======================
    Everything else in Portal is working fine.
    All Rollbacks are online, no error message in the DB alert log.
    Any suggestions on how to fix this (other than re-installing portal).
    Thanks.
    null

    Well ... this appears to be a serious problem with the Portal as it renders it incapable of adding pages and tabs. I've tried reinstalling it on 3 different servers, used another instance of Oracle database, and the result is still the same. No installation errors, and suddenly after 7-10 days this error starts appearing.
    Am I the only one experiencing this type of error? ...and can anyone offer\suggest ways to fix it?

  • How to open the popup with in Tab navigator  working area.

    Hi,
              I using the customized  panel to open it as popup by using  popup manager in the Tab navigator . The popup should be able to  move with in the tab navigator's  content area. Not outside of the tab navigator's  content area. How to do this? .What is the difference between opening the popup by using popup  manager and add children(); which one is best?
    Regards,
    Thiru

    It depends on your purpose. A popup displays information to the user, and it might be modal if the user should repsond to the popup before continuing, but why constrain it's movement to the space occupied by the TabNavigator.
    You could, in theory, check the x and y properties of the popup position, and then compare those with the x and y of the TabNavigator view area, though you might have to do some conversion between global and local coordinates.
    You might want to consider your design. Is a popup necessary? Perhaps not. If so, maybe do not consider constraining its movement as you have indicated.
    If this post answers your question or helps, please mark it as such.

  • Applet TAB navigation not working with 1.4.1_01

    I recently upgraded to Java version 1.4.1_01. Now, when I load my applets, the TAB key cannot be used for navigation until I open the Java console and then close it again. To ensure that my the threads in my specific Applet are not the problem, I came up with the following test applet:
    import java.awt.BorderLayout;
    import javax.swing.BoxLayout;
    import javax.swing.JApplet;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    public class TestApplet extends JApplet {
        public void init() {
            super.init();
        public void start() {
            JPanel myPanel = new JPanel();
            myPanel.setLayout(new BoxLayout(myPanel, BoxLayout.Y_AXIS));
            JTextField textField1 = new JTextField("Text Field 1");
            myPanel.add(textField1);
            JTextField textField2 = new JTextField("Text Field 2");
            myPanel.add(textField2);
            JTextField textField3 = new JTextField("Text Field 3");
            myPanel.add(textField3);
            getContentPane().add(BorderLayout.CENTER, myPanel);
        public void stop() {
            super.stop();
    }To ensure that my build environment/options are not the problem, I compiled this applet as follows:
    javac TestApplet.java
    I then came up with the following HTML file for the applet:
    <HTML>
    <HEAD>
    <TITLE>Test Applet</TITLE>
    </HEAD>
    <BODY MARGINWIDTH="0" MARGINHEIGHT="0" BGCOLOR="white">
    <APPLET
    CODE=TestApplet.class
    WIDTH=635
    HEIGHT=500
    ALIGN=left
    VSPACE=10
    HSPACE=10
    >
    </APPLET>
    </BODY>
    </HTML>When I access this test applet, again I am not able to navigate among the text fields with the TAB key. However, if I open the Java console, close it right back up, and refresh my applet, the TAB navigation works. I've tried simply refreshing my applet (as well as a hundred other things) and have had no success.
    Any help would be GREATLY appreciated.
    Thanks in advance

    Looks like this is related to Bug #4707289. To fix this,
    I added the following lines to the above applet:
    textField1.setFocusable(true);
    textField2.setFocusable(true);
    textField3.setFocusable(true);

Maybe you are looking for

  • Exchange 2013 CU3 Databases only activate on one mailbox server

    Hi, guys I have two Exchange 2013 CU3 Mailbox servers installed, one DAG, 5 databases, each has one copy. I found that if I activated three databases on Mailboxserver1 or Mailboxserver2, then after a few hours, all databases will  be activated on the

  • Not able to start the guest machine

    Hi, When I tried to start a guest either from VM Manager or using xm create vm.cfg' it is giving me this error saying cannot be mounted as loop device /dev/loop100 is already used in guest domain. PowerOn VM: INSYBVL1     failed:<Exception: return=>f

  • Problem calling FM 'CRM_ORDER_DEQUEUE'

    Hello all, We try to dequeue an activity (table CRMD_ORDER) with the function module CRM_ORDER_DEQUEUE, but for some reason it doesn't work. Still we find the entry in SM12 and the object is still locked. We simply call the function module with in pa

  • What r steps for creating proxy Technical & Busines System In SLD ?

    Hi All, While creating proxy Technical & Business System In SLD should be 3rd party or WEB AS ABAP.. If its WEB AS ABAP ,what are the parameters should be passed for that TS. Message was edited by:         Nandan ND

  • Inherited JPanels inserted to GridLayout - panel size problem

    Hello, I'm not sure if I implemented it correctly, however I'm trying to have different-sized JPanels inserted to GridLayout. JPanels are inherited from base JPanel class. Shortly: public class CMyBasePanel extends javax.swing.JPanel public class CPa