How do I navigate rows of aid to the top or to the bottom of the button

Hello

I have a requirement where I have to navigate up/down key lines of my report.
In my report, that a single column (i.e. salary) is editable. to go to the next line of salary column, so I need to use the up/down or enter key.


I created the sample application in the demo environment: http://apex.oracle.com/pls/otn/f?p=56045:2

workspace: vsanthanam
user: vijay
PSWD: apex_demo

Take a look at it. Sort of my column of salary if I press down or enter key, he must navigate in column of salary following the line.
Also using arrow he must navigate to the previous column of salary of my report.

Any help on this would be much appreciated!

Concerning
Vijay

Published by: Vijay Santhanam on December 17, 2008 03:53

Published by: Vijay Santhanam on January 26, 2009 21:49

Hello Vijay,

I just post on this on [my blog | http://roelhartman.blogspot.com/2008/12/moving-through-tabular-forms-using.html].

Greetings,
Roel

http://roelhartman.blogspot.com/
http://www.bloggingaboutoracle.org/
http://www.Logica.com/

You can assign this answer to your question in marking it as useful or Correct ;-)

Tags: Database

Similar Questions

  • RotateTransition - How to reset and re - play each time the button?

    I have a simple container with the touch event that triggers the rotation of transition. However, it works only once to the touch. The second time I clicked on the container, it does nothing.

    If you could help, I would really appreciate it. Thank you!

    {Of container
    ID: test container
    leftPadding: 10.0
    background: Color.DarkGray
    minHeight: 500
    minWidth: display2.pixelSize.width
    layout: {DockLayout}

    }
    animations:]
    {RotateTransition}
    ID: rotateAnimation
    toAngleZ: 360
    Duration: 1000
    }
    ]

    Notecard: {}
    If (event.touchType! = TouchType.Up) {}
    return;
    }
    rotateAnimation.play ();
    }
                    
    } / / end of container

    Also just set the property fromAngleZ to 0. So if you call play() it will resume again from 0 to 360

    RotateTransition {
        id: rotateAnimation
        fromAngleZ: 0
        toAngleZ: 360
        duration: 1000
    }
    

    It may be useful

  • How do I configure Google Analytics 'onclick' objective the button or the link in adobe MUSE? Thank you

    Hi, help me please:

    You can insert the HTML code on the page followed event and collect data.

    http://www.marketing-Mojo.com/blog/onsubmit-OnClick-goal-tracking-in-Google-Analytics/

    Thank you

    Sanjit

  • How to implement a procedure when you press the button

    Hello
    I am new to oracle applications. I placed a button on my form and was unable to pass the parameters to the procedure. I am able to pass parameters to the form of the procedure to a button.

    It was a simple error, which means that either there is no package or the package.procedure is not or the number and type of parameters are not passed to the procedure.

  • How to join two tables if you transpose the rows, columns and rows in one of the table

    Hi guys,.

    can someone help me please in the write request

    I have two tables

    Agents and Agent phones but in the agent phones table for the id of an agent it displays 4 rows because one of the column there types of different phones (office, mobile, home, fax)

    So instead of display 4 rows, I used max(case...) to convert rows to columns

    now how to reach it with another table

    Requirement:

    Database: 11.2.0.2.0

    create the table AGENT_PHONE

    (

    agent_id NUMBER (20) not null,

    agent_type_code VARCHAR2 (10) not null,

    agent_type_prefix VARCHAR2 (10) not null,

    Phone_Number VARCHAR2 (16) not null,

    phone_type_code VARCHAR2 (10) not null

    )

    CREATE TABLEAGENTS

    (

    agent_id NUMBER (20) not null,

    agent_type_code VARCHAR2 (10) not null,

    agent_type_prefix VARCHAR2 (10) not null,

    NAME VARCHAR2 (40) NOT NULL

    )

    INSERT INTO AGENT_PHONE(AGENT_ID,AGENT_TYPE_CODE,AGENT_TYPE_PREFIX,PHONE_NUMBER,PHONE_TYPE_CODE)

    VALUES (29709, ARE ', 'OFFICE', '4805551436', 'CELL');

    INSERT INTO AGENT_PHONE(AGENT_ID,AGENT_TYPE_CODE,AGENT_TYPE_PREFIX,PHONE_NUMBER,PHONE_TYPE_CODE)

    VALUES (29709, ARE ', 'OFFICE', '1111111111', 'PHONE');

    INSERT INTO AGENT_PHONE(AGENT_ID,AGENT_TYPE_CODE,AGENT_TYPE_PREFIX,PHONE_NUMBER,PHONE_TYPE_CODE)

    VALUES (29709, ARE ', 'OFFICE', '2223334444',' OFF');

    INSERT INTO AGENT_PHONE(AGENT_ID,AGENT_TYPE_CODE,AGENT_TYPE_PREFIX,PHONE_NUMBER,PHONE_TYPE_CODE)

    VALUES (29709, ARE ', 'OFFICE', '5556667788', 'FAX');

    INSERT INTO VALUES AGENTS

    (29709, ARE ', 'OFFICE', 'FLY');

    INSERT INTO VALUES AGENTS

    (1234, ARE ', 'OFFICE', 'MIKE');

    SELECT * FROM AGENT_PHONES

    AGENT_IDAGENT_TYPE_CODEAGENT_TYPE_PREFIXPHONE_NUMBERPHONE_TYPE_CODE

    ---------------------------------------------------------------------------------------------

    29709REOFFICE4805551436CELL
    29709REOFFICE1111111111PHONE
    29709REOFFICE2223334444OFF
    29709REOFFICE5556667788

    FAX

    SELECT * AGENTS

    AGENT_IDAGENT_TYPE_CODEAGENT_TYPE_PREFIX

    NAME

    29709REOFFICEROB
    1234REOFFICE

    MIKE

    This is so the data we have in both table

    Now, I transposed rows to columns in the table of agent phones so I used the following query

    SELECT AP. AGENT_ID,. AGENT_TYPE_CODE,. AGENT_TYPE_PREFIX.

    MAX (CASE WHEN AP. PHONE_TYPE_CODE = 'CELL' THEN AP. PHONE_NUMBER END) AS CELL.

    MAX (CASE WHEN AP. PHONE_TYPE_CODE = 'OFF' THEN AP PHONE_NUMBER END) AS TURNED OFF.

    MAX (CASE WHEN AP. PHONE_TYPE_CODE = 'FAX' THEN AP. PHONE_NUMBER END) LIKE FAX,.

    MAX (CASE WHEN PHONE_TYPE_CODE = 'PHONE'. THEN AP PHONE_NUMBER END) AS PHONE

    AGENT_PHONE AP

    WHERE AP. AGENT_ID = 29709

    GROUP OF AP. AGENT_ID, AP. AGENT_TYPE_CODE, AP. AGENT_TYPE_PREFIX.

    AGENT_IDAGENT_TYPE_CODEAGENT_TYPE_PREFIXCELLOFFFAXPHONE
    129709REOFFICE4805551436222333444455566677881111111111

    My question is how this to join the agents table so that my output should be like this...

    I want to display all the results in the table of the Agent, even if they are not in the table of agent phones. As you can see there are other agent id 1234 is also populated

    AGENT_IDAGENT_TYPE_CODEAGENT_TYPE_PREFIXNAMEAGENT_IDAGENT_TYPE_CODEAGENT_TYPE_PREFIXCELLPHONEOFFFAX

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    29709REOFFICEROB29709REOFFICE4805551436111111111122233344445556667788
    1234REOFFICEMIKE

    Currently, I run this query and I get the output as below

    SELECT *.

    AGENTS HAS

    LEFT OUTER JOIN AGENT_PHONE AP

    ON A.AGENT_ID = AP. AGENT_ID

    AND A.AGENT_TYPE_CODE = AGENT_TYPE_CODE.

    AND A.AGENT_TYPE_PREFIX = AGENT_TYPE_PREFIX.

    AGENT_IDAGENT_TYPE_CODEAGENT_TYPE_PREFIXNAMEAGENT_IDAGENT_TYPE_CODEAGENT_TYPE_PREFIXPHONE_NUMBERPHONE_TYPE_CODE
    129709REOFFICEROB29709REOFFICE4805551436CELL
    229709REOFFICEROB29709REOFFICE1111111111PHONE
    329709REOFFICEROB29709REOFFICE2223334444OFF
    429709REOFFICEROB29709REOFFICE5556667788FAX
    51234REOFFICEMIKE

    I want id 29709 agent in a line with 1234 agent also id to display

    You can rotate your phone number of agent in columns

    Select *.

    of AGENT_PHONE

    pivot)

    min (PHONE_NUMBER)

    for PHONE_TYPE_CODE in ('CELL' as a 'CELL', 'PHONE' like 'PHONE', 'OFF' in the 'OFF', 'FAX' as 'FAX')

    )

    AGENT_ID AGENT_TYPE_CODE AGENT_TYPE_PREFIX CELL PHONE OFF FAX
    29709 RE OFFICE 4805551436 1111111111 2223334444 5556667788

    Then you can join to view inline or CTE

    with AGENT_PHONE_PIVOT like)

    Select *.

    of AGENT_PHONE

    pivot)

    min (PHONE_NUMBER)

    for PHONE_TYPE_CODE in ('CELL' as a 'CELL', 'PHONE' like 'PHONE', 'OFF' in the 'OFF', 'FAX' as 'FAX')

    )

    )

    SELECT *.

    AGENTS HAS

    LEFT OUTER JOIN AGENT_PHONE_PIVOT AP

    ON A.AGENT_ID = AP. AGENT_ID

    AND A.AGENT_TYPE_CODE = AGENT_TYPE_CODE.

    AND A.AGENT_TYPE_PREFIX = AGENT_TYPE_PREFIX.

    AGENT_ID AGENT_TYPE_CODE AGENT_TYPE_PREFIX NAME AGENT_ID AGENT_TYPE_CODE AGENT_TYPE_PREFIX CELL PHONE OFF FAX
    29709 RE OFFICE ROB 29709 RE OFFICE 4805551436 1111111111 2223334444 5556667788
    1234 RE OFFICE MIKE - - - - - - -

    Is that what you're looking for?

  • How to identify the buttons for forms in rows not columns

    Hello

    I have a long questionnaire with 100 lines.

    column 1 is the question.  Column 3, 4, 5 and 6 are responses of buttons (none, moderate, mild, extreme).  Buttons, which means only one answer allowed per line.

    There are headers for the buttons.    When this excel spreadsheet to adobe acrobat conversion - works.   But after creating a form buttons are labeled by column not online, then... they are not the true option by row buttons.   In other words, that one response per column is allowed, the opposite of what I want.

    How to solve this?   I change this by the original format or some global change?  There are a total of 100 buttons.  Much too laborious to change each one individually.


    Thank you.

    Yet once you create an option button or check box field. Then copy this field 5 times and place as needed. This should give you a line of 5 boxes or option of checkboxes with the same name. Now for each button field, right-click the field and select the 'Properties' option in the context menu. Select the 'Options' tab and assign a different value to the value of the option or the value of the exports. This means that you EF the same value for the fields in a given column.

    As a suggestion, start with a small form and see how the system works.

    From my experience of conversion Excel 'shape' a PDF form is not the best approach.

  • How to navigate to another page when I press the button

    Hello

    I want to know how to navigate from one page to another when I press the button.

    I want to condition function so I want to sail from bean managed for this action of button.

    can someone tell me please how to do?

    also how to throw error manually if assume that any condition in the get method of failure.

    Thanks in advance,
    SAN

    Hi user,

    as we have, you have requested a post on the connection,

    so I guess that since your post make a connection

    http://kohlivikram.blogspot.com/2008/10/how-to-create-simple-login-page-in-ADF.html

  • How to get the value of row current table when press the button submit

    Hello

    I want to get the current value of the SuccessionPlanId line which is part of the column in a table that is advanced.

    I created a (created using customization, from action through CO) button in the table as column, so each line with a single key, if I press the button of the first line means so I want to extract the first line SuccessionPlanId and if it's the 3rd way so I want to get the value of the value of the third row.

    How in the post of controller?

    Please answer soon, its urgency.

    Thanks in advance,
    SAN

    OK, need to go with a delicate way,

    1.) create a new table with Jdeveloper and there shud be a replica of the room once except the button submit newly added, pls note button type shud be present the type of button.

    2.) hide the existing table area and create a new stacklayoutbean.

    (3.) this stacklayout bean will have the property to extend, you give the full path of the new custom of advanced table box.

    Now you should be able to get the reference of the line during the click on the "submit" button

  • Confused about how to programmatically navigate a stubborn taskflow

    Dear all,

    My use case:
    I have a taskflow which has a wilcard rule control flow that corresponds to the activities of the different point of view.
    I wanted to come back by programming in my stubborn workflow say for example through a value change event.

    Now I found Frank' article about navigation in delimited task flow from this link.
    http://blogs.Oracle.com/jdevotnharvest/entry/how-to_navigate_in_bounded_task_flowsc

    But I'm currently confused which calls this method?
    private void navigateByQueueAction() {
       FacesContext fctx = FacesContext.getCurrentInstance();
       UIViewRoot root = fctx.getViewRoot();
       //client Id of button includes naming container like id of region.
       RichCommandButton button =
               (RichCommandButton) root.findComponent("r1:cb3");
       ActionEvent actionEvent = new ActionEvent(button);
       actionEvent.queue();
    }
    I'm leaning towards using Option 2 and I've already put a button on my page template that is hidden.
    But I don't know what the next thing to do?

    Any tips? Thank you

    With the help of your sample (value change event): If you handle the event in a bean you simply call the navigateByQueueAction() method. The method queue an event for the button (as you click on the button) that behaves like you clicked on the page. If the action set for the button is executed and if you have set a navigation button on the navigation takes place.

    In the simple form of a button with a fix action (newEmp' in the sample)

    
              
    

    You can access the target "newEmp".
    If you need pass the target (for example, "editEmp") you need to a second button (and more if you need more targets) or use an EL as action that you define based on your target

              
              
    

    Here, you define the actual target in a bean or any other variabel that can be access through EL. If you handle the event of changing value in the xxyyzzBean, you can set the target of a navTarget variable of the string (do not forget to generate getter/setter for the variable).

    // in your value change event
    if( //condition to navigate to edit emp)
      setNavTarget("editEmp");
    else
    setNavTarget("newEmp");
    ...// do some other stuff
    // call navigation
    navigateByQueueAction();
    

    Timo

  • How show only last row value in a column of OBIEE

    Hi Experts

    How show only last row value in a column of OBIEE


    Thank you
    V

    Hello
    Pull column criteria, which you want to display only last row. Filter Advanced sql apply now to this column as a.
    RCOMPTE ("customer D1". "C1 Cust Name") = MAX (RCOMPTE ("customer D1". " Cust C1 Cust Name name')) here is the column where I applied the filter.
    So, it gives only last row in the name column of the Cust.

    Awarded points if the answer
    Reference: http://forums.oracle.com/forums/ann.jspa?annID=939

    Kind regards
    Srikanth
    http://bintelligencegroup.WordPress.com/

  • How to get multiple rows in the table is displayed on the form

    I am looking for a way to get more table rows that appear on the form.  I created a table with a header and a line with the add-in and remove button option.  I like how the sample purchase order form has it setup in the designer it shows one line and it appears on the form so the table has three rows to start with.  How do I do that?  I looked at the code on the sample and I couldn't find it anywhere.  Please help, thanks.

    Hello

    I have an example here in the construction of a dynamic array markets.

    http://www.assuredynamics.com/index.php/category/portfolio/building-dynamic-tables/

    You must select the line and then go to object > Binding palette and set it to repeat. You can set the minimum and initial number to what you want.

    The form should be saved in a dynamic form of XML in the Save as dialog box.

    Also the page must be set to Flowed, so that as the table grows, push another object down. In addition, you need to configure the paging settings so that the flow of the page as the number of lines is superior to a single page.

    Give a start and if you need more help,

    Niall

    Ensure the dynamics

  • How to lock a row containing a LOB value?

    I use a process called "lob_replace":

    CREATE OR REPLACE
    PROCEDURE lob_replace
    (
    p_lob IN OUT CLOB,
    p_what IN VARCHAR2,
    p_with IN VARCHAR2)
    AS
    n NUMBER.
    BEGIN
    n: = dbms_lob.instr (p_lob, p_what);
    IF (NVL (n, 0) & gt; 0) THEN
    DBMS_LOB. Copy (p_lob, p_lob, dbms_lob.getlength (p_lob), n-LENGTH (p_with), n-LENGTH (p_what));
    DBMS_LOB. Write (p_lob, (p_with) LENGTH, n, p_with);
    IF (LENGTH (p_what) & gt; Length (p_with)) THEN
    DBMS_LOB. Trim (p_lob, dbms_lob.getlength (p_lob)-((p_what)-(p_with) LENGTH LENGTH));
    END IF;
    END IF;
    END;
    /

    I'm testing this procedure:

    DECLARE
    a_lob CLOB.
    CURSOR my_cur
    IS
    SELECT b.data
    OF h_content_mgt m.
    h_articlemgr am,
    h_clob b
    WHERE m.menu_id = 1915
    AND m.type = 1
    AND $m.name = 'WWWSITE_CORPCITIZEN_OVERVIEW_HTML. '
    AND am.id = m.content_id
    AND b.id = am.clob_id;
    BEGIN
    OPEN my_cur.
    SEEK my_cur INTO a_lob;

    lob_replace (a_lob, 'Hello', 'Goodbye');
    CLOSE My_cur;
    END;
    /

    Each time, I get the following results:

    Error report:
    ORA-22920: the row containing the LOB value is not locked
    ORA-06512: at "SYS." DBMS_LOB", line 429
    ORA-06512: at "T_DB. LOB_REPLACE', line 11
    ORA-06512: at line 18 level
    22920 00000 - "the row containing the LOB value is not locked.
    * Cause: The row containing the LOB value must be locked before updating the LOB value.
    * Action: Lock the row containing the LOB value before updating the LOB value.

    I'm new to PL\SQL and I use the book by Feuerstein Oracle PL/SQL Programming . How to lock a row containing a LOB value?

    Try this

    Specify the clause
    in select it.
    UPDATE

    CURSOR toys_cur IS
       SELECT name, manufacturer, preference_level, sell_at_yardsale_flag
         FROM my_sons_collection
        WHERE hours_used = 0
          FOR UPDATE;
    

    Published by: alvinder on March 5, 2009 10:12

  • How can I get my table of cross-checking the information below when a new row is added by the user?

    I created a table with two buttons, when the user selects the button Add, it adds an instance, which works very well, but there is a section under the table and the three fields.  Whenever a row is added, it overlaps with this information.  I did not allow for page breaks, but I do not get a new page.  Any help will be greatly appreciated

    Make sure that your subform Table and the subform text are contained in a Flowed subform.  In this way the subform parent that contains everything that the page is allowed to flow the content of the page.  As subform Table grows, it can hit subform text down.

    Good luck

    Mark

  • How to unlock a row height of the table?

    I use the same table (40 lines, 20 columns) in a quarterly publication for at least 5 years. While I need not change it very often, I never had a problem in the past. I just upgraded to CS6, and now I can't change most of the height of the rows to be more than 0.2 ".  There are three lines which are greater than. 2 "and I still can resize them. But the 37 other lines can only be reduced in height, has not increased. I tried the height adjustment to the words 'at least' instead of 'Exactly', without effect. I checked all my settings options of the Table and can't find anything to change.  I use dozens of tables in this publication and has no problem resizing of rows or columns in the rest of them. Any idea what's going on here? All I did to lock this particular table, of course, I won't have to accidentally do to all the others. Thanks in advance!

    Click on the "Table" then "cell Options" menu choose "the rows and columns" and in the white box next to the word ' Maximum: "type a value greater or increase the value of arrows up and down. It's you if you want to type a maximum value that you do not want to exceed or type a very high value such as 20 "so that you can resize freely.

  • How do to navigate to another page when press the 'OK' button to confirm the dialogue?

    Hello
    In a detail of the page, I have a "Delete" button, and when you press this button, it will appear a confirmation dialog box, if the user click on 'Cancel', the dialog box is missing stay and still on the current page, if the user presses the "OK" button, it calls a method in the class ViewImple (do remove and other business process logic) and show a different page. The extract of the JSF page as follows:

    < text af:commandButton = 'Delete' action = 'delete' id = "cb3" >
    < af:showPopupBehavior popupId = "p1" triggerType = 'action' / >
    < / af:commandButton >
    < af:popup childCreation = autoCancel "delayed" = "disabled" id = "p1" contentDelivery = "immediate" >
    < af:dialog id = "d2" type = "okCancel" title = "Confirm deletion?" resize = 'off '.
    dialogListener = "#{scheduleBean.deleteScheduleDialog} ' contentWidth ="200""
    contentHeight = "50" >
    < af:outputText value = "Are you sure you want to delete this report?" id = "ot1" / >
    < af:clientListener type = "dialogue" method = "dialogAction" / >
    < / af:dialog >
    < / af:popup >
    < af:resource type = "javascript" >
    function dialogAction (evt) {}
    result of the var = evt.getOutcome ();
    if(Outcome == AdfDialogEvent.Outcome.Cancel) {}
    evt. Cancel();
    }
    }
    < / af:resource >

    Now the question is when I click on "OK" button confirm dialogue, dialogue is missing, but he can't get into the business logic in ViewImpl class method (the "delete" action value you access method adfc-config.xml file, and then navigate to another page), also click on the button 'Cancel' to stay on the current page.

    All tips will be of great help!

    You can use it as

    Navigate ("deletePage"); the adfc-config. XML

    public static navigate (String taskFlowName) Sub {}

    > FaceContext.getCurrentInstance () .getApplication () .getNavigationHandler () .handleNavigation (FaceContext.getCurrentInstance (), null, taskFlowName);

    }

    or for isnde action to propagate a method you have to use
    > MethodExpression exp =
    > (MethodExpression) ADFUtils.getMethodExpression ("deletePage");
    > getRegAgentNextBtn () .setActionExpression (exp);
    I hope that you ADFUtils with you

Maybe you are looking for

  • Parachute does not not between iPhone 6 &amp; Macbook pro retina

    Just got my Macbook Pro 13 "retina, tried to use airdrop to send pictures of my I Phone 6 running IOS 9.2.1 with no luck." My phone I can not see my macbook with Airdrop, nor I can pair it via bluetooth. Tried a few blogs but mostly irrelevant. Can s

  • EliteBook 2760p: Elitebook 2760p drivers

    Hello I have a HP Elitebooko 2760p and after the installation of W7 Pro 64 bit, I have two entries "Unknown device" in Device Manager, and I copied the details of the hardware ID below. Any help greatly appreciated, thanks in advance. ACPI\HPQ0004* H

  • Is it possible to transform a power devices or not at a specified temperature?

    The unit lights up and warms at a given temperature. It must be turned off until it cools to a specified temperature lower, where it restarts and heat again. The unit must oscillate between these two temperatures for a period of 40 minutes.

  • all my windows games dissappeard

    * _ Original title - problem of Windows 8 Hey guys. I have my laptop with my windows 8 for 2 weeks now and something has happened. All my windows games dissappeard, I mean that all these stuff like Spider Solitaire that I was playing. Help, please

  • Download links still point to 4.0.0.1390!

    I have already sent Chris Campbell about the issue, but had no response.When I try to download AIR from the site get.adobe.com or on the company's website, the old version (dated December 2013) is being downloaded.Any ideas?