Passing unbound items via pages

Hi dear readers
I want to pass value of some unbound items to another page by query string or via managed bean but i dont know how?
please help
best regards
Edited by: mohba on Sep 23, 2008 3:10 AM

Hi,
Then you can use a ValueChangeListener method implemented in a backing bean to retrieve the new value and store this in the sessionScope or processScope or perhaps a property of a session-scoped managed bean, which can be queried in a different page.
Regards,
Ibrahim

Similar Messages

  • Items on page not set when called via hyperlink from charts

    hello anyone who can help me on this thorny issue,
    i have a barchart on one page (page 39), where if you click on the bar chart, page 40 opens and variables are passed on to items on page 40. the variables depend on which bar was clicked. looks somethiing like this:
    select 'F?P=102:40:'||:APP_SESSION||'::NO::P40_DATE,P40_JAHR:'||to_char(datum, 'yyyy.mm.dd')||','||to_char(datum, 'yyyy') link,
    to_char(datum, 'dd.mm.yyyy') Datum,
    Avg_mips
    from ... some sql query....
    this generally works - BUT, once in awhile, the correct page opens, but the items are NULL!
    only when i press F5 to refresh the page, do the variables correctly pass to the items and the proper query is performed...
    after some testing, it seems to happen when i click quite fast. quickly get back to the page 39, click a new bar and then i'm back at page 40 again.
    if i do this slowly, maybe wait a couple of seconds, it generally works.
    for ex., the URL would look something like this:
    http://daidalos:7777/pls/apex/F?P=102:40:2118535974571692::NO::P40_DATE,P40_JAHR:2008.12.16,2008
    - i know the variables are correct when i look at the URL
    - yet the new graph on page 40 shows null values, and a click on the "session" button confirms that the items are null!
    - once i press F5, the URL is the exact same, onle the items are now "refreshed" and the proper processing can take place.
    so, can anyone tell me what is going on here and how i can avoid this?
    the items are set as "hidden" (not protected). there are no computations or default settings to the items, and they are not reset to null at any time.
    regards,
    mike

    Mike:
    I suspect that the chart on page 40 is being rendered by an APEX database connection that is not the same one that renders the rest of the stuff on page 40. So, it is possible that the database connection rendering the chart does not see the new values for the page items set in the URL as these may not have been committed to the database yet.
    You could try this.
    Change the chart query to be
    select 'javascript:setStuff("' || to_char(datum, 'yyyy.mm.dd') ||  '","' ||to_char(datum, 'yyyy') || '")' link,
    to_char(datum, 'dd.mm.yyyy') Datum,
    Avg_mips
    from ... some sql query...Add the JS below into the HRML page header<script>
    function setStuff(p_date,p_jahr) {
      $x('P40_DATE').value=p_date
    $x('P40_JAHR').value=p_jahr
    doSubmit('XXXX');
    </script>Define an 'After Submit...' branch to page 40. Make the branch conditional on Request = 'XXXX'
    varad

  • How to pass apex item value into custom xml for chart or guage?

    Re-opening the old thread : Re: How to pass apex item value into custom xml for chart or guage?
    Which was not answered.
    Roel - Thanks. Its working - but in a semi quotes in the custom XML
    <pointers>
    <pointer value= '&P5_RUNNING_TOTAL.'
    <label enabled="true">
    <position placement_mode="ByPoint" x="50" y="15" />
    <format>{%Value}{numDecimals:1}</format>
    <background enabled="false" />
    </label>
    </pointer>
    </pointers>This question was helpful for us to resolving one recent thread : AnyChart - set Dial axis intervals dynamically?
    (Re: AnyChart - set Dial axis intervals dynamically?
    Edited by: P.Ranish on Dec 13, 2012 6:23 AM

    P.Ranish wrote:
    Is there any update for this question ???
    Edited by: P.Ranish on Dec 13, 2012 3:36 AMNo, And there won't be in the future.
    Please stop posting followup's to old threads, if you have a real problem please search the forum first and post a new question with all information
    Roel wrote:
    Try using &P5_RUNNING_TOTAL. or #P5_RUNNING_TOTAL#Just to make it clear - this will only work if page is reloaded after setting the item values dynamically via AJAX

  • Javascript: to pass values to another page

    hi all,
    i hav an interactive report. if i clik on a particular row, that row values must be passed to an another page (via javascript)
    i found this forum https://forums.oracle.com/thread/2467579 in which they hav used it for sending mail.
    but i wanted to pass those values to another page throug javascript bz, i hav installed a plugin nd wrking from it under right clik.
    ma  javascript function  is,
    function func(action,el, pos)
       window.location ="http://apex.oracle.com/pls/apex/f?p=71510:2:&SESSION.:::2:P2_X,P2_X2:'+ $(el).children('td[headers="EMPNO"]').text() +  ',' + $(el).children('td[headers="ENAME"]').text()";
    here i hav redirected it to the 2nd page and in the 2nd page i hav used 2 items to get these values.
    $(el).children('td[headers="EMPNO"]').text() +        ------->  this is to fetch the empno of that particular row and similarly for the name.
    but if i click on the right clik button , no action is happening... 
    but its working fine, if i use the function as,
    function func(action,el, pos)
       window.location ="http://apex.oracle.com/pls/apex/f?p=71510:2:&SESSION.";
    so somewhere is going wrong in passing the values in URL i suppose....
    and i hav used al d above things in
    http://apex.oracle.com/pls/apex/f?p=71510:1 (username: test / paswrd: pex14gm)
    pls help me out.....
    thanks in advance

    Try like this.
    function func(action,el, pos){
        var empNum = $(el).children('td[headers="EMPNO"]').text();
        var eName  = $(el).children('td[headers="ENAME"]').text();
        window.location ='http://apex.oracle.com/pls/apex/f?p=71510:2:&SESSION.:::2:P2_X,P2_X2:'+empNum+','+eName;
    It looks simple and neat.
    If you still didn't get post me workspace details.

  • Session state is not being passed properly to another page

    Hello Gurus,
    I have a multi-page application which authenticates using a simple authentication page 101. Right now I have a generic authentication scheme which always returns true (Session Verify Function= return true; I will integrate LDAP later.) It works fine. The app remembers the username from one page to the next (popup pages mainly).
    My issue is that, after exporting the application and re-importing into a new workspace, the user/session state is no longer being preserved from page to page. It prompts for a login every new page that is opened (the popups). This ruins the flow and functionality of the app.
    I've checked every setting (I think) and cannot find any differences between the two workspaces or apps. Any ideas why this would work in one workspace and not the other?
    TIA!
    Jonathan
    I should also indicate that the issue seems to be specifically in calling "callmypopup" function. For some reason it isn't passing the session id properly to the popup page, where it did fine in the other workspace. function text:
    function callMyPopup (sourceItem, popuppagenum, targetItem, appid, appsession) {
    //opens popup pg and passes value in sourceItem to targetItem
    //sourceitem=calling text box, targetItem=text box in popup page
    var minlength = 3;
    if (CheckLength(sourceItem, minlength))
    var formVal1 = document.getElementById(sourceItem).value.toUpperCase();
    var url;
    url = 'f?p=' + appid + ':' + popuppagenum + ':' + appsession + '::::' + targetItem + ':' + formVal1;
    w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    else {alert('Please enter at least ' + minlength + ' characters in your search.');}
    Edited by: austindurant on Sep 5, 2008 7:02 AM
    Edited by: austindurant on Sep 5, 2008 7:46 AM

    It looks like your session id is not correctly passed to your popup page. Try using:
    javascript:popUp2('f?p=&amp;APP_ID.:1:&amp;SESSION.:::::', 600, 700);
    instead, which does the same thing. Put your parameters for the page items there if required.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Help needed in passing parameters between custom pages

    Hi,
    Thanks in advance for your help gurus. I am developing 2 new pages and both should have link between them. WHen I click a button on page A it will navigate to page B, I am passing 2 parameters to page B. Page B is rendered with the help of values passed. Page B has 2 OAMessageLovInput Bean for which I am setting their values based on the values passed using
    OAMessageTextInputBean custBean = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("CustID");
    custBean.setText(pageContext.getParameter("customerid"));
    Everything works great till now. Now I want to change the customer id on page B using the LOV ie I select a new customer and I tab out of the field, still the customer id is not changed, it is set to the old one only to which the bean is set to.
    What should I do get the new selected customer id to be populated on the LOV fields.
    Thanks,
    newbie

    newbie,
    You really do not need to explicitly set the customer Id through code. Just create a new LOV Mapping and make its return value to the MessageTextInputBean i.e CustID on base page and Lov Region Item would be the CustomerID of the Lov Table region.
    Create Custome ID in LOV Table region and set its render property to false. I am assuming that the custId is present in the LOV VO query.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How do you reorder the pages in a PDF ie back to front (not individually via Page view)

    Sorry if this is in the wrong place or if this has been answered elsewhere but I couldn't seem to search "the database"
    How do you reorder the pages in a PDF ie back to front (not individually via Page view). The manual solution of course is to scan or import them in the correct order in the first place. However, this did not happen, and we have many PDF's which are 100% in the wrong order. So we would like to press a button and have them in the right order.
    Many thanks in advance for your help...

    Got it to work. It returned a completely different path of course just to make life interesting and required a FN+OPTION ENTER in order to return the path. I now have the FLATTEN option in the edit menu.
    Just trying it checking all the Flatten options except the fields seemed to work on the first pass. I'm going to try and load a copy of the original complete document. I assume that is the proper way to use this at this point since I created the form ***-backwards?
    I've used Adobe layout programs since the Aldus days but Acrobat seems to work differently than any other program I've used.
    If I understand what you're saying I should:
    1. Design the layout of the form leaving spaces for the fields
    2. Open Acrobat, import the document
    3. Auto-add and correct, or manually add the fields
    4. Fix tabbing
    5. Add any additional comments or annotations
    6. Flatten everything but the fields?  (If the fields are flattened I can't fill out the form unless it's supposed to be a printed form only, right?)
    Might just have to break down and RTFM.  Acrobat is a really different animal.

  • How to publish a File Content Item via EDK?

    I'm trying to publish a "File Content Item" via the EDK.
    CS EXPLORER
    Recall, that a "File Content Item" is different than a (regular) "Content Item" in that (via CS Explorer) it's a content item with no user-defined data entry template (when you right-click, the "Edit Data Entry Template..." menu item is not listed). Yet, somehow, it can still be published (via the Explorer), --which is great because I need to FTP this file to another server.
    EDK
    However, even though the (file) content item's EDK "Publishable" property indicates "true", it cannot be published via the IContentItemManager.PublishContentItem() method, which is returning the following error message...
    The required object was not found... content item... containing Data Entry Template... with attached Presentation Template (with UUID null)... (DataItemUuidNotFound...)
    In other words, the File Content Item has a (system defined) "/Definitions/File" data entry template, which has no attached presentation template. This leads me to believe that File Content Items are published differently (than Content Items).
    Or, is there a flag that I can pass along to "file_upload.jsp" to get it to auto-publish the File Content Item it creates?
    thanks,
    Michael

    Hey there,
    Animate doesn't publish to HTTPS, but this is something you can control on your own when uploading to a secure server. Also be aware that the Animate runtime is served over HTTP so you'll have to upload this component to serve from your server as well.
    Sarah

  • How to avoid the hard limit of 100 column and items per page?

    I have created a Form on a Table with Report. I need to create/edit approximately 175 items. The items on the Form have a limit of 100 column and items per page. What is the best way to carry the remaining items to another Form and doing an insert or update? or is the 100 column limit on the insert/update per table as well?
    Thank You.

    Hi Rick,
    The 100 item limit is on a page, not a table, so you shouldn't have any trouble with your insert or update processes.
    Here's a thought:
    Report currently has a column that links to the first page of items (page 14) with the retrieved row. Presumably you also have a Add New button on the report page that links to page 14 for a new row.
    Define a Next button on page 14 that branches to the second page of items (page 16). Also define a Previous button on page 16 to return to page 14. But page 16 would be the only page with a Save button.
    Now, if user clicks Add New, user will get a blank page 14. Once user enters the info and passes validation they click Next and will be sent to page 16 to enter the remaining info and Save.
    If user clicks one of the column links, they will be brought to page 14 with the clicked row - they can change whatever info there and click Next, or just click Next, to get to page 16. After any changes are made, they click Save.
    I'm assuming you've been thru the tutorials and realize that you'd really have two Save buttons defined for page 16 - one conditional on your primary key item having a value (existing record) and one conditional on it being null (new record) - check out the tutorials for more info, but this is how the application would know whether to run an insert process or an update process.
    Hope this all makes sense and can help,
    John

  • I cannot purchase item via Clash of clan Purchase for Clash of clan game, the message is "Your Purchase Could Not Be Completed"

    I cannot purchase item via Clash of clan Purchase for Clash of clan game, the message is “Your Purchase Could Not Be Completed”

    If you also got a message to contact iTunes Support then you can do so via this link and ask them why the message is appearing (we are fellow users here on these forums, we won't know why) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Using unbounded item value for rendering expression in a region

    Hi there,
    I use jheadstart 11g tp2.
    I have a question about a group in application definition module which all of the items are unbounded.
    For 3 of them I use text input lov which related to lov that is bounded to a view.
    I use the return value of the lov for filling unbounded items and I want to use that filled unbounded item for rendering expression of a region.
    my problem is after using lov I can't use the binding value of the unbound item (which filled by returning value from lov) for another part of the the group
    I have a region that should be visible and invisible based on that item
    Please let me know is there anyway for doing this or not?
    Thanks for your help
    Setareh Rajaei

    the unbound item has a variable binding in the page def, so you can refer to the value of the unbound item using the expression
    #{bindings.[groupName][itemName].inputValue}
    Steven Davelaar,
    Jheadstart Team.

  • How to pass Application Item value in Javascript function.

    Hi,
    I have the following javascript in the HTML Form Element Attributes properties
    I am on Page1 and passing P1_DEPT_NO page item value. This is working perferctly fine and I am able to get the exact value of the page item
    onchange="javascript:function1($x('P1_DEPT_NO').value);"I am on Page1 and passing Application Item G_DEPT_NO value.
    The problem here is, I am not getting the Application item value inside the javascript function.
    I tried using alert(); and it's giving me value as undefined
    onchange="javascript:function1($x('G_DEPT_NO').value);"Just want to know, how to pass the Application Item value in Javascript.
    Thanks,
    Deepak

    Deepak,
    I am not an expert at Javascript, but the suggestin I made was because javascript is a case-sensitive language.. and therefore onChange is not the same as onchange.
    Not quite sure if that is causing the problem.
    Application items are not associated with a page and therefore have no user interface properties.
    Therefore, as mentioned in another post, the rendering would not work for application items.
    If it is for a single item, used only in this page, you could create a hidden page item and use it fo your purpose
    If you still want to look at application items and AJAX, This page contains examples of using AJAX to solve problems like the one you mentioned.
    http://www.oracle.com/technology/obe/hol08/apexweb20/ajax_otn.htm#t1b
    Thanks,
    Rajesh.

  • Passing record ID between pages?

    I cut a master/slave set of pages. When I select a record on
    master, it calls the appropriate record on slave. Now I want to
    edit the specific record. I have a separate page that allows me to
    edit a given record. How do I put a link on the slave page such
    that the chosen record number is passed to the "edit page"?
    Thanks!
    Ross

    Greg,
    Short a few details about how you are setup and what kind of page items (tabular or form layout), but say you have a Page 1 with the item :P1_MAIN_KEY_FIELD, other pages can reference that value (or use that as a default value in their fields).
    I always get confused with the various syntax options, depending on where and how you're trying to use it, so experiment with the various options:
    &P1_MAIN_KEY_FIELD. or
    :P1_MAIN_KEY_FIELD or (as an ITEM source)
    P1_MAIN_KEY_FIELD
    Since you want a form field to hold that value from a previous page, you'd probably need a Before Header or Before Region process, so you could use that value as your DB column value. Hard to say exactly without knowing what your trying to do.
    Scott, Sergio or somebody with a lot more knowledge could clarify this a bit more, but that should be enough to get you going.
    Bill Ferguson

  • Green Indicator in Item Overview page with Version Creation

    Hi Folks,
    With each version created for an item after passing through decision points, a green indicator for the corresponding versions created should appear in Item Overview screen at the item level, which is not happening.
    If this happens as a part of standard functionality in RPM, how can we make the traffic indicator lights turn green in the Item Overview page once the version is created ?
    Thanks in advance.
    Edited by: karthikeyan Duraisamy on Jan 31, 2011 11:22 AM

    I went through the document on the mentioned by you.
    But my requirement is a bit diiferent.
    I want to have 3 different drop downs with a  numeric field attached to them.The sum of these numeric fields should always be 100 (two values are manually selected but the third value should be calculated automatically based on the previously selected values).
    Example,
    I select 10 as a value for Drop down 1, 40 for drop down2 then for the drop down3 the value should populate automatically as 50 (100 - (10+40)).i.e. the sum being 100.
    Can you or any one please help me with this.
    Also I am not sure how do we give multiple options for selection (like 10,20,..50 etc upto 100) for a drop down.

  • Passing list collection from page to page

    Using wp 8.1 and c#, I need to build a collection on one page1, then use the collection throughout the app for every page including page2, page3, page4, etc.
    Can anybody offer advise to consider?
    I thank the Lord Jesus for your kind effort and patience with me (Jeremiah 9:23-24 of the Holy Bible).

    Is this Silverlight or is it windows store app?
    It doesn't matter a great deal.
    You have three options.
    1)
    You can add any old object you like to resources and there's an application scoped set of resource.
    In windows store apps I think that'd be app.current.resources and in silverlight it's application.current.resources.
    You do:
    Application.Current.Resources.Add("somekey", yourlist);
    and that adds it to your resources.
    App.current... for win store app.
    To get a reference back to that thing ( note, it's a reference and therefore the same object).
    List<t> mylist =Application.Current.Resources["somekey"] as List<t>;
    Obviously, that list can instead be some other sort of collection and <t> is the type of the objects in it.
    You can see this approach used in one of my WPF samples:
    https://gallery.technet.microsoft.com/Dynamic-XAML-Composed-View-e087f3c1
    This shares two observable collections in a similar manner.
    It proves they are definitely the same object because you can edit a person and see the changes immediately in the corresponding datagrid row.
    2)
    You could alternatively send the List<t> using Mvvm Light messenger in an object and subscribe to that object type in the "receiving" pages.  They would have to be in memory and I think option 1 is your best bet.
    3)
    You could create the collection in one place - like mainpage eg.  Then pass that collection via the constructors of the other pages as you new them up.  I don't really like this approach because it introduces a dependency to all those pages which
    means testing etc is harder.   I don't consider it a professional approach if there's an alternative - but it's an approach plenty of professionals advocate so your mileage may vary.
    It's not really any simpler than using resources.
    Hope that helps.
    Recent Technet articles:
    Property List Editing ;  
    Dynamic XAML

Maybe you are looking for

  • ISO file format not compatible

    I have a video which was downloaded form a Video cam a little while ago. It was captured with another program which converted it to an iso file. All attempts to open it in Premier Pro and Encore have failed so far. The error message simply states "Fi

  • Bridge Web Gallery using keywords

    Hi, I'm using bridge to create a swf gallery, but i want to display de keywords of the pictures and also be able to search pictures by keywords. Does anyone knows how can I do this? or is there any other software where i can do this? Thanks a lot leo

  • Temporary Variables

    I’m sure there’s an easy solution to this and that I must be looking at it the wrong way.In my calc script, I’ve created a temporary variable called BC_uf_wages containing the following members. My actual outline for the “urban fare” has many members

  • Tables which stores Variables information

    Hi Gurus, I want to know how to find the vaiables information ??? where can i find the complete information of the Variables of Bex reports . there must be tables which stores complete info.. right kindly help me in this regard Regards AK

  • Mystery.  jpeg stills require rendering on FCP timeline??

    I'm co-editing a film with a partner on the other side of the continent. We are using a lot of stills. I use GraphicConverter to re-size the 300dpi stills to 72dpi. (300dpi stills slow down FCP considerably, and take a lot longer to render.) My 72dpi