HOW TO SELECT MIN VALUE UNDER DEFAULT TAG OF SELECT LIST

GREETINGS,
I M USING APEX 4.1 AND CREATED SELECT LIST ON PAGE, I WANT TO SHOW MIN VALUE OF THE SELECT LIST FOR THAT I WROTE IN THAT SELECT LIST PROPERTIEC UNDER DEFAULT TAG MIN; AND CHOOSE PL/SQL EXPRESSION BUT ITS GIVING ERROR "Error computing item default value for page item P1_PRODUCT."
BUT IF I HARCORE THE VALUE CONTANING IN MY DATA LIKE PRODUCT ID = 1, I HARDCODED IN DEFAULT VALUE 1 AND SELECT PL/SQL EXPRESSION IT WORKS.
BUT ITS NOT DONE LIKE THIS I WANT TO SELECT BY DEFAULT MIN VALUE OF THE SELECT LIST, SO THAT THE DATA SHOULD BE DISPLAYED ACCORDING TO THAT.
THE EXACT REQUIREMNT IS TO ENTER THE SELECT LIST DEFULAT VALUE IN SESSION SO THAT DATA IS TO BE DISPLAYED

Hi,
you have some options:
1) you can try setting default value of P1_SELECT_PRODUCT item, I was do it
2) or you can try send the value of P1_SELECT_PRODUCT value in URL, like this:
http://apex.oracle.com/pls/apex/f?p=45296:1:0::::P1_SELECT_PRODUCT:4
3) or you can set the session state of P1_SELECT_PRODUCT item on page 101 (login page) by seting this value in Login process on page 101
HELLO kIAS !
SETTING DEAFULT VALUE VALUE OF P1_SELECT_PRODUCT_ITEM IS NOT A SOLUTION ON THIS MATTER, BECASUE P1_SELECT_PRODUCT IS CALLED DYNAMICALY AFTER THE LOGIN DEPEND UPON THE RIGHTS OF THE USER THE SELECT IS POPULATED ID USER IS E.G ABC AND IT DOESBNOT CONTAIN SELECT LIST VALUE 4 THEN IT DISPLAY NOTHING.
AND THIRD POINT MAY BE HELP ME BUT I DONT KNOW HOW TO SET SESION STATE BECASUE WHEN I GO TO LOGIN PAGE AND CREATE SESSION STATE PROCESS FOLLOWING RADIO BUTTOPN APPEARS
Clear Cache For Applications (removes all session state for listed applications)
Clear Cache For Current Application (removes all session state for current application)
Clear Cache For Current Session (removes all state for current session)
Clear Cache for Items (ITEM,ITEM,ITEM)
Clear Cache for all Items on Pages (PageID,PageID,PageID)
Reset Preferences (remove all preferences for current user)
Set Preference to value of Item (PreferenceName:ITEM)
Set Preference to value of Item if item is not null (PreferenceName:ITEM)
WHICH ONE I HAVE TO SELECT ?

