Regarding Train component, view is lost when navigating to next train stop

Hi,
I require a train component for my application. I have created a bounded taskFlow contianing 3 JSF pages with each page representing a trainStop.
I added train component to each of the pages as told in "Fusion Developer Guide" .
Now I add this taskFlowDefn.xml in my main.jspx as a region. The train is visible and working but the problem that I face is as follows:-
I am having 2 input fields in my 1st jsf page represented by the 1st stop in the train. If I enter something in the input text
and move on to another stop(which is also a different jsf page) and again go back to previous jsf page, the value in the input text gets cleared from the screen.
These input text are not bounded with View Object attributes. The JSFFs are desgined without binding.
How can I save/retain the view of the previous page , I mean how to retain the values on the page that were entered, as train component itself provides the
functionality of moving back and forth. Alll the 3 jsf pages and the main.jspx (which contains the bounded taskFlowDefinition as region) have backingBeanScope.
Please reply if you know wat I have missed or wat I need to do for this.
Thx in advacne
Tarun.

adf009, please read the post I posted the link to in my previous replay. The old code format tag don't work in the new forum!
Still the same error. The stack trace still points to it, you only need to read it carefulle
javax.faces.el.EvaluationException: java.lang.NullPointerException
    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
Caused by: java.lang.NullPointerException
    OrgDetails.showSelectedOrg(OrgDetails.java:2456)
The origin is
method.execute();
and the real reason is
MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51);
What does it tell you?
Timo

