UI Shell - TabContext.setMainContent Parameters

Hi,
I need some help with a problem I'm having with the UI Shell.
To provide navigation, I use an af:tree object in the navigation facet. The tree object contains two types of data: Job Groups and Jobs. Each Job Group contains 1 or more Jobs. The selectionListener for the tree is mapped to method on a managed bean. When the user makes a selection, the method decides which taskflow to display based on the node type. I use the TabContext.getCurrentInstance().setMainContent() method to open the taskflow. I pass the following parameters:
1) the appropriate taskflow id to be opened
2) Map object containing application specific parameters. The Map object will contain a parameter named "selectedJobGroup" when a job group is selected. It will contain a parameter named "selectedJob" when a job is selected.
When I run the application, the first call to setMainContent() works as expected. Upon the second call, the content area is empty. When I look at the logs, I see the following message:
<MISSING_REQUIRED_PARAMETER> </WEB-INF/flows/scheduler/ViewJob.xml#ViewJob> selectedJob
When I select a job first, followed by a job group, I get the following message:
<MISSING_REQUIRED_PARAMETER> </WEB-INF/flows/scheduler/ViewJobGroup.xml#ViewJobGroup> selectedJobGroup
I am using J Developer 11.1.1.6.0 and testing on the IntegratedWebLogicServer.
Thanks in advance.
Edited by: Invinceable (Vince) on Jan 3, 2013 8:35 AM

Frank thanks for your reply.
I tried your idea. I first tried passing in the Job or JobGroup selected as the second parameter. However that doesn't work because setMainContent requires a Map as the second argument.
I then tried putting the Job or JobGroup into a Map. If the user selects a Job I put that Job into the Map with key value of "selectedValue". Likewise, when user selected a JobGroup, I put the JobGroup into a Map with key value of "selectedValue". The error no longer occurred. However, the value in the pageFlowScope.selectedValue inside the task flow is always set to the first item selected. For example if a user starts out by selecting a job named "Jobxyz", the correct "Jobxyz" object was in the pageFlowScope.selectedValue. Subsequently, when the user selects a job named "Job123", the value in the pageFlowScope.selectedValue is the "Jobxyz" object. This also happens when I move between job groups and jobs. It's always the first value selected that makes its way to the pageFlowScope.selectedValue.
Do I need to somehow reset the Map that the UI shell uses for passing in task flow parms?
Thanks

