ContextException : cannot bind or add element

Hi all,
I can't find an answer to my problem.
Hope you'll be able to
Here are the facts :
Context :
I'm currently creating a TeamViewer for Managers to be able to select the employees they manage.
For that, I have a table which lists them all, displaying their infos in specific columns.
Both columns and data are dynamic and are specified in the SAP back end.
I use the following bapis to get these informations :
- HRWPC_RFC_GET_COL_INFO (returns columns informations)
- HRWPC_RFC_GET_OBJECTS (returns employees personal numbers -> pernr)
Fact is the second one doesn't return as much informations as needed.
So I have then to call a third bapi :
- MYBAPI_USER_INFOS (return informations about an employee)
which, from an employee pernr, returns a lot more informations about him.
Fact is I manage to use efficiently both first bapis, so I get columns and pernr data.
Then I would like to get in a context node the list of enhanced informations of the employees, which is mapped to my view context and applied to a dynamic table.
My problem :
While adding programmaticaly the columns to my context node, I get the following exception : "com.sap.tc.webdynpro.progmodel.context.ContextException: Node(TeamViewerApp.MainViewColumns): cannot bind or add element, because it is already bound to a node" error.
Error summary :
- com.sap.tc.webdynpro.progmodel.context.ContextException: Node(TeamViewerApp.MainViewColumns): cannot bind or add element, because it is already bound to a node
-- at com.sap.tc.webdynpro.progmodel.context.Node.prepareAddElement(Node.java:649)
-- at com.sap.tc.webdynpro.progmodel.context.Node.addElement(Node.java:635)
-- at com.airfrance.tv1.teamviewer.components.TeamViewerApp.updateMainView(*TeamViewerApp.java:560*)
-- at com.airfrance.tv1.teamviewer.components.wdp.InternalTeamViewerApp.updateMainView(InternalTeamViewerApp.java:534)
-- at com.airfrance.tv1.teamviewer.components.views.TeamViewerView.onActionChangeView(TeamViewerView.java:197)
TeamViewerComp code :
     wdThis.getColumnsMainView(viewId, userLanguage, userId); // get the columns infos
     IGetColumns_ResultNode columns = wdContext.nodeGetColumns_Result();
     for(int i=0; i<columns.size(); i++) {
          IWDNodeElement column = columns.getElementAt(i); // get the #i column
          wdContext.nodeMainViewColumns().addElement(column);  +//add this column to my other context +
My context :
Component
- GetColumns (Model)
-- GetColumns_Output
--- GetColumns_Result
Colname
Heading
-- Langu
-- Uname
-- Viewid
- MainViewColumns (Value)
-- lot of infos
- SubViewColumns (Value)
-- lot of infos
My environment :
- os : Windows XP SP2
- procesor : 3GHz
- memory : 3Gb
- ide : SAP NWDS 7.0.12
- server JEE : 7.00 SP12
- server VM : Java Sun 1.4.2_12
Any help will be really appreciated
Thank you for your time!
Alphonse

HI,
com.sap.tc.webdynpro.progmodel.context.ContextException: Node(HrChiefRedressalView.Ctx_FilteredOutput): cannot bind or add element, because it is already bound to a node
Try to bind or add element from the source of the node instead of mapped one.
Ex:
Controller->View
If your node is mapped from controller to view. bind/add element should be done at controller level not at view level.
Regards
Ayyapparaj

Similar Messages

  • Adding elements to a node: cannot bind or add element

    Hallo,
    I want add emenents of my phases and subphases to a table, but I get this exception:
    ContextException: Node(RoadMapVIew.phase_subphase_table): cannot bind or add element, because it is already bound to a node
    The code is the following:
    int phaseSize = processT.getSequenceGroup1().getPhaseList().getSequenceGroup1().getPhase().length;
                     String currentStatus = "";
                     String currentPhaseId = "";
                     String currentSubphaseId = "";
                     String currentNotifyId = "";
                     String lastStatus = "";
                     for (int i = 0; i < phaseSize; i++)
    PhaseT phaseT = processT.getSequenceGroup1().getPhaseList().getSequenceGroup1().getPhase();
                         IPrivateRoadMapVIew.IPhase_subphase_tableElement tableElement = wdContext.nodePhase_subphase_table().createPhase_subphase_tableElement();
                          tableElement.setPhase_desc(phaseT.getSequenceGroup1().getPhaseDesc());
                          tableElement.setPhase_id(phaseT.getSequenceGroup1().getPhaseId());
                          int subPhaseSize = phaseT.getSequenceGroup1().getSubPhaseList().getSequenceGroup1().getSubPhase().length;
                          for(int j = 0; j< subPhaseSize; j++)
                               SubPhaseT subPhaseT = phaseT.getSequenceGroup1().getSubPhaseList().getSequenceGroup1().getSubPhase()[j];
                               tableElement.setSubphase_desc(subPhaseT.getSequenceGroup1().getSubPhaseDesc());
                               tableElement.setSubphase_id(subPhaseT.getSequenceGroup1().getSubPhaseId());
                               String status = subPhaseT.getSequenceGroup1().getStatus();
                               wdContext.nodePhase_subphase_table().addElement(tableElement);
                               lastStatus = status;
                               //le fasi/sotofasi sono ordinate perciò la corrente è l'ultima con uno status valido
                               if (status != null && !status.equals(""))
                                    currentStatus = status;
                                    currentPhaseId = phaseT.getSequenceGroup1().getPhaseId();
                                    currentSubphaseId = subPhaseT.getSequenceGroup1().getSubPhaseId();
                                    if (status.equals(DAConst.STATUS_NOTIFY))
                                         //currentNotifyId = "notifyId"; //subPhaseT.getSequenceGroup1().getNotifyId();
                                         currentNotifyId = subPhaseT.getSequenceGroup1().getNotifyId();
    Can anybody help me please?
    Thanks,
    regards,
    Andrea

    I have solved moving the creation of the reference of the node element and the setting of elements inside the second for loop:
    for (int i = 0; i < phaseSize; i++)
                          PhaseT phaseT = processT.getSequenceGroup1().getPhaseList().getSequenceGroup1().getPhase()<i>;
                          String phaseDesc=phaseT.getSequenceGroup1().getPhaseDesc();
                          String phaseId=phaseT.getSequenceGroup1().getPhaseId();
                          int subPhaseSize = phaseT.getSequenceGroup1().getSubPhaseList().getSequenceGroup1().getSubPhase().length;
                          for(int j = 0; j< subPhaseSize; j++)
                               SubPhaseT subPhaseT = phaseT.getSequenceGroup1().getSubPhaseList().getSequenceGroup1().getSubPhase()[j];
                               IPrivateRoadMapVIew.IPhase_subphase_tableElement tableElement = wdContext.nodePhase_subphase_table().createPhase_subphase_tableElement();
                               tableElement.setSubphase_desc(subPhaseT.getSequenceGroup1().getSubPhaseDesc());
                               tableElement.setSubphase_id(subPhaseT.getSequenceGroup1().getSubPhaseId());
                               tableElement.setPhase_desc(phaseDesc);
                               tableElement.setPhase_id(phaseId);
                               String status = subPhaseT.getSequenceGroup1().getStatus();
                               wdContext.nodePhase_subphase_table().addElement(tableElement);
                               lastStatus = status;
    Thanks everybody for helps,
    Andrea

  • GeneralException Node(( Context path of node ): cannot bind or add element,

    Hello all,
    Stack trace :
    GeneralException Node((<Context path of node>): cannot bind or add element, because it is already bound to a node
    I am trying to upload data from excel file in web dynpro context.In the process,  when I create and add  an element to the node which I want to populate with excel data, it throws the above mentioned exception.
    Any idea as to wht is causing the problem ?

    Hi,
    GeneralException Node((<Context path of node>): cannot bind or add element, because it is already bound to a node
    It seems that its a mapped node, try to bind or addelements at the source.
    Ex: If this node is mapped from controller to view try to add elements in contoller instead of doing in view.
    Regards
    Ayyapparaj

  • "cannot bind or add elements because the node has no valid parent"

    Hello All,
      I keep getting the above error message. Can someone help ?
    <u><b>Context Structure</b></u>
    - A (Model Node)
    - B (Sub Model Node of A)
       ++ Country (Model Attribute B)
       ++ Language(Model Attribute B)
    <u><b>Coding</b></u>
    IPrivateMainView.IAElement userInfo = wdContext.createAElement(new A());
    wdContext.nodeB().addElement(userInfo);
    The error stack always report that the above syntax causes the error message.
    Can someone kindly let me know where I may have gone wrong ? Thank you.
    from
    Kwok Wei

    Hi,
    The model node is a reference to the model object so you need to bind the node to a similar structure or table from the model object.
    eg.
    abc(model node)
    |__def(model subnode)
       |___attr_a
       |___attr_b
    Then you need to first bind abc node
    abc ele=new abc();
    wdContext.nodeAbc().bind(ele);
    Then bind the def to the corresponding def node
    def subele=new def();
    ele.setDef(subele); or ele.addDef(subele);
    Regards
    Noufal
    Message was edited by: Noufal Kareem
    Message was edited by: Noufal Kareem

  • Pop-up LOV, add Element Attributes?

    Hello again,
    I have a pop-up LOV (named LOV) on a column in the detail section of a master-detail form (imagine the "Employee Num" being a pop-up LOV in the image linked below[1]). This field also allows normal user entry just like any input field (this is, input is not disabled).
    However, while viewing the source HTML this field just an ordinary input field, I cannot seem to add an element attribute via the usual means. Just for arguments sake I want an alert box on each keypress, usually I would just add the line: onkeypress="javascript: alert('hello');" in the Element Attributes under the "Column Attributes" section. This is not working for me, however.
    How would I go about calling a JavaScript function (on a keypress, say) using this pop-up LOV input method?
    Thank you for you time.
    I am using APEX version: 4.0.2.00.09
    [1] http://imageupload.co.uk/viewer.php?file=yu7i83h5dpk5cy0npsy0.png
    Edited by: 986065 on Feb 14, 2013 1:51 PM

    Hello Bob,
    Sure you can enter a button on the template, but the problem is how to find out which page to call when the Add button is pressed.
    You can write your own LOV page(s) and attach those to a field (i.e. by adding a clickable image in the post element text) and then you can have all the control you want.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

  • Is there a way you can add elements dynamically to an existing array??

    hey guys... i need to add elements to an array dynamically... how do i do that?
    for example... in one of my functions i do..
         for each(var item:Object in fileList){
              fileListArr.push(item);
    and in a later function i need to add one more element to my fileListArr...
    so i tried doing
    fileListArr[indexNum].push({
         key:videoKey
    so i need to have an array which resembles something like this...
    Before adding elements...
    fileListArr:
         [0]:  name:test1
                Size:12K
                caption:testing caption
                number:1
         [1]:  name:test2
                Size:12K
                caption:testing caption
                number:2
    after adding key to array
    fileListArr:
         [0]:  name:test1
                Size:12K
                caption:testing caption
                number:1
                key:xyxyyy11y1yy1y1y2y2u33n
         [1]:  name:test2
                Size:12K
                caption:testing caption
                number:2
                key:iiduudjmenri112jj2n4n3m2j1j21
    any ideas?

    hmm interesting... so i made the changes... i changed the array to arraylist and the code i have is as follows... but i still get an error... the error says ... "ReferenceError: Error #1056: Cannot create property key on flash.net.FileReference."
    public var videoReference:VideoHandler;
    public var fileRef:FileReferenceList = new FileReferenceList();
    [Bindable] public var fileListArr:ArrayList = new ArrayList();
    [Bindable] public var fileNames:ArrayCollection = new ArrayCollection();
    public function selectionHandler(event:Event):void{
         fileRef.removeEventListener(Event.SELECT, selectionHandler);
         var numSelected:int = event.target.fileList.length;
         var fileList:Array = event.target.fileList;
         for each(var item:Object in fileList){
              fileListArr.addItem(item);
              fileNames.addItem({
                   num: fileNames.length + 1,
                   name: item.name,
                   size: formatFileSize(item.size),
                   status: ""
         var newListLength:Number = fileListArr.length;
         if(fileCounter > 0){
              loopList(fileCounter);
         else
              loopList(0);
    public function loopList(value:int):void{
         //trace("looplist -->");
         if(value < fileListArr.length){
              _numCurrentUpload = value;
              file = new FileReference();
              file = FileReference(fileListArr.getItemAt(value));
              file.addEventListener(Event.COMPLETE, loadVideo);
              file.addEventListener(ProgressEvent.PROGRESS, fileProgress);
              file.load();
    public function setUploadKey(event:ResultEvent):void{
         if(event.result.ThereWasAnError){
              Alert.show(event.result.ErrorMessages[0]);
         }else{
              videoKey = event.result.UploadKey;
              if(fileCounter >= fileListArr.length){
                   trace("in if");
                   fileCounter = 0;
                   uploadLoopList(fileCounter);
              }else{
                   trace("in else");
                   //fileListArr[fileCounter - 1]['videoKey'] = videoKey;
    -----> get an error here --->fileListArr.getItemAt(fileCounter - 1).key = videoKey;
                   //fileListArr[fileCounter - 1] = [{key: videoKey}];
                   loopList(fileCounter);

  • Is it possible to bind the first element in a collection in a datagrid?

    I have a datagrid and I need to bind a property in the first element of the collection of my datasource object. By the momento I am using a converter:
    <DataGridTextColumn Header="MyValue" Binding="{Binding Converter={StaticResource myConverter}}"/>
    But I would like to avoid the need to use a converter, so I have tried this:
    <DataGridTextColumn Header="MyValue" Binding="{Binding MyCollectionProperty.ElementAt(0).MyValue}"/>
    Is there any way to do it?

    You cannot call ElementAt(i) from the XAML because it is a method.
    MyCollectionProperty[0] will certainly get you the first value of the MyCollectionProperty collection provided that the type has an indexer.
    If you want to be able to this without using a converter you must change the type of the property from ICollection<T> to for example IList<T>.
    You could create a wrapper property (potentially in a partial class definition) and bind to this one:
    //old property:
    public ICollection<YourType> MyCollectionProperty {
    get;
    set;
    //new wrapper:
    public IList<YourType> MyCollectionPropertyWrapper {
    get {
    return new List<YourType>(this.MyCollectionProperty);
    <DataGridTextColumn Header="MyValue" Binding="{Binding MyCollectionPropertyWrapper[0].MyValue}"/>
    ICollections are not very XAML friendly and you cannot bind to the first item of an ICollection using an indexer or ElementAt(0) or any other direct way.
    Please remember to mark all helpful posts as answer to close your threads.

  • BPEL Newbie  -- Cannot bind input

    Have been given a wsdl to an internal web service, This service can be accessed by soapUI and XMLSpy default soap generators without any problem
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:par="http://localhost/XX/XX">
    <soapenv:Header/>
    <soapenv:Body>
    <par:SeriesTitle>TEST</par:SeriesTitle>
    <par:SeriesId>1/200-01</par:SeriesId>
    <par:ProgrammeIdRef>1/2000</par:ProgrammeIdRef>
    <par:SeriesStatus>PROD</par:SeriesStatus>
    <par:ProductionAreaIdRef1>DRAMA</par:ProductionAreaIdRef1>
    </soapenv:Body>
    </soapenv:Envelope>
    but Oracle BPEL fails with a remote fault thrown -- 'Cannot bind input'
    The only strange thing, possibly linked - is because there are no partner link details in the original wsdl Oracle BPEL creates its own

    Hi,
    I suggest you to create a value node exactly like Output_Remarks model node in the controller context and populate all the data from Ouput_Remarks node to this value node.  You can write for loop or you can use WDCopyService.copyElements() method to copy the elements from model node to value node.
    Create one more additional boolean attribute as "isEnteredByUser" in the same value node.
    By default this boolean attribute value for all the elements will be false.
    Every time when user updates the remarks for a particular entry then go and update the remarks field for that particular entry in the value node. And change "isEnteredByUser" boolean attribute to true.
    And every time check whether remarks exist or not in the value node.
    Because of this "isEnteredByUser" attribute , you can easily identify the records which are modified at front end while updaing in database.
    I dont think it is better to update the Output model node with user input.
    Regards,
    Charan

  • Cannot bind a string array

    Hi guys! I badly need your help.
    I'm trying to bind string[] variable in Java(IDCGetInfoResult) to another string[] in JavaFX (simpleList).
    However, I can't seem to be able to do so.
    The code statement highlighted in red generates an error message:
    the target type of a bind cannot be an array
    found: native array of string
    required: object or sequence
    IDCGetInfoResult -> array of strings in control.java
    var simpleList: String[] =  bind r.control.getIDCGetInfoResult();
    var simpleListView : ListView = ListView {
            translateX: 0
            translateY: 0
            layoutX: 20
            layoutY: 80
            height: 130
            width: 200
            items: simpleList
    for(i in [0..simpleList.size()-1])
            insert simpleList[i] into simpleListView.items;
    }By the way, I'm using the Observer and Observable class as suggested by this blog post:
    http://blogs.sun.com/michaelheinrichs/entry/binding_java_objects_in_javafx
    Edited by: tsubaki.pw on Jan 27, 2010 10:43 PM
    Edited by: tsubaki.pw on Jan 27, 2010 10:45 PM

    OK, I came with a quite convoluted solution, it might be a starting point for real code...
    Part of the complexity comes because I didn't want to make my class extending Observable.
    A recent thread ([cannot find java.util.Observable in JavaFX application|http://forums.sun.com/thread.jspa?threadID=5425241]) reminded that we cannot bind a Java variable from JavaFX, so we have to use Observable and Observer pair.
    Here is my test code:
    ObservableData.java import java.util.*;
    public class ObservableData
      ArrayList<String> info = new ArrayList<String>();
      Notifier notifier = new Notifier();
      ObservableData(Observer obs)
        addObserver(obs);
      void init()
        for (int i = 0; i < 10; i++)
          info.add("Item " + i);
        notifier.change();
        notifier.notifyObservers();
      ArrayList<String> getData()
        return info;
      void addObserver(Observer obs)
        notifier.addObserver(obs);
      void update(int n)
        String newItem = "Item " + n;
        System.out.println("Update => " + newItem);
        info.add(newItem);
        notifier.change();
        notifier.notifyObservers(newItem);
      public String toString()
        return info.toString();
      static class Notifier extends Observable
        public void change() { setChanged(); }
    Test.fx class Watcher extends java.util.Observer
      override function update(obs: java.util.Observable, ob: Object): Void
        def updatedItem = ob as String;
        println("Update with '{updatedItem}'");
        def list = javaData.getData();
        println(list.toString());
        simpleList = for (item in list) item as String;
    var javaData = new ObservableData(Watcher {});
    var simpleList: String[];
    var simpleListView: ListView = ListView {
      translateX: 0
      translateY: 0
      layoutX: 20
      layoutY: 80
      height: 130
      width: 200
      items: bind simpleList
    var b = Button
      text: "Update"
      action: function (): Void
        def val = 10 + Math.random() * 100 as Integer;
        println("Update with {val}");
        javaData.update(val)
    var scene: Scene;
    Stage
        title: "Observing Java data"
        scene: scene = Scene
            width: 300
            height: 300
            content:
                b, simpleListView
    javaData.init(); // Placement is important! If you want the list view to be initializedHere I refresh the whole content of the list view; depending on the data and the way to update it, you can use the updatedItem value to do a partial update.

  • My firefox version is 3.6.12, however I cannot download any add-ons cause it says I am still using version 2, and it is the same for website such as youtube where it is always saying I am using a outdated browser. How do I solve this?

    I keep updating my firefox whenever it prompts me to, and now I am using version 3.6.12, but I still cannot download any add-ons or have problem using youtube cause they still says I am using a older version of the browser.
    But when I go Help > About Mozilla Firefox, I am sure I have the latest version and no more updates can be found.

    You have or had an extension installed (MegaUpload toolbar) that has changed the user agent from Firefox/3.6.12 to Firefox/2.0.0.13
    You can check the general.useragent prefs on the about:config page:
    * general.useragent.extra.firefox Firefox/2.0.0.13 MEGAUPLOAD 1.0
    You can open the about:config page via the location bar, just like you open a website.<br />
    Filter: general.useragent<br />
    If general.useragent prefs are bold (user set) then you can right-click that pref and choose Reset.
    See [[Web sites or add-ons incorrectly report incompatible browser]] and [[Finding your Firefox version]]<br />
    See also http://kb.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default
    Your above posted system details show multiple Java Console extensions.<br />
    You can uninstall (remove) the Java Console extensions and disable the Java Quick Starter extension, you do not need them to run Java applets.
    See http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    See also http://www.java.com/en/download/help/quickstarter.xml - What is Java Quick Starter (JQS)? What is the benefit of running JQS? - 6.0
    Disable the Java Quick Starter extension: Tools -> Addons -> Extensions
    Control Panel -> Java -> Advanced tab -> Miscellaneous -> Java Quick Starter (disable)
    You should update the [[Java]] plugin (Java Plug-in 1.6.0_12) to the latest version (6 U22).
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • How to bind a UI element to the context

    Hi Experts,
               I have a problem binding UI element to the context. In my code i have to create TabStrips dynamically and under this tabstrip number of UI elements would be there. For this i have a code like this..
    IWDTransparentContainer theActionContainer =(IWDTransparentContainer)view.getElement("RootUIElementContainer");
         IWDTabStrip ts = (IWDTabStrip) view.createElement(IWDTabStrip.class,"TabStrip");
              IWDTab tab1 = (IWDTab) view.createElement(IWDTab.class,"Tab1");
              IWDInputField in = (IWDInputField) view.createElement(IWDInputField.class,"in");
              IWDCaption header1 = (IWDCaption) view.createElement(IWDCaption.class,"Header1");
              header1.setText("Tab1");
              tab1.setContent(in);
              ts.addTab(tab1);
              IWDTab tab2 = (IWDTab) view.createElement(IWDTab.class,"Tab2");
              IWDInputField in2 = (IWDInputField) view.createElement(IWDInputField.class,"in2");
              IWDCaption header2 = (IWDCaption) view.createElement(IWDCaption.class,"Header2");
              header2.setText("Tab2");
              tab2.setHeader(header2);
              ts.addTab(tab2);
              theActionContainer.addChild(ts);
    <b>when i run this code it is giving following exceptions..</b>
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Property 'value' of AbstractInputField with id 'in' in view 'LoginView' must be bound to the context
        at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1260)
        at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.InputFieldAdapter.getValue(InputFieldAdapter.java:582)
        at com.sap.tc.ur.renderer.ie6.InputFieldRenderer.render(InputFieldRenderer.java:56)
        at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:435)
        at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:134)
        ... 63 more
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Property 'value' of AbstractInputField with id 'in' in view 'LoginView' must be bound to the context
         at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1260)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.InputFieldAdapter.getValue(InputFieldAdapter.java:582)
         at com.sap.tc.ur.renderer.ie6.InputFieldRenderer.render(InputFieldRenderer.java:56)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:435)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:134)
         at com.sap.tc.ur.renderer.ie6.TabStripRenderer.renderTabStripItemContentFragment(TabStripRenderer.java:1867)
         at com.sap.tc.ur.renderer.ie6.TabStripRenderer.renderTabStripFragment(TabStripRenderer.java:838)
    From these exceptions what  i understood is, i need to bind these UI elements to context.
       Can any body tell me how to bind a UI element to the context if I understood the exceptions correct..
    Thanks in Advance,
    Murthy.

    HI,
    lets say Ctx is your context attribute,
    IWDAttributeInfo attrInfo = wdContext.getNodeInfo.getAttribute("Ctx");
    then , as per your code,
    IWDInputField in = (IWDInputField) view.createElement(IWDInputField.class,"in");
    <b>in.bindValue(attrInfo);</b>
    if your contex attribute is child of some other node then do like this,
    IWDAttributeInfo attrInfo = wdContext.getNodeInfo.getChildNode("SalesOrder",0)getAttribute("Ctx");
    //this is when Ctx is child of node SalesOrder, and we are taking Ctx from its 0th element
    then ,
    IWDInputField in = (IWDInputField) view.createElement(IWDInputField.class,"in");
    <b>in.bindValue(attrInfo);</b>
    include this in your code ,
    let me know if you face any problem
    regards
    reward points if it helps

  • I havev installed a new Hard Drive on my laptop but cannot find my Photoshop Elements product box with the serial number to install Elements 10 or Elememts Premier 10. How can I find out the serial / installation codes for these?

    I havev installed a new Hard Drive on my laptop but cannot find my Photoshop Elements product box with the serial number to install Elements 10 or Elememts Premier 10. How can I find out the serial / installation codes for these? I saw a reply however, it was not my name and assumed it was for someone else. Now timed out. Can UI still have help on this matter please?

    If you registered PSE before, go to the main page of adobe.com, sign in and go to your account and you should find the serial number there in your purchases.

  • Add element in dropdown list dynamically

    Hi All,
    I am facing a problem in adding item in a dropdown list dynamically.
    When i get dropdown list through IgetElementById get null.
    var list = document.getElementById("targetgroupname");
    here list comes as null. Now I've to fill this list. I am using below code -
    for(var j=0;j< com.length;j++){
    iist.options[j]= new Option(com[j],com[j]);
    But it is not working. My list is not getting filled with these values.
    I doubt due to var list -> null it does not allow to add element.
    But I am not getting any clue, how to initialize it.
    Please suggest, I am new to javascript.
    Thanks & Regards,
    Sneha.

    Hi,
    Thanks for the reply, yes the select box has that id - targetgroupname.
    actually there are 2 dropdown lists, Based on the selection of first dropdown list another list shd be filled.
    So I've written a script at "onchange" of first dropdown list. It works fine when a value gets changed at first dropdown list.
    In some cases I've to display a preselected value at first list ( which comes from previous page as parameter), in that cases there will be no onchange on first list, so I've called the script function manually after creating the first list,like below :
    <SCRIPT> checkSource();</SCRIPT>
    and in this case it does not work & I get a null when i try to read the 2nd list.
    But I am not sure why it is happening.. may be it is not loaded /created on page when i am calling it.
    If yes, what shd I do ?
    Thanks for your time.
    Regards,
    Sneha

  • I cannot open my photoshop elements 10. I get an error 400.

    I cannot open my photoshop elements 10 to edit pictures. I get a message saying that it cannot connect, error 400. I was using it last week no problem than I shut down my computer & tried to open photoshop the next day & the program wouldn't open. I've heard that this is the result of photoshop.com no longer existing. What can I do about this? There has to be a way that I can still edit my pictures. I've tried opening some .psd docs but they won't open. I tried chatting with adobe tech support & they said that they cannot help me because this is an older PSE program. Anyone know any way around this? Mahalo nui loa!
    On a side note: I can't figure out how to respond when someone comments on my forum questions. Anyone know what I'm doing wrong? I'm obviously not very tech savvy.

    I responded in your other thread. To reply to a post click the Reply button at its lower right to open up a place where you can type:

  • How to add elements into Object[][] type of list, in runtime?

    I have Object list, ie.
        final Object[][] data = {
            {"January",   new Integer(150) },
            {"February",  new Integer(500) },
            {"March",     new Integer(54)  },
            {"April",     new Integer(-50) }
        };How can I dynamicly add new elements in it, at the runtime?
    Thank you in advance!

    Do I have to remove 'final' for that, and then add
    elements?
    No. you can't change an array's size.
    You can do this
    Object[][] arr = new Object[numRows][numCols];But once you've created it, its size can't change.*
    I don't know what you're doing, though, and what actual data you're putting in, but Object[][] holding rows of [String, Integer] is almost certainly a poor data structure. Think about creating a class the represents one "row" here and then create a 1D array of that class.
    * Okay, you can kinda sorta effectively "change" the size of second and subsequent dimensions, since a multidimensional array is an array of arrays. I wouldn't recommend it though: int[][] arr = new int[3][2]; // a 3 x 2 rectangular array of int--it's  an array of array of int, with 3 "rows", each of which is an array of int with 2 elements.
    arr[0] = new int[10]; // now it's a jagged array whose first row has 10 elments instead of 2Here we haven't changed an array's size, just replaced one of its elements, which is also an array, with a new, larger array.

Maybe you are looking for

  • Oracle JDBC Driver, SQL, and erroneous ORA-00942

    We've been running the following prepared statement without trouble for several months: "SELECT ST FROM STATELT WHERE UPPER(ST)=UPPER(?) OR UPPER(STATE)=UPPER(?) OR UPPER(ABBREV)=UPPER(?) ", using the latest version of the Oracle JDBC drivers. The co

  • Different authorizations for a Dashboard in a SAP NW BW Portal

    Hi everybody, we would like to use BO Dashboards / Xcelsius in our company. Everything is fine and the dashboards are looking fantastic. Since we would like to publish them on our SAP BW portal I have a question. Given a dashboard with a SAP NW BW co

  • ISE User Session Limiting

    With ACS 5.3, you can set a limit on the number of concurrent sessions a single username is allowed.  This feature is documented at http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.3/user/guide/access_policies.html#wp1176

  • Copy From / Copy To

    Hi, Is it possible to use Copy From / Copy To functionality for Add-on Screens? For Example: As of now, PO has a copy to for GR-PO, and GR-PO has a copy from for PO.  I introduce a new screen for subcontracting DCs alone, for which I need to select a

  • J2EE Servlets and Cookies

    I'm having trouble with session management (Apache 2 + WAS keep killing my sessions, likely due to my lack of understanding of how to configure the latter). I don't have time to resolve this. What I'm going to do instead is use the old standby, cooki