Similar Messages

  • How to validate when navigating on next page in a Train

    Dear All,
    Use Case:
    I have pages arranged in a Train.
    Supposed in 1 page, I have this code.
    <af:selectBooleanRadio text="Enter new transaction details"
       label="" id="sbr2"
       autoSubmit="true"
       value="#{pageFlowScope.myBean.option}"/>
    <af:panelFormLayout id="option" labelAlignment="start"
         rendered="#{pageFlowScope.myBean.option}">
         <af:inputText label="Transaction Date" id="it2"/>
         <af:inputText label="Transaction Option" id="it3"/>
         <af:inputText label="Confirmation Message" id="it7"/>
         <f:facet name="footer"/>
    </af:panelFormLayout>If the user selected the boolean radio, I will display the panelformlayout thru PPR.
    Now, if the panelformlayout is displayed, user should at least enter one data on at least one
    of the inputText. If not, a message is displayed when user navigates to the next page on the
    train.
    How to do this?
    I cannot put a required property on all the input text because not all are required and only at least one input text should be filled up.
    I wanted to fire up when user navigates the train button Previous or Next button.
    JDEV 11G PS3
    Thanks

    one solution is to build your own Next button in the train and check the condition before you navigate to the next train stop. to navigate to the next train stop in the train check check [url http://www.oracle.com/technetwork/developer-tools/adf/learnmore/82-programmatically-navigate-trains-396873.pdf]     How-to programmatically navigate ADF train models
    another solution is to set the required property for your input texts as
    <af:inputText label="Transaction Date" id="it2"/>
         <af:inputText label="Transaction Option" id="it1" required="boolean radio is selected and it2 eq null and it3 eq null ...... and it7 is null"/>
         <af:inputText label="Transaction Option" id="it2" required="boolean radio is selected and it1 eq null and it3 eq null ...... and it7 is null"/>
            <af:inputText label="Transaction Option" id="it3" required="boolean radio is selected and it1 eq null and it2 eq null ...... and it7 is null"/>
         <af:inputText label="Confirmation Message" id="it7" required"boolean radio is selected and it1 eq null and ...... it6 eq null"/>

  • NPE error when navigating to next page based on lov selection

    hi there am having problem whn navigating to next page based on lov selection,when i select value and click the button to navigate am geting NPE ERROR
    {code}
    <DCUtil> <findSpelObject> [598] DCUtil, returning:oracle.jbo.uicli.binding.JUFormBinding, for uam_view_pageDefs_SelectOrgPageDef_WEB_INF_Updatetaskflow_definition_xml_Updatetaskflow_definition
    <DCIteratorBinding> <releaseDataInternal> [599] Releasing iterator binding:variables
    <DCIteratorBinding> <releaseDataInternal> [600] Releasing iterator binding:UpdUamOrganisationLovIterator
    <DCIteratorBinding> <releaseDataInternal> [601] Releasing iterator binding:UpdUamOrganisation1Iterator
    <DCIteratorBinding> <releaseDataInternal> [602] Releasing iterator binding:UamUserdetailsViewVo1Iterator
    <XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.servlet.ServletException: java.lang.NullPointerException
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
        at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
        at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
        at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
        at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
        ... 38 more
    Caused by: java.lang.NullPointerException
        at showSelectedOrg(OrgDetails.java:2455)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.el.parser.AstValue.invoke(Unknown Source)
        at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
        at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
        ... 45 more
    THIS IS THE LINE AM GETING THE ERROR
    method.getParamsMap().put("rowKey", newVal);
    <af:selectOneChoice value="#{bindings.Orgid1.inputValue}"
                                  required="true"
                                  id="soc1" autoSubmit="true" valuePassThru="true"
                                  contentStyle="width:145px">
                <f:selectItems value="#{bindings.Organisationid.items}" id="si1"/>
              </af:selectOneChoice>
    <af:commandButton text="UpdateOrganisation"
                                id="cb1"
                                action="#{pageFlowScope.addMember.showSelectedOrg}"/>
    public String showSelectedOrg() {
    /* if(getorgids() == null ||getorgids().equals(null)){
    JSFUtils.addFacesErrorMessage("Select Atleast One Organisation");
    JSFUtils.showFacesErrorMessage("Select Atleast One Organisation");
    BindingContext lBindingContext = BindingContext.getCurrent();
    BindingContainer bindings = lBindingContext.getCurrentBindingsEntry();
    // get the list binding for the Organisation lov
    JUCtrlListBinding list = (JUCtrlListBinding)bindings.get("Organisationid");
    // get the selected index from the list which is stored in the Orgidd1 attribute
    AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("Orgid1");
    Integer selid = (Integer)attr.getInputValue();
    // load the listdata
    Object row = list.getDisplayData();
    // get the selected row from the list
    Row lFromList = (Row)list.getValueFromList(selid);
    // from the row we get the PK the orgnasationId
    Object lAttribute = lFromList.getAttribute("Organisationid");
    Object orgname = lFromList.getAttribute("Organisationname");
    Number newVal = (Number)lAttribute;
    String neworg = (String)orgname;
    _logger.info("Information: selected Organisation = " + newVal);
    System.out.println("neworg " + newVal);
    System.out.println("testorg " + neworg);
    selectedState = neworg;
    // get the MethodAction for setCurrentRowWithKeyValue
    OperationBinding method = bindings.getOperationBinding("setCurrentRowWithKeyValue");
    // set hte needed parameter as the organisation id
    method.getParamsMap().put("rowKey", newVal);
    method.execute();
    // after execution check for errors
    List errors = method.getErrors();
    Exception ex = (Exception)errors.get(0);
    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, ex.getMessage(), "Select Atleast One Organisationtest");
    FacesContext.getCurrentInstance().addMessage(null, msg);
    // keep on page in case of an error
    // navigate to the next page
    return "show";
    {code}
    am in jdeveloper 11.1.1.6.0

    adf009, please read the post I posted the link to in my previous replay. The old code format tag don't work in the new forum!
    Still the same error. The stack trace still points to it, you only need to read it carefulle
    javax.faces.el.EvaluationException: java.lang.NullPointerException
        at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
    Caused by: java.lang.NullPointerException
        OrgDetails.showSelectedOrg(OrgDetails.java:2456)
    The origin is
    method.execute();
    and the real reason is
    MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51);
    What does it tell you?
    Timo

  • RV082 V03 Randomly connection lost when firewall enabled.

    Hardware: RV082 V03
    Firmware: RV0XX-v4.2.1.02
    Lan: 192.168.1.0/255
    Static routing: 192.168.1.239 to 172.25.152.64/224
    The unit is configured as internet gateway. 4 NAT ports are active.
    When firewall disabled all works fine.
    When firewall enabled I do get connection lost at random interval.
    In firewall only 4 rules added to the default 3 rules. The added rules are:
    1/ permit 192.168.1.22 port 25 to any
    2/ permit 192.168.1.27 port 25 to any
    3/ permit 192.168.1.10 port 25 to any
    4/ deny any port 25 to any
    I do get at random times connection lost when navigating with windows explorer on a PC with IP 192.168.1.x to a share on a PC with IP 172.25.152.74. The same happens when copying files.  Sometimes it works, later it fails or reties are needed.  When the firewall is switched off all runs fine.
    Ping from 192.168.1.x to 172.25.152.74 allways give a <1ms response
    Is there a RV082 perfomance problem or do I have a configuration problem?
    Any help appreciated,
    Maxim

    Hi Maxim De Waele
    In an access list, there is always an implicit rule at the end, this rule is:
    deny any any,
    For this reason your firewall does not work well, if you want to fix it, at the end you add the next statement:
    permit ip any any,
    It permits the traffic flow through the network, except that was previously denied,or manually you can allow only certain IP addresses.
    This is an example of the configuration:
    permit 192.168.1.22 port 25 to any
    permit 192.168.1.27 port 25 to any
    permit 192.168.1.10 port 25 to any
    deny any port 25 to any
    permit  any to any
    If this answer was satisfactory for you, please mark the question as Answered.
    Thank you
    Greetings, Johnnatan Rodriguez Miranda

  • View of Component Is Not Visible. Navigation Is Not Possible

    Hi All,
    I have copied Window1 into Window2 and when I try to navigate from view1 to view2 in the copied window(window2),the dump "View of Component Is Not Visible. Navigation Is Not Possible " is thrown.
    I have tried recreating the navigation links in the second window as well,but no luck.
    Can any one please help me out,this is very uregnt...
    Thanks,
    Salma

    Hi Salma,
    Are you trying to navigate between the views of 2 different windows? If that's the case then you can proceed as follows:
    Create 2 views and 2 windows and assign first view to first window and second view to second window. Also create an [exit plug|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm] for window1 with parameter URL of type string.
    Note:
    when you create windows automatically an interface view will also create with same name.
    Now create application1 for window1(nothing but give interface1 ) in the same way create another application and assign corresponding interface view.
    Then write your logic in the onAction method of view1,call the exit plug of window1 then pass the URL of second application.
    Regards,
    Uday

  • Navigator lost when downloaded OS X Mavericks help

    Navigator lost when downloaded OS X Mavericks please help?

    Navigator?
    You don't mean Netscape Navigator, do you?

  • Multiple component view in integration scenario

    Hi
      I have <b>multiple component views</b> defined in my integration scenario.
      When i try to configure these component view in Integration directory in integration scenarion configurator, if I select the component view i want to apply then the systems give a message " All configuration settings made in the current component view will be lost".
      This means that if i have configured the first component view and then try to configure the second component view then setting of first view get lost.
      i want to have all the configure all the component views in the integration scenario.
    Please provide some pointers for the issue.
    Thanks in advance
    Regards,
    Amit Deshpande

    Amit,
    When you have multiple component views in the Integration scenario, you would ideally want to create separate configuration scenarios for each component view.
    So for eg. if you have four component views, 4 different configuration scenarios can be created using the integration scenario configurator. The only thing is that you would have to repeat the integration scenario configurator steps[Tools->Transfer Integration Scenario from Integration Repository] 4 times, once for each component view. If you notice, you can change the name of the configuration scenario each time you start afresh.
    The message is a warning that if you go back during the integration scenario configuration process[the first step is the selection of the component view for which you want the configuration scenario] and change the component view then all the changes made thus far would be lost.
    For e.g if you are in step 3[Assign Services, I think] and then go back and change the component view, all the changes made for the original component view selected would be lost.
    Hope this helps.
    -Anand

  • Defer train-stop navigation for Custom Processing

    Hi,
    I'm using JDeveloper version - 11.1.1.6
    I'm using Train Component in one of the task-flow with 3 train stops. I want to defer the Train stop navigation if the custom validation fails.
    I referred the sample 97 in ADF Code Corner - "How-to defer train-stop navigation e.g. for custom form validation".
    I implemented the code in similar lines. I'm able to see the warning dialog in my application when validation condition is not met. When i click the 'OK' button, I'm able to navigate to the next train stop.
    But when I click the cancel in the dialog and update the view to fulfill the condition, I'm not able to navigate to next stop.
    My Code snippet is as follows:
                   <af:train value="#{controllerContext.currentViewPort.taskFlowContext.trainModel}" id="t1" var="trainNode" rendered="#{(pageFlowScope.TDMConnectivityChannelTreeBean.hideSearch)}">
                        <f:facet name="nodeStamp">
                            <af:commandNavigationItem id="cni1" disabled="#{trainNode.disabled}" textAndAccessKey="#{trainNode.textAndAccessKey}"
                                                      visited="#{trainNode.visited}" actionListener="#{pageFlowScope.TDMConnectivityChannelTreeBean.processTrainStop}">
                                <f:attribute name="trainStopNode" value="#{trainNode}"/>
                            </af:commandNavigationItem>
                        </f:facet>
                    </af:train>
                    <f:facet name="bottom">
                        <af:popup contentDelivery="lazyUncached" id="pt_p1" binding="#{backingBeanScope.trainSourceDialog}">
                              <af:dialog id="pt_d1" title="Confirmation Dialog" dialogListener="#{pageFlowScope.TDMConnectivityChannelTreeBean.processDialogAction}">
                                    <f:facet name="buttonBar"/>
                                    <af:outputText value="Source Channels are not selected, Do you want to navigate to Target Connectivities?" id="pt_ot1"/>
                               </af:dialog>
                         </af:popup>
                    </f:facet>
            Please let me know if I'm missing something here.
    Thanks
    Ravi

    Frank,
    I tried to put the following code in the action listener method and I'm able to navigate to next stop.
                    UIComponent comp = (UIComponent) ADFUtil.evaluateEL("#{backingBeanScope.trainSourceDialog}");
                    if (null != comp) {
                        UIComponent dialog = comp.getChildren().get(0);
                        if (null != dialog) {
                            queueTrainStopEventToRegion(selectedTrainStop.getOutcome(), dialog);
                    }Not sure why I have to do this. Can you comment on this?
    Thanks
    Ravi

  • How to display the Component view in the Pop up

    HI.
    I created one Z Component.
    In that i put one Button name as a POPUP.
    when i press that Button i want open an another component View or Same Component another View.
    How it is possible.
    I am writing the code in Event Handler.
    CALL METHOD COMP_CONTROLLER->IF_BSP_WD_WINDOW_MANAGER~CREATE_POPUP
      EXPORTING
        IV_INTERFACE_VIEW_NAME = 'ZKRI_NAVIGATION/DetailsOV' 
        IV_USAGE_NAME          =  'ConfigStdAlone'
        IV_TITLE               = 'Hello'
      RECEIVING
        RV_RESULT              =  confirm_popup.
    confirm_popup->set_on_close_event( iv_event_name = 'POPUP_CLOSED' iv_view = me ).
      confirm_popup->open( ).
    But i did not get the Popup with the view.
    How it is possible. Please expalin how to call another view in pop up with in the Same Component.
    How to call another component view

    Hi,
    Did you create a component usage of the Z component in the Run time Repository ?
    You can look into any of the standard fields with an F4 help for sample code..like Business Partner etc.,
    Regards,
    Masood Imrani S.
    Edited by: Masood Imrani on May 12, 2009 4:23 PM

  • Standard Costing : CK11N (Inconsistent Cost Component Views)

    Hi,
    I have created the cost sheet with below information:
    A) Material
    B) + Labour
    C) +Indirect Labour (% of Labour)
    D) + Utilities
    E) + Production overhead (% of Material)
    F) Cost of Goods Manufactured (Total of A to E)
    G) Admin overhead (% of COGM)
    H) Sales overhead (% of COGM)
    I)  Cost of Goods Sold (F to H)
    Also Cost component structure is maintained accordingly with the cost elements applicable to above mentioned components.
    When I run the cost estimate for the FG/SFG, cost is calculated in the expected way consindering all the components mentione above and displayed in "Itemisation" View.
    But the problem has been in the Cost component view of costing run.
    I have activated only three views i.e. Cost of Goods Manufactured , Cost of Goods Sold and Sales and Admininstration Cost.
    1. Costs are not appearing under the respective components correctly.
    2. Sales and administration cost component is displaying Material cost instead of the overhead
    3. Utilities is having very high cost (not the sum of costs appearing in itemisation)
    4. Component Material is totally disappeared and not visible.
    I request experts to comment on this disparity and suggest the steps that need to be taken for getting the right cost compnent views.
    Thanks in advance.
    Regards,
    Viswanath

    Hi
    Check cost elements assigned to structure.  For this go to transaction code OKTZ and select your CCS and double click on Assignment Cost Component-Cost element interval.
    Srinivas

  • Cost component view German instead of English

    When I display product cost estimate with quantity structure. Under the tab costs all the cost component view description show up in German. In our development and test client they show up fine in English. I don't know if this problem has any thing to do with costing at all but I was just wondering if any of you faced this problem and how did you solve the issue. If this is not the forum can you please point me to where should I pose this question.
    Regards

    Hi NIK83,
    When a cost estimate and its itemization is saved in txn CK11N, the text of the items is only written in one language to database table CKIT. So if somebody who was logged on in German created and saved the cost estimate, everybody who displays this cost estimate in CK13N will  see German texts. This is the design of the database tables. If there would be texts           
    for the items in every language installed in your system, the data volume would increase significantly.                                                                               
    However, you can change the layout of the itemization and the cost structure by adding certain columns, e.g. material description, with the English texts. You can save this layout and make it available to all users.                                                                       
    Regards,
    Antje

  • How to use Train Component only with Task-flows as Train Stops

    Hi,
    I'm using JDeveloper version - 11.1.1.6
    I have below requirement:
    In a Page when user clicks the button, display the Popup with Train Component. I have to use bounded task flow for each Train Stop. I don't have any views to be used as Train Stops. (Most of the Train Samples have Views / JSFF Fragments as Train Stops and child task flows as Train stops)
    Please let me know if I can achieve this.
    Any pointers would be helpful.
    Thanks
    Ravi

    Hi,
    train stops must be displayed on a view. So if you have a task flow that navigates to other taskflows then it needs to have at least a single view to display the train stops. If you attempt to show. If you enter a task flow then this task flow will have its own train model. So maybe its better to look at what your use case is and why you need to quite called task flows without properly exiting them
    Frank

  • More than one business component (views) in the same JSP page

    Hi, I am trying to have more than one business component (views) in the same JSP page as Input Form.
    For example:
    There are two BC4J:
    Person:
    Code.
    Name.
    Address:
         Person_code
         Street.
         City.
    There is a master detail relationship between them and there is a link between both views in the application module.
    I want to create a JSP page with an Input form for both views. When the user decides to create a Person, I need to insert in both tables.
    Insert code and name into Person table.
    Insert Person_code, Street and City into Address table.
    It is possible to do in Forms but I am not sure if I can be able to do this in JDeveloper 10G.
    Thanks

    Sorry I lost the tabs
    Person has two attributes Code and Name.
    Address has three attributes Person_coden Street, City.

  • JSF UI component view restore.

    Good day,
    Please help me with my problem.
    The problem is:
    I use this http://myfaces.apache.org/tomahawk/panelNavigation2 to make a menu on my site. Component renered perfect: I can open submenu items, click on them, todo some actions and so on. But if I will be redirected to another page the view of my menu cleared. I mean, that all items collapsed and there is no active menu item what had been clicked.
    How can I realise a component view saving for example in session? I mean, If I click on some item I want to see this item opened after refresh.
    This problem not in http://myfaces.apache.org/tomahawk/panelNavigation2 realisation, because if I use another components of the same type (rich components from JBOSS for example) I have the same....
    Please help me!

    I don't use tomahawk but in other similar components you have a flag or something that controls state, like expanded/collapsed, selectedItem, etc.
    The problem is that the component will remember the state because it saves it internally as a local value. Thus as long as you are using the same view (viewId) the component state is stored in the component tree. The minute you go to another view, that view state is lost.
    The answer is typically to create a managed bean, put it is session scope, and have it hold the view state. That way when you return to the view all of the expanded/collapsed, selectedItem, etc information is restore correctly.

  • Missing Component View on Integration Scenario

    Hi All,
    I'm having a problem when doing the XI 3.0 Demo Examples.
    The CheckFlightSeatAvailability scenario in my system doesn't have ABAP_Proxy_2_Web_Service component view.
    The Config Guide said that this demo variant is available as of XI SPS 12, while my XI SPS is 14, so I supposed there's no problem.
    But when I checked the Software Component Version SAP BASIS 6.40 in the Integration Repository, the Available Support Packages field's value is 9.
    My questions are :
    1. Does it means that I'm still using SPS 9 for configuring the scenario ? If that so, how can I update it to SPS 14 ?
    2. If that's not the problem, what should I do so that the ABAP_Proxy_2_Web_Service appear in the CheckFlightSeatAvailability scenario ?
    Kindly need your advices in this matter.
    Regards,
    Andy

    Hi Andy,
    you are on patch9 for basis component.
    In patch stack guide it is described how to upgrade this component.
    Import the appropriate content for the SAP XI Support Package release from the archive SAPBASIS<SP>_<PL>.ZIP (XI Content SAP_BASIS 6.40). Proceed as follows:
    1. Unpack the archive using a ZIP tool of your choice.
    2. Copy the export file (with file extension tpz) into the import directory <INSTDIR>/ <SAPSID>/SYS/global/xi/repository_server/import.
    3. Start the Integration Builder for the design time.
    4. Import the XI content by choosing Tools &#8594; Import design objects...
    For more information, see SAP Note 705541.
    This is always an important step, since the component not only contains scenario's but also Adapter MetaData.
    So if this level is not on 14 (and the rest is) you will not be able to make use of SP14 Adapter features or even run into all kind of errors.
    Regards,
    Theo

Maybe you are looking for

  • Email submit button - email subject doesn't work

    I have a form I created in Livecycle. I have an email submit button. The properties of the button let me change the subject of the email. But no matter what I set that to, when the button is click it will only send the form saying "Submitting Complet

  • Synchronizing photo corrections to multiple back-ups in Lightroom 5

    Hi, I have backed up my images on three different external Hard drives, and have "ADDED" each to the Lightroom catalogue so that I can access the images from any of the Hard drives.  I make most of my image corrections and adjustments using  my main

  • Missing Icon in System Pref.

    Hi. I open system preferences and the "Print & Fax" icon is missing. In its place is a light switch, what seems to be in the "off" position. Also I could see the top half of the "Print & Fax" line. What can I do to get it back?

  • Insert-request & sequence values

    Trying to employ a seq value (not null, key field) along with insert-request causes ORA-01400. Current transform produces: <field1>sequencename.NEXTVAL</field1> <field2>fieldvalue1</field2> <fieldn>fieldvaluen</fieldn> Since I don't know how many row

  • Installed ios6.1.3 to iPad 3 now it keeps turning itself off after a few seconds and is not recognised by itune

    Please help. My daughter has updated her iPad with iOS 6.1.3 and it now keeps crashing after a few seconds use..we have tried a rest and this doesn't help. Thx