Pages loose item persistence in frames

I have these pages that branch to each other. This works fine, except when the HTMLDB pages are part of an intranet app and actually rendered inside a frame. When this happens, then my page cache is cleared even though I do not explicitly clear it with the URL argument. They transition to the correct pages within the frame, just the items are now cleared.

The pages are public. I am using this code to process an insert and then return to the calling previous page:
declare
l_items varchar2(4000);
l_values varchar2(4000);
begin
if :REQUEST = 'CREATE_NEW' then
insert into hr.dwh_discussion(parent_id,subject,topic_text,author,category)
values (:P26_PARENT_ID,:P26_SUBJECT,:P26_TEXT,:P26_AUTHOR,:P26_CAT);
htmldb_application.g_page_text_generated := true;
case :P26_RETURN_PAGE
when '22' then
owa_util.redirect_url('f?p=110:22::::26');
when '23' then
l_items := 'P23_ID,P23_ID_STATIC,P23_CONTENT_ID';
l_values := :P26_ID_STATIC||','||:P26_ID_STATIC||','||:P26_PARENT_ID;
owa_util.redirect_url('f?p=110:23::::26:'||l_items||':'||l_values);
else
null;
end case;
end if;
end;
If I leave out the items/values list from the URL, then page 23 will clear all its items when these pages are in a frame. If I leave off the items/values from the URL but the pages are on top, not in a frame, then the page 23 items are not cleared.
I transition to page 26 from page 23 with these items/values in the URL:
items - P26_SUBJECT,P26_PARENT_ID,P26_RETURN_PAGE,P26_ID_STATIC
values - re - &P23_SUBJECT.,&P23_CONTENT_ID.,23,&P23_ID_STATIC.
I am using a custom LDAP authentication scheme that makes a call to a PL/SQL function:
return hr.util_ldap.connectAuthenticate;
function connectAuthenticate(p_username in varchar2,p_password in varchar2)
return boolean
as
l_retval PLS_INTEGER := -1;
l_ssl PLS_INTEGER := -1;
l_session DBMS_LDAP.session;
l_attrs DBMS_LDAP.string_collection;
begin
DBMS_LDAP.use_exception := false;
begin
--connect to LDAP and authenticate
l_session := DBMS_LDAP.init(hostname => g_host,
portnum => g_port);
exception
when others then
null;
end;
l_retval := DBMS_LDAP.simple_bind_s(ld => l_session,
dn => g_pre||p_username||','||g_ldap_user_base,
passwd => p_password);
if l_retval = 0 then
-- Disconnect from the LDAP server.
l_retval := DBMS_LDAP.unbind_s(ld => l_session);
return true;
else
return false;
end if;
exception
when others then
return false;
end connectAuthenticate;

