Select Lists - Setting and Referencing (Using) the Select List variable

I have (a login page and) 3 application pages (call them Day, Week, Month), each with similar selection lists and a chart. I have three requirements.
1) When a new selection is made, the value of the selection list variable is updated --that is, it does what select lists do.
2) I need to set the value of the Month selection list variable before the Month page is rendered for the first time -- I need to give it an initial value.
3) When navigating from page to page, say from Month to Week or Day back to Month, I need to have the value of the selection list variable carried to the new page from the value on the previous page.
It sounds simple to me -- something that one could do with an (global) application item. The logic would be like
IF :Page_Name_Flag = 'Week' THEN -- staying on the Week page
  SELECT :WK_SelectList_Name INTO :GLOBAL_SelectList_Name FROM DUAL
ELSE -- new pass on this page
  SELECT  :GLOBAL_SelectList_Name INTO :WK_SelectList_Name FROM DUAL
  SELECT 'Week' INTO :Page_Name_Flag
END IF;But that doesn't work for me. The page's select list variable seems to be NULL sometimes causing the value of :GLOBAL_SelectList_Name to be set to null. Other times, the copy from the global variable to page select list varable doesn't seem to change the page select list variable.
At http://apex.oracle.com/pls/apex/f?p=43250:101 (guest/Ima9Gue8t) is an example where I have each page's select list working (except on the initial visit to the page, where the select variable is null!!!). How can I get the select list value on the new page to sync with the value from the previous page?
Thanks,
Howard
Edited by: Howard (DBA in Training) on Sep 18, 2012 11:53 AM

I'm closing this because I got it to work. In the end, it worked as I had described above. There was some setting of the Select List variable, that I now have correct, that was incorrect before. I wonder what it was?

