Skip to Content
avatar image
Former Member

How to invalidate the Context of View B From View A?

Hello,

I have to Views, A And B.

Is it possible to invalidate the Context of View B From View A? If yes, than how?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 09, 2005 at 08:56 AM

    Hi,

    Map the node of View B to the Component Controller node of similar structure

    and then invalidate the node of teh component controller from View A .

    wdThis.wdGet<Controller>>().wdGetContext().node<NODE NAME>>().invalidate();

    Hope this helps.

    Regards,

    Sowjanya

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      No u will not be able to do .

      That is why Component Controller is meant for global access within a component.

      U just copy the same node of View B and do a mapping with node of ViewB and then write teh above line of code.

      Regards,

      Sowjanya.

  • avatar image
    Former Member
    Jun 09, 2005 at 10:48 AM

    Hi,

    YOu cant...

    I think krishna was trying to say "can't".. spelling mistake i guess !

    Thats the reason why u have a component controller common to all the views within a component

    Add comment
    10|10000 characters needed characters exceeded