How to highlight a selected list element

Hi,
I have created a list and assigned it to page 0. It is displayed in the form of DHTML tree on each page
of the application. Then linked some page to each element of the list.
When I click on any of the element of list, it navigates me to the desired page.
Now, my requirement is when that page is displayed, the element on which I have clicked should be
displayed highlighted on that perticular page.
Please provide a solution.
Thanks and Regards,
Gaurav

Home -> Application Builder -> Your Application -> Shared Components -> Templates
DON'T edit the list you use! Believe me, bad things can happen if you do... :'(
I'm using: Pull Down Menu with Image (Custom 1)
-> Make a copy of the list template.
Open the copy and find following
Template Definition
- List Template Current
- List Template Noncurrent
Here you can set the HTML-Attributes of your list items.
I don't know... Maybe you could use bolt or underline...
I hope you are good in HTML. I learned is a week ago, so I'm no expert. ;)
Then you just have to use your new template list in the application.
"Current" and "Noncurrent" can be found, when you edit your list entry:
Current List Entry
- List Entry Current for Pages Type := Colon Delimited Page List
- List Entry Current for Condition := 1 <=== Your page number, where the item has to be "current"
Edited by: pAT on Aug 19, 2011 6:12 AM

Similar Messages

  • How to get Saved Selection list in javascript?

    Hello!
    Recently I met a little problem about save selection. I want to get saved selection list so that I can used in javascript. Now I have no ideals. Hope you tell me some useful information about how to get Saved Selection list in javascript!

    Mark is right, it's not possible.
    But do you know you can assign selection to a variable, and get back to it simply like this?
    var sel = app.selection;
    app.selection = null;
    /* your codes here
    app.selection = sel;

  • How to make a SELECT LIST READONLY

    Hi,
    I have a form to update the existing values in a table. Primary column is based on a Select List.
    So when user goto update screen they SHOULD NOT BE ABLE TO CHANGE the primary filed(means the value display in the Select List).
    SO to make this one I have make that select list read only. But not like other items even when we make select list read only it still allow user to change the value. So basically read only property not working for select text.
    There are many post in this regading same issue. Some of them recomended to make it disabled. But when we make a item disabled then when user POST that form, Apex not POST any disabled item values. Basically disabled items values not passing next form. So making item dissable also not a solution.
    I have read almost 20 post in here regarrding this and didnt get any solution for this. So please let me know if anyone knows how to make a select list read only (which is working same as read only text boxes, means that value pass when user POST the form).
    Thanks in advance...
    mc

    You define a function(this is based aorund jQuery selectors) in the page header like
    <script>
      var makereadonly = function(selector, makeReadonly) {
          $(selector).filter("select").each(function(i){
              var select = $(this);
              //remove any existing readonly handler
              if(this.readonlyFn) select.unbind("change", this.readonlyFn);
              if(this.readonlyIndex) this.readonlyIndex = null;
              if(makeReadonly) {
                  this.readonlyIndex = this.selectedIndex;
                  $(this).css('background-color','#CDCDCD'); //Adds a background colour to readonly item
                  this.readonlyFn = function(){
                      this.selectedIndex = this.readonlyIndex;
                  select.bind("change", this.readonlyFn);
          //For input items
          $(selector).filter("input,textarea").attr('readOnly','readOnly');
          $(selector).filter("input,textarea").css('background-color','#CDCDCD');
    </script>and apply it using a jQuery selector (call it in the "execute on page load" or any other JS code)
      makereadonly('#ITEMNAME1,#ITEMNAME2,#ITEMNAME3',true);Not that all of these methods(that act at the client side) will only prevent the user from modifying it 'normally', they could manipulate these readonly items using Javascript(or using firebug or any tool like that). So its better to make sure that your don't use the item value(from the page) for processing.

  • How to make a select list editable or searchable like the combobox

    Does anybody know, How to make a select list editable or searchable like the combobox? Do we need a plugin here, where I can get it.

    Hi Nilesh,
    If this is what you are looking for http://apex.oracle.com/pls/apex/f?p=32395:3:1202144397644679
    get the combobox plug-in
    http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/searchable-combobox.html
    I have not tried this though. Found it while searching for some other plug-ins.
    Regards,
    -Senthil

  • How to highlight the selected value in a table

    Hi All,
    I have list of roles in a table like admin,dba...etc.
    i will select the current selected role using
      Stgin role =wdCotext.currentElement().getRole();
    After getting the role i bind this value in context.
    now my requiremnet is i will navigate to other table view containing all roles like admin,dba,networkadmin .
    I have to highlight the selected role in previous table to new table containing the  all the roles.
    means selected role should be highlight in a next table view list of roles.
    please help.

    Hi mohammad,
    To achieve this functionality, use another integer variable to store the index of the currently selected element in the first view. Pass this variable's value to the next view (either as plug parameter or throgh mapping) and set the Lead selection for the table as this index in the second view.
    In the first View ....
    int n = wdContext.current<your_node>Element().index()
    pass this value from first view to second view.
    In the second view
    wdContext.node<your_node>().setLeadSelection(n)
    Hope this helps,
    Best Regards,
    Nibu.
    Message was edited by: Nibu Wilson

  • How to position a select list in the create region

    Hello,
    I would like to position a select list item in the create region, I think we can do that somehow using javascript but I don't have an idea how to make it.
    Thanks in advance!

    In this example you can see how to position the elements:
    http://apex.oracle.com/pls/apex/f?p=31517:242
    You don't need javascript for that. The element attributes are enough for that.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How to use a select list value in a PL/SQL function body returning SQLquery

    Hi Friends,
    I have a select list P6_TEST with values 'nav' anf 'jyo'. I am trying to create a report using "SQL Query (PL/SQL
    function body returning SQL query)". In my report query can i check if P6_TEST='nav' and do something like the
    code shown below.How can i do that.
    DECLARE
    v_sql VARCHAR2(3000);
    BEGIN
    IF :P6_TEST = 'nav' THEN
    v_sql :=
    'SELECT
    * from department';
    ........................Thanks,
    Nav

    Nav:
    What you have should work. Give it a go. Post back if you run into issues.
    Varad

  • How to create Dynamic Selection List containg file names of a directory?

    Hi,
    I need a Selection List with a Dynamic List of Values containing all file names of a particular directory (can change through the time).
    Basically, I need an Iterator over all file names in a directory, which could be used for Selection List in a JSF form.
    This iterator has nothing to do with a database, but should get the names directly from the file system (java.io.File).
    Can anybody tell me how to create such an iterator/selection list?
    I am working with JDeveloper 10.1.3.2, JSF and Business Services.
    Thank you,
    Igor

    Create a class like this:
    package list;
    import java.io.File;
    public class fileList {
        public fileList() {
        public String[] listFiles(){
        File dir = new File("c:/temp");
        String[] files = dir.list();
        for (int i = 0; i < files.length; i++)  {
                System.out.println(files);
    return files;
    Right click to create a data control from it.
    Then you can drag the return value of the listFiles method to a page and drop as a table for example.
    Also note that the Content Repository data control in 10.1.3.2 has the file system as a possible data source.

  • How to remove an selection screen element at the event

    hi,
    can any one tell me how to remove / Disable an selection screen element at the runtime after an event occurs like selection of Value from a parameter.
    Thanks and Regards
    Guhapriyan Subrahmanyam

    TABLES : BKPF.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS : P_BUKRS LIKE BKPF-BUKRS OBLIGATORY.
    "Company code
    SELECT-OPTIONS : S_BELNR FOR BKPF-BELNR MODIF ID M01.
    "Accounting Doc No
    PARAMETERS: P_GJAHR LIKE BKPF-GJAHR MODIF ID M02.
    "Fiscal year
    SELECTION-SCREEN END OF BLOCK B1.
    AT SELECTION-SCREEN ON S_BELNR.
    IF S_BELNR IS NOT INITIAL.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = 'M02' .
    SCREEN-INVISIBLE = '1'.
    MODIFY SCREEN .
    ENDIF.
    ENDLOOP.
    ENDIF.

  • How to make multi select list as dropdown??

    Hi friends,
    using apex 4.0
    i want to make multi select list as dropdown,how can i do this??
    thanks in advance.. :)

    mn123 wrote:
    using apex 4.0You MUST include the following information with every question:
    <li>Full APEX version
    <li>Full DB version and edition
    <li>Web server architecture (EPG, OHS or APEX listener)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    This cuts down on the need for a lot of follow-up questions or second-guessing. Appropriate solutions may differ according to any of these variables.
    i want to make multi select list as dropdown,how can i do this??Please define exactly what you mean by "multi select list" and "dropdown".
    Do you mean displaying a multi-select enabled select list as a drop-down list rather than as a list box? If so, this is not possible using standard APEX/web browser controls.

  • How to make a select list to return value to numeric column?

    I do have a select list with static values (STATIC:01;0,02;1,03;2,04;3,05;4,06;5,07;6,08;7,09;8,10;9). The problem is that I am returning a value to a numeric column. Therefore I have set 'Post Calculation Computation' as "to_number(:P73_MRGRATING, 9);" however I am getting ORA-01722: invalid number. How, (or when and where) to properly convert a character from a select list representing a numeric value into column of NUMBER data type?
    Thank you for your time.
    DanieD

    Sergio,
    It is because I am not able convert a value in a page item (:P73_ID) to number. On a page before, I have assigned a value to an application item (APPL_ID). On page 73, I want to assign the value in APPL_ID to the page item P73_ID . The value assigned to APP_ID is numeric. On a page 73 I also have a computation in Page processing section. It is an 'After Submit' processing of a static assignment of application item APPL_ID to page item P73_ID. Unfortunately it does not work. (ORA-01722: invalid number). I have tested this also with a 'Post Calculation Computation' on page item P73_ID (to_number(:P73_ID, 9999999999);) and I am still getting ORA... error. Only way I can make it work is to create a page item P73_ID as a text field, then when I run page 73 and enter a value into P73_ID manually - then it works and I can save the values from the form into database...
    The strange thing is that I am using application item APPL_ID on a couple of pages, in where clauses and it always works, even when I am comparing APPL_ID against a numeric value like select * from a_table where some_number = :APPL_ID, this works. But when I would like to create an entry form and assign application item APPL_ID to the page item P73_ID that is referencing a numeric table column – then I am getting ORA-01722…
    Is there any application (sample application) that is doing this and it works so I can check it and learn how to create this process appropriately?
    Thank you for your time.
    DanielD

  • How work with tow select list

    Dear All
    i have tow  select list item
    first one is country
    and the second one is city
    how can i get all city for selected country?
    please help

    Hi,
    The simplest way
    a. Make Country a select list with submit.
    b. Make City a slect list based on query and in the query add the condition
    and country = :P1_country -- where p1_country is the item in step a abovec. Make City conditional by adding a condition on the item of the type Value of Item in expression 1 is not null, and in expression 1 enter p1_country.
    This way when the user lands on the page only Country will display. Once cuntry has been selected the page will submit and now the City item will be displayed with the values returned by its query.
    Regards,

  • Clicking on TOC Item Jumps to Previous Identical Entry. How to highlight the selected one?

    Win 7, 64 bit
    RH 9 (latest patch)
    HtmlHelp (CHM) output
    I have many TOC pages that are identical.
    For example, in our software some toolbar icons are repeated on different screens. In the built CHM help, if I click on a later identical page reference in our TOC, the TOC automatically jumps focus to the first entry. It doesn't stay on the selected entry.
    This causes confusion as all of a sudden the user is in an entirely different context. How can I get it to highlight the selected item and not jump to the first reference?

    Hi Jared
    Note that this issue is generically related to any help system and isn't a "RoboHelp specific thing". When multiple points in a Table of Contents reference the same page, how is the system supposed to determine exactly which TOC node is the correct one?
    The way past this is to create multiple distinct nodes from the TOC to the topic.
    One way involves never creating an actual link from the TOC to the topic. Instead, create as many distinct topics as you need in the TOC and have them redirect to the desired topic. The bottom line is that the correct page is presented and the correct TOC node is highlighted.
    Another way involves a similar approach. Create distinct topics that simply present an inline frame (IFRAME) that has the single "real" topic.
    Yet another way involves another variation. Create a Snippet that is essentially the single entire topic. Then create distinct topics that only contain the snippet.
    Hope this helps... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How to do dependent select list based on parent select list

    Hello... I have the following bit of code...
    *parent select
    htmldb_item.select_list_from_query(1,null,'select program_desc_eng, program_id from myfps_programs')
    * child select using parent value
    htmldb_item.select_list_from_query(2,null,'select sub_pgm_desc_eng, sub_program_id from myfps_sub_programs where program_id = <VALUE FROM ABOVE?>')
    I know this is easily done using the select list form items and such but I need to use the htmldb_item function. On screen when a user selects value from the parent select list, I want the child select list to use the value of the parent as a parameter into its own select list. How can I reference the parent? (ie can I use htmldb_application.g_f01(1) or something of this nature?) I realize I may need a bit of javascript to have it work correctly but I'm just wondering if its possible?

    This is not a trivial task.
    See http://forums.oracle.com/forums/thread.jspa?messageID=1241356

  • How to create dependent Select Lists?

    Hi,
    Found in the documentation that to create dependent select list we have to do these 3 things:
    1. In the parent select list, choose the option "select list with submit".
    2. Defining a branch that branches back to the current page.
    3. In the child select list sql, use the value of the parent (eg. :P6_PARENT_SELECT_VALUE).
    When I change the value of parent select list the page is getting submitted and its going to the parent page. I've a branch that goes to the parent page but how to create a branch that comes back to the same page and then use it in parent select list?
    Thanks,
    Hozy

    Hi Hozy,
    1. Make the branch conditional...
    2. Create a new branch while will run when you make a selection in parent select list.
    Also check this site to create dependent select list without sumbitting the page....
    http://www.dba-oracle.com/t_html_db_apex_ajax_application_express.htm
    Regards,
    Shijesh

Maybe you are looking for

  • IMac Display / Fans Stopped Working

    So, I've read up on a lot of the other iMac issues with displays going out. However when attaching an external display still nothing shows up. But I've noticed the lower left fan is also not spinning (yes I am authorized to remove parts). So I remove

  • FB70 Customer Invoice,  Default Notes

    Hi Is it possible to default certain text under the notes tab in FB70? If so, how could it be done. Thanks, Ram

  • Remove text indent in IE for submit button

    How can I remove the text indent on buttons in IE? Ive remove the border and background so the button is styled as normal text, and FF automatically removes the text indent. Thanks

  • CProjects 4.0  Show Additional Tab Page in cProjects

    Requirement: 1, Enhance CI_DPR_CHECKLIST_I (Checklist ITem - ITO) with customer fields 2, create Customer Long texts which appear on the customer tab page. 3, Achieve the above in an additional tab page on checklist item level. Summary: Using “Show A

  • Out of Application Memory Error when Importing Library as Project

    I have for years followed a practice of consolidating discrete event libraries (I create a new event-specific library for each event I shoot) into my main library at home.  Recently, though, I have been unable to import libraries as projects. The pro