Business Component Tree

How can i Create multi hierarchy Tree with business component?
1
1.1
1.1.1
1.2
1.2.1
1.2.2
.

thanks timo
but let me clarify the question.
i have a table ACCOUNT
AccountCode AccountName InvoiceTo
1*************account1
1.1***********account1.1**********1
1.1.1**********account1.1.1******** 1.1
1.2*********** account1.2**********1
1.2.1**********account1.2.1 *******1.2
InvoiceTo foreign key to accountCode
childs can grow dynamically not predefined
Edited by: user5837311 on 17/02/2009 03:08 ص

Similar Messages

  • How to construct the component tree in my custom component?Help!

    Hi, i am writing a custom component like this:
    public class HtmlCategory extends HtmlPanelGrid
         public void processRestoreState(javax.faces.context.FacesContext context,
                java.lang.Object state)
              setColumns(1);
              HtmlCommandLink link=new HtmlCommandLink();
              link.setValue("Let's Bingo");
              MyUtil.setActionListener(context,link,"#{temp.mytest}");
              UIParameter param=new UIParameter();
              param.setName("name");
              param.setValue("Robin!");
              link.getChildren().add(param);
              param.setParent(link);
              getChildren().add(link);
              link.setParent(this);
              super.processRestoreState(context,state);
    }         you see, i want to construct the compont tree at Restore View phase this way,because the structure of the component tree will always be the same, so i don't the user to write extra code.
    But the children of the component are not rendered,the renderer of the HtmlCategory component just extends the HtmlGridRenderer(myfaces) directly,and always calls the "super" methods in the encode methods of the renderer.
    I got a message from the console:
    Wrong columns attribute for PanelGrid id0:id4: -2147483648
    but i have set the columns attribute in the code above, so what's happening? or please give some advice about how to render the component tree by myself in Restore View with the tree constructing code in the custom component class code,just lke the code above.
    Best Regards:)
    Robin

    Well, i don't know if i have got my question clear.
    usually, according to the tags you use in the jsf page, a component tree will be created at the Restore View phase,for example:
    <f:form>
      <h:panelGrid ...........>                         
              <h:dataTable ................>
              </h:dataTable>
       </h:panelGrid>
    </f:form>but because i am writing a component for my web app, all the child components and their attributes are not likely to change. so i want to reduce the tags into one custom tag, and construct the component tree internally by myself.But it is not the case of backing bean.So i wrote the the code in the method:
    public void processRestoreState(javax.faces.context.FacesContext context,java.lang.Object state)as it is shown in my orginal message.But it seems that it is not right way to construct my component tree.So where should i put the code that construct the component tree?Overriding the method :
    public void processRestoreState(javax.faces.context.FacesContext context,java.lang.Object state)is not the right way?
    Best Regards:)
    Robin

  • How do I insert/Delete/Update a row to the DB Table from Business Component Browser

    I am using the wizard and created a project containing Business component which contain some table.
    When I run the project I could see "Oracle Business Component Browser(local)" and when I select some table from "View Object Member" I get a window displaying all the field of that table and I could browse all the info.
    My Problem is when I try to insert a new record/Delete the existing record or update some record it never gets reflected to the DataBase.
    When I try to insert a new row I did save and there was a dialog box displayed saying "Transaction ID is 1". But finally It's not reflected in the Database.
    Can some one guide me how can I do insert/delete/update operation from Oracle Component Business Browser so that the changes reflect to the Original DataBase.
    Thanks in advance
    Jitendra

    Jitendra,
    This may be a problem of caching. If you do an update,insert, or delete, and do not receive an error, then the transaction should indeed be posted.
    I assume you are hitting the Save icon after your changes if you are getting a transaction ID. Are you checking for the updates through another session (i.e. SQL*Plus), or do you then requery the View Object in the tester? Do you exit the tester and come back in and not see the changes?

  • Error while adding ADF Business Component

    Hi All,
    I am using JDev 11.1.1.3 and trying to create a new Application.
    Under the Model Project of this Application when I am trying to add Business component I am getting following error:
    " *Wizard Open Error*
    *Illegal name. It is either a reserved word or an object of a given name already exists within the project.*
    *com.java.DemoApp.Model*
    *Exception: oracle.jbo.dt.objects.JboException* "
    Steps I followed:
    New Application --> Fusion Web Application (ADF) --> Gave App name and hit Finish Button.
    Model and View Controller Projects got created.
    Now when I am trying to add ADF Business Component I am Getting above error.
    Please Help

    Hi John ,
    Please find details and steps below:
    1. Open Jdev
    2. Click New Application
    3. Create Fusion Web Application (ADF)
    wizard will come up
    Details entered:
    Application Name: DemoApp
    Directory: D:\Jdev\mywork\DemoApp
    Application Package Prefix com.java.Demo
    4. Hit Next Button
    Project 1Name come (Step 2 of 5)
    Project Name Model (Default Project Name)
    Directory D:\Jdev\mywork\DemoApp\Model (Automatically Populated)
    No changes done
    5. Hit Next Button
    Project 1 Java Settings come (Step 3 of 5)
    Below values automatically populated
    Default package com.java.Demo.model
    Java Source Path D:\Jdev\mywork\DemoApp\Model\src
    Output Directory D:\Jdev\mywork\DemoApp\Model\classes
    No changes done
    6. Hit Next button
    Project 1Name come (Step 4 of 5)
    Project Name ViewController (Default Project Name)
    Directory D:\Jdev\mywork\DemoApp\ViewController (Automatically Populated)
    No changes done
    7. Hit Next Button
    Project 1 Java Settings come (Step 4 of 5)
    Below values automatically populated
    Default package com.java.Demo.view
    Java Source Path D:\Jdev\mywork\DemoApp\ViewController\src
    Output Directory D:\Jdev\mywork\DemoApp\ViewController\classes
    No changes done
    8. Click Finish Button
    9. Select Model Project under Application Navigator
    10. Right Click and select New --> ADF Business Component --> Application Module --> Ok
    Error Thrown..
    Please let me know if more details required
    Thanks and Regards
    Manav Ratra

  • Error opening a business component view object - ExtendedTextArea missing

    Hi,
    I'm running the HRSystem demo from the oracle developer day, and get an error opening any business component view object, for example, JobsView.xml. The error is:
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.javatools.ui.ExtendedTextArea
         Dependent class: java.awt.Component
         Loader: jre.bootstrap:1.6.0_05
         Code-Source: unknown
         Configuration: jre bootstrap
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2180) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1733) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.java:143) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClassLoader.java:331) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1692) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1674) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.lang.Class.getDeclaredMethods0 (Native method) [unknown, by unknown]
         at java.lang.Class.privateGetDeclaredMethods (Class.java:2427) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.lang.Class.getDeclaredMethod (Class.java:1935) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component.isCoalesceEventsOverriden (Component.java:5726) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component.access$100 (Component.java:162) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component$2.run (Component.java:5680) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component$2.run (Component.java:5678) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
         at java.awt.Component.checkCoalescing (Component.java:5677) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component.<init> (Component.java:5646) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Container.<init> (Container.java:245) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at javax.swing.JComponent.<init> (JComponent.java:581) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at javax.swing.JPanel.<init> (JPanel.java:65) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at javax.swing.JPanel.<init> (JPanel.java:92) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at javax.swing.JPanel.<init> (JPanel.java:100) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at oracle.jbo.ui.wizard.JboWizardPanel.<init> (JboWizardPanel.java:94) [C:/Oracle/Middleware/jdeveloper/modules/oracle.adf.model_11.1.1/bc4jwizard.jar (from system property C:\Oracle\Middleware\jdeveloper\modules\oracle.adf.model_11.1.1\bc4jwizard.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.dlg.DtuWizardPanel.<init> (DtuWizardPanel.java:67) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.ecsf.dt.ui.SearchPanel.<init> (SearchPanel.java:84) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
         at oracle.ecsf.dt.ui.SearchPage.jbInit (SearchPage.java:79) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
         at oracle.ecsf.dt.ui.SearchPage.<init> (SearchPage.java:63) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
         at oracle.ecsf.dt.ui.SearchFlatEditorListener.initEditor (SearchFlatEditorListener.java:41) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.editors.common.JeoEditorMulticaster.dispatchInitEditor (JeoEditorMulticaster.java:56) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.editors.JeoEditor.getGUI (JeoEditor.java:282) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.editors.JeoEditor.getPanel (JeoEditor.java:310) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.editors.JeoEditor.setContext (JeoEditor.java:341) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.ideimpl.editor.EditorState.createEditor (EditorState.java:158) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor (EditorState.java:94) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos (SplitPaneState.java:231) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos (SplitPaneState.java:194) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState (TabGroupState.java:103) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.TabGroup.addTabGroupState (TabGroup.java:379) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor (EditorManagerImpl.java:1400) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor (EditorManagerImpl.java:1334) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor (EditorManagerImpl.java:1260) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame (EditorUtil.java:164) [C:/Oracle/Middleware/jdeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame (EditorUtil.java:127) [C:/Oracle/Middleware/jdeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ide.editor.EditorUtil.openExplicitDefaultEditorInFrame (EditorUtil.java:67) [C:/Oracle/Middleware/jdeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.jbo.dt.jdevx.JdvIde.editSourceFile (JdvIde.java:1826) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.doFlatEditMenuAction (DtuMenuManager.java:1706) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.performMenuAction (DtuMenuManager.java:1595) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.doMenuAction (DtuMenuManager.java:1377) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doMenuAction (JdxMenuManager.java:892) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.deployment.ui.JxdMenuManager.doMenuAction (JxdMenuManager.java:66) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.bc4jdt.deploy.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.bc4jdt.deploy.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.doAction (DtuMenuManager.java:1363) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.doAction (DtuMenuManager.java:1348) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doActionPerformed (JdxMenuManager.java:694) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.JdxMenuInvoker.run (JdxMenuManager.java:2111) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:209) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventQueue.dispatchEvent (EventQueue.java:597) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java:273) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java:183) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:173) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:168) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:160) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.run (EventDispatchThread.java:121) [jre bootstrap, by jre.bootstrap:1.6.0_05]
    I searched for this class, and it is supposed to be in uic.jar. However, when I opened that jar file it was not there. Did I set something up wrong, or is this a bug in jdeveloper?

    When I am trying to open a VO inside JDeveloper for editing. The issue appears only to be with the VO's, even the ones that were automatically created at the start of the tutorial. Other types of objects can be opened for editing without incident.
    Here is my versioning info:
    ADF Business Components     11.1.1.52.5
    CVS Version     Internal to Oracle JDeveloper 11g (client-only)
    Java(TM) Platform     1.6.0_05
    Oracle IDE     11.1.1.0.31.52.05
    Versioning Support     11.1.1.0.31.52.05

  • Validation error corrupts component tree?

    I've got a strange problem trying to use validation on input fields.
    The basic setup is as follows:
    I've got a page divided into two parts with separate h:form tags, the one holding a dataTable with some elements and the other showing the element details in inputFields once an item is selected in the dataTable via a commandLink. A commandButton on the detail side allows you to update the values of the selected item which is being reflected in the dataTable on reload. So far so good.
    Here comes the strange part:
    All the inputFields are marked required. Now once you leave a field empty and try to submit the form, you get a validation error as expected. BUT if you now select a different element from the dataTable, ONLY the field whose validation formerly failed is being updated, the other fields still show the same value as before. The backing bean method that belongs to the commandLink is being executed, and the underlying data object of the input fields is being set properly, only the values in the component tree aren't updated. This behaviour persists until you enter a valid value in the formerly invalid input field and submit. Debugging shows that as long as at least one field has had validation errors, only the getter of these backing beans properties are being invoked during render response phase, as opposed to the "normal" case where the getters of all the backing beans properties are being called.
    For some reason, the render response phase seems to ignore the other components in the component tree when there was some validation error on one or more fields.
    Another interesting observation:
    This is the behaviour if I don't specify an action attribute in the commandLink selecting an element from the dataTable, as I want to return to the same page again. But if I define a navigation case that brings me to the same page and put that into the action attribute, the problem doesn't occur. Unfortunately this is no option for me, as I'm aiming to do all this with ajax.
    I've created a simple example so you can try out yourself:
    test.jsp:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <html>
    <head>
    <title>validator test</title>
    </head>
    <body>
    <f:view>
         <h:form id="form1">
              <h:dataTable id="table" value="#{bean.datas}" var="data" binding="#{bean.table}" border="1">
                   <h:column>
                        <h:commandLink actionListener="#{bean.selectData}" value="#{data.string1}" />
                   </h:column>
                   <h:column>
                        <h:outputText value="#{data.string2}" />
                   </h:column>
              </h:dataTable>
              </h:form>
         <hr />
         <h:form id="form2">
              <h:inputText value="#{bean.data.string1}" id="field1" required="true" />
              <h:inputText value="#{bean.data.string2}" id="field2" required="true"/>
              <h:commandButton value="submit" />
         </h:form>
    </f:view>
    </body>
    </html>Bean.java:
    needs to be defined in faces-config.xml as bean "bean" with session scope
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.component.html.HtmlDataTable;
    import javax.faces.event.ActionEvent;
    public class Bean {
         private Data data;
         private List<Data> datas;
         private HtmlDataTable table;
         public Bean() {
              datas = new ArrayList<Data>();
              datas.add(new Data("data1value1","data1value2"));
              datas.add(new Data("data2value1",""));
         public void selectData(ActionEvent event) {
              data = (Data)table.getRowData();
         public List<Data> getDatas() {
              return datas;
         public Data getData() {
              return data;
         public void setData(Data data) {
              this.data = data;
         public HtmlDataTable getTable() {
              return table;
         public void setTable(HtmlDataTable table) {
              this.table = table;
         public class Data {
              private String string1;
              private String string2;
              public Data(String string1, String string2) {
                   this.string1 = string1;
                   this.string2 = string2;
              public String getString1() {
                   return string1;
              public void setString1(String value) {
                   string1 = value;
              public String getString2() {
                   return string2;
              public void setString2(String value) {
                   string2 = value;
    }My system setup:
    WinXP Professional
    JDK 1.6.0-b105
    Tomcat 5.5.20 (also tried 6.0.7)
    JSF RI 1.1.02_b08 (also tried 1.2_04-b10-p01, different but anyway not expected behaviour with MyFaces 1.1.5)
    Thanks for any input,
    Harry.

    Is there noone here who can tell me if this is behavior like specified or if I miss some point?
    A possible solution seems to be telling JSF programmatically to rebuild the view root. Does anyone if this is possible?

  • Scenario is HTTP to db. In HTTP client, when Sender is Business Component, Pi is getting data successfully but when Business system is used as sender Pi is not getting any message in sxi monitor. Please help

    Scenario is HTTP to db. In HTTP client, when Sender is Business Component, Pi is getting data successfully but when Business system is used as sender Pi is not getting any message in sxi monitor. Please help

    Hi Ankita,
    Try to trace at ICM level, Go to smicm transaction
    Set level to 3.
    Later send your request. Finally trace the request in:
    When you have seen the log, check if any exception is raised with your request or the request and share it here.
    Regards.

  • PI 7.1 ,Business component and business system.

    Hi Everybody,
    Can you please tell me when should we use a business component and when to use a business system
    thanks a lot,
    Ramya Shenoy

    Hi Ramya,
    A common question :)..if you search sdn you will know more about this
    Business system : Use when you know the end system (like system name, ip etc). Generally ECC, R3, JDBC systems wtc..
    Business service : When you know that it is a file or htto system but dont have their details.. Generally Soap, HTTP, File etc...
    Regards
    Suraj

  • Business Component  and  Communication Component

    hi
    is there any difference between Business Component and Communication Component in PI 7.1.
    I assume business service of pi 7.0 is become Business Component.

    Business Service of PI7.0 is now Business Component of PI7.1 with the same functionality
    Communication Component is containing Business Components, Integration Process, Business System)

  • Re: Purpose of business component in integration builder?

    Hi everyone,
         As I'm new to pi so, I just want to know what is the purpose of creating a business component. Can anyone help on this?
    Thanks&Regards,
    Suresh M

    Hi Suresh,
    This is a very common question and you can find the answer in the following link
    PI 7.1 ,Business component and business system.
    Difference between Business system and Business service.
    Diff. between Business service & Business system.
    In Short we use Business System when we have all details about the system and can mark it easily in the System landscape.
    For other cases we use Business Component.
    Thanks &  Regards,
    Tejas Bisen

  • Problem with Business Component when joining multiple tables

    I have a table that contains foreign keys from 4 other tables. When I view the table in the Business Component Browser it only returns one record. But when i run the same query in toad it returns the correct number of records. I'm I missing something or is there a bug in the application module?

    Could you be more specific?
    Supply the query and tables' definitions.
    Is it right that you have created a compound view from all of the five tables?
    Base Table
    -> FK_Table1
    -> FK_Table2
    If so, check, whether the wizard correctly generated the associations info in this VO's XML file.
    Actually, you recognize this as soon as he generates the query : the where clause should show appropriate fields being connected.
    Another question is if you want to use inner or outer joins to the referencing FK tables.
    You may also be interested in seeing my earlier post:
    "BC4J; VO Wizard & References for multiple usage of one table".
    Petr
    null

  • Issue with "firstRecord" Business Component method of JAVA Data bean API.

    Hi,
    Following is my use-case scenario:
    I have to add or associate child MVG business component (CUT_Address)
    with the parent business component (Account) using JAVA Data bean API.
    My requirement is: first to check whether child business component(i.e. CUT_address) exists. If it exists then associate it with parent business component (Account)
    otherwise create new CUT_address and associate it with account.
    Code (using JAVA Data bean APIs) Goes as follows:
    SiebelBusObject sBusObj = connBean.getBusObject("Account");
    parentBusComp = sBusObj.getBusComp("Account");
    SiebelBusComp parentBusComp;
    SiebelBusComp childBusComp;
    // retrieve required account.. Please assume Account1 exists
    parentBusComp.activateField("Name");
    parentBusComp.clearToQuery();
    parentBusComp.setSearchSpec("Name", "Account1");
    sBusComp.executeQuery2(true, true);
    sBusComp.firstRecord();
    Counter = 0;
    while (counter < Number_Of_Child_Records_To_Insert)
    childBusComp = parentBusComp.getMVGBusComp("City");
    associatedChildBusComp = childBusComp.getAssocBusComp();
    childBusComp.activateField("City");
    childBusComp.clearToQuery();
    childBusComp.setSearchSpec("City", Vector_of_city[counter]);
    sBusComp.executeQuery2(true, true);
    if( sBusComp.firstRecord() )
    // Child already exist and do processing accordingly
    else
    // Child does not exist and do processing accordingly
    childBusComp.release();
    childBusComp = null;
    associatedChildBusComp.release();
    associatedChildBusComp=null;
    Now the issue with this code is: For the first iteration, SbusComp.firstRecord returns 0 if records does not exist. However from the second iteration, SbusComp.firstRecord returns 1 even if there is no record matching the search specification.
    Any input towards the issue is highly appreciable.
    Thanks,
    Rohit.

    Setting the view mode to "AllView" helped.
    Thanks for the lead!
    In the end, I also had to invoke the business component method SetAdminMode with "true" as the argument so that I could also modify the records from my script.

  • How to setup new OC4J instance to host jdev business component (EJB)

    From Jdeveloper 9.0.3 I want to deploy a business component to an new oc4j instance running under 9ias version 9.0.3.
    In jdeveloper I have built and tested an application server connection (type=Oracle Application Sever Remote DCM) to my new oc4j instance on 9ias. My understanding is that the jdeveloper deployment profile wizard will help me construct a profile to build what is known as an "EJB session bean".
    Using EmWebSite, I have created and started the new oc4j instance, and i constructed a datasource to be used for the database connection.
    Is there anything else that I will need to do to the new 9ias oc4j instance prior to building the deployment profile in jdeveloper, and then running the deployment? For instance, does this new oc4j instance somehow have the necessary hooks in it to support this bc4j component? Do I need to install any missing jar files? Do I need to define rmi ports ? Do I need to configure BC4J support?
    BTW ... I have tried to pursue this topic from the Jdeveloper side but the support personnel are not familar with 9ias 903, nor are they familar with 9ias Remote DCM deployment.

    Yes, you should be able to deploy an BC4J application without making any other changes to an IAS instance. For standalone OC4J please look at http://otn.oracle.com/products/jdev/htdocs/config_oc4j_for_bc4j.html
    regards
    Debu

  • Not able to add a  business component in Integration Scenario

    Hi Experts,
    I have Imported an Integration Scenario from ESR into ID. I am trying to assign a business component but its showing only the business systems in search result and not any business component. What would be the reason?
    Regards,
    Pranil Shinde

    Hi,
    I have created integration scenario in ESR using two actions for IB and OB interface. Then I have imoprted IS into ID.
    Now in model configurator in ID,  while assigning the business component to Inbound interface action, its not showing me the business compnent created in search result.
    Regards,
    Pranil
    Edited by: pranil shinde on Feb 9, 2012 5:41 PM

  • Migration of Business Component from PI 7.1 to PO

    dear experts,
    I am working on migration project from PI 7.1 to PO .
    I am using migration tool to Move the Configuration Objects from 7.1 to PO.
    those Objects in the SLD i.e Business System , I imported from the SLD but with regards to Business Component do we have any other menthod ...?
    Because when i migrate using the migration tool Only Business Component is not migrating its giving me error when activating the objects in PO.
    i did try to just do file transport for that one Business Component & import tht in PO from cleint system its also not getting picked in the Integrated Configuration.
    thanks
    Shakif

    Hi Shakif,
    Ideally it should work and should be able to see in Changelist of target system.
    Could you tell me exact error?
    Thanks
    Satish

Maybe you are looking for

  • Loading of Inventory Management

    I am trying to load data in parallel into the Non Cumulative Inventory (0IC_C03) cube and the SnapShot (ODSSNAP) ODS.  The steps that I have followed is as follows: 1) Load into PSA 2) Subsequently load into Data Targets This failed so I deleted the

  • How to Tuning this sql statement

    hi my friend:                         SELECT    ie.ImportEntityAutoID,                                     ie.ImportRawDataAutoID,                                     ie.Amount,                                     s.NAME AS StatusName,               

  • Logical client creation issue..

    Hi,        We had setup 2 clients 500 and 700 in QA System for our upgraded ECC system.. and would like to assign a logical systems to respective clients. But when I check the naming conventions IN SALE  it is in series like <SID>CLNT401,402,403 and

  • Server didn't reboot

    I just installed 10.5.1 yesterday, and some time this AM, around 4:44, the server decided to reboot for some reason, but didn't. When I got in, the computer was not stalled in a kernel panic, but stuck on the Mac logo during the startup process. Once

  • ERROR CODE [0X7E]

    I try to install window 8.1 but when I open file setup.exe, it said :"the file 'autorun.dll' coudl not be loaded or is corrupt" How can I solve ?