Programatically rendering popups at runtime

Jdev 11.1.2.3.0
I am having problems with popup...
I want to create a popup that displays information programatically depending on the action of a user. what I did:
1. I created an af:popup (popupMess1) in an adf page. In it, I inserted an ad:dialog. in the af:dialog(dialogMess1), I inserted an active output text(testMess1) ,My aim is that the value of the active out text (testMess1) will change depending on the action of the user. For instance, the program checks to see if the value of the main code is null
2. In my managed bean, this is how I implemented it, however, when I ran the program, it gave me java.lang.NullPointerException
        RichPopup.PopupHints ph = new RichPopup.PopupHints();
        ////check the main code
        if (this.getMainCodeId().getValue() == null) {
            this.testMess1.setValue("Invalid Main Code. Enter a valid main code !!!");
            popupMess1.show(ph);
            return (false);
3. When I set the value of the output text (testMess1)n on the property inspector  to "Invalid Main Code. Enter a valid main code" and commented it out in my managed bean, it displays properly
            //this.testMess1.setValue("Invalid Main Code. Enter a valid main code !!!");
            popupMess1.show(ph);

Frank,
if you get a NPE it would help us if you could tell us where you get it.
From the reat of your code I get that you bind components to the bean you use to set the values. Binding components is only allowed if the scope of the bean is backingBean scope or request scope. Which scope are your bean in?
The easiest way around this problem is not to set the value of the component from the bean, but to set the inputText to store it's value in a e.g. pageDef variable (Creating Variables and Attribute Bindings to Store Values Temporarily in the PageDef | JDev & ADF Goodies)
then change the pagedef variable from your bean.
Next you should set the content delivery of the popup to lazyUncached as it otherwise will read the data only once when the page is rendered the first time.
Timo

Similar Messages

  • DataGrid rendering issue during runtime

    Hi,
    I have a data grid where the data during runtime
    changes.Basically I use a tree structure in the first column of the
    data grid where the top level rows will be displayed in the
    beginning . Let's say at the beginning I have 2 rows and When the
    user expands the 2nd row I fetch some more data and display it on
    the Datagrid Again with the 2nd row expanded . One approach is to
    reinitialise the Dataprovider and refresh the datagrid again .But I
    feel this is not the right Approach .Is it possible to render the
    results only to the existing Datagrid.
    I have a custom item renderer to render the tree structure
    for the first column.If I have the full XML in the beginning then
    it works fine .But do not know if I can optimize it without
    reloading the whole XML again.

    Hi,
    I was looking into the Datagrid class and got to know that
    the Dataproviders are associated with Change event .so I do not
    really need to do anything If I am using the collection classes as
    dataprovider.I also tested the same and it's working perfectly.I'm
    not sure what will be the performance impact when I have huge data
    .I guess it must have been implemented keeping the performance
    issues in mind.

  • Modify window title of popup at runtime

    We have a generic popup that allows the user to scroll through a series of instructions.  The instructions vary based on the test.  Is there a way, at Runtime, to change the popup's window title (based on the VI's name, or read from a config file)?

    Sorry, the picure is wrong...  the capture tool clipped the picture. Sorry.  Really all you need is the property node.
    Message Edited by Stradis on 09-20-2007 10:39 AM
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?
    Attachments:
    Example_BD.png ‏1 KB

  • Rendering popup windows in JSF form on demand

    Hello,
    i have a form with a RichFaces menu bar at the top and several other UI components , eg. commandButtons. When a <rich:menuItem> or a <a4j:commandButton> component is clicked, a hidden modal popup window appears for user interaction. At the moment, all JSF files associated with the NetBeans project are downloaded to the client machine.
    In order to reduce network traffic for low bandwidth internet connections, i would like to only download the popup window JSF files from the server to the client if the relevant form UI component is clicked.
    Would anyone suggest a possible method to achieve this please?
    Thanks,
    Mark Weatherill.

    you can open a popup page from commandButton like,
    onclick="window.open('http://www.myapp.com/faces/popup.jsp'); return false;"Use the same faces-managed-bean to input data (on popup page and on the main page). Before closing the popup page you can submit its form to update the model. And after closing the popup page you can refresh the main page. Beware that you might have problems with refreshing in https connection (getting "access is denied" exceptions in jscript)

  • Popup Window Runtime Exception

    Hi,
    I am working on EP7 SP 15.
    I am trying to create a popup window but I have the following error:
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Parameter windowInfo must not be null.
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createModalWindow(ClientComponent.java:1028)
        at popapp.PopAppView.onActionCreatePopup(PopAppView.java:150)
        at popapp.wdp.InternalPopAppView.wdInvokeEventHandler(InternalPopAppView.java:148)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
        at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
    The source code of my methods is:
    IWDWindow myPopup = wdContext.currentPopupNodeElement().getPopupAttribute();
         if (myPopup == null)
              IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("PopWinView");
              myPopup = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
              wdContext.currentPopupNodeElement().setPopupAttribute(myPopup);
         myPopup.show();
    Can anyone tell me what is wrong in my source code ?
    Thanks q lot for your help....

    hi,
    this is due to two reasons
    1. u have not created this window .
    IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("PopWinView");
    so create this first.
    and 2. the name of window is not spelled correctly.
    Regards
    Trilochan

  • Programatically resize controls at runtime

    I have a series of controls on a GUI and a GUI that I want to be able to resize according to the machine that is running the program.
    Basically my logic is this. A GUI can fill most of the available display space, but not all, and must never be shown on a monitor that it is not designed for.
    Currently my Laptop is having display issues and keeps chaning the resolution thus hiding parts  of my GUI.
    I want to resize (and position all visible controls and indicators - I know which ones they are) so that my GUI fits in a know space on certain default screen resolutions. (800x600, 1024x768 and 1280x1024)
    I can get the position and bounds of a control, but I can't change the bounds of a control (generic) with the property node. This is frustrating. as one of my controls is a large Multicolumn listbox which takes up most of the display and definitely needs resizing according to screen resolution.
    Any ideas?
    James
    Solved!
    Go to Solution.

    unbundling from your cluster would be simplest, yes.
    I think in general though you could be better served by keeping it simple and letting the user deal with the front panel.  Leave the scrollbars visible, let the user resize the panel.  Look at the bounding box of the pane and initially resize the window to fit the contents rather than the other way around.  I only like to lock down the window if it's to be a terminal type application (only thing running, I know the hardware at dev time, etc.)
    There are some other ways to resize things, too.  I'm sure you've seen the "scale with pane" and "fit to pane" options.  I've always been unsatisfied with the former, but the latter is pretty nice when combined with splitters, especially if you camouflage the splitter and get the various splitter options right.
    Check out the UI of VI Package Manager to see a nice MCL that resizes as you resize the window.  I think JKI even have a how-to-video that might show it....found it: http://forums.jkisoft.com/index.php?showtopic=988
    and for an extra tidbit, check out these properties:
     the top one gives you the resolution of each monitor on the system (mine shows 1680x1050) the bottom one gives you the workspace rectangle of the main monitor (and mine shows (0,1680),(0,990) which shows that the last 60 pixels there at the bottom are taskbar)
    These should be useful for checking what the available space is for dynamically sizing things. 
    -Barrett
    CLD

  • Rendering-Sometimes I get a window sometimes not?

    Ok, I am having an issue with Rendering command.  I need it to play the video back smoothly, but sometimes when I hit the Render button on the workspace the video just starts playing from the beginning by itself, but the playback is not smooth...it is just like when I don't Render.  Other times I get the Rendering popup window with status of the Rendering. That last process is what makes it easier to view.  I have no idea how to get one up over the other. Two part question:
    1-What are the differences between the two Rendering and how do I get the "good one" to come up?
    2-On the bottom of the Rendering status window is says I have 26GB of HDD space left, but the video I am working from is stored on another, external drive.  What is that about? 
    Thanks! and here is a pic of my workspace if it helps.
    DAVE

    Dave,
    First, in Edit>Preferences>Scratch Disks, what is set for your Video Preview files? That is where the Rendered files will go.
    Now, Rendering will ONLY be available if one has red lines (or now yellow lines), above their Clips. If there are no lines, or green lines, then Rendering will not take place.
    If you have no lines, or green lines, and are getting choppy playback, then we need to know a bit more:
    What are the full specs. of your Video Clips?
    What Project Preset was chosen, at New Project?
    What are the full specs. of your computer?
    For more info on Rendering, see this article: http://forums.adobe.com/message/3484339#3484339
    Good luck,
    Hunt

  • Possible to rename popup strings upon changing `Chapter` field in `Composition Marker` dialog?

    Hi There,
    I am in need to dynamically change the values inside a popup upon a user changing the value of the `Chapter` field within the `Composition Marker` dialog.  I realize that we cannot add new string values to a popup at runtime, but I read a thread in this forum, and in the `Supervisor` example in the SDK, that it is possible to rename them.  However, it seems like the event for making the changes to those values is triggered by a user changing values in the parameter set of the plugin itself. 
    So my idea is to populate a popup param with 20 strings--for example, 1, 2, 3, . . . 20.  Then when a user enters in a string within the `Chapter` field in a `Composition Marker` dialog, it updates the popup list to show the user entered string.  Is this possible?  I know I can access the string in the `Chapter` field via javascript ExtendScript.  Can I do it within C++ code?
    Thanks for your time and help!

    to get the marker string you should use AEGP_GetMarkerString() with AEGP_MarkerString_CHAPTER.  as for changing the popup values, by looking at the thread you pointed out, it seems it's possible to change the popup names at any time, and not during a specific code. the entire accessing of the popup data in that example was done using AEGP calls, which should not be affected by the calling time. (except for rare cases) never tried it myself. can vouch for my advice here.  since popup param's amount of entries can't be changed dynamically (to the best of my knowledge), you can create 30 (or any other number) of hidden popup params, starting with 1 entry and ending with 30 entries in it, and make only the param that fits your purposes best at that moment - visible.

  • Doinit(), domodify() and popup

    hi,
    i searched the forum for the above terms but did not find a good match.
    My question: Can I get a popup (confirmation or modal window) during wdDoInit() or wdDoModify()?
    it works all fine, when opening the window in other methods, but i need it, when my view gets called the very first time.
    I get a strange IE error popup during runtime (like javascript error windows). When confirming the IE Error, I can see the popup on the view, which then, when confirming
    runs endlessly (this wait flashy animation).
    help appreciated - thanx, matthias

    dear mario, dear sameer, dear ev.else,
    would you be so kind as to read my question?
    I need a popup, which appears when the view loads the very first time - like an onload event in javascript. I mean, in a simple html page this is very easy - and I assume, there should be a way to do that in webdynpro.
    Background of the task: I need a severe warning to popup depending on the data in the view. So this has to be triggered automatically, when the application is called.
    regards, matthias

  • Generate Selection Screen as Popup dynamically

    Hello to all,
    is there a way to generate a selection screen popup at runtime dynamically?
    Is there any guide, that explains how "generate dynpro" has to be used?
    Thanks
    Christian

    Hello Oliver,
    sorry that i didn't update this thread. I tried the way you described above and it works. Sometimes I get short dumps in the shared memory block. I didn't solve this yet.
    I post you my code below:
      DATA la_dssfield TYPE /XXX/zssys_dssfield.
      CLEAR: wa_code, it_code.
      CLEAR: Ranges.
      wa_code = '*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'.
      APPEND wa_code TO it_code.
      wa_code = '*!!!!!! Generated program. Do not change anything!!!!'.
      APPEND wa_code TO it_code.
      wa_code = '*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'.
      APPEND wa_code TO it_code.
      wa_code = 'REPORT /XXX/ZSYS_GENSELSCREEN.'.
      APPEND wa_code TO it_code.
    **** Generate Tables Section
      DATA lt_tmp_dssfield TYPE /XXX/ztsys_dssfield.
      lt_tmp_dssfield[] = it_dssfield[].
    **** Delete Parameters
      DELETE lt_tmp_dssfield WHERE basictype EQ 'P'.
    **** Delete Duplicates
      SORT lt_tmp_dssfield BY reftable.
      DELETE ADJACENT DUPLICATES FROM lt_tmp_dssfield COMPARING reftable.
    **** Generate Tables Code
      LOOP AT lt_tmp_dssfield INTO la_dssfield.
        CONCATENATE 'TABLES' la_dssfield-reftable '.' INTO wa_code SEPARATED BY space.
        APPEND wa_code TO it_code.
      ENDLOOP.
    **** Build Selection Screen
      DATA: l_tabix(10) TYPE c,
            l_type(128) TYPE c,
            l_desc(10) TYPE c.
      LOOP AT it_dssfield INTO la_dssfield.
        l_tabix = sy-tabix.
        CONDENSE l_tabix.
        wa_code = 'SELECTION-SCREEN BEGIN OF LINE.'.
        APPEND wa_code TO it_code.
        CONCATENATE 'SELECTION-SCREEN COMMENT 1(32) cmt' l_tabix '.' INTO wa_code.
        APPEND wa_code TO it_code.
        CONCATENATE la_dssfield-reftable la_dssfield-reffield INTO l_type SEPARATED BY '-'.
        CASE la_dssfield-basictype.
          WHEN 'P'.
            CONCATENATE 'PARAMETERS' la_dssfield-fieldname 'LIKE' l_type '.' INTO wa_code SEPARATED BY space.
          WHEN 'S'.
            CONCATENATE 'SELECT-OPTIONS' la_dssfield-fieldname 'FOR' l_type '.' INTO wa_code SEPARATED BY space.
          WHEN 'V'.
            CONCATENATE 'SELECT-OPTIONS' la_dssfield-fieldname 'FOR' l_type ' NO INTERVALS.' INTO wa_code SEPARATED BY space.
        ENDCASE.
        APPEND wa_code TO it_code.
        wa_code = 'SELECTION-SCREEN END OF LINE.'.
        APPEND wa_code TO it_code.
      ENDLOOP.
    **** Initialize Comment Fields
      wa_code = 'INITIALIZATION.'.
      APPEND wa_code TO it_code.
    **** Set GUI-Status
      MOVE 'SET PF-STATUS ''STATUS_1000'' OF PROGRAM ''/XXX/ZSYS_GENSELSCREEN''.' to wa_code.
      APPEND wa_code to it_code.
    **** Set title
      DATA: l_stitle type string,
            l_sprog type string,
            l_stitletxt type string.
      MOVE '''TITLE_1000''' To l_stitle.
      MOVE '''/XXX/ZSYS_GENSELSCREEN''' to l_sprog.
      CONCATENATE 'SET TITLEBAR' l_stitle 'OF PROGRAM' l_sprog 'WITH'
                   INTO wa_code SEPARATED BY space.
      APPEND wa_code TO it_code.
      CONCATENATE '''' i_title '''' into wa_code.
      append wa_code to it_code.
      MOVE '.' to wa_code.
      APPEND wa_code TO it_code.
      LOOP AT it_dssfield INTO la_dssfield.
        l_tabix = sy-tabix.
        CONDENSE l_tabix.
        CONCATENATE 'cmt' l_tabix INTO l_tabix.
        CONCATENATE l_tabix ' = ''' la_dssfield-descr '''.' INTO wa_code.
        APPEND wa_code TO it_code.
      ENDLOOP.
    *** Start of Selection
    *  wa_code = 'START-OF-SELECTION.'.
    *  APPEND wa_code TO it_code.
    **** AT SELECTION-SCREEN
      wa_code = 'AT SELECTION-SCREEN.'.
      APPEND wa_code TO it_code.
      wa_code = 'DATA: okcode type SYUCOMM.'.
      APPEND wa_code TO it_code.
      wa_code = 'MOVE sy-ucomm to okcode.'.
      APPEND wa_code TO it_code.
    * Data types for shared objects
      wa_code = 'DATA t_ranges TYPE ACE_FIELD_RANGES_T.'.
      APPEND wa_code TO it_code.
      wa_code = 'DATA wa_ranges LIKE LINE OF t_ranges.'.
      APPEND wa_code TO it_code.
      wa_code = 'DATA t_fldrange TYPE ACE_GENERIC_RANGE_T.'.
      APPEND wa_code TO it_code.
      wa_code = 'DATA wa_fldrange TYPE ACE_GENERIC_RANGE.'.
      APPEND wa_code TO it_code.
    * Read the input from the selection screen and
    *  store it in Shared Objects
      LOOP AT it_dssfield INTO la_dssfield.
    *   Assign the fieldname in the variable
        CONCATENATE 'wa_ranges-fieldname = '''
                     la_dssfield-fieldname '''.'
          INTO wa_code SEPARATED BY space.
        APPEND wa_code TO it_code.
        wa_code = 'REFRESH t_fldrange.'.
        APPEND wa_code TO it_code.
    *   Processing for SELECT-OPTIONS
    *   Loop and move data to the shared memory
        IF la_dssfield-basictype EQ 'S'
           OR la_dssfield-basictype EQ 'V'.
          CONCATENATE 'LOOP AT ' la_dssfield-fieldname '.'
            INTO wa_code SEPARATED BY space.
          APPEND wa_code TO it_code.
          wa_code = 'CLEAR wa_fldrange.'.
          APPEND wa_code TO it_code.
          CONCATENATE 'MOVE-CORRESPONDING ' la_dssfield-fieldname 'TO' 'wa_fldrange.'
             INTO wa_code SEPARATED BY space.
          APPEND wa_code TO it_code.
          wa_code = 'APPEND wa_fldrange TO t_fldrange.'.
          APPEND wa_code TO it_code.
          wa_code = 'ENDLOOP.'.
          APPEND wa_code TO it_code.
          wa_code = 'wa_ranges-fieldrange[] = t_fldrange[].'.
          APPEND wa_code TO it_code.
          wa_code = 'APPEND wa_ranges TO t_ranges.'.
          APPEND wa_code TO it_code.
        ELSEIF la_dssfield-basictype EQ 'P'.
    *   Processing for PARAMETERS
          wa_code = 'CLEAR wa_fldrange.'.
          APPEND wa_code TO it_code.
    *     Process if the parameter is not initial
          CONCATENATE 'IF ' la_dssfield-fieldname 'IS NOT INITIAL.'
            INTO wa_code SEPARATED BY space.
          APPEND wa_code TO it_code.
          wa_code = 'wa_fldrange-sign = ''I''.'.
          APPEND wa_code TO it_code.
          wa_code = 'wa_fldrange-option = ''EQ''.'.
          APPEND wa_code TO it_code.
          CONCATENATE 'wa_fldrange-low = ' la_dssfield-fieldname '.'
            INTO wa_code SEPARATED BY space.
          APPEND wa_code TO it_code.
          wa_code = 'APPEND wa_fldrange TO t_fldrange.'.
          APPEND wa_code TO it_code.
          wa_code = 'ENDIF.'.
          APPEND wa_code TO it_code.
          wa_code = 'wa_ranges-fieldrange[] = t_fldrange[].'.
          APPEND wa_code TO it_code.
          wa_code = 'APPEND wa_ranges TO t_ranges.'.
          APPEND wa_code TO it_code.
        ENDIF.
      ENDLOOP.
      wa_code = 'DATA: area type ref to /XXX/zsmasys_genselscreen.'.
      APPEND wa_code TO it_code.
      wa_code = 'DATA root type REF to /XXX/zclsys_genselscreen.'.
      APPEND wa_code TO it_code.
    * Get ref to the shared memory
      wa_code = 'area = /XXX/zsmasys_genselscreen=>attach_for_write( ).'.
      APPEND wa_code TO it_code.
      wa_code = 'create object root area handle area.'.
      APPEND wa_code TO it_code.
    * Store the value in memory
      wa_code = 'root->set_fields( t_ranges ).'.
      APPEND wa_code TO it_code.
    * Store ok_code in memory
      wa_code = ' root->set_okcode( okcode ).'.
      APPEND wa_code TO it_code.
      wa_code = 'area->set_root(  root ).'.
      APPEND wa_code TO it_code.
    * Commit and detatch
      wa_code = 'area->detach_commit( ).'.
      APPEND wa_code TO it_code.
    * Quit the program: Return to the main code
      wa_code = 'LEAVE PROGRAM.'.
      APPEND wa_code TO it_code.
    * Generate the report program
      INSERT REPORT '/XXX/ZSYS_GENSELSCREEN' FROM it_code.
      COMMIT WORK.
    * Execute the report
      SUBMIT /XXX/zsys_genselscreen VIA SELECTION-SCREEN AND RETURN.
    Importing parameters are:
    it_dssfield type /XXX/zTsys_dssfield
    i_title type title_txt
    /XXX/ztsys_dssfield has the following line structure:
    FIELDNAME     CHAR08
    REFTABLE     TABNAME
    REFFIELD     FIELDNAME
    BASICTYPE     CHAR01
    DESCR     CHAR30_BRO
    I hope It helps you!
    I'm looking for a way to do the same in a selection-screen Pop-Up.
    For further questens contact me!
    Regards Christian

  • Rendered Property for my Button not working correctly

    Hi Guys,
    I Have a Table which bound to my ObjectListDataProvider
    Each row will have button as follow
    1.Edit ( rendered = 'isRendered" ) ( action = "edit_action()" )
    2.Update ( rendered = "not isRendered") ( Action = "update_action()")
    3.Cancel ( rendered = "not isRendered()") (Action = "cancel_action()")
    The idea is when user first load the page what they can only see is Edit Button
    Then when they start Click the Edit Button for particularr row it will
    invoke the edit_action() method and set some Setting which cause the isRendered() value changed so
    The Edit Button now wont be rendered but Update and Cancel Button will be rendered.
    But when i click on Update Button nothing happens.
    it seems rendering Component at runtime doesn't work
    But i use visible propert instead of rendered it works perfectly.
    Anybody encounter this issue before?
    Thanks

    yes when i clicked Edit Button these few thins will happen as below.
    1. edit_action() invoked because i print something inside this method for tracing so i know this is invoked
    2. then Edit Button would disappear( not rendered anymore) , as In turn ,
    Update and Cancel Button would be rendered.
    yea i use same value
    all i did just go to properties windows bind the rendered value to "isRendered()" method
    Because it doesn't work i clear the value , now i set the Visible value to "isRendered()" method for Update and Edit
    But i never changed the action binding
    so i guess its okay
    Yea it is very weird and i dont know what cause this
    the problem is when we can see Update Button means it is already being rendered right so it should invoke the binding method behind when i start clicking it but it just doesn't work for rendered...

  • Wrong component id rendered

    Hello,
    I have a webapp using jsf 1.2, facelets and richfaces.
    I've created a minimal example to demonstrate my problem. ( Download )
    The index.xhtml includes a file depending on the controller state.
    In this included files there is a facelets component with a harcoded id. (the component is a template for a richfaces popup).
    In the sample, there is a button on the first included page. If this button is pressed, the site will reload and include the second file.
    But on the second file, the rendered popup keeps the id of the popup rendered on the first page.
    I've put a button on the second file, but this button gets its own id, like I expected it from the popup component too.
    Just look at the sample.
    Greets
    Dirk

    Found a solution myself.
    If I move the popups in an extra file (each in its own) and put an ui:component around it, it works.

  • Office 2013 on RDS, icon appears and dissapears

    Hello.
    We have multiforest enviroment. Forest A ( there are accounts ) and forest B where are APPV mgmt and RDS servers. Users from Forest A login to RDS servers in forest B with no problem. We have domain group (say FS USERS) in forest B that includes users account
    from forest  A and we publish MS Office for this group.
    Every other application published for domain group "FS USERS" work, but MS Office 2013 not. When logging, Office icons for 8seconds appears and after that disappears ( i think when office intergration task run ).
    When i publish office for group in domain B and
    accounts that comes from domain B, office works.
    Can anyone recommend
    what to do, what check?
    I enable debug logging but nothing special found.
    Thanks, Jan

    Hello.Yes, jump to fully supported model.
    I write before, we try it, 1 ODT per machine like we are using for any other packages.
    We end with error :
    The virtual application 'C:\Windows\Explorer.EXE' could not be started because the App-V Subsystem 'Virtual Shell' could not be initialized. {error: 0xC701525-0x54F}
    The virtual application 'C:\Windows\Explorer.EXE' could not be started because the App-V Subsystem 'Registry Staging' could not be initialized. {error: 0x78A00A0A-0xA0005}
    The main and annoying  effect is when user logon, there popup dialog:
    Runtime Error!
    Program: c:\windows\explorer.exe
    R6030
    - CRT not initialized
    I must run explorer.exe from task manager manualy ( CTRL+ALT+END) and after that office appears
    There is empty RUNVIRTUAL entry in registry.
    We have latest APPv subsystem. Appv-SP3, resp. 5.0.10107.0
    Server is on clean install, W2008R2Ent
    It doesn't matter if user is form forest or local domain, have redirected %APPDATA% or not.
    Office Deployment Toolkit 15.0.4623.1001
    Jan
    CONFIGURATION
    Id                        : 1
    SetByGroupPolicy          : False
    Name                      : APPV
    URL                       : http://cenzored:8001
    GlobalRefreshEnabled      : True
    GlobalRefreshOnLogon      : True
    GlobalRefreshInterval     : 0
    GlobalRefreshIntervalUnit : Day
    UserRefreshEnabled        : True
    UserRefreshOnLogon        : True
    UserRefreshInterval       : 0
    UserRefreshIntervalUnit   : Day
    Name             : PackageInstallationRoot
    Value            : %programdata%\App-V
    SetByGroupPolicy : False
    Name             : PackageSourceRoot
    Value            :
    SetByGroupPolicy : False
    Name             : LocationProvider
    Value            :
    SetByGroupPolicy : False
    Name             : AutoLoad
    Value            : 1
    SetByGroupPolicy : False
    Name             : EnablePackageScripts
    Value            : 1
    SetByGroupPolicy : True
    Name             : ReestablishmentInterval
    Value            : 5
    SetByGroupPolicy : False
    Name             : ReestablishmentRetries
    Value            : 3
    SetByGroupPolicy : False
    Name             : CertFilterForClientSsl
    Value            : LOCAL_MACHINE\MY\1.3.6.1.5.5.7.3.2
    SetByGroupPolicy : False
    Name             : SupportBranchCache
    Value            : 0
    SetByGroupPolicy : False
    Name             : VerifyCertificateRevocationList
    Value            : 1
    SetByGroupPolicy : False
    Name             : SharedContentStoreMode
    Value            : 0
    SetByGroupPolicy : False
    Name             : MigrationMode
    Value            : 0
    SetByGroupPolicy : False
    Name             : RoamingFileExclusions
    Value            :
    SetByGroupPolicy : False
    Name             : RoamingRegistryExclusions
    Value            : SOFTWARE\CLASSES
    SetByGroupPolicy : False
    Name             : AllowHighCostLaunch
    Value            : 0
    SetByGroupPolicy : False
    Name             : RequirePublishAsAdmin
    Value            : 0
    SetByGroupPolicy : False
    Name             : IntegrationRootUser
    Value            : %LOCALAPPDATA%\Microsoft\AppV\Client\Integration
    SetByGroupPolicy : False
    Name             : IntegrationRootGlobal
    Value            : %ALLUSERSPROFILE%\Microsoft\AppV\Client\Integration
    SetByGroupPolicy : False
    Name             : VirtualizableExtensions
    Value            : exe,com,bat,cmd,vbs,ps1,cpl,jar,wsf,wsh,msc
    SetByGroupPolicy : False
    Name             : IgnoreLocationProvider
    Value            : 0
    SetByGroupPolicy : False
    Name             : ReportingEnabled
    Value            : 0
    SetByGroupPolicy : False
    Name             : ReportingStartTime
    Value            :
    SetByGroupPolicy : False
    Name             : ReportingRandomDelay
    Value            :
    SetByGroupPolicy : False
    Name             : ReportingInterval
    Value            :
    SetByGroupPolicy : False
    Name             : ReportingServerURL
    Value            :
    SetByGroupPolicy : False
    Name             : ReportingDataCacheLimit
    Value            :
    SetByGroupPolicy : False
    Name             : ReportingDataBlockSize
    Value            :
    SetByGroupPolicy : False
    Name             : ExperienceImprovementOptIn
    Value            : 0
    SetByGroupPolicy : False
    Name             : EnablePublishingRefreshUI
    Value            : 0
    SetByGroupPolicy : False
    Name             : ProcessesUsingVirtualComponents
    Value            : {%SystemRoot%\explorer.exe, %ProgramFiles%\Internet Explorer\iexplore.exe, %ProgramFiles(x86)%\Inter
                       net Explorer\iexplore.exe}
    SetByGroupPolicy : False
    Name             : EnableDynamicVirtualization
    Value            : 1
    SetByGroupPolicy : False

  • How to user page-number in If Condition of XML PUBLISHER

    Hi,
    Can any body help me regarding my issue...
    I have to control footer to display in first-page only...but not in other pages.
    for this i am going in this way..
    my thought is to use IF condition by checking Page-number =1
    but in practice i am unable to put the same in Syntax
    by using <?fo:page-number?> i could able to display page-number , but how could use the same in IF condition....
    Please help me asap.
    Thanks in advance
    srinivas poda.

    Hi srinivas,
    Different First Page and Different Odd and Even Page Support
    If your report requires a different header and footer on the first page of your report; or, if
    your report requires different headers and footers for odd and even pages, you can
    define this behavior using Microsoft Word’s Page Setup dialog.
    1. Select Page Setup from the File menu.
    2. In the Page Setup dialog, select the Layout tab.
    3. In the Headers and footers region of the dialog, select the appropriate check box:
    Different odd and even
    Different first page
    4. Insert your headers and footers into your template as desired.
    At runtime your generated report will exhibit the defined header and footer behavior.
    search in this forum, for this first page display only, you can find quite number of solutions.
    and you cant chekc like page-number == 1 ,
    as the pages are rendered at time runtime, at that time only the numbers will be available.
    if you cnat find in this forum, please open this thread again.

  • How to get Current Page(region)  Name/ID   in OA 11i

    We need to get the name or id of the current page, and based on the pagename, we retrieve configuration to launch specific web service.
    pageContext.getPageLayoutBean().getPageFunctionName() is no sufficient. Since one page function sometimes contain multiple pages (eg, each individual page maps to one train node, all the train nods maps to one page function).
    are there OA apis that I can use to get the Current Page name in controller?
    I tried pageContext.getParameter("CurrrentPage") , it works great for iExpense application. However, in iRrecuiment, the parameter "CurrentPage" was not set at all.
    Please advise.

    First let me explain what I want to achieve:
    I am writing one region (choice list displays the webservices based on the container region) along with the controller, and that region will be embed inside any OA application pages via OA personalization. On the runtime, I need to detect the current page (container region) name. Then, based on the configuration stored in my table, I need to query out the web services endpoint to call.
    Now let me answer your question:
    For example, OIEMAINPAGE.xml (OIEMainPageContainer) contains OIEReview, OIEDetail, OIEGeneral, etc, each inner region will be rendered as a page when you click the train node or link of other page. (from end user perspective)
    If I call pageContext.getPageLayoutBean().getPageFunctionName() on those inner regions, it will return OIEMAINPAGE, so I can not figure out which region are rendered (displayed) on runtime. (My region are embed inside OIEMAINPAGE pagelayout region )
    If I call pageContext.getParameter("CurrrentPage"), it will return (OIERview, OIEDetail etc), which are exactly what I want.
    However, I have to make sure my code works for other OA application, and I already noticed that some application does not set parameter CurrentPage, instead they may set parameter Page. So, I want to know if there is API provided by OA or fnd team to return current container region (page), very similar to Form Block name.
    In form, One Form function could have multiple Blocks, and they are not displayed at same time.
    In OA, one function could have multiple inner container region, and they are not displayed at same time.
    In form, One Form function could have mutlple Blocks, and they are not displayed at same time.
    In OA, one funciton could have mulple container region, and they are not displayed at same time.

Maybe you are looking for