From Advance table Row call Custom Page

hi
My reqt is,
From the Advance table i.e. in Standard page,
I need to add column in Advance table and the column will be a link i.e. say Image that calls Custom Page.
Once i select the row using RadioButton and click on the Image , the Custom page will call and
I want to pass the Parameter from Standard page to Custom page
How to achieve this?
I hope u get my Reqt.
Thanx

Hi
This is how after adding the image through personalisation.You can get the id of that particular row that has been clicked by user.
String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
          if(rowReference != null)
            TestVORowImpl xxvorowimpl = (TestVORowImpl)am.findRowByRef(rowReference);
          String empno =   xxvorowimpl.getemployeeNumber();
}Thanks
--Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How to save the  selected rows from Advance table into database

    Hi
    I have requirement like..
    In custom page , Manager Search the Candidates and selects the candidate ROWS from advance table.
    The reqt is how to save the selected multiple rows into the database.

    hi Reetesh,
    In Custom page
    Supoose the Recruiter Search is for Position Finance Mangager , it retrieves 100 rows , out of which Recruiter select 10 rows .
    So in Such scenario how to save this 10 rows against Recruiter
    , i mean , Is i need to create custom table, to save Recruiter , these selected 10 rows.
    I hope u understand my question

  • How to use script to get the first table row on each page?

    I create a print form to display a table. I set a conditional page break on this table, so the table rows on each page could be different.
    For example, there're total 50 rows in this table. On the 1st page, there're 5 rows, but on the 2nd page, there're only 2 rows, and so on...
    Now I want to get some value from the 1st table row on each page. How can do that? I can refer to a table row using TableRow[n], but I don't know how to calculate 'n' in script (either FormCalc or JavaScript) for the 1st row on each page.
    Any ideas?

    Hi Wei,
    There is an option of setting the overflow header in the pallette. You may check that out. It is basically used to have the table header to be seen in all pages, if the table is overflowing to multiple pages. You may put your first row as the overflow header.
    - hope this helps, Kindly update,
    thanks and regards,
    - anto.

  • Can the cell lines be removed from a table inserted in a Pages document?

    Can the cell lines be removed from a table inserted in a Pages document?

    Inspector > Table > Table > Cell Borders
    The buttons immediately below "Cell Borders" allow you to choose left, right, inside, outside etc.
    Choose None from the border style Pop-up.
    Download the Number'09UserGuide from the Help menu in Pages. Search for borders.
    Regards,
    Ian.

  • Deleting Row from Advanced Table Region

    Dear Members,
    I have an OAF Page where I am using Advanced Table Region to display the data of a table.
    As soon as the page opens I am displaying one line in Advanced Table Region. In this region I have also given a button called ADD ANOTHER ROW +(using the feature of ADVANCED TABLE COMPONENTS, FOOTER, TABLE FOOTER , ADD TABLE ROW)+.
    So when user clicks on this button a new row will be added. Now if user wants to delete it how to achieve this.
    Kindly please help me in achieving this functionality.
    Many thanks in advance.
    Best Regards,
    Arun Reddy D.

    Hi Arun,
    First you need to create a button or image called Delete on your Advanced table region.
    Action Type : firePartialAction
    Event: delete
    Then In your CO PFR , write the below code
        if ("delete".equals(pageContext.getParameter(EVENT_PARAM)))
          String rowRef = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
          OARow row = (OARow)am.findRowByRef(rowRef);
          row.remove();
        }Hope this helps. :)
    Thanks,
    SK
    Edited by: SK on Feb 9, 2011 5:21 PM

  • How to get current row from advanced table

    Hi,
    I have the following code to pick the value of columnA from one of the columns of an advanced table:
    OAViewObject vo = (OAViewObject)am.findViewObject("AAALineVO2");
    if (vo != null)
    OARow vorow = (OARow)vo.getCurrentRow();
    String ColA = (String)vorow.getAttribute("ColumnA");
    String message = ColA; //to throw message so i can verify the value of ColumnA
    throw new OAException(message, OAException.INFORMATION);
    }It's picking up the first value of ColumnA of the first record correctly, however when I add a new row, it's not picking up the value of columnA anymore.
    What am I doing wrong?
    Thanks in advance,
    N

    Try with this:
    import oracle.apps.fnd.lookups.server.LookupCodeVORowImpl;
    public void aaa (String row)
        LookupCodeVORowImpl laborcreateeovorowimpl = (LookupCodeVORowImpl)findRowByRef(row);
    }Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Deleting a row from advance table:urgent

    Hi All,
    I am using Advance table with "Add Another Row" button.Situation is like this, i have an empty row and an exsist row in my Table. Against each row i have a Delete image.Now my problem is, when I am clicking on the Delete image, i am getting the empty row id which is there is the VO cache,not the one against which i have clicked on the Delete image.Please help me to solve this problem.
    Thanks in Advance,
    Vikram

    For the Delete image, why dont you enable a firePartialAction on that and use SPEL binding to pass a unique id (like an <object>_id) as an EVENT PARAM to the Controller. From there on you can pass it to the AM and delete that particular row.
    For adding a new row, if you use the default add row feature in the advanced table and set the Insert Rows Automatically property to true, it should take care of inserting the rows by default at the end of your existing rows, without you having to write any code for it.
    If, on the other hand, you want to manually add the new row yourself, such as for defaulting some values into the new row, then you might want to explore if insertRowAtRangeIndex will work.

  • Delete row from Advanced Table

    Hi,
    I'm trying to follow the Delete exercise to create a table with delete image for my project. We don't need to have switcher and confirm dialog as exercise does.
    My table only has three columns: fromDate, endDate and delete.
    I got issue if I entered two dates value then click delete image immediately, then pageContext.getParameter("fromDate") and getParameter("endDate") will return empty string.
    I have to click Add another row to reload page then getParameter will return values.
    How do I resolve this issue?
    Thanks in advance!
    KJ

    One approach is to manually empty the fields. But a better approach will be to include an action button on each row to clear the entries programmatically.
    --Shiv                                                                                                                                                                                                                                                                                                                                           

  • How to get the value from Advanced table

    Hi,
    In the Advanced table have 2 LOV fields, I need LOV field value dynamically in the controller to validate the save button, if iam not selected any value in lov save button will not allow to save the data. In the table i am using 'Add another row'. How to get the lov field value in the process form request??? and how to do this requirement
    Thanks
    Naresh

    1. You can specify required property on LOV field to "yes". For events where you wish to disable the client side validations, set the property disable client side validation to "true".
    2. If above behavior is not what you are looking for, then you need to handle in AM and not CO.
    a. Call an AM method from CO.
    b. In that AM method, get handle of VO.
    c. Iterate the VO Rows and check for your validation rules.
    -Prince
    http://www.princekapoor82.blogspot.com

  • Print each table row at new page in PDF

    Hi All,
    I have a very specific requirement for Adobe forms.
    1. I have to print a table which can flow upto several pages and after that i have a structure which is having some fields which needs to be displayed at last page i.e at the bottom of last page like the total of all data in the table.
    2. I have to print a table in which each row should be printed at different page i.e 1st row which is again a table type can flow upto several pages then 2nd row which is a table type must be start from next page and so on.
    How can i achieve these two requirements.
    Thanks in advance,
    Nawal Kishor Mittal

    1. I have to print a table which can flow upto several pages and after that i have a structure which is having some fields which needs to be displayed at last page i.e at the bottom of last page like the total of all data in the table.
    If you use content: flowed + allow page breaks within content, then the rows will be distributed to the pages and the content which is placed in the hierarchy just after the table will appear at the bottom of the table
    I have to print a table in which each row should be printed at different page i.e 1st row which is again a table type can flow upto several pages then 2nd row which is a table type must be start from next page and so on.
    That means you will use the table of tables (create table of tables in the backend and then just display it in the form). To work with the page break/ pagination you should set up "top of next page" (tab Pagination) for every outer table row.
    Otto

  • How to  extract  data from PCD tables to create  custom activity report

    Hi Friends
    I have a requiremnt for creating custom portal activity report, even though we have
    standard report for that, we need to extract the data from the following pcd tables
    WCR_USERSTAT, WCR_WEBCONTENTSTAT,WCR_USERFIRSTLOGON,
    WCR_USERPAGEUSAGE.
    This extraced data will be used to create BW Reports.
    my questions  are
    1.How to extract the  data from   pcd tables?
    2.can i use   UME API   for  extracting the  data from the given PCD tables?
    3.Can i querry   the  PCD tables from JSPdynpage or  Webdynpro APP?
    Please guide me.
    Thanks in advance
    Ashok

    Hi Kishore,
    Refer to
    http://wiki.sdn.sap.com/wiki/display/Snippets/DirectAccesstoDatabaseTables
    http://wiki.sdn.sap.com/wiki/display/WDJava/OracleConnectivitywithEJBusingWebDynproApplication
    JDBC Connectivity with Webdynpro and Max DB
    Thanks
    Prashant

  • Advanced Table Row Count

    <br>
             I have an <b>Advanced Table</b> with <b>Add More Rows Button</b>. I want to 
    <b>COUNT</b> the <b>number of  rows</b> entered in the table so  I can do
    a validation on the page before returning to main page.
    I also have Update and Return Buttons on the page.
    Can you pls tell me how to do it.?
    Thanks

    loop the VO with a counter and you will know the rows that are there in the VO
    Tapash

  • How to handle Lov event from Advanced Table

    hi all,
    I have requirement like I need to return 5 items from lov RN and need to bind them with curresponding 5 coloumns in advanced table which is diplaying fine,
    but once clicked on 'Add New Row' button values from the privious row is getting null/disappearing. All the items in advanced table are binded with proper view Attribute.
    Please let me know why it is behaving so? and kindly give the solution also how can I handle this.

    Hi,
    The columns on which you are returning the values must be messageStyledTexts Right??
    If yes, then you should know that read only fields are not able to hold values and hence the lov mappings gets lost when you click on Add New Row button.
    To avoid this.
    For 5 columns, create 5 form Values and bind the same View Attribute to them as to the columns.
    Now in the LOV also create 5 mappings for form values same as you have created for table columns.
    This way it should work.
    Thanks,
    Gaurav

  • Export Transient Attribute data to excel sheet (from Advance Table)

    Hi,
    I have an advanced table in which its columns mapped with both vo attributes(from database) and transient attributes. If i select 'Export Button' i need to export all data present in the advanced table to excel sheet.. But i am not able to export transient attribute data .. Can anyone help me to solve this problem...
    Thanks,
    Babu

    Babu
    You should be able to export any attribute from the VO, provided they are not hidden fields. Do the values appear on the screen? What is the field type on the advanced table of the attribute you are trying to export?
    --Ritu                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • OA Framework - Help Needed in highlighting one of the rows in Custom Page

    Hi Oracle Gurus,
    I am new to OAF.
    I have a requirement like I have to highlight one of the rows in a Custom OA Page.
    These rows exist in a table structure,they are basically Claim records of the employees.
    All these rows are from only One View Object. I just need the total row alone to get highlighted in different color.
    I tried updating the Custom.xss file in $OA_HTML/cabo/styles.
    Below is my Custom.xss file
    <styleSheet>
    <!-- Please start your customizations here -->
    <style selector="XX_BOLD">
    <includeStyle name="DefaultFontFamily"/>
    <property name="background-color">#FF0000</property>
    </style>
    <style selector="XX_NORMAL">
    <property name="background-color">#0000FF</property>
    </style>
    The Query of the VO is
    SELECT EMP_DEP,
    CLINIC,
    HOSPITAL,
    DENTAL,
    OPTICAL,
    EXE_PROFILE,
    MATERNITY,
    DECODE(EMP_DEP,'Total','XX_BOLD','XX_NORMAL') XX_BOLD FROM apps.XXBEN_CB_MEDUTIL_TABLE;
    The VO has decode operation that decides the CSS style which will be used via Controller.
    I have applied the CSS file thorugh the Controller code that I have given below.
    Controller Code :
    OAPageLayoutBean plb = pageContext.getPageLayoutBean();
    OAMessageStyledTextBean columnBean = (OAMessageStyledTextBean) plb.findChildRecursive("EmpDep");
    OADataBoundValueViewObject css = new OADataBoundValueViewObject(columnBean, "XX_BOLD");
    columnBean.setAttributeValue(oracle.cabo.ui.UIConstants.STYLE_CLASS_ATTR,css);
    I did all the changes and bounced the Apache Server.
    But this seems to be not working....I do not see any Colour change in the OAPage.
    Can Anyone tell what could be wrong in this.???
    Please Reply as this very urgent........

    Hi Anil,
    I tried watever you had suggested,It is still throwing the same error.
    I have pasted below the code that I am using.
    Controller Code:
    package EmployeeTest.oracle.apps.per.server.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants ;
    import oracle.apps.fnd.framework.webui.beans.table.OATableBean ;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean;
    import oracle.apps.fnd.framework.webui.OADataBoundValueViewObject;
    import oracle.cabo.ui.beans.table.ColumnBean;
    import oracle.apps.fnd.framework.webui.beans.form.OAChoiceBean;
    import oracle.apps.fnd.framework.webui.beans.form.OASubmitButtonBean;
    import oracle.apps.fnd.framework.webui.beans.layout.*;
    import oracle.apps.fnd.framework.webui.beans.message.*;
    import oracle.apps.fnd.framework.webui.beans.nav.OANavigationBarBean;
    import oracle.apps.fnd.framework.webui.beans.nav.OAPageButtonBarBean;
    import oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean;
    import oracle.apps.fnd.framework.webui.beans.table.*;
    import oracle.cabo.ui.*;
    import oracle.cabo.ui.beans.*;
    import oracle.cabo.ui.beans.form.*;
    import oracle.cabo.ui.beans.layout.*;
    import oracle.cabo.ui.beans.message.MessageStyledTextBean;
    import oracle.cabo.ui.beans.message.MessageTextInputBean;
    import oracle.cabo.ui.beans.nav.NavigationBarBean;
    import oracle.cabo.ui.beans.table.ColumnBean;
    import oracle.cabo.ui.beans.table.TableBean;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.OARow;
    import oracle.jbo.domain.Number;
    import oracle.cabo.style.CSSStyle;
    import java.io.Serializable;
    * Controller for ...
    public class EmployeeInfoCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    int intPersonId = pageContext.getEmployeeId();
    //int intPersonId; // = pageContext.getEmployeeId();
    //String strPersonId = Integer.toString(277980);
    String strPersonId = Integer.toString(intPersonId);
    // get the Application Module
    OAApplicationModule oaAM = pageContext.getApplicationModule(webBean);
    Serializable parameters[] = { strPersonId };
    //pass parameters to Application Module
    oaAM.invokeMethod("initQuery", parameters);
    oaAM.invokeMethod("insertRow", parameters);
    oaAM.invokeMethod("execQuery");
    oaAM.invokeMethod("totexecQuery");
    oaAM.invokeMethod("tohighQuery");
    OAViewObject oaviewobject1 =(OAViewObject)oaAM.findViewObject("EmployeeUtilVO1");
    oaviewobject1.reset();
    if (oaviewobject1 != null)
    do
    if(!oaviewobject1.hasNext())
    break;
    oaviewobject1.next();
    OARow row = (OARow)oaviewobject1.getCurrentRow();
    String fullName = (String)row.getAttribute("EmpDep");
    System.out.println("The Name is "+fullName);
    row.setEmpDep("<html><H5>"+row.getEmpDep()+"</H5></html>"); (As it is a Plain Text this HTML tag is making the text row.getEmpDep() as H5)
    } while(true);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    I am successful in Interating the rows of the table.
    I am being able to print out the view attribute "EmpDep", But when I tried highlighting the row attribute using Row object,it is throwing me an error.
    The error code is :
    Error(88,40): method getEmpDep not found in interface oracle.apps.fnd.framework.OARow
    Error(88,13): method setEmpDep(java.lang.String) not found in interface oracle.apps.fnd.framework.OARow
    I have already give the Query for the VO in the Thread.
    Could You Plz let me know what is wrong in this code?
    Edited by: user1393742 on Sep 21, 2010 7:54 PM
    Edited by: user1393742 on Sep 21, 2010 7:55 PM
    Edited by: user1393742 on Sep 21, 2010 7:57 PM
    Edited by: user1393742 on Sep 21, 2010 7:58 PM
    Edited by: user1393742 on Sep 21, 2010 8:01 PM
    Edited by: user1393742 on Sep 21, 2010 8:02 PM
    Edited by: user1393742 on Sep 21, 2010 8:03 PM
    Edited by: user1393742 on Sep 21, 2010 8:07 PM

Maybe you are looking for