Howto change property of javabeans based data control?

Hi,
I have a swing application which displays a combobox. This combobox is bound to a javabeans based model using ADF.
The combobox is enabled/disabled based on a value in another combobox, so sometimes the combobox is enabled, sometimes it's not.
We've currently implemented this using an action listener, which call comboBox.setEnabled(false).
This works, but when you refresh the iterator binding for the panel, the combobox is always enabled. I assume this is caused by the fact that the adf xml file describing the javabean contains the following attribute: IsUpdatable="true".
How can i programatically change this attribute? Can i set a property for the jcombobox control binding, or can i change the AttributeDef used by the combobox?
Thanks,
Andrej

How do i programatically change an adf javabeans based control value from editable to not-editable?

Similar Messages

  • How to change the execution order of data control and backingbeans

    Hi,
    I have a form for a BPM human workflow. It has an inputText and a selectOneChoice component in the form.
    The list of value for the selectOneChoice is initiated based on the value in the inputText.
    I have a data control - JavaBean, which returns a list of values based on a parameter for the selectOneChoice and the parameter is binded with the value of inputText defined in a backingBean. I also set the default value of the inputBox in the backing bean with setValue().
    The problem I have is that the data control for selectOneChoice is loaded before the inputText or backingBean is loaded. Therefore, the parameter is null.
    I tested the same combination in an ADF web app and it works fine. In the app, the inputText and the backingBean are loaded first and then the value of inputText is sent to the data control.
    How can I change the order of the execution? I need to make the inputText and backingBean loading first before the data control for the list of values loading.
    Edited by: user626218 on Oct 10, 2012 9:25 PM

    Hi,
    The inputText is pre-populated based on the user profile in the BPM instance. I tried to render the selectOneChoice if the value of the inputText exists but the data control for selectOneChoice is loaded before the backingBean so it keeps getting a null as parameter.

  • Web service based data Control lost it's operations

    HELP!!
    I came back into a Jdeveloper project that had web services exposed as data controls and now the operations and their returns are missing in the Data Control Palette!!
    All I see is the Data Control name, NO operations under them.
    How do I get this back easily?

    Hi,
    the sample was built in 11.1.1.3, which however should not matter. The arguments are not manually added to the metadata. Instead your web service method must have it defined as an argument. ADF WS Data Control then makes sure the parameter metadata is generated as well, when you create the WS DC
    Frank

  • Clear Pojo based data control cache

    Dear All,
    I have a BTF added as region, that uses POJO data control and fetches data from stored procedure,
    I want to clear cache of the iterator of page before opening the jsff..
    Can any one guide me over this
    Regards,
    jdev 11.1.1.5.0 adf

    bump

  • Dataobject scope and howto set property in javabean - n00b question?

    1. I try to use my JavaBean in uix page as DataObject ( with generated adapter ).
    It works fine for geter methods to render properties but hot to set properties ( call setters )?
    2. That JavaBean calls long select method in BMP entity bean and I wonder what is a "scope" ( as it is in jsp:useBean ) of my DataObject wrapped JavaBean.

    1. I try to use my JavaBean in uix page as DataObject ( with generated adapter ).
    It works fine for geter methods to render properties but hot to set properties ( call setters )?You'll need to use Java code in an event handler. Or, you can use
    the built-in UIX-Struts integration support, and let Struts automatically
    set the JavaBean properties.
    JDev 9.0.4 will include a <set> EventHandler that will provide declarative support for
    setting properties of JavaBeans, e.g., grabbing a property from the request and setting
    it on a JavaBean from entirely within UIX.
    2. That JavaBean calls long select method in BMP entity bean and I wonder what is a
    "scope" ( as it is in jsp:useBean ) of my DataObject wrapped JavaBean.If the DataObject is created during rendering, its lifetime is a single request.
    However, a DataObject wrapper that only lives for a single request can easily
    wrap a JavaBean that lives for multiple requests.
    I wouldn't worry about caching the DataObject wrappers - they're very lightweight.
    But if your JavaBean is expensive to create, then by all means cache that JavaBean.

  • NULL values and Data Control based on Web Service

    One of my ADF control is based on a Data Control created through a web service. Every thing is working fine except the way ADF control is handling the null values return by the web service based data control.
    For example for null columns the web service is sending the following:
    <ns0:beginDate xsi:nil="1"/>
    or
    <ns0:sourceCode xsi:nil="1"/>
    But the corresponding column in my ADF data control is trying to initialize itself using the value ‘[{nil=1}]’. It fails with the following error.
    2006-04-20 13:31:37.510 WARNING JBO-25009: Cannot create an object of type:java.util.Date with value:[{nil=1}]
    I will appreciate if someone could help me resolve this issue.
    Thanks,

    I tried again, but it seems that I'm unable to reproduce this in a test project which uses another data controls but is still as similar as possible to the original project in which I've encountered this behaviour.
    However, using a data control based on the same web service as in the original project, [{nil=1}] appears again instead of emtpy values.
    Is it possible that there is a significant difference in the generated wrapper classes? The underlying PL/SQL is the same (in strucutre) and the corresponding elements in the response XML of the web service are the same in the two cases, always like <ns0:someResponeValue xsi:nil="1"/>, so I don't know how it is possible that I can't reproduce this behaviour.
    A short description of the projects:
    Services/Model:
    I created a PL/SQL funcition in a package that returns a user type object. This return parameter consists of a non-empty string and a null value string. On top of this I created a PL/SQL web service and a data control for that.
    View/Controller:
    A JSF JSP page which has a read-only form showing the return values of the web service.
    Regards,
    Patrik

  • Bug in Data control generation against top link xml mapping class

    I encountered serious problem when generating data control from a revised version of our xml schema (top link classes).
    We change the structure by inserting element representing a node before the element that occurs more than once.
    The structure is now
    <xs:element name="classification-language-list">
    <xs:annotation>
    <xs:documentation xml:lang="fr">Liste des langues supportées par la classification</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="false">
    <xs:sequence>
    <xs:element name="classification-language" type="classification-languageType" maxOccurs="unbounded">
    <xs:annotation>
    <xs:documentation xml:lang="fr">Langue gerée par la classification</xs:documentation>
    </xs:annotation>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    As you can see the element that represent the list is not inherited from a type. It is described locally in the schema. This mean that top link generate a class in the parent implementation class. In our case classification-language-list is defined in the interface ClassificationType.java and in the class ClassificationTypeImpl.java.
    The data control xml file for Classification class is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="10.1.3.39.14"
    id="Classification"
    BeanClass="classification.toplinkInterface.Classification"
    Package="classification.toplinkInterface" isJavaBased="true">
    <Attribute Name="schemaVersion" Type="java.lang.String"/>
    <AccessorAttribute id="classificationCategoryList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationCategoryListType"/>
    <AccessorAttribute id="classificationEntryList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationEntryListType"/>
    <AccessorAttribute id="classificationExternalSystemList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationExternalSystemListType"/>
    <AccessorAttribute id="classificationLanguageList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationLanguageListType"/>
    <AccessorAttribute id="classificationNameList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationNameListType"/>
    <AccessorAttribute id="classificationVersionList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationVersionListType"/>
    </JavaBean>
    The data control xml file for ClassificationLanguageListType class is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="10.1.3.39.14"
    id="ClassificationLanguageListType"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationLanguageListType"
    Package="classification.toplinkInterface.ClassificationType"
    isJavaBased="true">
    <Attribute Name="schemaVersion" Type="java.lang.String"/>
    <AccessorAttribute id="classificationCategoryList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationCategoryListType"/>
    <AccessorAttribute id="classificationEntryList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationEntryListType"/>
    <AccessorAttribute id="classificationExternalSystemList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationExternalSystemListType"/>
    <AccessorAttribute id="classificationLanguageList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationLanguageListType"/>
    <AccessorAttribute id="classificationNameList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationNameListType"/>
    <AccessorAttribute id="classificationVersionList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationVersionListType"/>
    </JavaBean>
    This last data control definition is completely wrong.
    Here is the corresponding interface in ClassificationType.java:
    public interface ClassificationLanguageListType
    java.util.List<ClassificationLanguageType> getClassificationLanguage();
    The type was added manually.
    Here is the corresponding interface
    public interface ClassificationLanguageType
    public void setClassificationLanguageCode(java.lang.String value);
    public java.lang.String getClassificationLanguageCode();
    public void setClassificationLanguageLabel(java.lang.String value);
    public java.lang.String getClassificationLanguageLabel();
    It seem like a big bug ... in data control generation

    Solve the problem by generating a data control for the implementation class also. This will cause the data control xml file to be created for the java class also (if not only the interface will have a data control xml file generated).

  • Bug: Creating Web Service data Control

    Hi,
    I am facing a issue while creating a web service data control.
    While creating the data control I have given the path of the wsdl file saved in my filesystem. Once the data control is created, when I expand the created datacontrol in the data control palette, the output parameter is set of string while I expected it to generate ListOfQuote type. Here is the WSDL snippet. Is this a bug in JDeveloper? Please suggest a solution to this as without the proper output parameter, I am not abel to execute the web servce method call.
    WSDL:
    <?xml version="1.0" encoding="UTF-8"?><definitions
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsdLocal1="http://siebel.com/OrderManagement/Quote/Data"
    targetNamespace="http://siebel.com/OrderManagement/Quote/PSP"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:tns="http://siebel.com/OrderManagement/Quote/PSP"
    <types
    <xsd:schemaelementFormDefault="qualified"
    attributeFormDefault="unqualified"
    xmlns:xsdLocal1="http://siebel.com/OrderManagement/Quote/Data"
    targetNamespace="http://siebel.com/OrderManagement/Quote/Data"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    <xsd:annotation
    <xsd:documentation
    Copyright (C) 2001-2004 Siebel Systems, Inc. All rights reserved. Siebel XSD Generation</xsd:documentation
    </xsd:annotation
    <xsd:elementname="ListOfQuote"
    type="xsdLocal1:ListOfQuote"
    </xsd:element
    <xsd:complexTypename="ListOfQuoteTopElmt"
    <xsd:sequence
    <xsd:elementname="ListOfQuote"
    maxOccurs="1"
    minOccurs="1"
    type="xsdLocal1:ListOfQuote"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    <xsd:complexTypename="ListOfQuote"
    <xsd:sequence
    <xsd:elementname="Quote"
    maxOccurs="unbounded"
    minOccurs="0"
    type="xsdLocal1:Quote"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    <xsd:complexTypename="Quote"
    <xsd:sequence
    <xsd:elementname="ShippingStreetAddress"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string200"
    </xsd:element
    <xsd:elementname="ShippingCountry"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="MRCTotal"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="NRCTotal"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ExchangeDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="AccountType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="AccountContractedProductsOnlyFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="Status"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Revision"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="QuoteType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="QuoteNumber"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="PrimaryOrganizationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="PriceListId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="OpportunityId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="IntegrationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="DueDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Discount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CurrencyCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ContactId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Active"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="AccountId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Name"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="Updated"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShippingState"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string10"
    </xsd:element
    <xsd:elementname="StartDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShippingPostalCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Id"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="EndDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Created"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ConflictId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ShippingCity"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="AccountLoc"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="Account"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string75"
    </xsd:element
    <xsd:elementname="ListOfQuoteItem"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:ListOfQuoteItem"
    </xsd:element
    </xsd:sequence
    <xsd:attributename="searchspec"
    type="xsd:string"
    </xsd:attribute
    </xsd:complexType
    <xsd:complexTypename="ListOfQuoteItem"
    <xsd:sequence
    <xsd:elementname="QuoteItem"
    maxOccurs="unbounded"
    minOccurs="0"
    type="xsdLocal1:QuoteItem"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    <xsd:complexTypename="QuoteItem"
    <xsd:sequence
    <xsd:elementname="RootAssetIntegrationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ProductStructureType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="IsPromEligible"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProductTypeCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ClassId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="UsageAssetProductId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShipToState"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShipToPostalCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShipToCountry"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShipToCity"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="RootBundleFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="PricingAdjustmentAmount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="MinPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="MaxPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="HeaderDiscountAmount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CoveredProductNetPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CoveredAssetProductId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Cost"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="AccountId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="VolumeUpsellMessage"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string250"
    </xsd:element
    <xsd:elementname="VolumeUpsellItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="VolumeDiscountItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="VolumeDiscountId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="UnitofMeasure"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ServicePricePercent"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ServicePriceMethod"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="SalesServiceFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="RootQuoteItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProductXAClassId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdPromSourceId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdPromRuleId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdPromInstanceId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdPromId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PriceType"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PortItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="NRCCxTotal"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="MRCCxTotal"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="LineNumber"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ItemPriceListId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="IntegrationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="QuoteId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ForcastableFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ExtendedQuantityRequested"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ExcludePricingFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="ExchangeDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="EligibilityStatus"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="EligibilityReason"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string500"
    </xsd:element
    <xsd:elementname="Discount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Description"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string255"
    </xsd:element
    <xsd:elementname="CurrentPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CurrencyCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string20"
    </xsd:element
    <xsd:elementname="CoveredProductId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CfgType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="CfgStateCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="AssetIntegrationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ActionCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="CoveredQuoteItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="VolumeUpsellItem"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="VolumeDiscountItem"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="Updated"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="SequenceNumber"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProductLineId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ProdPromName"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PriceListId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PrePickCD"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="PostPickCD"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ParentQuoteItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="NeedRefreshBasePrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="InclusiveEligibilityFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Id"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="HasGenerics"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="EffectiveTo"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="EffectiveFrom"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Created"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ConflictId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ConfigurationModelId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="UnitPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="SmartPartNumber"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string250"
    </xsd:element
    <xsd:elementname="RollupItemPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="RollupAmount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Quantity"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProductId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PricingComments"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string250"
    </xsd:element
    <xsd:elementname="OrigListPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Name"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string100"
    </xsd:element
    <xsd:elementname="ListPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="DiscountSource"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="DiscountPercent"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="DiscountAmount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ListOfQuoteItemXA"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:ListOfQuoteItemXA"
    </xsd:element
    <xsd:elementname="QuoteItem"
    maxOccurs="unbounded"
    minOccurs="0"
    type="xsdLocal1:QuoteItem"
    </xsd:element
    </xsd:sequence
    <xsd:attributename="searchspec"
    type="xsd:string"
    </xsd:attribute
    <xsd:attributename="operation"
    type="xsd:string"
    </xsd:attribute
    </xsd:complexType
    <xsd:complexTypename="ListOfQuoteItemXA"
    <xsd:sequence
    <xsd:elementname="QuoteItemXA"
    maxOccurs="unbounded"
    minOccurs="0"
    type="xsdLocal1:QuoteItemXA"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    <xsd:complexTypename="QuoteItemXA"
    <xsd:sequence
    <xsd:elementname="UnitofMeasure"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Sequence"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Required"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="ReadOnly"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="Attribute"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string75"
    </xsd:element
    <xsd:elementname="LOVType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Hidden"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="DisplayName"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string100"
    </xsd:element
    <xsd:elementname="ActionCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="XAId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Updated"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ObjectId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Id"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Created"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ConflictId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Validation"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string250"
    </xsd:element
    <xsd:elementname="PropTypeCD"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Value"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string100"
    </xsd:element
    </xsd:sequence
    <xsd:attributename="searchspec"
    type="xsd:string"
    </xsd:attribute
    <xsd:attributename="operation"
    type="xsd:string"
    </xsd:attribute
    </xsd:complexType
    <xsd:simpleTypename="string500"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="500"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string250"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="250"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string50"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="50"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string255"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="255"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string10"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="10"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string75"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="75"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string30"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="30"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string100"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="100"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string1"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="1"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string200"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="200"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string20"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="20"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    </xsd:schema
    <xsd:schemaelementFormDefault="qualified"
    attributeFormDefault="unqualified"
    targetNamespace="http://siebel.com/OrderManagement/Quote/PSP"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    <xsd:importnamespace="http://siebel.com/OrderManagement/Quote/Data"
    </xsd:import
    <xsd:elementname="CalculatePrice_Input"
    <xsd:complexType
    <xsd:sequence
    <xsd:elementref="xsdLocal1:ListOfQuote"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    </xsd:element
    <xsd:elementname="CalculatePrice_Output"
    <xsd:complexType
    <xsd:sequence
    <xsd:elementref="xsdLocal1:ListOfQuote"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    </xsd:element
    </xsd:schema
    </types
    <messagename="CalculatePrice_Input"
    <partname="CalculatePrice_Input"
    element="tns:CalculatePrice_Input"
    </part
    </message
    <messagename="CalculatePrice_Output"
    <partname="CalculatePrice_Output"
    element="tns:CalculatePrice_Output"
    </part
    </message
    <portTypename="CalculatePricePort"
    <operationname="CalculatePrice"
    <inputmessage="tns:CalculatePrice_Input"
    </input
    <outputmessage="tns:CalculatePrice_Output"
    </output
    </operation
    </portType
    <bindingname="CalculatePricePort"
    type="tns:CalculatePricePort"
    <soap:bindingtransport="http://schemas.xmlsoap.org/soap/http"
    style="document"
    </soap:binding
    <operationname="CalculatePrice"
    <soap:operationsoapAction="document/http://siebel.com/OrderManagement/Quote/PSP:CalculatePrice"
    </soap:operation
    <input
    <soap:bodyuse="literal"
    </soap:body
    </input
    <output
    <soap:bodyuse="literal"
    </soap:body
    </output
    </operation
    </binding
    <servicename="CalculatePriceWS"
    <portbinding="tns:CalculatePricePort"
    name="CalculatePricePort"
    <soap:addresslocation="http://130.35.90.150/eai_enu/start.swe?SWEExtSource=SecureWebService&amp;SWEExtCmd=Execute&amp;UserName=SADMIN&amp;Password=SADMIN"
    </soap:address
    </port
    </service
    </definitions

    Thanks Frank for your response. It will be of great help if you can tell me what change I should do in data control metadata to make this work. Also, if I change the Complex Type in WSDL to something like below..will it work?
    <!--
    <sequence>
    <element name="el" type="anyType" nillable="true"/>
    </sequence>
    -->
    <sequence>
    <element name="Error_spcCode">
    <complexType>
    <sequence>
    <any/>
    </sequence>
    </complexType>
    </element>
    </sequence>
    Thanks,
    Sudha.

  • Clear POJO Data control cache

    Hi I am using Jdev 11.1.1.7
    I have a POJO based Data control which am using for tree structure.
    I have this tree inside a popup.
    So when cancelling or after the purpose of the popup is over.
    I want to clear the cache of the data control.
    I tried several ways to do that like having a methods in my java class where making the object  null and calling the methods on cancel.
    But nothing worked .
    How to clear the Pojo DC.

    Hi AlejandroTLanz   ,
    I tried the above method.
    I created a method in Java class which is used to make the List null used by the tree.
    And then calling finditerator.executequery.
    I could see that the list is getting null.
    But In Java sampler It still shows that Objects are present.
    I guess the Object are still in data control cache...
    I tried to clear the DC Cache by calling the DC.resetMethod.
    But nothing worked

  • POJO Data Control af:table with selectOneChoice

    Hello All,
    JDeveloper 11.1.1.6/7
    I have a peculiar issue that I am trying to solve.
    I have a POJO based data control and an af:table based out of it. One of the fields (category) is to be a selectOneChoice driven by a WS Data Control. When I drag-drop the target attribute (category) as a Select One Choice and create a dynamic list based on the WS Data Control the row becomes uneditable.
    The selectOneChoice from the jspx:
              <af:column headerText="#{bindings.children.hints.category.label}"
                         id="c3">
                <af:selectOneChoice value="#{row.bindings.category.inputValue}"
                                    label="#{row.bindings.category.label}" autoSubmit="true"
                                    required="#{bindings.children.hints.category.mandatory}"
                                    shortDesc="#{bindings.children.hints.category.tooltip}"
                                    id="soc1">
                  <f:selectItems value="#{row.bindings.category.items}" id="si1"/>
                </af:selectOneChoice>
              </af:column>
    The relevant sections from the pageDef are as follows:
    <tree IterBinding="childrenIterator" id="children">
          <nodeDefinition DefName="info.bijesh.samples.ws.model.Children"
                          Name="children0">
            <AttrNames>
              <Item Value="id"/>
              <Item Value="name"/>
              <Item Value="category" Binds="category"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
    <list IterBinding="childrenIterator" id="category" DTSupportsMRU="true"
              StaticList="false" ListIter="ReturnIterator">
          <AttrNames>
            <Item Value="category"/>
          </AttrNames>
          <ListAttrNames>
            <Item Value="categoryCode"/>
          </ListAttrNames>
          <ListDisplayAttrNames>
            <Item Value="categoryDisplay"/>
          </ListDisplayAttrNames>
        </list>
    If I remove the Binds attribute from the Item definition, then the row becomes active but of course the drop-down list is empty. Any ideas on what I am doing wrong. I have uploaded the sample workspaces here - http://www.bijesh.info/bijesh/ADFWS_TestCase.zip. WebServiceHost contains the LOV Web Service and the WSClient workspace contains the test page.

    Hi,
    there is a bug I filed this week on that issue. Could it be you filed the issue as a SR with support? Because this is where I got the test case from. For me the problem reproduced witha static list as well. So if you want to check if this is the same you see, please try a static list in the SOC. If this too makes the field un-editable then its the same effect. The testcase I had was 11.1.1.7 and I fixed an issue in its POJO model to run the sample (just in case you belong to the same customer). I didn't test with 11.1.1.6 as obviously the bean data control is different in 11.1.1.7 (at least it complained about a missing class when I tried in 11.1.1.6).
    If the testcase I true is not yours, please contact customer support with your test case or send it my way in a zip file renamed to "unzip"
    Frank

  • JavaBeans Data Control / Managed beans interaction

    Working in JDev/ADF 11g
    I have an Application Scoped ADF managed bean that initializes some services for my ADF application. (These are non-database backed business services and so they do not integrate as tightly with Jdev as data controls). They require some constructor arguments and other initialization parameters and so they cannot be written as pure beans.
    I wrote Java Beans to use as data controls that wrap these services. What I would like to do is to keep the creation of these services in the application scoped bean, so they can be used programmatically in other areas. When the data controls beans are initialized, I want to grab their underlying services from the application scoped bean via the ADFContext.
    My issue is that at the time the data control beans are instantiated, the ADFContext returns null when accessing the application scoped bean - ie it has not been created yet.
    What is the proper way to pass initialization data to JavaBean data controls? Ideally I could simply pass the data control a reference to its underlying service.
    If Im going about this all the wrong way, with the application scoped bean holding the application wide business services, please feel free to advise me otherwise.
    Thanks!

    Okay - so I figured out one way to do this (detailed below), but my question still stands as to if there is a proper way to get information to a JavaBean data control when it is instantiated.
    What I just learned is that although my application scoped bean does not exist when the data control is created, it can exist when the the data control is called by the .jspx. I say 'can' because it will only exist if the .jspx backing bean references the application scoped bean as a managed property. i.e. ADF will create the data control, create the page bean, create the application bean (b/c the page needs it), and then call the data control, at which point the data control will find the application scoped bean. This is sort of a hack, since it requires an unintuitive setting for it work. so I think my question still stands, how to pass data from the application scoped bean to the data control.

  • Creating a adf page based on webservice data control

    hello
    i am using latest version of jdev 11g from otn.
    i created a VO based on EO and define a view criteria as well. i added that to a AM and exposed it as web service and deployed to a wls server.
    now i wish to created a adf page based on it so i created a ws data control based on the wsdl.
    in the data control section now i see service as findSearchOrder. When i try to drop it on the page it created a adf form with two input boxes findControl and findCriteria.
    So, I am not able to understand how exactly these are going to map to the actual search parameters?
    Please advise

    If you want to retrieve all records, you can set them to null.
    But of course, it depends on what you want to archive (I suppose you want a search form?).
    Please give us your complete JDev version. (Help > About > About tab)

  • Why : Data Control entry not expandable/empty - ADF Task flow based on HT.

    Hi All,
    I've hoping to create an ADF Task flow based on a human task. I have a stand alone ADF application within the ViewController of which I am attempting to create this task flow. The resultant data control entry doesn't seem to be expandable.
    Questions
    1. When creating an ADF Taskflow based on a human task, should it always be within a project in the same application as the SOA components?
    2. If no, is the resultant human task data control empty or not expandable because the xsd for the HT is based on the MDS? I have configured all the MDS connections within my application.
    JDev : 11.1.1.4
    Thanks
    PP

    Hi,
    Answers :-
    1. No, it is not necessary that your ADF Taskflow based on Human Task should be in the same application where the SOA Project Resides. But for the deployment of that ADF Taskflow you will need the SOA Project.You can add that project whenever you want to deploy.
    2. It might be the cause due to the MDS Configuration .
    Do one thing , while creating the ADF Taskflow based on Human Task , you do select the .task file via the file system not from the MDS.
    If you will select the .Task file of your soa project then it will ask you to name the Taskflow, just name the taskflow as you want and say ok.
    After creating the taskflow, it will add a lot of xml files in your project and it will create a data control of it.
    Hope it helps!!
    Regards,
    Shah

  • T.code FS00: changing the SORT KEY in the 'Control data'

    Hi All,
    I need to change the SORT KEY in the 'Control data' of a G/L master data.
    Is there a SAP standard program by which the field 'Assignment' is updated.
    Thanks
    Gandalf

    Sorry,
    i did't mean updating a field ...
    I meant:
    is there a program which changes the content of the field 'Assignment' according to the new content of the field 'Sort key'?
    Thanks

  • Web service data control based on SOA flow

    Hello,
    I have an ADF application developed with JDev 11.1.1.2.0. This application uses some web service data controls based on a SOA flow that receives a complex data type as an input parameter and also returns a collection of complex data type.
    I have a page that has some comboboxes boundto the input parameters for the flow, a button that is bound to an operation exposed by the web service and a table binded to the return of the web service.
    The problem is that when i press the button, multiple instances of the SOA web services are created.
    Can you please help with this problem?
    Thanks,
    Daniela

    Daniela,
    Are you executing the method programatically from bean? Can elaborate on what you mean by
    The problem is that when i press the button, multiple instances of the SOA web services are created. Also, check out this blog on executing the method programatically by constructing the parameters to be passed.
    https://blogs.oracle.com/aramamoo/entry/executing_put_operation_of_rest
    -Arun

Maybe you are looking for