Similar Messages

  • Page.TextFrames.Item problem

    I upgraded Indesign from CS1 to CS5.
    I reimported the type library in Delphi, and I did some minor changes in my delphi code (extra parameters, ...).
    When I try to find a text frame with
         IdTF := TextFrame(IdPage.TextFrames.Item['Versie']);
    then I get the error 'The requested member of the collection does not exist'.
    This code worked with Indesign CS1.
    When I check the label of my template with
             idTF := Indesign_TLB.TextFrame(IdPage.TextFrames.Item[1]);
             ShowMessage(Format('%d "%s"',[iIndex,idTF.Label_]));
    I see the label is correct ('Versie').
    Who can help?
    PS when importing then CS1 template file, all script labels were gone in the indt-file  and I had to re-edit them all.

    Thanks!
    If you want to find back a textframe in a textframes list (or a rectangle in a rectangles list), the parameter changed:
    f.e. Application.Page.TextFrames.Item['reference']
    - in CS1 'reference' is the script label (can be edited in indesign via window -> utilities -> script label)
    - in CS5 'reference' is the name of the item (can be edited in indesign via window -> Layers)
    That might also be the reason why CS5 removes the script labels while converting a document from CS1 to CS5.

  • Quotes in a page level item not showing up as " when used in a hyper link

    Hi all,
    In my app, I need to hyper link to a crystal report application with parameters from my page. I have a page level item that puts my parameter in quotes, but when the item is utilized in the hyperlink, the quotes come across as & q u o t ; (spaces were put in to the post to avoid html conversion) how can my string be used to appear the way I want?

    I don't use Crystal Reports, but, in general, you should encode your URL. When you create your link, run the URL through utl_url.escape() first. Put it in your select statement.
    E.G.,
    select utl_url.escape('http://oracle.com/foo"bar') from dual;
    will escape/encode the quotation mark and give you:
    http://oracle.com/foo%22bar
    This translates the " into a URL-safe escape code, %22, that should (I hope) be understood properly by your Crystal Reports server.
    Good luck.

  • Using Page Text Item in an Authorization Scheme

    Hello,
    I will be having a text item is every page say, Px_RESP_ID (hidden and its value set in an earlier page), and want to use its value in an authorization scheme to verify if the user has an access to the page.
    I'm using the following SQL in the authorization scheme -
    Apex Version: Apex 3.2
    Scheme Type: Exists SQL Query
    SQL:
    SELECT 1
    FROM zs_users zu
    , zs_responsibilities zr
    , zs_user_resp_groups zur
    WHERE
    zu.user_name = :APP_USER
    AND zr.resp_id = '&P'||:APP_PAGE_ID||'_RESP_ID.'
    AND zu.user_id = zur.user_id
    AND zr.resp_id = zur.resp_id
    For some reason this approach is not working. Any ideas to help me move forward will be greatly appreciated.
    Regards,
    Seshu

    AFAIK an application item, or maybe a page 0 item, is the only way to do this (as those items effectively exist across all pages of an application). Unfortunately since authorization schemes are application-level, you can't really effectively reference page items at runtime since you aren't necessarily on that page.
    The other option is an ugly one. Instead of creating one auth scheme (e.g.: "user_has_whatever_authority"), create one for every page (e.g.: "user_has_whatever_authority_1", "user_has_whatever_authority_2", etc.) and attach each auth scheme to each page by matching up the number in the name with the page. But this is a maintenance nightmare and terrible style IMHO, but it'll work. Your colleagues will hate you for it when you're gone though.

  • How can i paste text from Numbers too Pages without getting the box/frames?

    I have a big list in numbers with a lot of text in each line. I need to copy/paste it in to a pages document but i don't want the frames to come along.

    Hi Carl,
    Pasting from a Numbers table into Pages will paste a table (frames). There is no "Convert Table to Text" command in Pages 5.
    Paste into TextEdit. That will strip all formatting (including the table) and leave plain text. If your Numbers table had more than one column, the text will become Tab-Delimited. Before you paste into TextEdit, make sure the blank document is plain text (if you see Make Rich Text under the Format menu, you have a plain text document).
    Select All, Copy, then Paste into Pages.
    Regards,
    Ian.

  • Limit on Page-By-Item in Disco Viewer

    Hi There.
    Is there a limit on page by items on Disco Viewer.
    It works fine but as soon as i add more than one page by item no matter the result i select it defaults to <All>
    Regards

    Hi,
    Do you mean that it doesn't filter the data according to the value you selected ?
    I am not aware of a limitation on the page items and for sure you can have more than one.
    Personally I have seen workbooks running under viewer with more than 5 page items.
    What version of viewer do you use? maybe you need to patch it up...

  • Customer Invoicing Printing First page line items blank

    Hi Everybody,
    Customer Invoicing Printing First page line items blank and it is printing it from the second page.  Please help me on this.
    Regards,
    Md Ziauddin.

    item No    Material No   Descripition  Putaway Bin   SUT  Vendor Batch  LE QTY  COA   Base UOM
    this how my line item should like, i am able to print only single line item for each item no.
    if i have 5 pallets for single line item, i want the same line item to be printed 5 times and this is what i am looking at

  • Page detail items

    Is there a way to set page detail items to show a particular value as default?
    For example, page detail item 'Month' contains 'Jan 05', 'Feb 05' and 'Mar 05'.
    Can Discoverer report be setup so that default value for 'Month' is the latest month available?
    Thanks!

    I am also experiencing problems in Viewer for a worksheet with over 15 page items, some of which has over 500 values for selection.
    1) For each page item value selection, the 'Execution Query Process' page pops up. It drove my users crazy after four pop-ups. Is there anyway to for discoverer to complete all page item selections first, then refresh query to show the 'Execution query process' page just once; or better yet, is there a way to suppress the query progress pop-ups all together?
    2) Sometimes we select a page item value, other times we select '<All>' to get all values; similar to like '%;. For page items with over 400 values, the Viewer display about 40 followed by ...more. We have to click more for more ...more. At times, we go through 12 search pages to reach the desired page item value or the value <All>.
    Is there a way to put <All> on the top of the list as default, and permit a search pattern for page item value, which changes in each run?
    Thanks in advance.

  • WAD:  anyway to bind each tab of the tab page web item to different query?

    WAD:  anyway to bind each tab of the tab page web item to different query?
    We check the properties of the tab page web item, but can't find we can bind the tab to some query.
    Any idea?
    Thanks!

    will try to write as much detail steps as i can...
    drag tab page web item in wad window
    go to its properties
    for e.g. u currently have only 1 tab page
    than name tab page1 as p1
    hit button with ..
    this will let u add new heading to tab page 2
    likewise save heading of 4 tab pages in properties of tab pages
    now choose container web item
    drag it in tab pages window
    assign seperate analysis item in each container item
    assign seperate queries in each analysis web item.
    assign container1 to tab page1
    assign container2 to tab page2
    assign container3 to tab page3
    assign container4 to tab page4
    and their heading viceverssa
    save it execute it
    now u will have 4 queries in 4 container item and uc an see that in different tab pages.

  • Page Function Item dispalys a text not a URL ?

    I tried to create a custom page that contains http procedure but when i tried to add this page procedure as page function item it renders as a normal not as a url to the target web page ? How can i display Page Function Item as a URL ?

    You'll have to be more specific about what you are doing.
    If you have checked "Display Procedure Results With Page" then the output of your procedure will be displayed when the page is rendered. Otherwise, a link to your procedure will be displayed and the procedure will execute when the link is clicked.
    Regards,
    Jerry
    PortalPM

  • I bought an iphone for my daughter and was unaware that we should have a seperate appleid for each.Now we share an id and get eachothers contacts and face time calls. I recently bought another iphone and want to change ids without loosing items and music.

    I bought an iphone for my daughter and was unaware that we should have a seperate appleid for each.Now we share an id and get eachothers contacts and face time calls. I recently bought another iphone and want to change ids without loosing items and music. How do I do this? The new phone is a 5.

    All purchases are always going to be associated to the ID that was used to purchase/download them.
    If you create an ID for your daughter you will want to check everywhere it is used to make sure you are not sharing messages and stuff. These would be iTunes/app store, iCloud, iMessages, and FaceTime.
    Go thru settings and find all mention of your ID.

  • Tab Pages Web item

    Dear Experts,
    I have created a web template which have tab page item and also two web template web item.
    when i display it the first tab is showing the attached web template item fine. but when i go to second tab page still its showing the first web template only instead of second.
    what could be the reason and how to rectify it.
    thanks and regards
    Neel

    Hi,
    Create 2 Separted Web Templates for Example. Web Temp 1 (having report XX1) and Web temp 2 (having report XX2).
    After that Create New Web Template FINAL --> in Advance Tab --> Drag and Drop Tab Pages  Web Item. After that Tab Pages Web Item properties --> Table Pannel is there in that create new Tab Pannel --> it will open new window in that  click on Actiavtion _Action  it shows like Command : Set Web Template --> Click on that and give me your Web Template Name Web Temp 1 (As above Example) Under that Open New Window option is Check it as ON.
    For Second Web Temp 2 --> Tab Pages Web Item properties --> Table Pannel is there in that create new Tab Pannel --> it will open new window in that  click on Actiavtion _Action  it shows like Command : Set Web Template --> Click on that and give me your Web Template Name Web Temp 2 (As above Example) Under that Open New Window option is Check it as ON.
    I hope it will help you.
    Thanks,
    Bhima

  • Using page 1 items in page 3

    hi, i can't use page 1 items such as P1_USERNAME in page 3 through i write " &P1_USERNAME. " in html region. Is there any way to use page 1 variable or form area in page 3? thanks.

    actually, i want to do a login form. But my login form not Apex's default login form. I have an excel document there are employees, i will convert this excel to database table to use in database. Then i want to a login form.
    Login form has 2 textfield, username and password. If user press submit button after filling the textfields, i redirect this login page to loginhandle page, this page check password, if it is true, login handle page redirects user to page 4, if it is wrong login handle page redirects user to page5.
    So, i have a process in loginhandle page to perform redirection. There is conditionally branch. I've written in conditional expression a pl sql block. This block call a function, that fucntion return true or false. That function get username and password as parameters. If i do this
    declare
    begin
    boola := check_pass(:P1_USERNAME,'1234');
    return boola;
    end;
    the P1_USERNAME value is couldn't understand and the function doesnt work. If i do this:
    declare
    begin
    boola := check_pass('FUAT','1234');
    return boola;
    end;
    everything work perfect. As i mentioned earlier, the above function is written in loginhandle page.
    Why do not i get the P1_USERNAME?
    Thanks

  • How to reload frame in Safari? Reloading page does not refresh all frames

    I have IPAD Air. In Safari, reloading a page does not automatically refresh all frames. Is there a way to force a frame reload/refresh?
    This is true in other browsers, IE, Chrome, etc, that is reloading a page does not automatically fresh all frames. However, they all have a reload frame option.
    How can I do that in Safari?

    A frame is not a browser tab. A web page is made up of multiple frames. 'frame' is the standard HTML definition of the frame tag. Here is a html example, which specifies a web page that subdivides into 6 frames. Each frame links to a html page.
    In Safari, updating a page does not automatically updates all the frames. In all other browsers, you can put the mouse on a frame, right click, and select the 'reload frame.' option.
    My question is how to updat frames in Safari? One way that works, of course, is to go to IPAD Setup, select Safari, and flush the Safari cache, but that's very inconvenient.
    |                                                    |
    |                                                    |
    |                                                    |                 
    |                                                    |
    |                                                    |
    |          |                              |          |
    <frameset rows="45,50,*,60" frameborder="0" border="0" framespacing="0">
    <!--  <frame name="topNav" src="top_nav.html" target="_self"> -->
      <frame name="topNav" src="top_nav.html" target="_self">
      <frame name="menu" src="menu_1.html" target="_self">
      <frame name="content" src="../TaishaneseChopSuey/transcription.html">
    <frameset cols="200,*,300" frameborder="0" border="0" framespacing="0">
      <frame name="footer" src="footer.html">
      <frame name="footer2" src="footer2.html">
      <frame name="sound" src="sound.html" target="_self">
    </frameset>

  • Hiding Page 0 Items and Tree Node Links

    I have two issues I'm trying to work out:
    1) I have created a tree on page 0 that I want to appear on all of my REPORT pages, so the user can filter the reports regardless of which page they're on. The problem is that the tree is also appearing on the login page and the Home page. Is there any way to hide the tree on the login and home pages but have it appear on all other pages? I'm trying to avoid having to create the tree on every single report page.
    2) I need the tree to work like this: the user clicks any node in the tree, and all reports (on multiple pages) are filtered based on the node selected. So I don't actually want the nodes to be links to a report, I just want the reports to be filtered based on the node value selected. Then I'll have tabs to navigate between the different reports. Is this possible?
    Thanks.

    I dunno if you correct it, but there was small mistake in the JS code - a closing bracket was missing
    $s('P0_TREE_NODE', $(this.triggeringElement).parents('li:first').attr('id'));
    it looks like the node value IS being stored in the session stateI hope you checked for items in page 0 (it should then list down page 0 items including P0_TREE_NODE) when you searched for session state(it defaults to whichever page is run currently)
    If these two are working fine, it has to be some page process/computation/item source/item default that modifies the item value when you move between pages.
    To find this: Turn debug on, reload the page , click on a tree node, then redirect to some other page and then check the debug report and see if the page 0 item: P0_TREE_NODE is being set/reset/modified elsewhere.

Maybe you are looking for

  • How do I turn off computer monitor when watching DVD movie on TV monitor?

    I think this is really a Leopard question because it involves setting up 2 monitors in System Preferences within OSX. 1) I have a wide screen TV connected to my iMac (Intel White Late 2006) through the Mini-DVI port and a separate audio cable. This c

  • How do I directly install Mountain Lion Server?

    I'd like to upgrade my Lion Mac Mini Server to Mountain Lion. Currently I'd have to update it to 10.8 Client, then on the server, install the Server app. Is there anyway to consolidate those two steps into one? I'd like to directly install 10.8 Serve

  • Looking for a new desktop

    As most of us know, World of Warcraft is getting better graphics in the upcoming expansion. I'm worried that my desktop now (which can barely play the newest expansion) won't be able to play the upcoming expansion, thus I am looking for a new desktop

  • Nokia Browser driving me insane!

    Hey everyone, I really hope someone can help me! I downloaded the new firmware for my N97mini, the v.11.0.045 i believe its called. Now when I for example browse YouTube, except for the fact that it wont play a video in full screen because it just do

  • IPhone 6 plus apps

    Does anyone know or did they say in the keynote, having a larger can the plus run apps made for iPads and iPhone like iPads can run both iPhone and iPad apps?