How to do a partial refresh of a form and report on the same page?

Hi all,
im trying to make a page where you have a report on top and when you click the link instead going to the form page, the form page is on the bottom of the report. lets say im trying to send an id from the report to the item below so that i could fetch the rest of the item. however when i pass,other items would still refer to this one as null.
if im not mistaken this could be done with submit,but i want it to be partial refresh..
i tried steps here but this only worked when the lower part is a also a report:
https://forums.oracle.com/thread/2345863
i also tried this,but this actually submits a page..
Grassroots Oracle: Apex Tutorial - Form & Report sharing the same page
would it be possible to get a form and report in one page as partial refresh?
Message was edited by: T101_cyberdyne

If so, you need to create a dynamic action with a javascript action to set the id of the report row in the id form field, and a subsequent pl/sql action to fetch the record based on the id. You can use this record to set the other form field items.
For the example in the above link the code looks as follows.
the javascript action:
var empno = $(this.triggeringElement).find('td[headers="EMPNO"]').text()
$s('P26_EMPNO',empno)
the PL/SQL action:
declare
cursor c_emp is
select * from emp
where empno = :p26_EMPNO;
BEGIN
for r_emp in c_emp loop
  APEX_UTIL.SET_SESSION_STATE('P26_ENAME',r_emp.ename);
  APEX_UTIL.SET_SESSION_STATE('P26_JOB',r_emp.job);
  APEX_UTIL.SET_SESSION_STATE('P26_MGR',r_emp.mgr);
  APEX_UTIL.SET_SESSION_STATE('P26_HIREDATE',to_char(r_emp.hiredate,'dd-mon-yyyy'));
  APEX_UTIL.SET_SESSION_STATE('P26_SAL',r_emp.sal);
  APEX_UTIL.SET_SESSION_STATE('P26_COMM',r_emp.comm);
  APEX_UTIL.SET_SESSION_STATE('P26_DEPTNO',r_emp.deptno);
  APEX_UTIL.SET_SESSION_STATE('P26_ORDNO',r_emp.ordno);
end loop;
END;
Hi Vincent,
Yes! im looking for something similar. This looks interesting. I did look into apex_util.set_session_state yesterday but didnt know how to apply. perhaps i was doing it wrong.
Question though, so basically first use the javascript to send the EMPNO from top report to the EMPNO in the form fields below.
Then based on the EMPNO received in the form, do a loop to get the rest and put it into session. Correct?
if i'm not mistaken i did something similar,but when i tried to set session for the rest,it refers to to the p26_EMPNO still as null..does the javascript sets the id of report to the id of the form or does it just send over?
i'll try it out.
Thanks.