Similar Messages

  • Select a small area and then use the selected area to paint other areas of the image

    Hello
    My problem is a little hard to explain but I try.
    What I want is to select a small area and then use the selected area to paint other areas of the image. Do not know how to do it and if it's stamp tools or pen tools to be used?

    Howdy.
    Sounds like you're looking for the Clone Stamp Tool. Set to Aligned, the sampling point resets when you release the mouse after painting. Untic Aligned and the sampling point stays in the original spot for the next stroke. It's a good idea to clone onto a separate layer with Sample All Layers selected. Then you don't lose original pixels. Allows you a do over later.
    FWIW.
    Peace,
    Lee

  • In version 5, how do I use the selection tool to move objects?

    I can use the selection tool to select objects, but when I try to drag it, nothing happens. My workaround is to use the selection tool to select an object, and then use the transform tool to drag the object into its new position. Any help is greatly appreciated.

    is your object locked?
    Message was edited by: lilia@
    ... or perhaps your clicking on the content grabber?

  • I'm working in Photoshop CS6 on a Mac and am having trouble when I select a Path it automatically feathers the selection border. I can't seem to find any place to adjust a feather setting. Does anyone have a suggestion? I'm using paths to silhouette an im

    How do I change a default from feathered edge to sharp edge when I select a path?
    I'm working in Photoshop CS6 on a Mac and am having trouble when I select a Path it automatically feathers the selection border. I can't seem to find any place to adjust a feather setting. Does anyone have a suggestion? I'm using paths to silhouette an image on a photograph to use in another document and I need a hard edge on it, not a feathered one.

    In the Paths panel, click the flyout menu (in the top right of the panel) and choose Make Selection (this option will only be available if you have a path selected). Reduce the Feather Radius to 0 (zero) and click OK. This setting will be the default even when clicking the Load Path as Selection button.

  • Using distinct and orderby in the select statment

    Hi All,
    Can anyone tell me what is the purpose of using distinct and orderby in the select statment.

    Hi,
    Using the distinct function with more than one column yields some substantial results. SQL will return the rows with distinct or unique combinations of those columns. Assume this same employee table has another column including the salary of each employee. With the use of the distinct function we can pull a list of unique job titles - salaries.
    SQL Code:
    SELECT DISTINCT job_titles, salary FROM employees;
    SQL has returned all the rows with unique combinations of job titles and salaries. Any duplicate combinations of job titles and salaries will be ignored. For example if we had two CEOs in the table making the same salary each year, only one row would be returned but if we had two CEOs with different salaries, both rows would be returned.
    Order by
    The SQL ORDER BY clause comes in handy when you want to sort your SQL result sets by some column(s). For example if you want to select all the persons from the already familiar Customers table and order the result by date of birth, you will use the following statement:
    SELECT * FROM Customers
    ORDER BY DOB
    As you can see the rows are sorted in ascending order by the DOB column, but what if you want to sort them in descending order? To do that you will have to add the DESC SQL keyword after your SQL ORDER BY clause:
    SELECT * FROM Customers
    ORDER BY DOB DESC
    If you don't specify how to order your rows, alphabetically or reverse, than the result set is ordered alphabetically, hence the following to SQL expressions produce the same result:
    SELECT * FROM Customers
    ORDER BY DOB
    SELECT * FROM Customers
    ORDER BY DOB ASC
    You can sort your result set by more than one column by specifying those columns in the SQL ORDER BY list. The following SQL expression will order by DOB and LastName:
    SELECT * FROM Customers
    ORDER BY DOB, LastName
    if its useful reward points

  • Menu Creation and Using the SELECT soft key

    Hi,
    I am trying to design a menu similar to the thumbnail menus available in most phone these days.what i want is a set of icons placed in a tabular format ie rows and colums. the joystick control can be used to navigate thru the icons and using the select soft key ie the middle button of the soft keys, the next set of forms can be displayed.
    so far, i have created a form, used a few image item and used the Item's layout directive to arrange the imageItem as i want on the display. I can get the joystick to navigate between the imageItems however the select button doesnt fire any event.
    I have added a command to each of the items and set an ItemCommandListener.
    That approach seems to be working fine but it defeats my purpose. the reason being i had problems with the mapping of the command keys. For each display i had an option of going to the main menu and to the next screen. On the emulator it maps perfectly with the left key having the main menu and the right key having the "next form" button. But while implementing on the phone, the left key has the main menu but the right key shows "more options", when u click more options you get the "next form" button. This is happening in every form on display and makes it more tideous to use.
    Thats why i was hoping to get the select button working if possible. Any help would be much appreciated.

    Try searching J2mepolish.org plenty of work is done
    with Regards
    Rizwan

  • When I use the selection tool to move vector points and bend edges, I only see the change in wire frame.

    When I use the selection tool to move vector points and bend edges, I only see the change in wire frame.  Once I commit by letting go of the mouse button, the object does change.  It just previews with a wire frame. I would like to see the preview change on the solid object.  Is there a setting somewhere?
    I sure hope I am explaining this for people to understand .
    Thanks
    Ed

    Hi Ed,
    What do you mean by wire frame??And are you using selection or sub-selection tool since you have mentioned about vector point I doubt if it is sub-selection tool.Could you please attach a video demonstrating the issue where we see the mismatch in the preview and the output, so that we can understand the problem better and try to resolve it.
    Thanks,
    Sangeeta

  • How to use the selection profile and status profile for production order?

    Hi expert,
       I want to know how to use the selection profile and status profile for production order. what's the usage for these two selection profile and status profile ?
      Please help me.
      thanks in advance.
      george.shi

    Hi George,
    There are are two types of statuses.One is system status and second one is user status.These statuses will tell us current situation of an order.
    We can't change system statuses.But we can create our own statuses through status profile.With this profile we can control user statuses.
    In this status profile,
    1.We define the sequence in which user statuses can be activated,
    2.We define initial statuses
    3. Allow or prohibit certain business transactions.
    Selection profiles are used to select the objects (say production orders) with different status combinations.We assign status profiles to selection profiles in BS42 T-Code.
    Regards,
    Raja.
    Edited by: Rajarao on Oct 30, 2008 6:21 AM
    Edited by: Rajarao on Oct 30, 2008 6:22 AM

  • Connect the device to your computer. Open iTunes. Select iPhone, iPad, or iPod in the Devices list. Click the Summary tab and select "Manually manage music and videos". Click Apply. but after that say's everything on my iPhone will be deleted

    Connect the device to your computer.
    Open iTunes.
    Select iPhone, iPad, or iPod in the Devices list.
    Click the Summary tab and select "Manually manage music and videos".
    Click Apply.
    than it says it'ss erase my iphone and sync with itunes library.
    what should i do?

    It wil only erase the music and videos. Nothing else.

  • Is it possible to edit (levels, curves, exposure, saturation, etc.) a selected area of a photo (using quick selection, magnetic lasso, etc.) without moving the selected section to another document and editing it there?

    I'm trying to edit a portion of a photo of a lake so that the rays of sunlight (the lines that run across the sky) are more prominent, without darkening the rest of the photo. I've sucessfully selected, removed, and edited the sky in the photo (the part that I want to enhance the sun rays on), but I can't figure out how to get that piece (currently it's own document) back onto the original jpeg document. I took the selection from the Background copy if that is of any help to figuring this out.

    Another way in photoshop is to make a Group above the photo. add a layer mask using the selection and put the adjustment layers in the group
    There is also a forum for the full version of photoshop:
    Photoshop General Discussion

  • Cannot find my "Pictures folder" in Finder and was using the "all Images" selection to fiddle with my pictures.  Now I think I may have screwed iPhoto up

    Cannot find my "Pictures folder" in Finder and was using the "all Images" selection to fiddle with my pictures.  Now I think I may have screwed iPhoto up

    Hi jamesxio,
    Do you still have the Pictures folder in your home folder? If not, create a new folder in your home folder and name it Pictures. Make sure the iPhoto Library folder is in the Pictures folder.
    Now launch iPhoto with the Option key depressed until you get a message screen. Choose to open another library and navigate to and highlight the iPhoto Library folder. Click the Open button.
    You didn't move anything around or rename anything in the iPhoto Library folder in the finder, did you?

  • Selecting pixels on a layer using the magic wand

    PS CS5
    I have been trying to select individual pixels around a shape on a layer to create a mask to hide the semi transparent pixels but i cant seem to select individual pixels to add to the selection.
    In some places along the path of the object I have been able to select some individual pixels, but in other parts, groups of pixels automatically get selected or even the whole path is selected.
    How do i control this? I want to be able to only select the pixels i choose and not groups.
    The settings i am using are:
    Tolerance = 0
    Contiguous - Selected
    Sample all layers - Selected
    I have tried doing this with each of the following settings to no avail:
    New Selection
    Add to selection
    Subtract selection
    Intersect with Selection
    I was following a tutorial on the lullabots website to create a mask but can't reproduce the steps because of this problem
    http://www.lullabot.com/articles/creating-awesome-new-icon
    thanks in advance

    One setting that you haven't listed and which can affect the Magic Wand tool is the Sample Size.
    Activate the Eyedropper Tool, then right-click somewhere on your image.  Make the sample size Point Sample.  This will then tell the Magic Wand or any other tool that does an "eyedropper sample" operation to use the value of the single pixel you click on to gauge its operation.
    I mention this because the coupling is modal and sometimes overlooked.
    -Noel

  • Creating a Display View and passing back the selected items

    Hello All,
    I will like to create the below scenario and will like to seek feedbacks and suggestions on how to do so in the best way.
    <u><b>Scenario</b></u>
    1) User enters his lastname and press a submit button (this is done in the initial window which contains UI elements that needes to be populated with the search results),
    2) The submited name is passed to the backend for searching,
    3) Results is then thrown back to the user in <b>ANOTHER</b> window in the form of a selection table. Here, the window will display a list of all matching lastnames.(Even if there is only 1 search result)
    4) User is required to select his own last name from the table and his info will be populated in the respective UI elements in the view of the initial window.
      Feedbacks and suggestion will be greatly appreciated. Thnak you very much.
    from
    Kwok Wei

    Define 2 views, "Search" and "Result", define a custom controller (or use the component controller) with a context containing all relevant data (entered name, result list). Define a controller usage from both view controllers to the custom controller, map both view contexts to the custom controller context.
    This will allow both view controllers to access the data entered in "Search" and the results from the backend displayed in "Result".
    For the navigation between "Search" and "Result", use the navigation modeller to define plugs and navigation links. In the event handler of the "search" action, navigate to the "Result" view, in the event handler of the result selection (e.g. a handler for IWDTable.onLeadSelect), navigate back to the "Search" view.
    Armin

  • To use the selection screen entry in another program

    dear all,
    i have a requirement that i want to use the selection screen entry of my zmodule pool to the selection screen of a zreport and want to use its output in my module pool.
    how could i do this in my module pool programing??
    i hope u get my question, i want to use the output of my zreport in my module pool with the same selection screen as given in module pool.,directly in my module pool output without opening my zreport seperately for this same selection screen data

    Hi,
      You can use SUBMIT statement in your module program to call the zreport program in background.
    Press F1 on Submit statement and you will find required detials of this statement. For using submit statement
    you have to create an internal table of type RSPARAMS and pass it in the submit statement.
    eg.
    DATA :
    *  table to be passed to background report 'ZREPORT1'
        int_rspar TYPE TABLE OF rsparams,
        ws_rspar TYPE rsparams.
    CONSTANTS: c_include     TYPE rsparams-sign               VALUE 'I',
               c_kind        TYPE rsparams-kind               VALUE 'S',
               c_between     TYPE rsparams-option             VALUE 'BT'.
    *Preparing the table to be passed to the background report.
    *populating SELECT-OPTION for knb1-kunnr (Customer Number)
    CLEAR : ws_rspar.
    ws_rspar-selname = 'S_KUNNR'. "Should be the name of select option as in                               the called report
    ws_rspar-kind = c_kind.
    ws_rspar-sign = c_include.
    ws_rspar-option = c_between.
    ws_rspar-low = '1'.
    ws_rspar-high = '100'.
    APPEND ws_rspar TO int_rspar.
    *populating SELECT-OPTION for knb1-bukrs (Company code)
    CLEAR : ws_rspar.
    ws_rspar-selname = 'S_BUKRS'.
    ws_rspar-kind = c_kind.
    ws_rspar-sign = c_include.
    ws_rspar-option = c_between.
    ws_rspar-low = 'a'.
    ws_rspar-high = 'z'.
    APPEND ws_rspar TO int_rspar.
    submit zreport
      with selection-table int_rspar
          EXPORTING LIST TO MEMORY
              and return.
    The above code will execute the zreport in backgournd.
    Now to get the output of the zreport :-
    *This internal table stores the value
    *Of output listed to memory
    DATA BEGIN OF itab_list OCCURS 0.
    INCLUDE STRUCTURE abaplist.
    DATA END OF itab_list
    * To read from the memory. The output of the program that is executed in background is then populated in the itab_list table.
    CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
    listobject = itab_list
    EXCEPTIONS
    not_found = 4
    OTHERS = 8.
    * To write it onto the output
    CALL FUNCTION 'WRITE_LIST'
    EXPORTING
    WRITE_ONLY = 'X'
    TABLES
    listobject = itab_list
    EXCEPTIONS
    EMPTY_LIST = 1
    OTHERS = 2
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Bhavesh.

  • Sorting a vector using the selection sort method

    I have to write a program that sorts a Vector using the selection sort algorithm. Unfortunately the textbook only has about 2 pages on vectors so needless to say I'm pretty clueless on how to manipulate vectors. However I think I'm on the right path, however I'm stuck on one part as shown in the code below.     
    private static void  selectionSort(Vector parts)
          int index;
            int smallestIndex;
            int minIndex;
            int temp = 0;
            for (index = 0; index < parts.size() - 1; index++)
              smallestIndex = index;
              for (minIndex = index + 1; minIndex < parts.size(); minIndex++)
               if (parts.elementAt(minIndex) < parts.elementAt(smallestIndex))  // this is where I'm having trouble
                  smallestIndex = minIndex;
                parts.setElementAt(temp, smallestIndex);
                parts.setElementAt(smallestIndex, index);
                parts.setElementAt(index, temp); if (parts.elementAt(minIndex) < parts.elementAt(smallestIndex))
    is returning "ProcessParts3.java:51: operator < cannot be applied to java.lang.Object,java.lang.Object"
    Here is the full program:
    import java.util.*;
    import java.io.*;
    public class ProcessParts3
         static Vector parts;
         public static void main(String[] args)
              loadVector();
         private static void loadVector()
         try
              Scanner fileIn = new Scanner(new File("productionParts.txt"));
              parts = new Vector();
              String partIn;
              while (fileIn.hasNext())
                   partIn = fileIn.nextLine();
                        parts.addElement(partIn.trim());
              selectionSort(parts);
                   for (int i = 0; i < parts.size(); i ++)
                   System.out.println(parts.elementAt(i));
         catch(Exception e)
              e.printStackTrace();
         private static void  selectionSort(Vector parts) //from this part down I'm responsible for the coding, everything
                                                               // everything above this was written by the teacher
                 int index;
            int smallestIndex;
            int minIndex;
            int temp = 0;
            for (index = 0; index < parts.size() - 1; index++)
                smallestIndex = index;
                for (minIndex = index + 1; minIndex < parts.size(); minIndex++)
                    if (parts.elementAt(minIndex) < parts.elementAt(smallestIndex))
                        smallestIndex = minIndex;
                parts.setElementAt(temp, smallestIndex);
                parts.setElementAt(smallestIndex, index);
                parts.setElementAt(index, temp);
    }Edited by: SammyP on Nov 27, 2009 11:43 AM

    SammyP wrote:
    I have to write a program that sorts a Vector using the selection sort algorithm...Hmmm.... Your teacher is, in my humble opinion, a bit of a tard.
    1. Vector is basically deprecated in favor of newer implementations of the List interface which where introduced in [the collections framework|http://java.sun.com/docs/books/tutorial/collections/index.html] with Java 1.5 (which became generally available back in May 2004, and went end-of-support Oct 2009). ArrayList is very nearly a "drop in" replacement for Vector, and it is much better designed, and is marginally more efficient, mainly because it is not syncronised, which imposes a small but fundamentally pointless overhead when the collection is not being accessed across multiple threads (as is the case in your program).
    2. Use generics. That "raw" Vector (a list of Objects) should be a genericised List<String> (a list of Strings)... because it's compile-time-type-safe... mind you that definately complicates the definition of your static sort method, but there's an example in the link... Tip: temp should be of type T (not int).
    Note that String implements [Comparable<String>|http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html], so two String's can safely be compared using the compareTo method... In Java the mathematical operators (<, >, &#43;, -, /, &#42;, etc) are only applicable to the primitive types (byte char, int, float, etc)... The Java Gods just chose to muddy the waters (especially for noobs) by "overloading" the &#43; operator for String (and String only) to enable succinct, convenient string-concatenation... which I personally now see as "a little bit of a mistake" on there part.
         private static void  selectionSort(Vector parts)  {
    int index, smallestIndex, minIndex, temp = 0;
    for (index = 0; index < parts.size() - 1; index++) {
    smallestIndex = index;
    for (minIndex = index + 1; minIndex < parts.size(); minIndex++) {
    if (parts.elementAt(minIndex) < parts.elementAt(smallestIndex)) {
    smallestIndex = minIndex;
    parts.setElementAt(temp, smallestIndex);
    parts.setElementAt(smallestIndex, index);
    parts.setElementAt(index, temp);
    }3. ALLWAYS use {curly braces}, even when not strictly necessary for correctness, because (a) they help make your code more readable to humans, and also (b) if you leave them out, you will eventually stuff it up when you insert a line in the expectation that it will be part of the if statement (for example) but you forgot to also add the now mandatory curly-braces... This is far-too-common source of bugs in noob-code. Almost all professionals, nearly allways allways use curly braces, most of the time ;-)
    4. Variable names should be meaningful, except (IMHO) for loop counters... Ergo: I'd rename index plain old i, and minIndex to plain old j
        for ( int i=0; i<list.size()-1; ++i) {
          int wee = i; // wee is the index of the smallest-known-item in list.
          for ( int j=i+1; j<list.size(); ++j ) {Cheers. Keith.
    Edited by: corlettk on 28/11/2009 09:49 ~~ This here fraggin forum markup friggin sucks!

Maybe you are looking for