Attribute Binding Editor

Dear All;
I am working Using Jdev 10.1.3.3, and up till recently all was well, until i got an exception in a view once, and jdev restarted,
and ever since the Attribute Binding Editor is not displaying the bindings, it shows the left column data collection, but nothing in the right
and while the iterator drop down is filled with data it never comes selected, although the page definition file is pointing out to the data,
i thought this was a jdev error, but when i moved the project to another computer, on another jdev the Attribute Binding Editor was stil not displaying
data.
Is there a place or an option in jdev, that handles these stuff that might have been un-selected or a feature has been turned off
Thank you in advance for your replies
regards
Halim

Hi Halim,
you should first check if this problem happens in other projects (workspaces) as well. For me it looks like there's something wrong in the one workspace.
If you don't see the same problem in other applications you should try to go back to an older version of the application and see if things are working there.
My guess is that one of the files jdev handles automatically got corrupt and is causing the problem. The bad news is, that it's not sticking out which one.
Therefore it's best to get back to a working project and go on from there (may be by comparing changed files)
Timo

Similar Messages

  • XSLT transformation in binding editor

    Hi,
    In the new version of the workflow builder we are so lucky, that not only can we use programmed bindings but also XSLT transformation.
    I have tried to create a XSLT that transforms the wf XML container to the Step XML container, but it does not change the containervalue as i hoped. Does anyone have experience with XSLT in the binding editor?
    What format/schema should I end up the in the stepcontainer?
    Hopy you can help?
    Kind regards
    Mikkel

    By the way, this is the XSLT transformation that works fine if we remove that ":ns4" from the attribute name:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:source="/com/grifols/gds/webapp/inventoryCount/units/queries/common/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    version="2.0">
    <xsl:output method="xml" encoding="iso-8859-1" indent="yes"/>
    <xsl:template match="source:*">
    <xsl:element name="{local-name()}" namespace="http://www.something.else">
    <xsl:apply-templates select="@*|node()"/>
    </xsl:element>
    </xsl:template>
    <xsl:template match="@*|node()">
    <xsl:copy>
    <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
    </xsl:template>
    </xsl:stylesheet>

  • Binding Editors not present in ADF UIX

    Hi
    I have been having some trouble with accessing both the Boolean Binding Editor and the LOV Editor from the structure window, when in design mode of an ADF UIX page.
    My bindings are present, but when I 'Edit' the binding, the only option available to me is to select the Iterator and the attribute.
    The documentation keeps telling me to select different tabs, but there aren't any!
    Anyone had this problem????
    I'm on;
    Oracle IDE     9.0.5.16.27
    Business Components Version     9.0.5.16.0
    UML Modelers Version     9.0.5.14.78
    Versioning Support     9.0.5.14.78
    WebDAV Support Version     9.0.5.14.78
    Struts Modeler Version     9.0.5.4.22
    Designer Generators Framework     9.0.5.5.71
    ADF UIX     2.2.8
    java.version     1.4.2
    java.home     C:\j2sdk1.4.2_04\jre
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     1.4.2-b28
    user.language     en
    user.region     <no value assigned>
    user.name     chris.bell
    user.home     C:\Documents and Settings\chris.bell
    user.dir     C:\Software\Oracle\jdev9052\jdev\bin
    os.name     Windows XP
    os.version     5.1
    os.arch     x86
    http.proxyHost     <no value assigned>
    http.proxyPort     <no value assigned>
    http.nonProxyHosts     <no value assigned>
    ide.patches     
    Thanks in advance
    Chris

    the primaryclient action should pass the rowkey of the current row (${uix.current.rowKeyStr}) as a parameter. This way the server can find the corresponding row on the server in an event handler.
    see
    http://www.oracle.com/technology/products/jdev/tips/jacobi/edittable/tip_adfuixtable_edit.html

  • JDeveloper 10g, ADF Faces & BC: List Binding Editor Bug?

    This problem comes up quite frequently, we have a form based on an entity based vo, one of the attributes is based on a read only list vo. When using the List Binding Editor to generate the jsp/pageDef code, the attributes do not show up in the "matching" pane.
    http://i108.photobucket.com/albums/n23/zeoneozero/error.gif
    We end up having to use the AM that is not nested to get the List Binding Editor to recognize the attributes, but then we need to manually go into the pageDef and add the RootAM reference. Anyone come across this?

    Hi,
    you don't mention a JDeveloper version. If you are not on a recent version, can you try one. If it reproduces, please provide steps required for a reproducible test case
    Frank

  • How to bypass object between two collections in tree binding editor

    We have a object structure like this one
    object 1 -contains-> collection of objects 2 -contains-> object 3 -contains-> collection of objects 4
    we would like to display this object structure in a master - inline table
    The first object is not representative and we don't need it.
    The first collection is our master level. We selected the corresponding iterator in the data control palette and dropped it into our web page as a master-inline table.
    The second object is not representative and we don't need it, but it is there.
    The second collection is our inline table.
    So we would like to have in our table :
    collection of objects -contains-> collection of objects
    The Tree binding editor show the iterator we selected and we setted the first collection as the data collection definition. We were able to set the display attribute we wanted to show and setted the second object (object 3) in the branch rule accessor. This is our first rule.
    iterator -> collection of objects 2 -> object 3
    For the same iterator we were able to select the second object (object 3) as the data collection definition and an attribute to display (it is not relevant for us but ...). We setted the second collection (collection of objects 4
    ) in the branch rule accessor. This is our second rule.
    Our problem is that we are not able to continue our job ...
    The list of iterator don't list the iterator that correspond to the second collection of object nor the data collection definition list the corresponding collection.
    Is it a way to edit these defintions directly in the page definition ?

    We have a object structure like this one
    object 1 -contains-> collection of objects 2 -contains-> object 3 -contains-> collection of objects 4
    we would like to display this object structure in a master - inline table
    The first object is not representative and we don't need it.
    The first collection is our master level. We selected the corresponding iterator in the data control palette and dropped it into our web page as a master-inline table.
    The second object is not representative and we don't need it, but it is there.
    The second collection is our inline table.
    So we would like to have in our table :
    collection of objects -contains-> collection of objects
    The Tree binding editor show the iterator we selected and we setted the first collection as the data collection definition. We were able to set the display attribute we wanted to show and setted the second object (object 3) in the branch rule accessor. This is our first rule.
    iterator -> collection of objects 2 -> object 3
    For the same iterator we were able to select the second object (object 3) as the data collection definition and an attribute to display (it is not relevant for us but ...). We setted the second collection (collection of objects 4
    ) in the branch rule accessor. This is our second rule.
    Our problem is that we are not able to continue our job ...
    The list of iterator don't list the iterator that correspond to the second collection of object nor the data collection definition list the corresponding collection.
    Is it a way to edit these defintions directly in the page definition ?

  • JDEV 10.1.2 Can not open List Binding Editor

    Hi,
    I am using JDEV 10.1.2 on a Windows platform for a project with
    the web application default technology (ADF UIX, JSP, Struts)
    and I am getting some problems after having created successfully
    a certain number of BC and associated jsp pages.
    The problem that I have now is that the "List Binding Editor" window can not
    be opened. I have drag&dropped an attribute from the data control panel
    into a jsp page as "Single Select List".
    The associated attribute has been added to the list in the structure panel
    but when I try to edit this item to open the "List Binding Editor", I get no response.
    So I am wondering if there is a limitation in the number of BC in the JDEV version I am using ?
    Best Regards.

    Hi,
    My problem was solved, I rebuild my Application Module and evry things go fine now.
    Sorry for this message.

  • Attribute Binding dynamically created fails validation

    Hello.
    In my taskflow I need to create both an Attribute Binding and a UIComponent (RichInputText), this is the code:
    DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding it = ADFUtils.findIterator("MyViewIterator");
    JUCtrlAttrsBinding nb = JUCtrlAttrsBinding.createAttributeBinding((JUFormBinding)dcBindings,null, "MyView", null, "MyViewIterator", "MyNewField");
    dcBindings.addControlBinding("MyNewField", nb);
    Then I create the RichInputText in a PanelFormLayout with his validator:
    *ValidatorTag.BindingValidator vb = new ValidatorTag.BindingValidator(null,JSFUtils.getValueExpression("#{bindings.MyNewField.validator}"));*
    *((UIXEditableValue)newRichInputText).addValidator(vb);*
    The problem is on the validator.
    I see the new InputText in my page and the value is right, but when I submit the field I see this error:
    "Unable to resolve a Validator instance using either validatorId '' or binding '#{bindings.MyNewField.validator}'."
    If I create the Attribute Binding at design time (in my PageDef) and I create dynamically the UIComponent with the validator, there is no problem!!!
    Why with the dynamic creation of the Attribute Binding, the validator doesn't works (the others bindings properties work perfectly) ?

    Use
    Checkbox.bindChecked("<<ValueAttributeName>>);
    or
    Checkbox.bindChecked("<<.ValueNode.ValueAttributeName>>);
    if the the attribute is inside a valuenode.
    Regards, Anilkumar

  • Attribute binding value not refreshed after transaction rollback

    Hi,
    Using ADF Faces/Trinidad + ADF Data Bindings + ADF Business Components.
    I was experimenting with task flows vs transaction control vs form validation and met the following problem.
    First, here's a little intro to my application design. A page template defines the layout. There's only one page in the application using a dynamic region to show a dynamic task flow. The template defines a menu containing navigation items; each item action changes the current dynamic task flow id.
    One of the flow starts with a data bound table listing users. Each row has an edit button to navigate to an edit form. The edit form is in a separate task flow as I want the automatic rollback triggered when a flow is abandoned.
    The problem occurs when I quit the form clicking a menu item AFTER a validation error occurred. Transaction is rollbacked as expected, however when I go back to the form (whatever row I choose), the invalid value that failed the previous validation is shown.
    It seems the attribute binding is not refreshed. To validate this hypothesis, I added a button that explicitly calls refreshControl on the attribute binding as shown below. When the button is clicked, the form shows the correct value.
        // In a managed bean
        public void refreshFirstName(ActionEvent evt)
            getBindingContainer().findCtrlBinding("FirstName").refreshControl();
        }I working on a possible workaround, but I've not succeeded yet. I'm looking into using the finalizer of the task flow (or possibly the initializer) to force a refresh of the control bindings.
    Any ideas?
    Thanx!
    Olivier

    Hi,
    I am experiencing similar strange behaviour, it sounds like it could be related, i am not using task flows though.
    I have a read only table, and when a user double-clicks on a row an af:popup is displayed which displays an edit form (contentDelivery is set to "lazyUncached" in the popup). Pressing the cancel button on the edit form executes a rollback and hides the popup. However, after this has occurred, whenever another row (or the same row) is selected in the read only table, the edit form will display data from the old record that was rolled back. I've noticed that the old data is only displayed in editable fields, while the correct data is displayed in read-only fields. I'm pretty sure the rollback works properly, and the iterator is on the correct row, just it is displaying incorrect data in the editable text fields. I've tried implementing cancel functionality with both a rollback action and refreshing the row using REFRESH_WITH_DB_FORGET_CHANGES, but the same issue exists regardless of which method is used. I've also noticed that the application starts behaving correctly again if the commit button is pressed.
    Has anyone come up with a workaround for this issue?
    By the way, is there any way we can keep track of the bug numbers that are mentioned in this forum?
    Thanks,
    Michael.

  • Container to Container binding in Workflow binding editor

    Hi all,
    I have an issue using Container --> Container binding in the Workflow binding editor (transaction SWF_BAM). What I want to do is to be able to extend the data provided by the event (i.e call a BAPI using values supplied) before assigning it to the target structure.
    This is what I have done:
    - Created an entry in Event Linkage: Application Object to Message Proxy, where the object type is BUS2005 (event RELEASED)
    and proxy is a generated proxy.
    - In the binding editor, I clicked in the Binding Instruction selection and chose Container --> Container as Binding Instruction.
    Now I have created my own class that implements the interface IF_SWF_IFS_BIND_TRANSFORM_CONT, so this class shows up in the drop down list under a section called Enhancement.
    - The class I created and implemented the interface, now contains three methods, where Transform is one. I have put a break point in this method and when I trigger the event (transaction SWUE) the debugger stops. So, the call to the method works fine.
    My problem is, that I cannot access the values provided by the event (these are supplied in parameter SOURCE_CONTAINER).
    Is there anyone who have used this technique and could supply some example code? Is there another technique that I can use to obtain the same result?
    Best regards
    Patrik Donaldson

    Hi to the both of you!
    Thanks for you answer. I will try to elaborate.
    My scenario is as follows. I want to react on the event CHANGED, of business object BUS2032 (SalesOrder). The information (field values) supplied by the container under EVTOBJECT (in the binding editor) does not fully correspond to what I need to populate in the receiver interface. I would like to send out i.e SalesOrderNumber and PricingProcedure to the receiver interface.
    Now, SalesOrderNumber is supplied by the container (_EVT_OBJECT-SalesDocument, as seen in the binding editor), but hte PricingProcedure would have to be looked up in table VBAK using SalesOrderNumber as a key.
    Issue 1: How do I get hold of the value of field SalesDocument in my class? (as I mentioned earlier I have created a class which references interface IF_SWF_IFS_BIND_TRANSFORM_CONT, so I have the transform method and I can put code there. I have put a break point, so I know processing stops there).
    I tried to following:
    CALL METHOD source_container->if_swf_ifs_parameter_container~get(
            EXPORTING
              name = 'SALESDOCUMENT'
            IMPORTING
              value = l_vbeln ).
    No, success (cx_swf_cnt_elem_not_found). Makes me think that SalesDocument is not a parameter of the event but something else.
    Issue 2: Once I have solved issue 1 and also lookup up the PricingProcedure. How do I go about setting my values in the receiver interface. I know I also have a reference to TARGET_CONTAINER in the TRANSFORM method, but where to go from there?
    Any clues would be grately appreciated. Being successful with this scenario, would open for many interesting possibilities.
    Best regards
    Patrik Donaldson

  • [ADF] - JDev does not show 'Tree Binding Editor' when dropping a ADF Tree..

    Hi All,
    I am trying to work trough the ADF Faces/Toplink 10.1.3 tutorial: 'Build an End-to-End J2EE Application with Toplink and ADF Faces'. When I get to the point that I have to place an 'ADF Tree' object on my panel JDeveloper is supposed to come up with the Tree Binding editor, but does not.
    I reinstalled JDeveloper, killed all unnecessary Windows XP (SP2) processes (firewall and fun services) and retried. The same problem happens. I tried to create a table and this works fine. Then I installed the same zip file on Linux and the Editor shows up. Finally I installed the same zip file with a colleague - no problems.
    Does anyone have an idea what could be wrong?
    Thanks in advance, Laszlo
    PS The exception JDev throws is:
    oracle.adfdtinternal.view.common.binding.operation.CreateOperation$CreateOperationXmlCommitException
    : Unmatched braces in the pattern.
    at oracle.adfdtinternal.view.common.binding.operation.CreateOperation._rollbackAllTransactio
    ns(CreateOperation.java:563)
    at oracle.adfdtinternal.view.common.binding.operation.CreateOperation.apply(CreateOperation.
    java:118)
    at oracle.bali.xml.model.datatransfer.operation.PerformOperationAction.actionPerformed(Perfo
    rmOperationAction.java:39)
    at oracle.bali.xml.share.ActionProxy.actionPerformed(ActionProxy.java:47)
    at oracle.bali.xml.gui.swing.dnd.DropMenuInvoker$CleanupProxy.actionPerformed(DropMenuInvoke
    r.java:235)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
    at java.awt.Component.processMouseEvent(Component.java:5488)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
    at java.awt.Component.processEvent(Component.java:5253)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3955)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1774)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: java.lang.IllegalArgumentException: Unmatched braces in the pattern.
    at java.text.MessageFormat.applyPattern(MessageFormat.java:468)
    at java.text.MessageFormat.<init>(MessageFormat.java:350)
    at java.text.MessageFormat.format(MessageFormat.java:803)
    at oracle.bali.xml.validator.Validator.getTranslatedString(Validator.java:1350)
    at oracle.bali.xml.validator.Validator._validateChildren(Validator.java:604)
    at oracle.bali.xml.validator.Validator._validateElement(Validator.java:477)
    at oracle.bali.xml.validator.Validator._validateChildren(Validator.java:560)
    at oracle.bali.xml.validator.Validator._validateElement(Validator.java:477)
    at oracle.bali.xml.validator.Validator._validateChildren(Validator.java:560)
    at oracle.bali.xml.validator.Validator._validateElement(Validator.java:477)
    at oracle.bali.xml.validator.Validator._validateElement(Validator.java:295)
    at oracle.bali.xml.validator.Validator.validateDocument(Validator.java:132)
    at oracle.bali.xml.validator.Validator.validateSubtree(Validator.java:83)
    at oracle.bali.xml.model.XmlModel._validateSubtree(XmlModel.java:3764)
    at oracle.bali.xml.model.XmlModel._validateDocument(XmlModel.java:3636)
    at oracle.bali.xml.model.XmlModel.__precommitTransaction(XmlModel.java:3056)
    at oracle.bali.xml.model.XmlContext.__precommitTransaction(XmlContext.java:1491)
    at oracle.bali.xml.model.XmlContext.__commitTransaction(XmlContext.java:1521)
    at oracle.bali.xml.model.XmlModel.__requestCommitTransaction(XmlModel.java:3089)
    at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:613)
    at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:593)
    at oracle.bali.xml.model.task.StandardTransactionTask.__commitWrapperTransaction(StandardTra
    nsactionTask.java:413)
    at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask
    .java:203)
    at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
    at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactio
    nManager.java:100)
    at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:979
    at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:863
    at oracle.adfdt.view.common.binding.utils.ADFBindingUtils.createControlBinding(ADFBindingUti
    ls.java:97)
    at oracle.adfdtinternal.view.faces.binding.provider.ADFTreeModelProvider.<init>(ADFTreeModel
    Provider.java:34)
    at oracle.adfdtinternal.view.faces.binding.provider.DefaultADFModelProviderFactory.createMod
    elProvider(DefaultADFModelProviderFactory.java:291)
    at oracle.adfdtinternal.view.common.binding.datatransfer.ADFBindingsProviderInfo.getData(ADF
    BindingsProviderInfo.java:40)
    at oracle.adfdtinternal.view.common.binding.datatransfer.BaseADFDataInfo.getData(BaseADFData
    Info.java:35)
    at oracle.adfdt.view.common.binding.utils.ADFBindingUtils.getTransferData(ADFBindingUtils.ja
    va:952)
    at oracle.adfdt.view.common.binding.utils.ADFBindingUtils.getTransferModelProvider(ADFBindin
    gUtils.java:976)
    at oracle.adfdtinternal.view.common.binding.datatransfer.ADFDocumentFragmentCreatorInfo.crea
    teDocumentFragment(ADFDocumentFragmentCreatorInfo.java:64)
    at oracle.adfdtinternal.view.common.binding.operation.CreateOperation.apply(CreateOperation.
    java:89)
    ... 29 more

    Solved it!
    When using windows the Control Panel --> Regional and Language Options --> Regional Options --> Standards and formats should be set to English (United States)...
    I hope development picks this up as a bug.

  • Iterator Binding + Attribute binding problem

    I have created a SelectOneListbox and an associated attirute binding in my pagedef. When I try to access the changed value in my managed bean event handler method - I get a null object. However the index for the changed value is passed fine.
    tempIter.getRowAtRangeIndex( index ) returns a null object.
    I tried using attribute binding - that does not work either.
    Managed bean:
    public void productChange(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    BindingContainer bc = this.getBindings();
    // get the selected department
    DCIteratorBinding tempIter = (DCIteratorBinding) bc.get("TempIterator");
    if ( tempIter != null ){
    Object newVal= (Object)valueChangeEvent.getNewValue();
    System.out.println("New Product value:"+newVal);
    String ss = (String)newVal.toString();
    Row rw = tempIter.getRowAtRangeIndex(Integer.parseInt(ss));
    if ( rw!=null ) {
    String[] attrs = rw.getAttributeNames();
    //Object prodName = (Object) rw.getAttribute("ProdId");
    System.out.println(" Attribute value:"+ attrs);
    } else System.out.println(" Null row ");
    //trying to get value from attribute binding
    AttributeBinding prodIdBinding =
    (AttributeBinding)getBindings().getControlBinding("TempId");
    if ( prodIdBinding != null){
    Object deptId = (Object)prodIdBinding.getInputValue();
    if ( deptId != null)
    System.out.println("Finally value:"+deptId.toString());
    else
    System.out.println("Cant access value for department id");
    } else System.out.println("**********Product id binding is null");
    Pagedef:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.41.57" id="lov6PageDef" Package="view.pageDefs">
    <parameters/>
    <executables>
    <iterator id="ProductViewIterator" RangeSize="-1" Binds="ProductView"
    DataControl="SRTest1DataControl"/>
    <iterator id="TempIterator" RangeSize="10" Binds="Temp"
    DataControl="SRTest1DataControl"/>
    </executables>
    <bindings>
    <table id="ProductView" IterBinding="ProductViewIterator">
    <AttrNames>
    <Item Value="ProdId"/>
    <Item Value="Name"/>
    <Item Value="Image"/>
    <Item Value="Description"/>
    </AttrNames>
    </table>
    <list id="TempTempId" IterBinding="TempIterator" StaticList="false"
    ListOperMode="0" ListIter="ProductViewIterator">
    <AttrNames>
    <Item Value="TempId"/>
    </AttrNames>
    <ListAttrNames>
    <Item Value="ProdId"/>
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="Name"/>
    </ListDisplayAttrNames>
    </list>
    <attributeValues IterBinding="TempIterator" id="TempName">
    <AttrNames>
    <Item Value="TempName"/>
    </AttrNames>
    </attributeValues>
    <methodAction id="displayProductValue"
    InstanceName="SRTest1DataControl.dataProvider"
    DataControl="SRTest1DataControl"
    MethodName="displayProductValue" RequiresUpdateModel="true"
    Action="999" IsViewObjectMethod="false"/>
    <attributeValues IterBinding="TempIterator" id="TempId">
    <AttrNames>
    <Item Value="TempId"/>
    </AttrNames>
    </attributeValues>
    </bindings>
    </pageDefinition>

    Frank,
    When I try to obtain the row directly using the code below I get a class cast exception.
    Row rw = prodIter.getRowAtRangeIndex(( (Integer)valueChangeEvent.getNewValue()).intValue());
    javax.faces.el.EvaluationException: java.lang.ClassCastException: oracle.jbo.domain.Number
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)
         at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1087)
         at oracle.adf.view.faces.component.UIXEditableValue.broadcast(UIXEditableValue.java:247)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:269)
         at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:363)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:98)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: oracle.jbo.domain.Number
         at Lov6.productChange(Lov6.java:49)
         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:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
         ... 28 more

  • Error: Attribute binding invalid for tag ganttChart according to TLD

    Hi,
    I am experimenting with writing my first custom tag and getting the stack trace:
    org.apache.jasper.JasperException: /GanttFaces.jsp(18,3) Attribute binding invalid for tag ganttChart according to TLD
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:234)
         org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:989)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:710)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
    when using a binding with my custom tag:
    <jg:ganttChart binding="#{ganttFaces.ganttChart}" id="gantt1" .... >
    The error message reads as if I have to make special considerations in the TLD file to enable binding, but I can't find anything about that. Thats how my tld file looks:
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>JGantt</shortname>
    <uri>http://netronic.de/jgantt/taglibJSF</uri>
    <info>My tag library </info>
    <tag>
    <name>ganttChart</name>
    <tagclass>de.netronic.jgantt.server.jsf.JGanttChartTag</tagclass>
    <info>The chart</info>
    <attribute>
         <name>id</name>
         <required>true</required>
         <rtexprvalue>false</rtexprvalue>
    </attribute>
    </tag>
    </taglib>
    Any idea what I am missing?
    Udo

    In your TLD, I do not see any binding attribute! you ahe to define it
    <attribute>
    <name>binding</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    Afterwards, you should create the setter method in your tag class: setBinding(String binding)

  • Help with binding editor.

    I created the container element in the task container of the same type as workflow container element (for which am trying to create the binding). Could anybody please walk me through the process of binding in the binding editor (drag and drop thing).
    And also, after I did the binding, how is this container element (in the task), accessible to the method. I mean will it be automatically bound to the method "import" parameter...(where I am using it to extract some other data).
    Regards
    Srinivas.

    Typo with name.
    Full points to Sridharan Bhooma!

  • Declarative component attribute binding

    Hi,
    I'm sure this is an easy one, but I can't find the answer on the forum.
    using JDev 11.1.1.3
    I have created a declarative component with text fields bound to attributes as described in the ADF Code Corner, created the ADF Component lib etc. When I use this component in a task flow in another project, I set the properties to fields in my managed bean which is declared in the task flow, however on submission I find that my text input fields (RichInputText objects) are null i.e. the binding didn't work. I'm not sure if I should be creating 'attribute bindings' in the page definition, or if teh managed bean should be declared in the ADF component library, or if this should just work and I have done something silly.
    The examples usually bind the exposed attribute properties to a data control field, I'm not sure how it works for a managed bean, can anyone point me in the right direction?
    thanks in advance
    steve

    Hi,
    it should work for managed beans as well. If your managed bean exposes a setter/getter pair, then this can be bound to the declarative component attribute binding. However, keep in mind that if the managed bean is in request scope, the bean is refreshed and this re-setted for each request. So the bean should have a scope of at least viewScope
    Frank

  • UIX: How to invoke List Binding Editor?

    When building input form, I am dropping some message choice components which then automatically opens List Binding Editor.
    However, if I want to modify something, how to invoke List Binding Editor for the EXISTING component on the UIX page?

    0. With your UIX page active in the editor
    1. Select the "UI Model" tab in the Structure Window
    2. Select the list binding in the UI model
    (also known as your binding container)
    3. Right-mouse Edit...

Maybe you are looking for

  • After a recent Adobe update, CS6 will not run on my OSX 10.8

    The icon appears disabled.  When selecting the app I get the error msg:  "You can't open the application "Adobe Photoshop CW6.app"  because it is not supported on this type of Mac.  CS6 worked fine after upgrading to Mountain Lion.  It appears an upd

  • How to make tabs take custom heights

    Hey Guys i have Jdev 11.1.1.6.0 i want to make tabs in normal and hover and selected state to take my custom height. i give it in css my custom height but i really suffered it doesn't work it takes default height and its small waiting for your suppor

  • Changing data store location !!

    Hi Do anyone know how to change the data store location C:\Users\[USERNAME]\AppData\Local\Nokia\Nokia Suite to a preferred location as I recently lost lot of my messages and sync done in OVI?? 

  • RAW File Support for editing in external editors

    Is there some way to make A3 to allow me to pass the RAW file to an external editor and then pass it back with all the non destructive changes made? Basically A3 -> CaptureNX2 -> A3 with file changes? I love the interface for A3 and the ease of workf

  • After new update battery drains in minutes. Mine and my wifes. Both iphone 5.

    After latest update our phones last 2 hrs max. Did a factory reset no change. Also having issues with wifi connections.