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

Similar Messages

  • 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.

  • Large number of Hide/Show regions on a page, can't hide on page load

    I have a large number of Hide/Show regions on a page, 14 right now to be exact. I want all of these regions to start hidden when the page loads. In order to do this I have the following code in the onload page html body attribute:
    onLoad="document.getElementById('region3').style.display = 'none';
    document.getElementById('shIMG3').src = '/i/htmldb/builder/rollup_plus_dgray.gif'
    document.getElementById('region19').style.display = 'none';
    document.getElementById('shIMG19').src ='/i/htmldb/builder/rollup_plus_dgray.gif'"
    This works fine when I have 13 or fewer hide/show regions on the page. When I add the 14th region to the page, all the regions on the page start off as not hidden.
    Anyone have any idea why this could be happening? (I'm using Apex version 2.0)
    Thanks
    - Brian

    no ideas?

  • How to display help text for Region in a page having more than one region

    Hi all,
    I want to display help text for each region in my page. I have 5 regions in my page.
    I have a big help text for each of my region so can any easy way is there to put the help text for each region more than 10 lines .I tried lot by searching forums but not able to implement. any document is there then please let me know.
    Thanks in advance,
    Amit

    i mean either if we click the region title name it should display some help text of near about 10 lines in a popup window.
    Or on moseover whenever we will put the cursor into the region title then it should displat the help text message of line 10.
    Hope you will get my qustion well.
    Thanks,
    Amit

  • Need to remove the header and footer regions on one page

    Hi,
    I have a requirement to remove the header and footer regions on one page only. The regions I'm referring to contain the following:
    Header:
    Company logo, Home link, Logout link, Preferences link
    Footer:
    Copyright info, Privacy Statement, Home link, Logout link, Preferences link
    These are the standard Oracle header and footer regions/page items, so I am not specifying a particular page name, although it would be the create time cards page we want to modify.
    Also, we only want to remove these regions/items from ONE page, not an entire responsibility.
    Any help is greatly appreciated.
    Thanks!
    Suzanne

    Hi,
    In order to hide,
    Home link, Logout link, Preferences link
    Use this code in the processrequest of the controller on the page on which you want tohide these
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    page.prepareForRendering(pageContext);
    page.setGlobalButtons((oracle.cabo.ui.UINode)null);
    And for hiding the Copyright info, Privacy Statement:
    Click on Personalise page link
    then Click on Choose Context
    Choose "OAFooter" as Scope
    and click "Apply"
    and then Personalise the Copyright and Privay Statememnt icon and set rendered as False.
    Thanks,
    Gaurav
    Edited by: Gauravv on Aug 25, 2009 8:36 PM

  • How to add more than one tabular region in a page?...

    How to add more than one tabular region in a page?
    i have a page, that page contain form and tabular region. when i trying to add another tabular region it showing error
    1 error has occurred
    Updatable SQL Query already exists on page 2. You can only add one updatable SQL query per page. Select a different page.
    but i have to add the tabular in that page.
    Is it possible?
    pls help...
    Thanks and regards,
    skud

    hi,
    even i am searching for some thing similar.
    i want to have 3 calendars in one page.
    getting same message calendar already exists on page 2. You can only add one calander per page. Select a different page.
    pls help.

  • How To Create New Region in standerd Page?

    Hi Friends,
    i got the requirement in OAF. i am in new oaf pl z any one help to me..
    My requirement is in SSH R Responsibility add the new custom region how to add the custom Region in Standered Page.
    Thanks.
    Srini

    Hi,
    Thank full for replaying...And i have one more doubt in SSHR Page having Table RN in Competences Region my requirement is here Table get the 1.FUNC Values and 2 BEHV Values so we split the both things how?
    i am approaching in this way first i create the 2 view objects through vo extension because it will came the same vo so i create the 2 vo's now how to add the competences RN.
    plz help me this is urgent......

  • Getting Error in  shuttle region while loading page.

    Hi All,
    I am developing shuttle region in a page which depends on selected values in the drop down list. i am getting all values for every value in the drop down list. but i want to get values in the Available list of shuttle region with respective value selected in drop down list.
    Can any body send code for shuttle RN co?(in process request and process form request ) .
    Thanks,
    Mahesh.

    In process form request :
    /* user changed the option - capture the event */
    if("optionChangeEvent".equals(pageContext.getParameter("event")))
    pageContext.forwardImmediatelyToCurrentPage(null,false ,ADD_BREAD_CRUMB_NO);
    In processRequest :
    String selected = pageContext.getParameter("choice");
    /* means some thing is selected */
    if(selected != null)
    test = Float.valueOf(selected);
    OADefaultListBean list1 = (OADefaultListBean)webBean.findChildRecursive("list1");
    list1.setListCacheEnabled(false);
    OADefaultListBean list2 = (OADefaultListBean)webBean.findChildRecursive("list2");
    list2.setListCacheEnabled(false);
    /* bind the query parameter through AM*/
    ShuttleAMImpl am = (ShuttleAMImpl)pageContext.getApplicationModule(webBean);
    am.initFWK_TBX_PO_HEADERVO(test);
    Regards,
    Guru K

  • How do I restrict content provider edit rights to a single region on a page

    We have a 2-level security requirement for Portal pages that are accessed by "the general public" - users that do not log into Portal. I'll call this population "The Public".
    Top Level Edit Security
    Web-masters need to edit all content on any page in any page group.
    Sub-Level Edit Security
    Content providers need to be restricted to editing HTML content within a single region on all pages within a single page group. They will use the RTE (FCKeditor) to edit the content of the restricted region.
    One idea I tried was creating a nav page as a portlet and placing the portlet on the page. This seemed satisfied all the requirements. The drawback is having to create a new nav page for each page created. Since the content and pages are mostly static this does not seem, to me, to be a big deal.
    I next tried Item level Security, created a group (publicusers) that included PUBLIC and ContentProvider users and granted "view" to the "publicusers" group . I found that "The Public" can see the entire page, except for the Text Item Type that is under Item Level Security. Only by turning off Item Level Security can "The Public" see Text Item Type. (This action seems to be supported in the documentation as well.)
    Any other ideas on how to implement multi-level content security on pages within a page group? There will be at least 18 page groups, each with a unique content provider. The content provider can not edit content outside of their designated page group.
    Thx.
    --Don                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I would recommend creating pages for each "chunk" of content that needs specific security. Set the security at the page level.
    Then, publish those pages as portlets, and stick those portlets in the regions that need "per group" edit rights. For each portlet, display the Edit link. Users who have rights to edit the portlet's source page will see the edit link, and can edit that content "in place".
    Does this help?
    -John

  • Skip to content link/hyperlink to a region in a page

    Hi All,
    I want to make a "skip to content" link that will bring user to the content region when clicked. I make this link in a HTML portlet, but I don't know what value to put in the href attribute to make it pointing to the target region in a page ?
    Thank you for your help.
    Jeffry

    You can try something like this:
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function doSomething(obj)
         var h=obj.name;
         var returnVar = document.getElementById(h);
         returnVar.focus();
    //-->
    </SCRIPT>
    <a name="portletId" href="#" onClick="doSomething(this)">click this</a>

  • Reusing a page as a region in other pages

    Hi All,
    I have a requirement. I want to reuse a page as a show hide region in other pages.
    Please suggest a way to do the same.
    Version: Oracle Apex 4.2
    Thanks and regards,
    Abhishek Arora

    I'd use iframes. I've got an example on how to apply hide and show of an other region in a report. It's on my blog, which you can find here:
    http://vincentdeelen.blogspot.com/2013/07/show-report-details-in-line.html
    Vincent Deelen: Detail section in line with report, part 2
    There is always some debate about using iframes, I've mentioned a few issues in the posts.
    Please let no if you need any further help.

  • Very intermittent missing page regions / report rows / page item values

    My goals in making this posting are twofold:
    1. I'm looking to see if anyone else has experienced this type of issue before.
    2. I'm looking for ideas about what can be done to debug such an infrequent bug with serious implications.
    Synopsis
    I'm having a weird problem where very infrequently I will load a page and I'll notice that one or more page regions, report rows, or page item values are missing. If I reload the page the missing parts appear as they normally should.
    By "very infrequently" I would say it happens to me somewhere between 1 in 100 and 1 in 1000 page loads, of course at my last project demonstration in happened twice in 10 minutes to my demo participants. I've attempted to debug this, but most of the techniques I know of involve reloading the page or reposting the form data and (of course) everything looks fine then.
    Environment
    * This has happened on multiple different pages, under ApEx 3.1 (Linux) and 3.2 (Solaris).
    * I believe that so far I've only ever seen this under Firefox 3/3.5 under OSX, but since I do the vast majority of my development with this browser it's not reasonable to conclude that it only happens under Firefox.
    Logs
    * No application errors during this timeframe.
    * Nothing of significance in the database alerts log (just thread notes and log sequences).
    * Nothing of significance in the webserver log (just the usual mod_ossl connection errors).
    Thanks for your attention,
    Jason
    Edited by: Jason G on Jul 24, 2009 12:43 PM

    Well, thanks for reading the post anyway.
    While working through some debugging steps I realized that I was populating some of the regions as the page rendered using AJAX -- this would pause the page rendering until the AJAX request returned. I believe that a hanging AJAX call was the likely culprit of the very intermittent symptoms I was seeing.
    I moved the AJAX calls to the last region of the page and added a javascript function that "watches the page load" by checking for regions by ID and looking at javascript boolean flags to let me know when the page is fully rendered. If this process takes longer than 5 seconds it notifies the user that something happened and offers to reload the page for them in an effort to fix the issue.
    So far, so good -- but it will take a lot of testing to convince me that this case is solved. I hope my documenting this is helpful for others in similar situations.
    Good luck,
    Jason

  • Taking a REGION from one page to another

    Hi,
    is it possible to take a REGION from one page to another page ? If yes how ?
    Many thanks.

    You can copy it to the new page and delete it from the first one.
    To copy it:
    1. Open your page that contain the region.
    2. In the Regions division is icons for 'Edit All','Copy' and 'Create'. Click on copy.
    3. A list of your regions will show. Choose the one that you want to copy / move.
    4. The next screen asks you to which page you want to copy it. You can also specify if you want to take the items and buttons with.
    5. Click Next.
    6. Click Copy Region.
    Just remove it now from the first page.
    Elsie

  • New region in a page

    Hi,
    I was trying to create a new region in a page. For that i create a region RG1 in Jdeveloper and in that page, i created FlexLayout and Flex Content using personalization. Before i extend the RG1 region in Flex Content i have imported the RG1 region into database using the following command.
    java oracle.jrad.tools.xml.importer.XMLImporter \
    $JAVA_TOP/abc/oracle/apps/per/selfservice/personalinformation/webui/DsdPerInfoRG.xml \
    -username apps \
    -password pass1 \
    -rootdir $JAVA_TOP/abc/oracle/apps/per/selfservice/personalinformation/webui \
    -dbconnection "(description = (address_list = (address =(protocol = tcp) (host =XXXX)(port = XXX))) (connect_data = (sid = xx)))"
    I see that i get a message saying that the page is imported. Now when i try to extend the region RG1 through Flex content using personalization, i get an error saying that
    cannot be found. (oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /abc/oracle/apps/per/selfservice/personalinformation/webui/AbcPerInfoRG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.)
    Can someone please help me on this. I am really tired with this error. I also have placed the VO and AM Class and xml files in the $JAVA_TOP/abc/oracle/apps/per/selfservice/personalinformation/server.
    Thanks a lot in advance
    PK

    The following import command worked for me.
    java oracle.jrad.tools.xml.importer.XMLImporter /ts01/u00/app/ts01/common/java/abc/oracle/apps/per/selfservice/personalinformation/webui/abcPerInfoRG.xml \
    -username apps -password pass1 -rootdir /ts01/u00/app/ts01/common/java/abc/oracle/apps/per/selfservice/personalinformation/webui \
    -rootPackage /abc/oracle/apps/per/selfservice/personalinformation/webui -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp) \
    (host =<XXX>)(port = <xxx>))) (connect_data = (sid = <xxx>)))"
    Thanks
    PK
    Edited by: user539616 on Jan 20, 2009 8:25 PM

  • How to scroll to region in a page dynamically

    I have bunch of regions in a page. One of the region is report region and I need to show atleast 25 rows in this report. I have another region below this report which displays the details of the emlloyee and allows user to edit record. When user clicks on the report column link in the employee report above, is it possible to scroll to the edit region at the very bottom of the page dynamically,so that user don't have to do vertical scrolling ?.I can't put the edit region in " region Column2", as column2 region space is also displying some related salary reports. I've the sample page on APEX. any ideas are appreciated.
    http://apex.oracle.com/pls/otn/f?p=54577:20
    workspace:Godavarthi
    username:[email protected]
    password:apex_demo
    thanks for you help,
    Surya

    Surya:
    Yes, it is possible. Use the same technique as in the report column link.
    Change the button target to URL and for the URL specify
    f/?p=&APP_ID.:<target_page>:&SESSION.:::<comma separated list of items to set>:<comma separated list of values>#<anchor_name in region header>Varad

