Synchronizing the Edit Page based on four columns

I am using ADF BC and JSF . i am getting problem in Synchronizing the Edit Page
While navigating to edit page it gives first record of the table . the record which i want to get is based on four different columns and not on primary key. how can i set the record to be edited based on these four columns whoes value is stored in session bean.
thanks in advance

Hi friends,
Maybe it is better that i ask:
How i can set a ViewObject current row to an specific row on page display?
for example when my page display i need to set its current row to another row.
e.g:
servicesView.setCurrentRow(myOwnRow);but i want this code to execute when my page is shown, where i write the code?

Similar Messages

  • HI .. PROBLEM IN SUBMITTING THE EDITED DATA FROM THE EDIT PAGE

    HI,
    I am having a Main form consiting of a af:table which is binded .. so when i select the row and click on "edit" button binded with the table.. i am able to get the respective data form in the Edit page.
    Now when i modify any data in the binded textbox ..... and when i submit the form the "row currency change error " is displayed...
    Plz help me how to solve this problem.....

    Hi,
    so you have a table, select a row and navigate to an edit form. Inhere you change the data displayed and press submit to navigate back to the table. On otn.oracle.com/products/jdev this scenario is available in the OBE (Oracle By Example) if you need a sample.
    What you should try is to open the pageDef file in the StructureWindow, select the iterator, e.g. DepartmentsIterator, that populates the table and open teh Property Inspector. Under "Refresh Condition" set ${!adfFacesContext.postback} to avoid the table being refreshed on JSF postback
    Frank

  • Staying on the edit page after posting

    There's something that I can't get to work and probably is not difficult at all.
    I want users to stay on the editpage after posting the form.
    I thought to do it in the processEdit method.
    By creating an url and give this as a return value. But I keep comming back to the default portal page.
    My users can go to the edit page of a channel. On the editpage I have made a telephonebook in which the users can search.
    The intention is that the users see their results on the edit page and they can select some of the results.
    my code (which doesn't work):
    String url = request.getRequestedURL().toString();
    URL editpageURL = new URL(url);
    return editpageURL;

    I use the following piece of code to display error messages on the edit pages and to redirect to the user back to the same edit screen. It has been working for me for quite a while.
    desktopUrl = context.getDesktopURL(request);
    containerName = request.getParameter("containerName");
    provider = request.getParameter("editChannelName");
    targetprovider = request.getParameter("provider");
    if (log.isDebugEnabled()) {
    log.debug("desktopUrl: "+context.getDesktopURL(request));
    log.debug("containerName: "+containerName);
    log.debug("provider: "+ provider);
    log.debug("targetprovider: "+ targetprovider);
    log.debug("errorMessage: "+ errorMessage);
    url = new StringBuffer();
    url.append(desktopUrl);
    url.append("?action=edit");
    url.append("&provider="+provider);
    url.append("&targetprovider="+targetprovider);
    url.append("&containerName="+containerName);
    if (errorMessage != null) url.append("&error="+URLEncoder.encode(errorMessage));
    if (log.isDebugEnabled()) log.debug("errorUrl: "+ url.toString());
    url = new StringBuffer(context.encodeURL(url.toString()));
    errorUrl = new URL(url.toString());
    return errorUrl;

  • HT1918 I have Edited my account details and have a message on the Edit page "Please Contact i Tunes support to complete this transaction" ?

    I have Edited my account information on the Edit Page and have a message;
    "Please contact iTunes support to complete this transaction"
    Anybody have any idea ?

    And have you done as requested and Contacted Support...?
    See Here for Contact...
    http://www.apple.com/support/itunes/contact.html

  • Stay on the edit page once saved and see the record as a table

    I like to click on the edit of an interactive report to go to the edit page.
    Once in the edit page, I like to see not only the form to edit the record but also
    the record as a table to see what the record looks like once the save button is clicked below the edit form.
    Thanks.

    Look at the page branches. There will be one or more which goes to the first page. Change it to go to the current page instead of the first page.

  • I double-click on event  to see all the photos in that event displayed, but all I get is 1 large photo on the edit page.  To see the photos in that event, I have to scroll.  Need to be able to work with all the photos in that event, not one at a time.

    I double-click on event  to see all the photos in that event displayed, but all I get is 1 large photo on the edit page.  To see the photos in that event, I have to scroll.  Need to be able to work with all the photos in that event, not one at a time.

    Maybe you need to adjust the zoom slider in the lower left corner of the window?
    Regards
    Léonie

  • Filter the secondary datasource based on lookup column

    Hello All,
    I am customizing a List form. I have a secondary data connection which is
    a datasource for my drop down list. I have to filter the datasource based on Lookup column value.
    I know how to filter on the datasource by going to entries and filtering but it does not work with Lookup column.
    Can anyone let me know step by step procedure.
    Regards,
    smith
    smith

    Hi,
    According to your post, my understanding is that you wanted to filter the secondary datasource based on lookup column.
    I recommend to create a cascading drop-down list box in InfoPath.
    You can follow the steps in the article to achieve what you want:
    Create Cascading Dropdown in Browser enabled InfoPath form using InfoPath 2010
    More information:
    Cascading Drop Down List In SharePoint 2010
    Cascading Drop-Down List in SharePoint 2010 using InfoPath 2010
    Dan's SharePoint Blog: InfoPath Tutorial Cascading Dropdown (Does not have the 20 item limit)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Browse-edit pages based on procedures : how to refresh browse page ?

    Hi,
    i have i browse page based on procedure
    to edit record's data i use a separate edit page based on procedure.
    how can i refresh data on browse page when back from edit page?

    yes, no argue , this is a straightforward decision...
    i've created VOs on both procedures, then connected them via VL: master for browse , detail for edit, both are single record views
    does it change anything? any auto-requery, or something without explicit java call?

  • 2 manually created tabular form on the same page based on 2 different table

    Hi, I followed the how to document on manually creating tabular form, including one extra row.
    The first form I created works fine, but when I attempt to create the second tabular form based on a different table on the same page, I get the following error message when I try to create the query:
    ORA-04045: errors during recompilation/revalidation of PUBLIC.X ORA-00980: synonym translation is no longer valid
    The logic behind both tabular forms I am using is the same, except that for the second query, I use 100 instead of 1, 300 instead of 3, etc:
    select htmldb_item.hidden(1,empno) empno,
    ename,
    htmldb_item.select_list_from_query(3,job,'select distinct job, job from emp') job,
    htmldb_item.popupkey_from_query(4,mgr,'select ename, empno from emp',10) mgr,
    wwv_flow_item.date_popup(6,null,hiredate) hiredate,
    htmldb_item.text(7,sal,10) sal,
    htmldb_item.text(8,comm,10) comm,
    htmldb_item.select_list_from_query(9,deptno,'select dname, deptno from dept') deptno
    from emp
    Can anybody help?
    Thanks a lot

    Hi,
    If by "100 instead of 1" you mean the column numbers, then this won't work as you can only have a maximum of 50.
    Andy

  • Brother Printer will now print the first or sometimes the second page of a four page document. Tried a different new Brother printer. Same problem.

    In the past, the same printer would print only half of the first page of the email.
    Now I am trying to print four page statements from Chase Bank online account.

    Some style rules that work fine on screen cause problems for Firefox when paginating, with content sliding out of position, getting cut off, or generating extra pages. For best results, look for a special "printable" layout for your email messages. There may be a link for this, or an icon, or a menu items (e.g., on a ... menu). If it's a commonly used site, someone may know exactly where it is.
    For statements, often these are in PDF format and you may get better results as follows:
    * If you are using Adobe's PDF plugin, use its print icon (floating toolbar) instead of Firefox's print button.
    * If you are using Firefox's built-in PDF viewer, try opening the PDF in your regular PDF viewing application instead of printing it from Firefox. You can use the download icon on the black toolbar above the document (below the regular toolbar area) to do that.

  • Setting the editable property of a datagrid column dynamically

    Hi,
    Im trying to set the editable property and renderer is editable property for a datagrid column to false on the creation complete event of the datagrid.But It does not work.While visible property works.why doesnt the editable property work.The particular column has a renderer which is a text box.and the editable property is set to false initially.Any Suggestions or ideas on how to achieve this will be of great help.

    Eu tenho vontade de estar devidamente por dentro de tudo isso.

  • Undo change button on the edit page

    I have an edit page that when the user click the edit icon, they enter this edit page.
    So it is here where they can make changes to the data for that row.
    APEX automatically created a button for Cancel, Delete and Submit.
    If the user make changes and goofed in the changes so much that the user wants to start over again but to the way it looked before they made changes on this edit page. So to do this I like to have a start over button or reset button to accomplish this either by altering the Delete button or start with a new button.

    Hello,
    You can create a RESET buttonm, which clears the cache of that particular page, mean all the itmes on that particuar page will be reset.
    And if the changes had been made to database, then you can have the previous values in your variables, and on RESET update the database with variable values.
    Bhanwar

  • How to apply the filter condition based on other column

    HI,
    i have one requirement.
    i am giving the example below.my 2 columns data like below
    Column1 Column2
    A 1
    B 2
    C 3
    D 4
    E 5
    F 6
    G 7
    H 8
    i want to give Column1 as a dashboard prompt and users will enter A,B,...(what are all in the column1).
    what i want is, in the dashboard prompt i want less that value passes in the dashboard prompt.
    Ex: if i enter the D in the dashboard prompt, i want to display less that corresponding value to the D in the column 2.
    in this case it should return, A,B,C from column A.
    PLease suggest me how can i achieve this.
    Thanks in adv.
    Edited by: user12255470 on Dec 26, 2012 6:36 PM

    Hi user,
    Here is the solution.
    1.Create a dashboard prompt and Put columnA and assgn it to a presentation variable say 'VAR_1'.
    2.Now create one more dashboard prompt select SQL result in choice list .and enter logical sql like
    SELECT columnA
    FROM tab_name where
    columnB < (
    SELECT columnB
    FROM tab_name
    WHERE columnA= 'VAR_1')
    3. put both in a dashboard and check whether the logic is working if you select D in first dashboard prompt and apply, you should get only A,B,C option in the second prompt.
    4. Edit your main dashboard . put Dasgboard prompt1 in one section save.
    5. Inside Edit dashboard only click on Dashboard Property (nest to preview button), you can see all the pages.
    6. now select your page and click on 'select prompt...' (prompt symbol next to Rename) . Browse your second prompt and click ok,ok.
    7. save the dashboard. Now it should work.
    BEST OF LUCK.
    ping back if you have any doubt
    Mark if correct/helpfull
    fiaz

  • Error in replacing script in the editing page properties of Oehr_Depatment sample

    Hi Forum,
    I downloaded and imported the Oehr sample objects to repeat tutorials. The tutorial instructed me to scroll to the Source on the Region Definition page and replace the content on the Department report region (i.e.
    select
    "DEPARTMENT_ID",
    "DEPARTMENT_NAME",
    "MANAGER_ID",
    "LOCATION_ID"
    from   "OEHR_DEPARTMENTS"
    where
    instr(upper("DEPARTMENT_NAME"),upper(nvl(:P2_REPORT_SEARCH,"DEPARTMENT_NAME"))) > 0
    with:-
    SELECT d.department_id "Department ID",
    d.department_name "Department Name",
    count(e2.employee_id) "Number of Employees",
    substr(e.first_name,1,1)||'. '|| e.last_name "Manager Name",
    c.country_name "Location"
    FROM oehr_departments d,
    oehr_employees e,
    oehr_locations l,
    oehr_countries c,
    oehr_employees e2
    WHERE d.manager_id = e.employee_id
    AND d.location_id = l.location_id
    AND d.department_id = e2.department_id
    AND l.country_id = c.country_id
    AND instr(upper(d.department_name),upper(nvl(:P2_REPORT_SEARCH,d.department_
    name))) > 0
    GROUP BY d.department_id,
    d.department_name,
    substr(e.first_name,1,1)||'. '||e.last_name, c.country_name
    Unfortunately, I am not successful. Instead the following error message:-
    1 error has occurred
    Query cannot be parsed within the Builder. If you believe your query is syntactically correct, check the ''generic columns'' checkbox below the region source to proceed without parsing. ORA-00907: missing right parenthesis
    Please can anyone help me correct where the error is?. I am using 2Day + Application Express Developer's Guide.pdf (page 38)
    Regards
    Godis-Tei
    Message was edited by: Godis-Tei

    Hi Forum,
    I downloaded and imported the Oehr sample objects to repeat tutorials. The tutorial instructed me to scroll to the Source on the Region Definition page and replace the content on the Department report region (i.e.
    select
    "DEPARTMENT_ID",
    "DEPARTMENT_NAME",
    "MANAGER_ID",
    "LOCATION_ID"
    from   "OEHR_DEPARTMENTS"
    where
    instr(upper("DEPARTMENT_NAME"),upper(nvl(:P2_REPORT_SEARCH,"DEPARTMENT_NAME"))) > 0
    with:-
    SELECT d.department_id "Department ID",
    d.department_name "Department Name",
    count(e2.employee_id) "Number of Employees",
    substr(e.first_name,1,1)||'. '|| e.last_name "Manager Name",
    c.country_name "Location"
    FROM oehr_departments d,
    oehr_employees e,
    oehr_locations l,
    oehr_countries c,
    oehr_employees e2
    WHERE d.manager_id = e.employee_id
    AND d.location_id = l.location_id
    AND d.department_id = e2.department_id
    AND l.country_id = c.country_id
    AND instr(upper(d.department_name),upper(nvl(:P2_REPORT_SEARCH,d.department_
    name))) > 0
    GROUP BY d.department_id,
    d.department_name,
    substr(e.first_name,1,1)||'. '||e.last_name, c.country_name
    Unfortunately, I am not successful. Instead the following error message:-
    1 error has occurred
    Query cannot be parsed within the Builder. If you believe your query is syntactically correct, check the ''generic columns'' checkbox below the region source to proceed without parsing. ORA-00907: missing right parenthesis
    Please can anyone help me correct where the error is?. I am using 2Day + Application Express Developer's Guide.pdf (page 38)
    Regards
    Godis-Tei
    Message was edited by: Godis-Tei

  • An Edit page: I always see the same data.

    Hello,
    I'm learning ADF.
    I have a problem with a very small web application I'm trying to develop. I have 2 pages, an overview page and an edit page.
    The overview page has a ADF read-only table which is based on a view on 1 table which has only 2 records. The table has an edit button and every row has a radio button, so I can choose a row, press the edit button and go to a detail page (the edit page) where I can change the data.
    To make these pages I've followed the steps in this tutorial http://www.oracle.com/technology/obe/obe1013jdev/masterdetail_adf_bc/master-detail_pagewith_adf_bc.htm#t7.
    The problem is that no matter which row I choose in the overview page, I always see data of the first record in the edit page.
    I've been through the steps in "Synchronizing the pages" of the tutorial twice, but can't find a step I missed or did different. Besides that I think it could have to do something with the Iterator I'm practically clueless.
    So, anyone who perhaps knows what I could have done wrong ?

    Right, found it :-).
    On the edit page I used a different view than on the overview page.

Maybe you are looking for