Similar Messages

  • ADF UI shell and taskflow parameters.

    I have the following use-case (implemented using the UI shell template)
    1. The navigation section consists of a tree consisting of heterogeneous entities.
    2. Each entity has a distinct "Details taskflow" associated with it. his needs to be launched in a separate tab on node selection
    In (2) above, the taskflow lauched also needs to know the "context" of the entity selected and that is exposed a taskflow parameter.
    Now when I explored the TabContext APIs, I could not figure out a way of passing parameters to these dynamically launched taskflows.
    In the bugDB I reached the following bug which seems to be requesting for this support.
    https://bug.oraclecorp.com/pls/bug/webbug_edit.edit_info_top?report_title=&rptno=9404289
    My query is with the current implementation is there any round about way of passing parameters to the dynamically launched taskflows.
    To me this looks a common requirement or may be I am missing something.

    Hi,
    I am not yet able to look on the updated UI Shell, but it seems that we have the same use-case. Maybe the sample app on the following link could help: http://soadev.blogspot.com/2010/03/reusing-single-page-for-record-viewing.html
    regards,
    Pino
    ps. Please note of the following enhancements on the newly released UI Shell:
    Oracle Dynamic Tabs Template
    A highlight of the fixes and enhancements made:
    * Fix to the java.lang.InstantiationException TabContext$TabSelectionActionListener exception reported in this forum.
    * Support for passing parameters to the task flows.
    * More page template attributes to adjust space allocation and control of specific areas (e.g., global header, global footer) of the template without having to modify the code.
    * Removed duplicate template attributes.
    * Properly referenced previously unused template attributes.
    * Tab state saving across page navigation
    * All objects are serialiableEdited by: pino on Apr 6, 2010 11:16 AM

  • Using shell pass parameters with space to Java

    Hi friends,
    I have a shell script accepting parameters as below
    #!/bin/sh
    #test.sh
    ./setEnv.sh
    java -classpath $CP com.rky.Main *$@*
    CP=
    If I run the script like this ./test.sh -annotation "This is a problem".
    If shell pass the parameters to Java, the parameter "This is a problem" will recognized as 4 parameters by java. That's not what I want . I still need java use it as a whole parameter.
    Do you have any easy ideas to resolve this problem out of my java code?
    Thank you.

    yes, from the bash manpage:
           @      Expands to the positional parameters, starting from  one.   When
                  the  expansion  occurs  within  double  quotes,  each  parameter
                  expands to a separate word.  That is, "$@" is equivalent to "$1"
                  "$2"  ...   If the double-quoted expansion occurs within a word,
                  the expansion of the first parameter is joined with  the  begin-
                  ning  part  of  the original word, and the expansion of the last
                  parameter is joined with the last part  of  the  original  word.
                  When  there  are no positional parameters, "$@" and $@ expand to
                  nothing (i.e., they are removed).(your manpage could be a little different because of versions, and I got this from the manpage of bash on a mac. but the main things should apply)

  • BTF in a region of a page of UI Shell(replace-in-place) not refreshing

    Hi All,
    Jdev Version : 11.1.2.0.0
    We are using a Bounded Task Flow (BTF) in a ADF Region of a page, which is made using the dynamic template UI Shell with replace-in-place method(Only one tab refreshes all time with new content).
    We are refreshing/invoking the new content using:
    TabContext tabContext = TabContext.getCurrentInstance();
    try
    tabContext.setMainContent("/WEB-INF/flows/task-fl.xml#task-fl");
    catch (TabContext.TabContentAreaDirtyException toe)
    // TODO: warn user TabContext api needed for this use case.
    AdfFacesContext.getCurrentInstance().addPartialTarget(dynamicRegion); // where dynamicRegion is binding in the backing bean for the ADF region which includes BTF.
    In the BTF, we have 4 view activities and once the regison displays with default activity and after navigating to 3rd view activity (navigation inside the region BTF), it displays the 3rd view activity content in region. However, If I click on a link (Left side navigation page) which refreshes the same taskflow (same as above), the ADF region is not displaying with default activity of this taskflow instead it displays the same 3rd activity of the taskflow, where the previous status.
    What I understand is that if we set a taskflow tf1 with Main Contnet(as above) and if we try to set the same tf1 to that Main Content, the tf1 is not refreshing (the default activity is not coming up).
    I tried the below solutions but not worked for me:
    a. I refreshed the ADF region after setting the Maincontent as below:
         AdfFacesContext.getCurrentInstance().addPartialTarget(dynamicRegion);
    b. I tried to invoke the region bounded task flow with different parameters (hoping the BTF refreshes and executes from default actitiy). However this also doesn' help.
         And I set the attribute 'refresh = ifneeded'.
    Can we set refresh=ifneeded for a taskflow Call activity also?
    Could you please help how we can refresh the ADF region BTF in this UI Shell(replace-in-place method)
    Thanks
    Madhu

    Thanks Frank for this info.
    Could you please give me other hints regarding taskflow (with default activity) is not refreshing from the region.
    One more thing I observed in my case is that:
    When the region is already with the given BTF(at 3rd view activity content) and when refreshed(tabContext.mainContent("btf....")) with the same BTF (*using page parameters changing*), then first the finalizer(of existed BTF instance) and next initializer(of the new BTF instance) methods of this BTF are invoking but the region is not refreshing with the default view activity content(instead it stays at 3rd view activity content only).
    Please suggest me anything I can debug after BTF initialize() and rendering the page.
    Thanks in Advance.

  • BTF in a region of a page of UI Shell not refreshing

    Hi All,
    Jdev Version : 11.1.2.0.0
    We are using a Bounded Task Flow (BTF) in a ADF Region of a page, which is made using the dynamic template UI Shell with replace-in-place method(Only one tab refreshes all time with new content).
    We are refreshing/invoking the new content using:
    TabContext tabContext = TabContext.getCurrentInstance();
    try{
    // tabContext.setMainContent("/WEB-INF/flows/task-calendar.xml#task-calendar");
    tabContext.setMainContent("/WEB-INF/flows/task-list.xml#task-list", paramMap);
    AdfFacesContext.getCurrentInstance().addPartialTarget(tabContext.getContentArea());
    catch (TabContext.TabContentAreaDirtyException toe)
    // TODO: warn user TabContext api needed for this use case.
    In the BTF, We are on the first screen if we click on one command link , we are navigating to another region .If i click the side navigation bar that is in page template.I am able to naviagate that.But again i followed the same process and navigated to
    that region.Second time , If i am clicking the command link on the Page template, it is not allowing me to navigate in first page of default activity of the task flow.I can say that region is refreshing.
    We are using AdfFacesContext.getCurrentInstance().addPartialTarget(tabContext.getContentArea()); to refresh.
    Please let me know how can i resolve the issue

    duplicate: Global link in BTF with region

  • I want to integrate power shell in visual studio.

    i want to integrate power shell with visual studio & want to make a tool for office 365.

    There are some cmdlets of power shell which are used in Microsoft exchange online
    2013.e.g.-get-mailbox.it will give me result on front end & power shell will run in background
    after passing the credentials of I want to make a web page by using  visual studio 2010 on
    which i use check box list of these commands.When i click on any command exchange
    online.There should be no need to launch power shell & pass the parameters of any
    command.

  • Global link in BTF with region

    Hi All,
    I am using jdeveloper 11.1.2.0.0
    We are using UI shell template. We have an managed bean and we will using
    TabContext tabContext = TabContext.getCurrentInstance();
    try
    tabContext.setMainContent("/WEB-INF/Taskflowxml#task_flow");
    catch (TabContext.TabContentAreaDirtyException toe)
    // TODO: warn user TabContext api needed for this use case.
    In the template we are having two command link in which we are having action listener and we writing as above. In the first taskflow we are showing one jsff . From there we are navigation to Another region of different task flow.
    When i am clicking the one command link in template from second region of another task flow . It is not redirecting to first page.
    I debug the code .Control coming in the action listener of that method as above .From there it went to correct jsff and stopped there.Very weird behavior.
    Plese suggest how to resolve.

    Hi,
    Can you please elaborate a bit more on your case? It is like I am clicking first link second time.that time it is not working.
    What is the difference in the code between your commandLinks? I am clicking same link second time.
    In an attempt, I could assume that your code in the second commandLink is not working properly, or it even might point to the same taskflow.
    Can you check the code in both cases?
    the code of the .jspx is as
    <f:facet name="navigation">
    <af:panelAccordion id="pa1" inlineStyle="height:300px;">
    <af:showDetailItem text="Pre-test" id="sdi1">
    <af:panelGroupLayout id="pgl1" layout="vertical">
    *<af:commandLink text="Tasks in New List Mode" id="cl1"*
    actionListener="#{backingBeanScope.LauncherBean.launchTaskViewActivity}"
    partialSubmit="true">
    <af:setActionListener from="taskListMode" to="#{pageFlowScope.TasksDisplayMode}"/>
    </af:commandLink>
    <af:commandLink text="Tasks in New Mode" id="cl2"
    actionListener="#{backingBeanScope.LauncherBean.launchTaskNewActivity}">
    <af:setActionListener from="taskCalMode" to="#{pageFlowScope.TasksDisplayMode}"/>
    </af:commandLink>
    </af:panelGroupLayout>
    </af:showDetailItem>
    My link Tasks in New List Mode is not working when doing navigation second time.

  • SAP 64bit Linux application server (Linux on Power) memory config issues

    Hello Everyone,
    Let me give some background. I have been tasked with replacing our AIX6.1 SAP application server with new Linux on Power servers (SLES11SP3)
    Our current production BW application servers (AIX) are running fine given their current setup. We are fine implementing the same size of the AIX systems on the new Linux systems, but we now have more room to grow in the fur, however when I tried to implement the Linux server using the same memory sizing I am getting runtime errors: "TSV_TNEW_PAGE_ALLOC_FAILED" with a specific user created program and process chain. The AIX servers do not run into this issue running the exact same program. When this process runs, it utilizes 3 BTC process for the program.
    Using the note 941735, I have tried to correctly setup the system using STD memory implementation, however I have a feeling that I am missing something or setup something incorrectly which is causing the above issue. Looking in ST02 here is the SAP buffer parameters for two of the systems. Perhaps someone might notice something that I am not see or point me in the right direction. Please let me know if more parameters from the profile are needed. Thanks!
    AIX system (existing):
    ztta/roll_area              6500000    Byte Roll area per workprocess (total)
    ztta/roll_first             1          Byte First amount of roll area used in a dialog WP
    ztta/short_area             3200000    Byte Short area per workprocess
    rdisp/ROLL_MAXFS            32768      8 kB Maximum roll file size
    rdisp/ROLL_SHM              16384      8 kB Part of roll file in shared memory
    rdisp/PG_SHM                16384      8 kB Part of paging file in shared memory
    rdisp/PG_LOCAL              150        8 kB Paging buffer per workprocess
    em/initial_size_MB          2027       MB   Initial size of extended memory
    em/blocksize_KB             4096       kB   Size of one extended memory block
    em/address_space_MB         4092       MB   Address space reserved for ext. mem. (NT only)
    em/global_area_MB           256        MB   Extended global memory
    ztta/roll_extension         2000000000 Byte Max. extended mem. per session (external mode)
    abap/heap_area_dia          2000000000 Byte Max. heap memory for dialog workprocesses
    abap/heap_area_nondia       2000000000 Byte Max. heap memory for non-dialog workprocesses
    abap/heap_area_total        2000000000 Byte Max. usable heap memory
    abap/heaplimit              250000000  Byte Workprocess restart limit of heap memory
    abap/use_paging             0               Paging for flat tables used (1) or not (0)
    abap/shared_objects_size_MB 20         MB   Shared objects
    Linux system (new):
    ztta/roll_area              6500352    Byte Roll area per workprocess (total)
    ztta/roll_first             1024       Byte First amount of roll area used in a dialog WP
    ztta/short_area             3200000    Byte Short area per workprocess
    rdisp/ROLL_MAXFS            131072     8 kB Maximum roll file size
    rdisp/ROLL_SHM              32768      8 kB Part of roll file in shared memory
    rdisp/PG_SHM                16384      8 kB Part of paging file in shared memory
    rdisp/PG_LOCAL              150        8 kB Paging buffer per workprocess
    em/initial_size_MB          4092       MB   Initial size of extended memory
    em/blocksize_KB             4096       kB   Size of one extended memory block
    em/address_space_MB         4096       MB   Address space reserved for ext. mem. (NT only)
    em/global_area_MB           256        MB   Extended global memory
    ztta/roll_extension         2000683008 Byte Max. extended mem. per session (external mode)
    abap/heap_area_dia          2000683008 Byte Max. heap memory for dialog workprocesses
    abap/heap_area_nondia       2000683008 Byte Max. heap memory for non-dialog workprocesses
    abap/heap_area_total        2000683008 Byte Max. usable heap memory
    abap/heaplimit              250609664  Byte Workprocess restart limit of heap memory
    abap/use_paging             0               Paging for flat tables used (1) or not (0)
    abap/shared_objects_size_MB 20         MB   Shared objects

    Yes sapconf has been installed. sapconf however only sets the kernel settings.
    I was able to resolve the issue by having Zero Admin tool using 'es/implementation = map' and setting the PHYS_MEMSIZE to the desired amount. Then commenting out all the values that are defaulted in the 32bit version of the memory management guide for linux and let it size many of the values. Then I simply copied those from st02. I updated the profile with those values to override default for  'es/implementation = std' and commented out PHYS_MEMSIZE as it is not needed. In a nut shell, the following parameters were updated.
    es/implementation = std
    em/address_space_MB = 4096
    em/blocksize_KB = 4096
    em/initial_size_MB = 14320
    em/max_size_MB = 14326
    rdisp/PG_MAXFS = 131072
    rdisp/PG_SHM = 16384
    rdisp/ROLL_MAXFS = 131072
    rdisp/ROLL_SHM = 131072
    ztta/roll_area = 6500352
    ztta/roll_extension = 4000000000
    ztta/roll_extension_dia = 4000000000
    ztta/roll_extension_nondia = 4000000000
    ztta/roll_first = 1

  • Re-send with more information on  Modem installation problem- list port fail in admintools

    Background:
    If admintool can set serial I could have set it with a click.
    The error is "list port fail in "
    I have following many example including Celeste (stokey.com), I am totally lost with her instruction. I am a new-hand in SUN SOLARIS 8 INTEL. NEED good guidance and helping to set up an external Zoom 56 K modem on com 1.
    ==============================================================
    I was suspect a lot of work from internet is a copy of another.
    ===============================================================
    #sacdm -l t ttymon
    get:
    zsmon ttymon - 0 ENBALE /usr/lib/saf/ttymon
    #pmadm -l
    get:
    no service defined.
    There is no cua * under /dev
    These is nothing under /dev/term
    I have a number of error with the following script and I can screen-print and copy and then paste here.
    There are problem with the cua and term/$port.
    SO please help and guide.
    sunlearner.
    #!/sbin/sh
    # add_modem shell script. Must be run as root from bourne shell
    # Change these parameters as needed for your particular needs.
    # PARAMETER MEANING
    # PORT Port you want to set up. "a" or "b"
    # TTYSPEED Speed setting, from /etc/ttydefs
    # LOGINMSG The login message which will be displayed.
    # -p zsmon PMTAG, name of this port monitor
    # -s ttya SVCTAG, modem is on ttya. you may want ttyb
    # -d /dev/term/$PORT Actual port device.
    # -l contty5H Ttylabel, defined in /etc/ttydefs file. (speed
    # setting. contty5H=19200 baud)
    # -b Flag for bidirectional port use
    # -S n Turn software carrier off (modem supplies
    # hardware carrier detect signal)
    # "dial in/out on serial port" This is a comment you'll see on pmadm -l
    LOGINMSG="Always be nice to your sysadm. You may now login. "
    # set PORT = either a or b
    PORT="a"
    # choose your speed setting. See /etc/ttydefs for more, or build your
    # own from the examples in the rest of this article.
    # contty5H = 19200bps, 7 bits even parity, as supplied by Sun
    # conttyH = 9600bps, 7 bits even parity, as supplied by Sun
    TTYSPEED="contty5H"
    # change ownership of outgoing side of port to user uucp, group tty.
    # change ownership of incoming side of port to user root, group tty.
    chown uucp /dev/cua/$PORT; chgrp tty /dev/cua/$PORT
    chown root /dev/term/$PORT; chgrp tty /dev/term/$PORT
    # Remove any existing port monitor on this port.
    # You can ignore any error messages from this next command.
    # If you see the message "Invalid request, ttya does not exist under zsmon",
    # You may be trying to remove a port monitor which does not exist.
    /usr/sbin/pmadm -r -p zsmon -s tty$PORT
    # Create the new port monitor
    /usr/sbin/pmadm -a -p zsmon -s tty$PORT -i root \
    -v `/usr/sbin/ttyadm -V` -fu -m "`/usr/sbin/ttyadm \
    -p "$LOGINMSG" -d /dev/term/$PORT -s /usr/bin/login -l $TTYSPEED -b \
    -S n -m ldterm,ttcompat`" -y "dial in/out on serial port"
    ############ end of add_modem script ###################################

    The lack of /dev/cua etc is worrying - apparently there is an ACPI
    bug with certain BIOSes which means certain device nodes are not created (often floppy, printer, serial). Turning off ACPI in the BIOS if this option exists on your HW, followed by a reconfiguration boot (b -r) should help. When you have the device nodes in place, the guidance from Stokeley should work - you might also check the
    archives of the solarisonintel list at www.egroups.com

  • ProSelect no longer allowed access to Lr catalog (ver. 3.0+)

    It appears that Adobe have changed the  functionality of Lightroom 3 so that it is no longer possible to open  Raw images in Lightroom 3 from ProSelect (any version).
    Previous versions of Lightroom allowed ProSelect to pass a list of  image file locations to Lightroom and it then offered the option to  "Show in Library" which, when clicked, displayed these images.
    Lightroom 3 has removed this functionality so this operation is no longer possible.
    PLEASE ADOBE:  CHANGE IT BACK!  You are affecting many, many professional photographers that use Lightroom and ProSelect!

    Hi All,
    I am the owner of TimeExposure and developer of ProSelect (Peter Howlett is my name).
    ProSelect is designed as a specialized presentation, sales and workflow tool for professional portrait and wedding photographers. It integrates tightly with Photoshop via javascript scripting and to a much lesser extent with Lightroom due to the inability (so far as we have been able to determine) to trigger any Lightroom scripts from OUTSIDE of Lightroom.
    Our customers who use ProSelect with Lightroom do so in two ways:
    1. They prepare RAW images for their presentation in Lightroom and export these as jpg into ProSelect. If you send an image to ProSelect (using the "open document" process) it adds the image to its own currently open "catalog" (to use Lightroom's terms - we call this an album). So it is easy to setup an export process in Lightroom to do this. In this case, the converted jpgs are normally exported to the same folder as the original raw files before being imported into ProSelect.
    2. After the sales sessions where the customers orders are recorded in ProSelect, the ordered images need to be produced. This is initiated from within ProSelect because it has the list of images that need to be dealt. ProSelect looks for any associated raw images in the same folder as the selected jpg files and allows the photographer to "Open the original RAW images" in Photoshop's ACR with a simple button command from within ProSelect. You could also do this with Lightroom versions 1&2, however this process seems longer possible with Lightroom 3.
    What has changed in Lightroom 3 that effects ProSelect?
    The mechanism that we used in Lightroom 1&2 was to use the "Open Document" OS event to send the path of the RAW files that we wished to open to Lightroom. This is the equivalent to selecting a bunch of RAW image files in the Finder on the Mac or Windows Explorer on a PC and dropping them onto the Ligthroom app. In Lightroom 1&2, Lightroom recognized that the files were already in its catalog and presented a dialog stating this and asking if you wished to "Show in Library". Clicking this button showed all of the selected images from ProSelect in Lightroom ready to be edited and exported for printing. This worked great.
    Lightroom 3 behaves differently. While it indicates that the images are already in the catalog by displaying them in the Open Document dialog as disabled,  you no longer get the option to "Show in Library". That's the essence of the problem being faced by our users.
    Solutions?
    It would be great to get the previous functionality back.
    It would be great to be able to trigger a Lightroom script from outside of Lightroom so we could do some other cool stuff between Lightroom and ProSelect.
    An example of using externally trigger script is...  With Photoshop, ProSelect can send an image to Photoshop tell it to run an action on that image and re-import and display the resulting image back into ProSelect all in the background during a live sales session. It would be great to be able to do the same with Lightroom. The key to this is that the photographer does not want to have to switch applications, do stuff, and switch back during the sales session - this is a distraction for their customers and can have a negative impact on the sales session.
    On the subject of scripting in Lightroom... we have developed a command line application that can talk to ProSelect so it is possible to send commands to ProSelect using a shell call from Lightroom but getting results back doesn't seem so easy. It would be great to have the ability to send a shell command with parameters and get the "standard output" result back as a returned variable. I know we could do this via the file system but that is really clumsy. This would be my third request for improving interactivity between Lightroom and ProSelect.
    Any suggestion or ideas would be welcome. If you would like to find out more about ProSelect here is a link to its page on our web site:
    http://www.timeexposure.com/portraitstudiosoftware.php
    cheers
    Peter

  • How to Build Email Message in Unix

    Hi All,
    I have a situation where i need to send a mail based on a unix script. And now the problem is that the mail which i sent should have the values i pass to it as parameters like...
    1. From:
    2. To:
    3. Subject:
    4. Attachment:
    I am passing all the above 4 values to my shell script as parameters and it is indeed taking my values also, but the problem is with From: This is not taking the value what i pass but rather it is taking the From address from the instance.
    Example: when i run the script with the above 4 parameters the value i am passing to From: is something like this [email protected], and when i fire it is coming as [email protected] which is because it is being fired from that instance....
    Now i want to replace that with my parameter value....how to do that..
    Any suggestions are highly appreciated.
    Thanks & Regards,
    Kalyan.

    user527562, the problem is the question itself, not the contents. There is too few information.
    You want to send mail based on a unix script...
    What operating system are you using?
    If I assume it is a unix (aix/hpux/solaris/tru64/etc.) or linux (rh/sles/debian/etc.) you probably use a readily configured mail system on the machine (postfix or sendmail are the most common here), or do you talk to a SMTP server directly?
    What mail command do you use in the script?
    A blind guess would be your system is configured to forward local email to a mailhub which is connected to the internet or another facility which enables you to read the mail sent, which means postfix or sendmail arranges the from for you. But again: this is a blind guess (!!)

  • Commandbutton inside popup does not fire action/actionlistener methods

    Hi,
    I am using 11.1.1.4.0
    I have a page and on click of a button on that page, I launch a popup (using showpopupbehaviour, triggertype="click") which has a region (taskflow) inside it. The region is within a af:panelWindow inside the popup. I have also added 2 commandbuttons in the popup. Everything works fine, but the when the popup is visible, and I click the 2 command buttons on the popup, it does not execute the action method (or actionListener) method that I defined for those buttons. Any idea why this must be happening?
    Code for the popup:
    <af:popup id="popup1" contentDelivery="lazyUncached" binding="#{BackingBean.popup}">
    <af:panelWindow modal="true"
    title="#{pageFlowScope.tabContext.outcomeForPopup}"
    id="paWin12"
    helpTopicId="TOPICID_ALL"
    resize="on">
    <af:panelTabbed id="pt123" position="above"
    inlineStyle="width:650px; height:650.0px;">
    <af:showDetailItem id="sdi0"
    text="#{pageFlowScope.tabContext.outcomeForPopup}"
    stretchChildren="first"
    accessKey="0"
    immediate="true">
    <af:region value="#{bindings.r0.regionModel}"
    id="r1"/>
    </af:showDetailItem>
    </af:panelTabbed>
    <af:commandButton text="First"
    action="#{BackingBean.firstClick}"
    actionListener="#{BackingBean.firstClick}"
    id="cb3">
    </af:commandButton>
    <af:commandButton text="Second"
    action="#{BackingBean.secondClick}"
    actionListener="#{BackingBean.secondClick}"
    id="cb4">
    </af:commandButton>
    </af:panelWindow>
    </af:popup>
    In the page definition of the main screen, I have this taskflow added
    <taskFlow id="r0" Refresh="ifNeeded" activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    taskFlowId="#{pageFlowScope.tabContext.taskFlowIdForPopup}">
    <parameters>
    <parameter id="outcome"
    value="#{pageFlowScope.tabContext.outcomeForPopup}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
    <parameter id="tabContext" value="#{pageFlowScope.tabContext}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
    </parameters>
    </taskFlow>
    Thanks
    Vishal

    Hi friend ,
    1,Inside the pop up u give two command buttons and double click the one button and it asking for create one bean.
    2.U create the bean and inside u give coding like
    public class popvisible
    public popvisible()
    public String page1naviagetion()
    // Add event code here...
    return "popTouser";(This is is Control flow case name it will go to another JSPX page.)
    public String page2navigation()
    // Add event code here...
    return null;
    }

  • Check Oracle installation 10

    Hi friends,
    I have a query about the commands to verify the following on Solaris 10
    - Compiler installed
    - All patches installed
    - Shells Limits
    - Kernel parameters
    - Run Level
    - Free space in the folder / tmp
    - Check if the VNC Server properly installed
    Thanks for the support

    The two kernel variables you mentioned are now set in /etc/projects (if you specify them in /etc/system they will be translated to and treated as /etc/project values).
    As such you should see them if you run:
    projects -l
    To check it for a particular process you can use:
    prctl -n project.max-shm-memory <process ID>
    prctl -n project.max-shm-ids <process ID>
    See "man projects" and "man prctl"
    .7/M.

  • ADF_FACES-60098 when clicking navigation item in UIShell for the first time

    Hi all,
    I have created a page based on dynamic tabs, in the navigation pane when I click any item for the first time I get the error below, but the second click is working correctly, I am trying to lunch one of fragments on page load and because of this error it doesn't work,
    I am using jdeveloper 11.1.2.2, and my navigation launcher bean is in request scope and I have tested the default launcher in both request and backing scope.
    I also implemented beforePhase listener and loaded it as : <af:clientListener method="initialize" type="load" />.
    error stack in log:
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    java.lang.NullPointerException: UIComponent is null
    at org.apache.myfaces.trinidad.component.UIXComponent.addPartialTarget(UIXComponent.java:751)
    at org.apache.myfaces.trinidadinternal.context.RequestContextImpl.addPartialTarget(RequestContextImpl.java:539)
    at oracle.adfinternal.view.faces.context.AdfFacesContextImpl.addPartialTarget(AdfFacesContextImpl.java:661)
    at oracle.ui.pattern.dynamicShell.TabContext._refreshTabContent(TabContext.java:504)
    at oracle.ui.pattern.dynamicShell.TabContext.setSelectedTabIndex(TabContext.java:339)
    at oracle.ui.pattern.dynamicShell.TabContext.addTab(TabContext.java:210)
    at oracle.ui.pattern.dynamicShell.TabContext.setMainContent(TabContext.java:114)
    at oracle.ui.pattern.dynamicShell.TabContext.setMainContent(TabContext.java:88)
    at com.enlogix.view.backing.MainTabShellLauncherBean._launchActivity(MainTabShellLauncherBean.java:181)
    at com.enlogix.view.backing.MainTabShellLauncherBean.launchDefaultActivity(MainTabShellLauncherBean.java:62)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at oracle.adf.view.rich.event.ClientListenerSet.invokeCustomEventListeners(ClientListenerSet.java:174)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$DeliverClientEvent.invokeContextCallback(LifecycleImpl.java:1881)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1735)
    at org.apache.myfaces.trinidad.component.UIXDocument.invokeOnComponent(UIXDocument.java:106)
    at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1321)
    at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeCustomEvents(LifecycleImpl.java:550)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:436)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:65)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
    at com.enlogix.view.security.ENGLPBindingFilter.doFilter(ENGLPBindingFilter.java:381)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Does anybody have workaround about it?
    thank you in advance
    Alireza

    Not sure why you wanted to implement beforePhase listener, but did you try commenting out your custom code and check? All the refreshTabContent does is to refresh the components that comes along with the template. It works fine for me. So, as Timo said, check your custom code or try commenting the code and narrow down the issue.
    private void _refreshTabContent()
    AdfFacesContext.getCurrentInstance().addPartialTarget(getTabsNavigationPane());
    AdfFacesContext.getCurrentInstance().addPartialTarget(getContentArea());
    AdfFacesContext.getCurrentInstance().addPartialTarget(getToolbarArea());
    AdfFacesContext.getCurrentInstance().addPartialTarget(getInnerToolbarArea());
    }

  • How to get return code or parameters from PL/SQL in my shell script ?

    My shell script must check the result of PL/SQL's running, and decide what to do in the next step.

    I think you put the problem the wrong way.
    You should try to do as much as possible through your SQL scripts, and, if you need to make OS calls, you may do that using host(command_string).
    If you need to transfer parameters from other programs to your FORMS (PL/SQL), then you have to see user_exit.
    Some other means would be to have your PL/SQL write to certain OS files that the shell script may read, but that doesn't seem like good practice to me.

