Problem with invalidating a context node

Hi,
Please see the code below:
String s = wdContext.currentSubitemsElement().getBase_Quantity();
wdComponentAPI.getMessageManager().reportWarning(s);
wdContext.nodeSubitems().invalidate();
String s1 = wdContext.currentSubitemsElement().getBase_Quantity();
wdComponentAPI.getMessageManager().reportWarning(s1);
For some reason, the context is not cleared after the invalidate command. Any ideas for this?
Thanks in advance,
Aviad

Hi Aviad,
Let me guess the origins of problem:
1. As far as you mentioned <b>Sub</b>items node, there should be a parent node, say Items.
2. Subitems node has either supplying relation role or supply function, Items has no supply function.
3. Then, if you invalidate Subitems, supply function is called or supplying relation is used to populate content. When you do contenxt reset, then all controller nodes get invalidated including Items. Hence Subitems has no parent and displayed as empty.
If all the above is true, then you may either to invalidate Items node or make Subitems node with no supplier (i.e. manually bind content instead).
Context reset works here, but, it's a bit "brute force" approach.
Valery Silaev
EPAM Systems
http://www.netweaverteam.com/

Similar Messages

  • I had already update mi new factory unlocked iPhone 4S to iOS 5.1.1 and I still having problems with "invalid sim". I'm from Argentina and here we don't have official service. PLEASE HELP ME, WHAT CAN I DO??? In Argentina is too expensive an iPhone 4S.

    I had already update mi new factory unlocked iPhone 4S to iOS 5.1.1 and I still having problems with "invalid sim". I'm from Argentina and here we don't have official service. PLEASE HELP ME, WHAT CAN I DO??? In Argentina is too expensive an iPhone 4S. Please I need help to continue believing in Apple. Thanks a lot. If anybody speak spanish better.  

    Was it purchased from an official Apple Store, not a reseller?  Only Apple Stores sell official factory unlocked phones.  The others sell hacked to unlock phones, and the unlocking is unstable.
    Try these steps, as needed:
    1. Reset phone - press both home and on/off buttons for at least 10 seconds until the Apple logo appears.
    2. Settings > General > Reset > Reset Network Settings.
    3. Replace SIM card (and reset network settings again)
    4. Restore Phone in iTunes using a backup
    5. Restore in iTunes as new, without using a backup

  • Problem with Portlet Backing Context

    Hi,
    I am having problem with Portlet Backing context.
    I have on portlet and one JPF associated with this portlet.
    Now in JPF action method i have Portlet Backing context object, using this object
    i tried to get the previous portlet state using portletCtx.getPreviousWindowState().
    But It always gives me null.
    can anyone help me out ? its very urgent.
    or you can suggest me anyother option to do this....
    Thanks,
    Vijay Patel

    Vijay -
    You might want to post this to the Portal newsgroup.
    Regards,
    Kunal
    "vijay patel" <[email protected]> wrote:
    >
    Hi,
    I am having problem with Portlet Backing context.
    I have on portlet and one JPF associated with this portlet.
    Now in JPF action method i have Portlet Backing context object, using
    this object
    i tried to get the previous portlet state using portletCtx.getPreviousWindowState().
    But It always gives me null.
    can anyone help me out ? its very urgent.
    or you can suggest me anyother option to do this....
    Thanks,
    Vijay Patel

  • Problem with the Value property node (MacOS)

    As far as I have tested it, Value Property nodes (and Value (signaling)) don't work in MacOS : The value property appears as a boolean, the value(signaling) as a cluster (width, height).
    Even with boolean controls, the node is not working.
    No such problem in LV 8.6.
    Am-I missing something ? Is that some "intended use"  ? Or simply a bug ?
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Solved!
    Go to Solution.

    That sounds like some sort of indexing problem with the property nodes like somesort of corrupted installation.  What if you just delete the property node and recreate it?
    I dropped a numeric control and looked at the shortcut menu for the list of property nodes.  Right below Value and Value (signalling) are Visible (which would be a boolean) and Xcontrol, which when you step down through the submenus, the first choice is Container bounds, a cluster of Width and Height.  So these 2 datatypes that are 2 lower on the list match the ones you are getting.
    What happens if you pick another property node a few elements up or down on the shortcut menu?  Does is happen for some other properties, and if so, are thereany properties that are okay?
    Here is what my property nodes look like for a numeric and I draggged the box up and down to show the natural order of the property nodes.  Note that I have scripting installed, so there are a few more property nodes (and the blue box at the top) that you might not have.
    PS.  Check you signature.  The Kudos button is now moved to the left since the forum upgrade. 
    Attachments:
    Example_VI_BD.png ‏4 KB

  • HT1937 iphone model A1387 problem with "invalid sim" card. How to reset

    After about three months of trouble free use suddenly I have lost connection with cell phone carrier with a "invalid sim". I now understand its my model phone, A1387, so now how to fix this problem?

    No not yet, its my understanding that this problem has been documented and their is fix out there somewhere. I bought this phone from Apple while on leave. Now I live in Kyrgyzstan, cell phone cariers are rare and to trouble shoot by purchasing another sim card, may work again but also may not work. So Iam seeking help with a more permanate fix/upgrade. I heard this is a problem with this model or this OS.

  • Problems with invalidating web cache

    Currently we display the current date (portal smart link) in the top region of each portal page. We have been having problems with the date not refreshing, rather old pages continue to be served up. I set up a database job using wvuxtil to send an XML document to invalidate all documents in the web cache under root at midnight. (The caching of every portal page is set to "content and definiton at system level" for 1440 min). This morning, the job ran but when checking the pages from a client machine, the date still displayed as yesterday's for SOME of the pages (not all)- clearing the clients IE cache made no difference. Logging on to the server, I accessed the relevant pages displaying yesterday's date on the client - and they showed the correct date on the server. Going back to the client machine, the dates are now correct ? Help anyone ? What should I be checking/looking at next ?
    Cheers
    Brent Harlow

    Hi Brent,
    Which version of Web Cache and Portal are you using? A similar problem with dates and invalidation has been reported before, so you may want to check with Oracle Support for the appropriate patch.

  • Problem with a empty context

    Hello All,
    Please refer to following link where I provided the messaging Queues.
    http://farm4.static.flickr.com/3486/3882733944_1c74be83f7_o.jpg
    Basically the problem is when the value is sent to target it comes like...
    After remove Contexts:
    SUPPRESS
    1234
    SUPPRESS
    After SplitByValue
    null
    1234
    SUPPRESS
    So the node is not creating the field at all in the target as there is null in the begining.
    I tried by
    1. Changing contexts with different combinations.
    2. wrote a UDF to get rid of null in the begining. It dint work
    help.
    Venkat.

    Thanks Luis.
    I tried with mapWithDefaults earlier but it was changing the null to SUPPRESS but no change in the target field output  ( i.e it is still not coming )
    Can someone please tell me how to do I get rid of null in the output?
    null
    12345.23
    SUPPRESS
    Output:
    12345.23
    It should also work for following....
    null
    123455.24
    434567.23
    345654.23
    SUPPRESS
    Output :
    first structure : 123455.24
    Second structure: 434567.23
    Third structure: 345654.23
    Venkat.

  • I'am having problem with a graph property node by using format & precision

    I would like to display an amount of data in a waveform graph and to choose the X scale to display absolute time (whitout date information) or scaled decimal value.
    Absolute time is a must because the scaling should reflect the acquisition time and not only a value in hour, minute and second.
    Using the property node I can choose between 10 differents formats (0-Decimal, 1-Scientific, 2-Engineering, 3-Binary, 4-Octal, 5-Hexadecimal, 6-Relative Time, 7-Time and Date, 8-SI, and 9-Custom).
    Format 7 - Time and Date should be a good choice but LabVIEW set automatically system time AND system date without any possibilities to change anything.
    Trying format 9 - Custom ends everytime with error 1077 (invalid property value).
    Any help to explain me how to use the format Custom or to give me a solution to switch between time (no date) and decimal scaling is appreciate.
    Thank 

    In addition to the Xscale.Format property node, you also need to set the XScale.FormatString (see a little below the Format entry).
    Use %<%.0X>T as format string.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Strange problem with removing element from node

    Hi,
    I have a problem when I removed elements from a node.
    here is the code:
    String text = "123456";
    IANode nodeA= wdContext.nodeA();
    wdContext.nodeB().invalidate();
    IBNode nodeB = wdContext.nodeB();
    for(int i=0; i<nodeA.size(); i++)
    IAElement e = nodeA.getEt_Emp_RespElementAt(i);
    if (e.getID().compareTo(text)!= 0)
         nodeB.removeElement(e);
    else
    wdComponentAPI.getMessageManager().reportSuccess(e.getID() + " was not removed");
    The node A does have a row with field "ID" equals to 123456.
    When running the application, it does write that "123456" was not removed...but it removes it....In fact my table is now empty.
    How is it possible if it didn't perform the remove operation for ID = 123456 ?
    Thanks in advance.

    David,
    Because you are iterating node in wrong direction: see my reply to your post Re: Loop problem (seems that you assigns me 2 points without reading reply, and mark it as solved just because you stop solving it
    So, in example in this thread, you must iterate node B in reverse direction, get element from B and remove it from B if it has some specific ID.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Problem with queue and context change JAVA udf

    Hi all,
    MY scenorio is from source i get multiple instances and each instance i need to pass to different fields od target
    in one source instance i may get multiple values which i have to create multple nodes under one target instance.
    my source xml looka like below:
    - <CustomFieldsSegment>
    - <CustomFields Name="ForeignLanguageonPackaging">
      <Value Qualifier="en">English</Value>
      <Value Qualifier="fr">French</Value>
      </CustomFields>
    - <CustomFields Name="LayerHeight">
      <Value>5.0</Value>
      </CustomFields>
    - <CustomFields Name="LayerHeightUOM">
      <Value Qualifier="IN">Inches</Value>
      </CustomFields>
      </CustomFieldsSegment>
      </TargetMarketData>
      </ItemRegistration>
      </Payload>
      </ns:MT_TradeItemsExport>
    in the above xml the first custom field has qualifier "en' and "fr"
    i need to create 2 nodes under one target field.
    example:
    <AttrMany Name="ForeignLanguageonPackaging">
      <Value ="en">en</Value>
      <Value ="fr">fr</Value>
      </AttrMany>
    int eh source node <CustomFields Name="ForeignLanguageonPackaging"> may come in any matter .doesnt come always first
    and i wrote udf like below:
    public void queue(String[] a,String[] b,String[] c,ResultList result,Container container){
        // write your code here
    AbstractTrace traceObj = container.getTrace();
        int baseArrayIndex = 99;
        int ccCount = 0;
        boolean isfound = false;
        for (int i = 0; i < a.length; i++) {
               isfound = false;
            if (a<i>.equals(c[0])) {
            baseArrayIndex = i;
      traceObj.addInfo("initial  "+ i);
            for (int j = 0; j < b.length; j++) {
                if (b[j].equals(ResultList.CC)) {
                ccCount++;
                } else {
                if ( baseArrayIndex == ccCount ) {
                   result.addValue(b[j]);
      traceObj.addInfo("result  "+ b[j]);
                    isfound = true;
            break;
    if (!isfound)
    result.addSuppress();
      traceObj.addInfo("final result  "+ result);
    Please can anyone help me.
    Regards,
    jyothi

    Hi all,
    MY scenorio is from source i get multiple instances and each instance i need to pass to different fields od target
    in one source instance i may get multiple values which i have to create multple nodes under one target instance.
    my source xml looks like below:each ItemRegistration is one item at target
    -<ItemRegistration>
    - <CustomFieldsSegment>
    - <CustomFields Name="ForeignLanguageonPackaging">
    <Value Qualifier="en">English</Value>
    <Value Qualifier="fr">French</Value>
    </CustomFields>
    - <CustomFields Name="LayerHeight">
    <Value>5.0</Value>
    </CustomFields>
    - <CustomFields Name="LayerHeightUOM">
    <Value Qualifier="IN">Inches</Value>
    </CustomFields>
    </CustomFieldsSegment>
    </TargetMarketData>
    </ItemRegistration>
    -<ItemRegistration>
    - <CustomFieldsSegment>
    - <CustomFields Name="ForeignLanguageonPackaging">
    <Value Qualifier="en">English</Value>
    <Value Qualifier="fr">French</Value>
    </CustomFields>
    - <CustomFields Name="LayerHeight">
    <Value>5.0</Value>
    </CustomFields>
    - <CustomFields Name="LayerHeightUOM">
    <Value Qualifier="IN">Inches</Value>
    </CustomFields>
    </CustomFieldsSegment>
    </TargetMarketData>
    </ItemRegistration>
    </Payload>
    </ns:MT_TradeItemsExport>
    in the above xml the first custom field has qualifier "en' and "fr"
    i need to create 2 nodes under one target field.
    example:
    <AttrMany Name="ForeignLanguageonPackaging">
    <Value ="en">en</Value>
    <Value ="fr">fr</Value>
    </AttrMany>
    int eh source node <CustomFields Name="ForeignLanguageonPackaging"> may come in any matter .doesnt come always first
    and i wrote udf like below:
    public void queue(String] a,String[ b,String[] c,ResultList result,Container container){
    // write your code here
    AbstractTrace traceObj = container.getTrace();
    int baseArrayIndex = 99;
    int ccCount = 0;
    boolean isfound = false;
    for (int i = 0; i < a.length; i++) {
    isfound = false;
    if (a.equals(c[0])) {
    baseArrayIndex = i;
    traceObj.addInfo("initial "+ i);
    for (int j = 0; j < b.length; j++) {
    if (b[j].equals(ResultList.CC)) {
    ccCount++;
    } else {
    if ( baseArrayIndex == ccCount ) {
    result.addValue(b[j]);
    traceObj.addInfo("result "+ b[j]);
    isfound = true;
    if (!isfound)
    result.addSuppress();
    traceObj.addInfo("final result "+ result);
    if i have only one item at the source it is working but when 2items are comming from the source my udf is not working.
    can anyone help me if you have faced the similar problem or who is fimilar like this kind.
    Regards,
    jyothi
    Edited by: jyothi vonteddu on Oct 21, 2009 9:14 PM
    Edited by: jyothi vonteddu on Oct 21, 2009 9:22 PM

  • Problems with invalid user name and password

    We have a one week old MacBook 2.2GHz basic white model that is generally working well.
    However a problem has now arisen whereby on any attempt to shutdown or restart it won't accept the administrator user name and password, returning an 'invalid' warning. The issue seems to be the user name as the administrator password has worked OK in other situations. Naturally I have checked and re-checked the user name (which was in the form (first name followed by surname in upper and lower case) and it was OK (in any case it was being prompted automatically by the system.)
    I have subsequently changed the administrator name (to the form first name only in upper and lower) and the password as suggested by the following article:
    http://docs.info.apple.com/article.html?artnum=306876
    Nothing has changed. Can anyone help?

    HI Martin, a late post to confirm the solution from the last post by using the "RETURN" key works..
    (mouse click worked ok in Tiger 10.4.x I thought).
    Tis was a delight and so obvious after seeing these symptoms.
    I have posted this entry in case anyone else get's into this situation since OSX LEopard 10.5. Several people have encountered this issue where they may have:
    • LEopard 10.5.x installed
    • have 2 or more active users LOGGED into the OSX system via fast user / fastuser switching
    • request a SHUTDOWN or RESTART from an user
    • get a OSX request to supply administrator attributed user and it's associated password to validate SHUTDOWN | RESTART request,
    • have admin | root account verification failure of password after 'clicking'.
    After some months of frustration, it seems a simple PRESS of the "RETURN key" works!
    Simply, DON'T mouse click after entering admin user/password.... instead press "RETURN" key.
    fwiw.
    w

  • Problems with Invalid Serial Number

    I had a hard-drive failure last week, bought a new disk and had to reinstall all my programs including Photoshop CS4. I entered the serial number from the back of the box that had worked on my computer for years only to get the error message "Our records show that the serial number used to set up this software is invalid."  It then shows the exact same numbers I have on the back of my box - no typos - "This serial number will no longer permit you to use the product."
    It then gives me a helpful link where I can buy a new serial number online. I already paid for this product once, so isn't that extortion? Any hints or help on how I can get going again without having to put up more money would be really helpful.

    Thanks for the link. I did see if entering the number without hypens would work (it had boxes, though, that precluded the hyphens, and I checked on the other problem scenarios, like platform or having a bulk license. Unfortunately I am still stuck...

  • Problems with Oracle FailSafe - Primary node not failing over the DB to the

    I am using 11.1.0.7 on Windows 64 bit OS, two nodes clustered at OS level. The Cluster is working fine at Windows level and the shared drive fails over. However, the database does not failover when the primary node is shutdown or restarted.
    The Oracle software is on local drive on each box. The Oracle DB files and Logs are on shared drive.

    Is the database listed in your cluster group that you are failing over?

  • Data slice inconsistency problem with hierarchy nodes

    Hi Experts,
    We want to lock planning tables from function. We create the appropriate data slices but there are problems with (material group) hierarchy nodes.
    If I give the node as input variable to the function it causes inconsistency in the data slice. If I choose and add this node to the lock in modeler, the problem is the same.
    We are using the following variables to create a data slice:
    0VERSION
    0VTYTYPE
    0COMP_CODE
    ZGRMAT (developed material group)
    Z_YEARCR (developed yera created)
    The problem also exist if I set an another type of node e.g. destination country (0RECIPCNTRY) instead of material group.
    For me, the problem seems to be generic.
    Do you have any idea?
    Many thanks in advance
    Peter

    There is a note related to this proble:
    Note 1070608 - Lowflag field is not valid
    The implementation of this note resolves the problem.
    Peter

  • Problems with discover Nodes

    I have problems with autom. discover of nodes.The services Man.server and agent are started, but i get
    the errormsg:Discovery failed:VNI-4009: Cannot contact agent on the node.
    Can someone help me.
    Thanks.

    what os are you running?
    on my linux box, what i did was to delete *.q and services.ora from $ORACLE_HOME/network/agent then manually put in my instance in tnsnames.ora using the example used in http://www.mike-devlin.com/oracle/tnsnames_ora.htm. i made sure that the instance was up then ran lsnrctl start and agentctl start. OMS was able to discover my database automatically after that.
    i do have a feeling that you are using Win2k/XP, but the files i mentioned can be located in the same directory. instead of lsnrctl start and agentctl start, you can go to Administrative Tools>Sevices and start OracleOra92TNSListener and OracleOra92Agent
    i would recommend, however, trying to use netca when recreating the tnsnames.ora. it just didn't work with mine so i had to do it manually.

Maybe you are looking for

  • Ipod Classic 120gb TV out problem

    Hi all, I've been searching the web for quite some time now and the problem I have has gotten me fairly fustrated. I have searched the apple site, forums and support as well as other ipod-related sites, to no avail. This is my problem. After a fair a

  • How to set up BlazeDS project in FB3?

    Hi , I want to start a new project with Flex,BlazDS and web service. web servces are located in other server by SOAP. I have install BlazeDS in local pc and I do not have a idea how to start set up in Flex Builder and do the project. Please help me .

  • Run-Times for each podcast episode not showing

    the iTunes store page url is this: http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=318613641 my feed is this: http://feeds.feedburner.com/TheTransmigrationOfMiguelSanchez everything else seems to be working great but for whatever rea

  • Custom fields in me21n

    Dear Gurus  , I have added some custom fields in me21n in header & item level through badi . some fields are in standard table (CI_EKPODB ) and other are in Ztable . Every thing is working fine . Problam is that when i am making a new purchase order

  • Interactive Planning area - No plannable

    We just upgraded to SCM 5.0. We are getting errors when running the interactive planning area. When we select a single products and try to load into our planning book, we are getting no plannable characteristic combination.  When we select multiple p