Maybe you are looking for

  • How to Delete the dimension from the cube ?

    Hi , how to Delete the dimension from the cube ? i have added the new dimension by assiging one characteristic to that dimension . now i  want to delete it , but system saying that   Dimension ZXXX  contains InfoObjects; deletion not possible . how t

  • Users Not getting Displayed in RPD

    Hi, i Have OBIEE 11.1.1.5.0 Installation I have created a new RPD and Uploaded on BIServer,but i am unable to see the users in Identity. but Application Roles are visible also the weblogic can access the Subject Area in Analytics.. Please suggest a w

  • United Kingdom Regional Format sets Monday as the first day of the week.

    With the Region Settings (Settings -> General -> International -> Region Format) set to United Kingdom, Calendar displays Monday as the first day of the week. I have seen other posts whereby it was suggested to change to US Internationalization but t

  • Can't uninstall Adobe Air but Adobe Air doesn't work correctly

    An external agency created a flash-application which should be installed to my computer with Adobe Air. By clicking the .Air-file the installation process of Adobe Air started but the installation of the flash-application failed. At least I uninstall

  • Global display variant authorisations

    Morning Anyone know the authorisation to use to ensure that I can create global display variants for QM reports such as QA32?  I thought it may be SD_VARIANT_MAINTAIN but this does not seem to make any difference. Cheers Ian