Similar Messages

  • How can I put report parameters and report on the same page?

    I want to have a page that has user input (text fields, checkboxes, radio buttons, etc.) at the top of the page, with a submit button. When the user submits the page, I want the resulting report (returned from a query) to display below the input area.
    With ASP or JSP I would write a page with a FORM at the top, with the ACTION submitting to the same page. If the ASP/JSP detects it was submitted (by looking at the request URL or form parameters), it queries the database and displays the report; otherwise it doesn't query the DB or show any report.
    How would I do this with with portlets?
    Thanks!

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Hui Zeng ([email protected]):
    1. Create a form using the Appbuilder
    2. build a report
    3. create a dynamic page, in this page
    call the form, then query the databse:
    <oracle>
    begin
    portal30.wwa_app_module.new_instance(
    p_moduleid=>1060253649);
    end;
    </oracle>
    <p>
    <oracle>
    begin
    scott.example_report.show(
    p_arg_names=>portal30.wwv_standard_util.string_to_table('_show_header'),
    p_arg_values=>portal30.wwv_standard_util.string_to_table('NO')
    end;
    </oracle>
    4. expose this dynamic page as a portlet <HR></BLOCKQUOTE>
    I tried the above, but it didn't work. The form was displayed, but I couldn't find any way to make it go to the report. Is there something more that needs to be done? I'm new to Portal, so any help you can give me on entering parameters and passing them to a form (preferably on the same physical page) would be appreciated.
    null

  • How do I type Hebrew and English on the same page

    How do I type Hebrew and English on the same page in Indesign?

    What version of InDesign are you using? And on what operating system? Switching keyboard ("input methods") is in your OS, not in InDesign. InDesign has had the capability to display right-to-left languages since CS4, but only the Middle East edition has the abilities to actually manipulate Hebrew text. If you're trying to do a bilingual, bidirectional document, you'll need the ME edition. If you are a CC subscriber, it comes with your subscription; if you are not, you'll need to buy another version of ID, or a plugin that will allow you to access those RTL features.

  • How do I combine text and photos on the same page in iPhoto using photobook

    How do I combine text and photos on the same page in iPhoto using photobook?

    You mean while creating a book in iPhoto?  Click on the layout button while viewing a page and select the layout that includes both text and photos.  Most themes will have those options.
    OT

  • HT204053 How do i make icloud work if my husband and I share the same itunes account but we dont want to get each others contacts, messages, apps etc?

    How do i make icloud work if my husband and I share the same itunes account but we dont want to get each others contacts, messages, apps etc?

    Each of you should set up your separate iCloud account on your own computer using your Apple ID. This gives you two independent iCloud accounts.
    Note that an iPad is not a multi-user device. It can only be synced with one account.

  • How to deploy existing forms and reports on the web

    Hi Guys,
    I have 6i forms and reports within our environment, and we are running client/server architecture, by installing forms and reports runtime on each client PC's. We would like to get rid of this by deploying forms and reports on the web, without zero coding. Can any one suggest and guide me through the process with proper security mechanism enabled along with.
    Thanks in advance,
    Aji

    Thanks for the update,
    We have a develpment 10g AS environment setup made,
    1) But we are really confused how to present the forms and reports.
    We have around 250 forms and reports running on client/server architecture. All these forms/reports have been copied to a fileshare and access control is restricted by folder security.
    2) How to deploy forms - entries within formsweb.cfg with Named Configuration sections.
    3) How to deploy reports, as to were to copy the .rep files.
    getting the following error
    REP-110: Unable to open file 'Car_Readings.rep'.
    while trying
    http://kddsvr6.kddc.com:7778/reports/rwservlet?report=Car_Readings.rep&userid=username/passwd@db&desformat=htmlcss
    Thanks in advance,
    AJi

  • Duplicate column ids in reports on the same page, how can I reference them?

    I have 4 reports on the same page.
    I have added a checkbox column to each one.
    On clicking I want to populate a collection with the value of the id of the corresponding row and then have a button acting on the whole list.
    My code to get the id of the item that contains the value I want is this
    id = 'f02_' + $(this.triggeringElement ).attr('id').substr(4,4);
    But there is an f02_0001 for each report, and the code just finds the first one, rather than the one in the context of the report being clicked.
    <input name="f02" id="f02_0001" type="hidden" value="2072"/>
    <input name="f02" id="f02_0001" type="hidden" value="2052"/>
    etc etc.
    All that is ever picked up is 2072
    They have different table ids but I don't know how to reference the correct ones in my code
    I'm sure it must be something simple, can anyone help
    Cheers
    Mark

    It looks like this:
    I want to click on the check box and get the corresponding value for f02_000X (or could I refer to the class name if I gave it a class)
    There are several tables with the same format as below so it needs to work out the table id in the reference.
    <table id="report_R1641794306363434600" cellspacing="0" cellpadding="0" border="0" summary="">
    <tbody>
    <tr>
    <td></td>
    </tr>
    <tr>
    <th id="BOX"></th>
    <th id="Name"> </th>
    </tr>
    <tr>
    <td colspan="11">
    <table width="100%" cellspacing="0" cellpadding="1" summary="" style="border-bottom:1px #959562 dotted;">
    <tbody>
    <tr>
    <td valign="top" nowrap="nowrap" style="padding:1px;"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td headers="BOX">
    <label class="hideMeButHearMe" for="f01_0001"> </label>
    <input id="f01_0001_01" class="boxhop" type="checkbox" onclick="if (this.checked) {apex.jQuery('#f01_0001').val('Y');} else {apex.jQuery('#f01_0001').val('');}" value="Y" name="f01_NOSUBMIT">
    <input id="f01_0001" class="boxhop" type="hidden" value="" name="f01">
    </td>
    <td headers="Name">
    Administrator
    <input id="f02_0001" type="hidden" value="2072" name="f02">
    </td>
    </tr>
    <tr>
    <td colspan="11">
    <table width="100%" cellspacing="0" cellpadding="1" summary="" style="border-bottom:1px #959562 dotted;">
    </td>
    </tr>
    <tr>
    <td headers="BOX">
    <td headers="Name">
    Angela Murray
    <input id="f02_0002" type="hidden" value="2082" name="f02">
    </td>
    </tr>
    <tr>
    </tbody>
    </table>

  • How to get a form to appear on the same page when a button is clicked?

    Hi,
    I have a report on a page with a create button. When a user clicks the create button, a form should appear on another region in the same page....how do i go about doing this?
    I know how to do this if the form is on a different page, but i'd like the form to appear on the same page as the report and only when the button is clicked.
    Thanks.

    Hi,
    I did the following, but it didnt work....
    1) Created a hidden item on the page, and in the Default Value field, I set the value to N.
    2) Created a button in the report with the following values under "Optional URL Redirect":
    Target is a: Page in this application
    Page: 4
    Set these items: P1_SHOW_FORM
    With these values: Y
    3) Created a form of HTML text type with the following values under "Conditional Display":
    Condition Type: Request=Expression 1
    Expression 1: P1_SHOW_FORM='Y'
    What have I done wrong or have i missed something?
    Thanks.

  • I use "element 12" and want  like in the old PS version due Automating and Contact  II upload multiple filesand print them with any columns and rows on the same page . How does it work?

    I use "element 12" and want  like in the old PS version due Automating and Contact  II upload multiple filesand print them with any columns and rows on the same page . How does it work?

    Can you supply a link?

  • How can I delete photos from my iPad, iPhone, and laptop at the same time?

    How can I delete photos from my iPad, iPhone, and laptop at the same time so I don't have to do it separately on each device?

    Photos that were synced from your computer using iTunes can only be deleted by de-selecting them from the folder from where they were synced -  and then re-syncing.
    Connect the iPad to the PC and launch iTunes.
    Click on the iPad name on the left side under devices.
    Click on the Photos Tab on the right.
    If you want to remove all of the Photos - uncheck the Sync Photos from Heading
    Click on Apply in the lower right corner of iTunes
    If you are using iTunes 11 - this will be helpful, Setting up syncing in Windows.
    http://support.apple.com/kb/PH12313

  • How do i delete email from my iPhone,ipad and computer at the same time?

    How do i delete email from my iPhone,ipad and computer at the same time?

    Go to http://support.google.com/mail/bin/answer.py?hl=en&answer=77702. It tells you how to set up gmail on iPhone.  Then go to gmail settings then "accounts and imports" and add your AT&amp;T POP email account  to import mail from AT&amp;T to gmail

  • How to deal with the checkbox columns in the two reports on the same page

    Hi,
    I have 2 reports having checkbox column in the same page. Now how can i differentiate between these 2 checkboxes column and based on them the values in the reports ,while i have to do some processe based on these reports using checkboxes.
    Thnks in adv.

    I just got a new computer and transfered my audio files to the new computer. Itunes made multiple copies of all my files too. I am really hoping there is an efficient way to fix this problem because I have way too many files to go through one at a time.
    Thanks

  • How to run Net Configuration Assistant on 10g Forms and Reports server

    I have a Windows 2000 server with Forms and Reports Services installed from AS 10g v. 9.0.4 (just the Forms and Reports install). According to the OUI, Net Configuration Assistant 9.0.4 is also installed. However I cannot figure out how to run the Net CA. There is no shorcut that I can find. Can anyone help?

    Thanks for the reply Frank. I have looked all through the Start menu but see no "Configuration and Migration". I assume it's because I only installed the Forms and Reports option, so I only have Forms Services, Reports Services, and the Universal Installer. No big deal - I've already setup tnsnames manually. I just like to use the Net Assistant when I can.

  • How to apply modified UI Defaults to existing forms and reports?

    Hi all--
    I've been struggling with UI defaults and after searching through posts in this forum, it doesn't look like I'm alone.
    Is there a way to apply changes made to UI defaults to existing forms and reports? New forms and reports pick up the changes, but can they by applied retoactively?
    Thanks in advance,
    Dan Krautheim

    Thanks for the update,
    We have a develpment 10g AS environment setup made,
    1) But we are really confused how to present the forms and reports.
    We have around 250 forms and reports running on client/server architecture. All these forms/reports have been copied to a fileshare and access control is restricted by folder security.
    2) How to deploy forms - entries within formsweb.cfg with Named Configuration sections.
    3) How to deploy reports, as to were to copy the .rep files.
    getting the following error
    REP-110: Unable to open file 'Car_Readings.rep'.
    while trying
    http://kddsvr6.kddc.com:7778/reports/rwservlet?report=Car_Readings.rep&userid=username/passwd@db&desformat=htmlcss
    Thanks in advance,
    AJi

  • How to open a panel tabbed window using a button present in the same page

    below is my jspx page where i have two buttons and two panel tabs. I want to open respective panel tabs using respective buttons:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" binding="#{backing_pages_bb.d1}">
    <af:form id="f1" binding="#{backing_pages_bb.f1}">
    <af:panelStretchLayout binding="#{backing_pages_bb.psl1}" id="psl1">
    <f:facet name="bottom"/>
    <f:facet name="center">
    <af:panelTabbed binding="#{backing_pages_bb.pt1}" id="pt1">
    <af:showDetailItem text="first"
    binding="#{backing_pages_bb.sdi1}" id="sdi1"/>
    <af:showDetailItem text="second"
    binding="#{backing_pages_bb.sdi2}" id="sdi2"
    rendered="true" disclosed="false"/>
    </af:panelTabbed>
    </f:facet>
    <f:facet name="start"/>
    <f:facet name="end"/>
    <f:facet name="top">
    <af:panelGroupLayout binding="#{backing_pages_bb.pgl1}" id="pgl1">
    <af:commandButton text="first"
    binding="#{backing_pages_bb.cb1}" id="cb1"
    action="#{backing_pages_bb.cb1_action}"/>
    <af:commandButton text="second"
    binding="#{backing_pages_bb.cb2}" id="cb2"
    action="#{backing_pages_bb.cb2_action}"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_pages_bb-->
    </jsp:root>
    below is the backing bean created for the jspx page:
    package view.backing.pages;
    import javax.faces.component.UIComponent;
    import oracle.adf.view.rich.component.rich.RichDocument;
    import oracle.adf.view.rich.component.rich.RichForm;
    import oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout;
    import oracle.adf.view.rich.component.rich.layout.RichPanelStretchLayout;
    import oracle.adf.view.rich.component.rich.layout.RichPanelTabbed;
    import oracle.adf.view.rich.component.rich.layout.RichShowDetailItem;
    import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
    public class Bb {
    private RichForm f1;
    private RichDocument d1;
    private RichPanelStretchLayout psl1;
    private RichPanelGroupLayout pgl1;
    private RichCommandButton cb1;
    private RichCommandButton cb2;
    private RichPanelTabbed pt1;
    private RichShowDetailItem sdi1;
    private RichShowDetailItem sdi2;
    public void setF1(RichForm f1) {
    this.f1 = f1;
    public RichForm getF1() {
    return f1;
    public void setD1(RichDocument d1) {
    this.d1 = d1;
    public RichDocument getD1() {
    return d1;
    public void setPsl1(RichPanelStretchLayout psl1) {
    this.psl1 = psl1;
    public RichPanelStretchLayout getPsl1() {
    return psl1;
    public void setPgl1(RichPanelGroupLayout pgl1) {
    this.pgl1 = pgl1;
    public RichPanelGroupLayout getPgl1() {
    return pgl1;
    public void setCb1(RichCommandButton cb1) {
    this.cb1 = cb1;
    public RichCommandButton getCb1() {
    return cb1;
    public void setCb2(RichCommandButton cb2) {
    this.cb2 = cb2;
    public RichCommandButton getCb2() {
    return cb2;
    public void setPt1(RichPanelTabbed pt1) {
    this.pt1 = pt1;
    public RichPanelTabbed getPt1() {
    return pt1;
    public void setSdi1(RichShowDetailItem sdi1) {
    this.sdi1 = sdi1;
    public RichShowDetailItem getSdi1() {
    return sdi1;
    public void setSdi2(RichShowDetailItem sdi2) {
    this.sdi2 = sdi2;
    public RichShowDetailItem getSdi2() {
    return sdi2;
    public String cb1_action() {
    // Add event code here...
    return null;
    public String cb2_action() {
    // Add event code here...
    return null;
    Wat method has to be coded inside cb1_action and cb2_action so that respective panels are opened.
    thank u for ur help in advance.

    Hi,
    If the data need to be passed is large, consider using Shared Memeory Objects: Check this doc for reference: How to pass data from ABAP to Web Dynpro ABAP
    Hope this helps u,
    Regards,
    Kiran

Maybe you are looking for

  • AS2 Site Audio Links Not Working, Please Help!

    I have  built a site  for a client using AS2 which contains links to streaming mp3s. The audio  loads and runs just fine in Safari but malfuntions/doesn't even play in  other browsers. Here  is the site in question: labbatomarco.com I'm hoping that o

  • XML parser Exception

              Hi           I try to deploy a servlet that serve as a MapPoint web services client. So the           servlet receive a post with latitude and longitude then it try it to retrieve           a Map showing the location from MapPoint through w

  • Combining tracks into one album

    when you import an album into itunes and because 1 track has a 'guest artist' it loads as a seperate item - how do you link it back into the main album ?

  • I cannot use any buttons on the display panel. The power is on and the display is lit up

    All-In-One Printer L7780  Windows 7 64-bit I cannot use any buttons on the display. The power is ON and the display is lit up. I have pulled the plug and waited a while and plugged it back in (several times over two days) but nothing changes. The dia

  • OBIEE11.1.1.6 Weblogic server error.

    Hi All, I have installed OBIEE11G in Linux box.First 1 days it working fine without any issues,After my weblogic server was down.I cant able to start. I tryed below steps. - <MW_HOME>/domains/<DOMAIN_NAME>/servers/<SERVERNAME>/data/ldap/ldapfiles - R