Similar Messages

  • How to show "ALL" Values by default in Page Drop-Down Lists in Pivot Tables

    Hi Everyone,
    Iam stuck with 1 problem please can any 1 help me if u know the solution.
    Here is my problem:
    How to show "ALL" Values by default in Page Drop-Down Lists in Oracle BI Pivot Tables?
    For example, if you place Region in the pages area, a Region drop-down list allows the user to select a particular region, and see the data for only that region, rather than seeing all the Regions,But by default its not showing "ALL" option in the drop down list ,rather than doing that its showing result for only 1 region by default.
    And an other problem with this pages area is, if we palce the multiple attributes in the Pages area in the pivot table, the (Fields)result is showing in vertically, the attributes 1 by 1(Every attribute in a new line) ,rather than showing like that, is there any way to show the results in horizantally?(We want to have it as a seperate drop drown list for every field horizantally not as a concatenated list).

    Thanks Nikhil. But I am fetching the values from the LOVCache.java.
    I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
    I mean to say can I write
    unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
    where LOVCache.entityTypeSelectionList is used to populate the drop down box.
    Regards,
    Aseet

  • How to pass src value into img tag in ADF

    Hi,
    My Dev : 11.1.2.3.0
    How to pass row values into <img> tag.,I used the below code but it's taking empty.,
    I tried both ways like #{row.CdFilePath}   and   ${row.CdFilePath}
    <af:iterator var="row"
                      value="#{bindings.xxx.collectionModel}"
                     id="i2">
         <img src='/ShowImage?src=#{row.CdFilePath}' border='0' style="width:100px; height:100px; margin:5px;"/>
    </af:iterator>
    Please tell me any other option is there..
    Thanks

    This works if you use a normal table so I guess it should work here too.
    Are you sure the el #{row.CdFilePath} return something?
    Why don't you use the adf image tag <af:image source="/ShowImage?src=#{row.CdFilePath}".../> instead of the html img tag?
    Should the src property not be enclosed with " instead of your '?
    Timo

  • How to get ALL values as default for  a drop down box in JSF

    Hi,
    I have a drop down box in JSF page which retrieves values from LOVCache.java. I have values like Company, Client, User, ALL in the drop down box.
    By default blank value is selected for the drop down box. I want to make ALL(which retrieves data for all the values) as default value for the drop down box.
    Could any body help me? Any help must be appreciated.
    Thanks,
    Aseet

    Thanks Nikhil. But I am fetching the values from the LOVCache.java.
    I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
    I mean to say can I write
    unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
    where LOVCache.entityTypeSelectionList is used to populate the drop down box.
    Regards,
    Aseet

  • How to get all values in the range of select option into internal table?

    Hi,
    I need to capture all entries coming in the range of select option into one internal table.
    How to do get that?
    For E.g
    select-options: matnr for mara-matnr.(select option)
    IF I enter G0100013507892 as lower value of matnr and G0100014873947 as higher value
    and if there are 10,000 materials in the above range, then I want to capture all theses 10000 materails in one internal table. How to do that?
    Regards,
    Mrunal

    Hello Mrunal Mhaskar  ,
    What i understand you can do one thing  go in debug mode
    Try this code : -
    LOOP AT s_matnr_ex.
      IF s_matnr_ex-low IS NOT INITIAL.
        i_matnr-matnr = s_matnr_ex-low.
        i_matnr-option = s_matnr_ex-option.
        APPEND i_matnr.
        CLEAR : i_matnr.
      ENDIF.
    ENDLOOP.
    LOOP AT s_matnr_ex.
      IF s_matnr_ex-high IS NOT INITIAL.
        i_matnr-matnr = s_matnr_ex-high.
        i_matnr-option = s_matnr_ex-option.
        APPEND i_matnr.
        CLEAR : i_matnr.
      ENDIF.
    ENDLOOP.
    In the i_matnr table high and low values are there.
    Regards,
    Vandana.

  • How can i display Value in Report which i select from Multiple select list

    Dear All,
    i am using multiple select List in form with report page.
    When i create new Entry with select Multiple value in Multiple Select List then in report Value display me in below format
    my SQL Query are
    select NAME D, CODE R from  COUNTRY_MAS WHERE ACTIVE_FLG ='Y' order by NAME
    AS:AI:AG:AM these are return value .i want to display NAME in report .
    How can i do this ?
    Thanks
    Edited by: Vedant on Apr 25, 2012 11:14 PM

    Short answer, use the apex_util.string_to_table to convert to a table; then you can either iterate through the table to generate a string of names, or accomplish the same with a bulk operation.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDFEEJD
    Encapsulate all this within a pl/sql function.

  • How to pass Selection screen values to another program's selection screen

    Hello,
    I have a requriement where in which i need to pass the selection screen values (say list of pernrs) and few others of one program to selection screen of another. 
    One option that i came across is using Submit. But am unware how to pass only the selection screen values (there wont be any data processing or filtering).  Just the values of one prgm's selection screen are to be sent to another.
    Thanks
    RK

    prog1.
    data:lt_params type table of RSPARAMS.
    data:wa like line of lt_params.
    parameters:pa1 type sy-datum.
    select-options:so1 type sy-dtaum.
    wa-SELNAME = 'PA2'.               "Seletion screen field name
    wa-KIND     = 'P'.                    "P-Parameter,S-Select-options
    wa-SIGN     = 'I'.                    "I-in
    wa-OPTION     = 'EQ'.               "EQ,BT,CP
    wa-LOW     = pa1.                    "Selection Option Low,Parameter value
    append wa to lt_params.
    loop at so1.
    wa-SELNAME = 'SO2'.               "Seletion screen field name
    wa-KIND     = 'S'.                    "P-Parameter,S-Select-options
    wa-SIGN     = 'I'.                    "I-in
    wa-OPTION     = 'EQ'.               "EQ,BT,CP
    wa-LOW     = so1-low.               "Selection Option Low,Parameter value
    wa-HIGH     = so1-high.               "Selection Option Low,Parameter value
    append wa to lt_params.
    endloop.
    CALL FUNCTION 'SUBMIT_REPORT'
      EXPORTING
        report                 = 'ZPROG2.'   "report name of ur tocde
        RET_VIA_LEAVE          = ''            "IF 'X' returns to the called program after execution
        SKIP_SELSCREEN         = 'X'       "If 'X' selection screen of called program is not displayed
    TABLES
       SELECTION_TABLE        = lt_params       "Contains values to the selection screen
    EXCEPTIONS
      JUST_VIA_VARIANT       = 1
      NO_SUBMIT_AUTH         = 2
      OTHERS                 = 3
    Prog2.
    parameters:pa2 type sy-datum.
    select-options:so2 type sy-dtaum.
    write pa2.
    skip 1.
    loop at so2.
    write:so2-low,so2-high.
    skip 1.
    endloop.
    Edited by: Keshu Thekkillam on Aug 20, 2009 3:22 PM

  • How to make current value to default to all controls at once

    Choosing "Data Operation" -> "Make Current Value Default" to multiple controls requires a lot of clicking. Is it possible to do this with one click?
    Solved!
    Go to Solution.

    Yes.  If you select no controls, it says "Make current values default", and it does all the controls at once.  If you have a control selected, then it does only the selected controls.
    Reinitialize current values to default works the same way.  Select nothing, it does all the controls at once.
    Bob Schor

  • Multidimensional NSArray: How to find min value with valueForKeyPath ?

    Hi,
    I've setup a multidimensional NSArray with columns and rows. The data is read from a file and are float values.
    I can easily access the data like this:
    NSLog(@"Row[0][0] %f", [[[rows objectAtIndex:0] objectAtIndex:0] doubleValue] );
    NSLog(@"Row[0][1] %f", [[[rows objectAtIndex:1] objectAtIndex:0] doubleValue] );
    NSLog(@"Row[0][2] %f", [[[rows objectAtIndex:2] objectAtIndex:0] doubleValue] );
    etc.
    However I don't know how to get the min/max values for a column in a 2 dimensional NSArray.
    With a simple NSArray it's easy to retrieve the min/max value:
    NSArray *array = [NSArray arrayWithObjects:[NSNumber numberWithInt:16], [NSNumber numberWithInt:4], [NSNumber numberWithInt:128], nil);
    NSLog(“Min value : %@", [array valueForKeyPath:@"@min.intValue"]);
    Now, does someone know how to retrieve min/max values with valueForKeyPath: ?
    Any help is greatly appreciated.
    Cheers,
    Gilles

    #import <Foundation/Foundation.h>
    int main (int argc, const char * argv[]) {
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    NSMutableArray * array = [[NSMutableArray alloc]init];
    NSMutableArray * another = [[NSMutableArray alloc]init];
    NSNumber * num1 = [NSNumber numberWithFloat:1.1];
    NSNumber * num2 = [NSNumber numberWithFloat:1.2];
    NSNumber * num3 = [NSNumber numberWithFloat:1.3];
    [another addObject:num1];
    [another addObject:num2];
    [another addObject:num3];
    [array addObject:another];
    NSLog(@"%@",[[array objectAtIndex:0] valueForKeyPath:@"@min.floatValue"]);
    [another release];
    [array release];
    [pool drain];
    return 0;
    Maybe I'm not 100% clear on the question your asking, but doesn't the above code get the min(or max if you wanted) value for the second array

  • How to track the values of default save As button

    Hi,
    i am browsing a file by html:file. this html:file displays a browse button and when the Browse is clicked a default save as dialoug is displayed. its the default for html. Now i need to track the whether i clicked on the open button or the cancel button and according to that i need to do some operation. Could i able to track the default properties and if so how.
    Thanks & Regards,

    Here is what you need to do,
    1) Declare a styleId attribute as follows.....
    <html:form styleId="form" .......>
    <html:file styleId="fileTextField">
    2) From Javascript code, execute
    alert(document.form.fileTextField.value);
    If OPEN is selected then the file path will appear in this alert box else it will be blank for selection of CANCEL.

  • How to get multiple values from the db using select

    hi all,
    i am using oracle 9i database
    i created a procedure
    create or replace procedure sample_proce
    as
    to_i varchar2(50)
    begin
    select to_id into to_i from sample where flag in('y');
    dbms_output.put_line('hai'|| to_i);
    end;
    when i executed this procedure the following error occurred.
    error at line 5 fetching too many rows.
    but when i execute the select query alone i can able to view all the rows.
    how to resolve it

    i used the following procedure
    create or replace procedure sample_proc
    as
    begin
    for s in(select to_id from sample where flag='y')
    loop
    dbms_output.put_line(s.to_id);
    end loop.
    end;
    it is executed fine. i can able to fetch all the rows.
    how to pass all these values into the another procedure.
    we usually pass only one value into another procedure, i do no how to pass all the values . please help me.
    Thank u.

  • How to get the values of a multiple radiobutton selection?

    Hi. I have the next region source:
    FOR c1 IN(SELECT rownum, ttexto_opcion, id_item FROM tb_opciones where id_prueba=:p_id_prueba) LOOP
    HTP.P(APEX_ITEM.radiogroup(1,c1.ttexto_opcion,1)||c1.ttexto_opcion);
    END LOOP;
    That query returns a list of records, group by id_item. For example:
    Option A Option B Option C (id_item=1)
    Option A1 Option B1 Option C1 (id_item=2)
    Option A2 Option B2 Option C2 (id_item=3)
    Option A3 Option B3 Option C3 (id_item=4)
    Imagine that this values has a radiobutton right next to them.
    Now, imagine that the user selected Option A, Option B1, Option C2 and Option C3. How could I get the values selected? Any ideas?
    Regards,
    Jeannine

    First off why are you concat the c1.ttexto_opcion to the radio button? there is an option to specify the text value.
    Like this
    begin
      FOR c1 IN(select empno,ename from emp) LOOP
         HTP.P(APEX_ITEM.radiogroup(1,c1.empno,1,c1.ename));
    --id, value, selected_value, display text
      END LOOP;
    end;Not sure you could with that. Is that region building the radio buttons like your example? if so, you need to change it so each "column" has its own global array
    So for column 1 (options A) you use this code
    HTP.P(APEX_ITEM.radiogroup(1,c1.ttexto_opcion,1)||c1.ttexto_opcion);any value selected can be retrieved using apex_application.g_f01 (1 being what p_id is)
    so for column 2 (option B)you use this code
    HTP.P(APEX_ITEM.radiogroup(2,c1.ttexto_opcion,1)||c1.ttexto_opcion);any value selected can be retrieved using apex_application.g_f02 (2 being what p_id is)
    so for column 3 (option c)you use this code
    HTP.P(APEX_ITEM.radiogroup(3,c1.ttexto_opcion,1)||c1.ttexto_opcion);any value selected can be retrieved using apex_application.g_f03 (3 being what p_id is)

  • How to add 'profit center'  under documents of dynamic selections in FBL5N

    Dear Friends,
    In fbl1n (vendor line item display) if i choose dynamic selection ..left side of the window consists of fields....under document ...'profit center' is there....
    In fbl5n(customer line item display) for the same ,profit center is not there.....!!!
    How to add 'profit center' into the available list in FBL5N
    Regards,
    Madhu..!!!

    Hi,
    Do Ctrl + f8 (Change layout).  In it u have profit center for FBL5n
    Pls. assign points, if useful
    Regards,
    Sridevi

  • How to copy the value of default view textbox into another view textbox

    I create one form library and customizing in infopath 2010. on this default view one textbox is placed. in which user will enter his name.
    I create another view. in which i also place second textbox. I want when user put his name in default view textbox and save the form . then his name also copy into another view textbox .
    Kindly let me know how to do this ?

    Hi John,
    You can achieve in infopath. Steps are below:
    Default Text Box (Infopath Field A)
    Mirror Text Box (Infopath Field B)
    In Mirror Text Box, the default value would be the Field A. The default value you specified by right click on Mirror Text Box --> Properties...
    Thanks,

  • In CJ34 how to make Overall values too default

    Hi All,
    I want to make Overall values too as default check. I don't want to select always manually when transfering budget.We are using ECC 6. Please help me.
    Thanks,
    Sridhar Reddy.G

    HI sridhar,
    this can be done with SHD0
    enter shd0 , enter cj34 in transaction code ,zcj34 in transaction variant, click create this wil take u to cj34 screen .... here u tick the overall values and press enter this wil pop up screen variant of cj34 here u mark w.content and output only against overallvalues and click exit and save and save the transaction variant as local object to $tmp package and test that and assign the same to one user group.....
    regrds
    pushpa

