Refresh statically mapped context

Hi All
I have created a context node in my controller. Then i mapped the context of controller to the context of view. Now the context of view contains some data .
In wdDoModifyView() i call a method which say genUi which
generates a dynamic node picking up the data from the static node of the view (The context which was mapped from the controller).
When some event is fired from the view, I update controller context data and in wdDoModifyView() of the view , I have resetted the view and node of the view using
view.resetView() and wdContext.wdGetAPI().reset() and again call the same method genUI.
But the problem is that after resetting the node whole context node gets resetted . I dont want the data which was mapped from controller to view should vanish.
I want the updated controller context data should get reflected in view's context (Since the context is mapped)
I am pasting the wdDoModifyView() method of view to make the picture more clear.
  public static void wdDoModifyView(IPrivateProfessionalInfoView wdThis, IPrivateProfessionalInfoView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
    //@@begin wdDoModifyView
    if(!firstTime){
          view.resetView();
          wdContext.wdGetAPI().reset();
// method to generate dynamic context node and dynamic UI
     CProfessionalViewGen objProfessionalViewGen = new CProfessionalViewGen(wdThis,wdContext,view);
    //@@end
Please help in solving my problem..
Regards
Sonal Mangla

Give the reset code with boolean value false
<b>wdContext.wdGetAPI().reset(false);</b>
Regards,
Rathna

Similar Messages

  • How to read Group ID from Value Mapping Context in Cache Monitoring ?

    Hi friends,
        In RWB --> Cache Monitoring --> Integration Server (Java) -> (Search for Value Mapping Groups) in this each item is identified by Value Mapping Group (GroupID, Context, Identifier/Agency, Identifier/Scheme). Either we create Value Mapping Table in ID or replicate value mapping data directly from text file/SAP table etc., in run time cache, data will be identified in this manner.
        Now, our requirement is to delete a record the Cache for a particular context. Two operations provided by XI one is 'Delete' and another one is 'DeleteGroup'. When we use either of this, we should know GroupID. Suppose, I replicated some large amount of data from my text file in Runtime Cache. Value Mapping Table is like that IN --> India, US --> USA, AU --> Australia, EG --> Egypt. Now, I am required to write a program to get the input country code from user which is going to delete in the value mapping table like IN/AU....  For this, what logic we should follow in the program is, First we scan the value mapping table and find the record (country code)  which is match with the input. Then find the GUID value for this record. Now we use the DeleteGroup Operation and pass this GUID and then delete the record.
        So, in essence, how to read the GUID from value mapping context.
        Friends, Kindly help me to do this.
    Thanks in advance.
    Jegatheeswaran P.

    Did you get the way to read group id?

  • Where can I find the file where the static mapping allocations of the DHCP server are stored?

    In our company we are using DHCP to assign static ip addresses to our clients.
    Now we are forced to change the ip address range. To prevent changing each allocation
    of mac-address to ip-address manually with the admin tool i would like to change the allocation
    in the file where the allocations are saved. The reason ist that i just have to use copy & paste for all
    the allocations.
    So how is the file named and where can I find the file where
    the static mapping allocations of the DHCP server are stored? Is it just an ASCII file?
    Must i note anything when i change the file manually?

    From man bootpd:
    BOOTP/DHCP STATIC BINDINGS
         Static IP address to ethernet address bindings are stored in the /etc/bootptab file and in Open Directory.  Bindings specified in the /etc/bootptab file take precedence over those in Open Directory.
         See bootptab(5) for more information about the /etc/bootptab file.
         For Open Directory, bootpd looks at the /Computers records for the following properties:
    /etc/bootptab is a standard text file, while the records in Open Directory can be manipulated either through the command line, or via Workgroup Manager.

  • How to get the co-ordinates(X-axis and y-axis) for irregular static map

    hi all,
    i am trying to get the co-ordinates like latitude and longitude which are used in google map in an irrregular Static Maps,and i also want to know how can i Get perfect location Depending on Coordinates which i given using Page items.
    can any help me pls
    I AM USING APEX 4.1.1
    thanks,
    Pavan
    Edited by: Pavan on May 29, 2012 7:58 AM

    hi VC,
    Thanks for your reply,,
    I Just want to Develop a static map that is not using any Google api or Google Maps,Its like Google maps but not totally a Map which resembles Google map. But i want to have an access of coordinates in an static regular Map where with the help of coordinates we can find any point on that static map's .
    Thanks & Regards:
    Pavan

  • Map context node  web dynpro to context DATA of  interface controller ALV

    Hi Experts,
    I have started creating simple ALV by following the example in the below mentioned link.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3439404a-0801-0010-dda5-8c14514d690d
    I have completed 95% development but stuck with last bit of
    Set data to ALV for display (via reverse context mapping).
    When Click on the Controller Usage button. The component controller of your Web Dynpro component DOES NOT appears on the right side of the screen.
    Therefore I can not  Map context node NODE_FLIGHTTAB of your Web Dynpro component to context DATA of the interface controller of the ALV component.
    Could you please shed me light on this.
    Your time and help much appreciated.
    Best Regards
    CB

    Hi Chandra,
    You need to add component controller first. Just go to the property tab of interface controller of the alv component and click on create button and then add the component controller. After that you'll be able to see the node in the context tab.
    Regards
    Arjun

  • External mapping context

    Hello.
    I have one problem. I have 2 components? for example compA and compB. In compB I used compA. From compB I give parameters to compA throuth Context mapping and in compA execute RFC using this parameters. After execute I want to mapping result context from compA to compB. Is it possible to do? And if possible, how can I do this?

    I think the mapped context is not initialized in the wdDoInit method. Create your own init method in compA and call it from the wdDoInit of the view of compA.
    So you have the call hierarchy like this --> Fire plug of compB --> wDoInit of the view in comA (hook method) --> your own init method in controller of compA. Then you should be able to access the initialized mapped context.
    Hope this helps.

  • Static mapping in 10.3.x Server?

    I have a situation where we want to use static mapping (DHCP Reservations in Windows-speak) but cannot upgrade to 10.4 because of a software compatibility issue. Is there a way to enable/add this feature on 10.3.x? Thanks!

    To achieve what you want you'll need to change the server setup. Start by making your server an OD master and use different named LDAP accounts on the server for the clients (or remove/rename the local accounts (folders) first).
    The clients need to use LDAP info to find the server (look in Directory Access).
    Older OS X server versions used Netinfo domains (Jaguar too? at least 10.1.x did).

  • Flexconnect static mapping of WLAN to VLAN

    5508 running 7.4
    I want to create a definition for a particular site that maps WLANs (SSIDs) to switched VLANs.   I know that I can go to Wireless => Select AP => VLAN mappings on an individual AP basis.  But is there a way to create a group that will do this?  I thought it could be done with flexconnect groups but I just could not find a way to make it happen there.  Then I ran across this Architecting Network for Branch Offices with Cisco Unified Wireless Cisco Live presentation:
    http://d2zmdbbm9feqrf.cloudfront.net/2013/usa/pdf/BRKEWN-2016.pdf
    And on page 28 it states:
    AP groups give the ability to statically map Wi-Fi service (WLAN) to VLAN based on physical location
    And it then goes on to give a Configuration/VLAN mapping example in which I fail to see where VLANs are mentioned at all.
    Is what I am trying to do possible?
    Thanks,
    -JEff

    Hi Scott, thanks for the reply
    I have a main campus with several different distribution blocks that each use unique VLAN IDs.  And I have about a dozen remote sites that will all use common VLAN IDs.  I am configuring a single SSID (WLAN 2) to be used across all of these locations.  So at my main campus building "A" will have WLAN 2 mapped to VLAN 55 while building "B" will have WLAN 2 mapped to VLAN 65.  At each of the remote sites WLAN 2 needs to be maped to VLAN 15.
    So let's say I want to configure the main campus buildings A and B.  I create a dynamic interface for vlan 55 and name it something creative like vlan-55, Likewise for vlan 65.  Then I create an AP group named APG-55, add WLAN 2 to it and add all of my APs in that buliding.  What I don't understand is where the dynamic interface comes into play.  From your explanation it would seem that I need to assoiciate the dynamic interface to an AP group somehow.  What am I missing?
    Thanks!
    -Jeff

  • DHCP static maps configuration using serveradmin (terminal / commandline)

    Hi there,
    I'm having much trouble using serveradmin to create new static map entries. Unfortunately using the serveradmin-tools gui isn't an option, because setting up DHCP static maps are only one small part of a much bigger script.
    I tried to manually execute every line. I've also tried the example from the command line manual, but everything without success.
    I would be very glad, if someone could help me solving this problem.
    So here is the the output of my script...
    every executed line leads to a
    "dhcp:static_maps = emptyarray"
    message.
    serveradmin settings dhcp:staticmaps:_arrayid:29d9e547-8b47-ab37-ab28-5a00be4031bf = create
    serveradmin settings dhcp:staticmaps:_array_id:29d9e547-8b47-ab37-ab28-5a00be4031bf:ipadress = "xxx.yyy.zzz.220" (this line with a correct IP belonging to the configured subnet)
    serveradmin settings dhcp:staticmaps:_arrayid:29d9e547-8b47-ab37-ab28-5a00be4031bf:name = "computer"
    serveradmin settings dhcp:staticmaps:_array_id:29d9e547-8b47-ab37-ab28-5a00be4031bf:enadress = "0f:12:d0:11:b3:d4"
    ###################################################

    finding spelling mistake will solve some problems....
    so I wrote adress instead of address.

  • DHCP static maps ignored

    No answers on any other threads, so starting a new one.
    XServe running Server 10.6.2. Configured the DHCP service with a dynamic range and about a dozen static maps. Started the service and forced a lease renewal on a client that had a static map. Watched the DHCP messages and an address was assigned - FROM THE POOL.
    For some reason, even when receiving a request from a client with a MAC address that's defined in a static map, the DHCP server totally ignores this and hands out an address from the main pool which is obviously nonsense.
    Is anyone satisfactorily using static mapping in Snow L Server's DHCP service? Is there some 'extra' configuration that needs to be applied to tell it to use the static maps that are defined? There must be a solution to this, without it DHCP is USELESS. Surely someone has a clue about what's going on here. Please?

    I fixed my problem.
    In order for Apple's chosen DHCP server to use static maps, you have to enable this in the configuration file - something Apple in their infinite wisdom have forgotten to do.
    By default in the /etc/bootpd.plist file bootp is disabled:-
    <key>bootp_enabled</key>
    <false/>
    Change this to:-
    <key>bootp_enabled</key>
    <array>
    <string>en1</string>
    </array>
    Or for whichever ethernet interface you want to serve these addresses from.
    Well done Apple.

  • DHCP/Subnets/Static Maps setup question

    We have a unique teaching environment where we would like both employees (with laptops) and clients to be able to plug into any ethernet port in the building or be wireless. My question is, what is the best way to set things up so that employees always get the same ip and have access to the full range of services (file services, LDAP, Internet) but customers only have access to the Internet but not internal services. I have tried using static maps for employees but for some reason, customers sometimes end up getting one of the static maps intended for employees (and I have verified that all the MAC addresses are entered correctly). I am pretty new to Tiger server so any help is greatly appreciated.

    If im not mistaking your DHCP settings are overlapping with the ips you have statically assigned. To fix this reserve say 192.168.1.1-127 for static ips and let dhcp use the remainder.

  • How do I remove a DHCP static mapping that will not go away in Server Admin?

    I have a static DHCP mapping to a retired network that I can't remove from the Server Admin GUI.
    To be specific, I click remove and it disappears.
    To then click "SAVE" and it comes back.
    How do I remove it manually? Where are the static mappings located that make it reappear each time I click "SAVE".
    From the DHCP logs:
    Jun 28 18:36:18 macmini-home servermgrd[97]: servermgr_dhcp:bootp config:Notice:Removed record GabrielHouse-Gateway
    Jun 28 18:36:27 macmini-home servermgrd[97]: servermgr_dhcp:bootp config:Error:Unable to update/remove record with id 45F7E04B-6368-419C-9A86-64458BBAC5C0 because 12 records found.

    Hi John,
    Thank you for taking the time to write up the approach and places to start.
    I have checked in all of the places listed and no luck. No occurance of the "stuck" statically mapped DHCP address. Just to add a note, of detail about the particular device in case this is a client device that is causing this .... The device is an iPhone and it is NOT using the bad static assignment. Also, the static record is an IP address that is now outside of the current network range..... It is 192.168.0.25 .... where as the current DHCP server range is in the 10.1.XX.XX range.
    Also, This server is not using Open Directory, but I did open WGM to see what I could see thru the GUI and I found no record in the local database.
    Also, note - I attempted to delete ALL DHCP configuration on this server by
    1) Exporting the configuration data with Server Admin
    2) Manually removing the bad DHCP static assignment in the plist
    3) Turning off the DHCP Server
    4) Deleting the full DHCP zone.
    5) Importing the DHCP configuration from the edited plist.
    6) Turning on DHCP Service.
    The bad record is back....
    Thanx for the ideas. Keep them coming....

  • Google Static Maps for IOS

    HI,
    I'm working on using static maps on the iPhone and its running really well so far. I can add custom markers and the maps look nice.
    What I'm having a problem with is having a link on the marker itself. I just can't see where the link goes and google don't mention it on the static map
    help pages. Can it be done?
    This is my URL to add map and markers, so I guess it should go in here...somewhere
    url = "http://maps.google.com/maps/api/staticmap?zoom=14&size=" + 310 + "x" + 320 + "&maptype=roadmap&markers=color:blue|label:A|" + mapLat + "," + mapLong + "&sensor=true";
    any help would be great
    KBN

    No, it would probably be better to check with Google.

  • Google Static Maps display with LabVIEW

    Hi,
    I have made a VI that displays the map based on Google Static Maps. For testing, I give random LAT and LON to display the location on front panel. 
    Issue is, whenever I try to change the coordiantes via a numeric control, the display either takes too much time to load and most of the times it shows half of the display. I tried putting a delay inside while loop but it does the same; shows me half image.
    The Google Static maps work a URL script that has a specific format provided my Google. The format can be viewed here: https://developers.google.com/maps/documentation/s​taticmaps/
    I have also attached a VI. A little asistance is needed in how I could either change my code in a such a way that i uses less memory and takes very less time to load.
    Thank you.
    Attachments:
    Map.vi ‏27 KB

    Pianne wrote:
    - I see that the snippet tool does not show the events that trigger the case. They should be value changes of either Latitude, Longitude, Zoom or MapType.
    Attaching my VI does not seem to work either, I get an error saying that "The contents of the attachment doesn't match its file type."
    Spoiler (Highlight to read)
    Hi Pianne,
    have you tried to uploade a .zip file containing your .vi?!
    - sorry, my reply came to late
    Regards,
    Alex
    ♜♖ LabView 8.6 - LabView 2014 ♖♜

  • Need to Import DHCP Static Maps

    I just built an 10.6 OS X Server that will be running DHCP, I have the DHCP mappings in a spreadsheet with the Description, IP and Mac address. I need a way to import them, any ideas which tool I can use?
    I have already tried Leopard Static Mapper 1.1, the plist I created with it won't load, I think it only works with 10.5

    Hi Flipwork,
    thanks for a quick update. I have checked and double checked and triple checked. I even removed the names etc. from description fields. They are simply numbers now from 1 to 1820... yea that is how many I have to import. The other fields are simple mac addresses and IP addresses.
    the plist starts to get imported in server admin and then stops at a random number depending on which order I give the csv file to static map importer from which the plist is created.
    I'll be grateful for a hint that might work for me.
    thanks again for your time.
    Regards

Maybe you are looking for