Maybe you are looking for

  • How can I open multiple gmail accounts on the same Firefox broweser?

    I use Firefox. I have multiple gmail accounts. I would like to access them simultaneously.

  • Ichat Screen Sharing will not work no matter what I try...

    I have read all the forums and can't find an answer. Something that should be so simple such as screen sharing through iChat (as advertised) is virtually impossible. This I can not explain. Especially since video chat works! Both computers in questio

  • Java.sql.connection problems

    Hi, I hav got this problem: PRB 1 I have got the JDBC connection established with the OracleDataSource instance on my java application I wonder if there is a way to check the connection if it is still alive. any hint? i tried connection.isClosed() bu

  • Help with alternative URL for service endpoint

    I'm trying to define a WSDL service that is behind a firewall/load balancer.   By default, the wsdl service-endpoint is defined using the same URL prefix as the wsdl page itself.  (e.g https://virtual_servicename...)  However, we need to have the ser

  • PSM-FM is actived and to follow using Ledger 0L and FAGLFLEXT

    Hi Experts, I'm close to the BCS go live in a company that has SAP since 2008. 1. I will activate PSM-FM 2. Next I will run the report FMGL_CHANGE_APPL_IN_LEDGER as described in the note 906397 to follow using ledger 0L and table FAGLFLEXT. Are there