Maybe you are looking for

  • How do you disable "Network Cable unplugged" icon in systray

    Both my current K8N Neo2 and my previous K2N mb's often pop up the "Network Cable Uplugged" icon in the systray when in fact the cable in plugged in and everything is running just fine.  I tried unchecking "Notify me when the connection has no or lim

  • How to use a Nano in a Dodge Caravan

    I bought cables with right and left inputs that go into the jacks on the front of the six CD/DVD changer. The manual says to put the radio in AUX mode. That's the rub--can't put it in AUX mode, only AM, FM, external disc, etc. Does anyone know how to

  • Corrupted library points to /usr/share/emacs/...

    Advice on fixing a corrupted iTunes Library would be appreciated. The symptoms are invalid links to certain files, such as: file: "TED Sirena Huang" link: iBook/usr/share/emacs/21.2/lisp/net/webjump.el file: AC: Ray Kurzweil link: iBook/usr/share/ema

  • Code Snippets in MEF Editor extension VS2012

    I am trying to implement code snippets with a MEF editor extension, I followed the walkthrough "Implementing Code Snippets" from the link: http://msdn.microsoft.com/en-us/library/ff926100(v=vs.110).aspx The implementation is based on the walkthrough

  • My Hard disk drive (C) is full and can't save to my local disk drive (D)...HELP!!!

    I cannot save anything else to my computer and I feel as if I barely have anything saved on here to begin with. My (C) drive is almost full and my local disk drive (D) has so much space on it, but I do not know how to make that my default drive. I've