Loop on the life list

How can I loop over alistview I have?

and make a difference in this asyncrhonusly. like here, I want to access the imageview to set the image once that I get them from a certain url.

  ListView {
            layout: StackListLayout {
                orientation: LayoutOrientation.LeftToRight
            }
            flickMode: FlickMode.SingleItem
            objectName: "customList"
            id: customList
            listItemComponents: [

                ListItemComponent {

                   Container {
                       preferredWidth: ListItemData.width
                       Container {
                           background: Color.create("#52c1b1")
                           layout: StackLayout {

                           }
                           layoutProperties: StackLayoutProperties {
                               spaceQuota: 1
                           }
                           horizontalAlignment: HorizontalAlignment.Fill
                           Label {
                               text:  ListItemData.fieldName
                               topMargin: 15
                               horizontalAlignment: HorizontalAlignment.Center
                               textStyle.color: Color.White
                           }
                           ImageView {
                               bottomMargin: 15
                               id: imageFlyer
                               objectName: "imageFlyer"
                               horizontalAlignment: HorizontalAlignment.Center
                               scalingMethod: ScalingMethod.AspectFit
                           }
                       }
                       Container {
                           layout: StackLayout {

                           }
                           layoutProperties: StackLayoutProperties {
                               spaceQuota: 1
                           }
                       }

                   }
                }
            ]
        }

Hi babakar,.

It depends on the type of the DataModel associated with your ListView. To update an element in a GroupdDataModel for example, you call a function updateItem .

Tags: BlackBerry Developers

Similar Questions

  • Loop through the list in flex 4 conclusion d buttons

    Anyone know how to completely recursively loops through the list in flex 4 by pulling the bodies of buttons.  This way I can apply my effects for buttons on the screen at the same time?

    You just create a subclass of button that has the desired effect and use it throughout your application.

    Gordon Smith

    Adobe Flex SDK team

  • loop through the list in flex 4

    I want to loop through the list and apply the following code to each button, the checkbox and the descent down in my application

    mouseOver = "animateHover ('theComponentID').

    How is that possible?

    Hello

    This should do what you want, you must add the eventlistener now your animated can be run from the th event handler.

    protected function button1_clickHandler(event:MouseEvent):void

    {

    for (var i: Number = 0; i<>

    {

    var obj:Object = this.getElementAt (i);

    If (flash.utils.getQualifiedClassName (obj) is 'spark.components::Button')

    {

    (obj as Button) .addEventListener (MouseEvent.MOUSE_OVER, onMouseOver);

    }

    If (flash.utils.getQualifiedClassName (obj) is 'spark.components::CheckBox')

    {

    (obj as CheckBox) .addEventListener (MouseEvent.MOUSE_OVER, onMouseOver);

    }

    }

    }

    private void onMouseOver(event:MouseEvent):void

    {

    animateHover (event.currentTarget);

    }

  • Error in the loop on the list

    Looping on a series of lists created from form fields generates an error in one of the fields on the form was left blank. The form is a list of the dates of the event start and end times. An event can have a number of times.

    When the end time is uncertain, we leave the field blank. However, this therefore reduces the list created from #form.endtime # for lists do not match and there is an error message:

    "Invalid list index 2.
    In the function ListGetAt (list, index [, delimiters]), the index value, 2, is not valid as the first argument (this list has 1 elements). Valid indexes are in the range 1 through the number of elements in the list. »

    How do you get around this problem? TX.

    yoman,

    No need for separate forms. Use a meter to number each group of domain names



    Then loop through the fields in form on your action page




    ... other fields


    UPDATE EventDates
    EventDate SET = "#EventDate #",...

    WHERE EventDateID = #EventDateID #.

    You must validate the values or use cfqueryparam

  • Frequency minimum step length and duration list minimum for the frequency lists in the generator of signals from NI 5406

    Hello

    We need power RF amplifier with a function generator to create plasma in an ion source. The signal pulse duration must be 1ms long, repeated twice per second.

    Today, we work in the following way: we spend the RF with f0 (aprox 1,995 MHz) frequency. After 20, we send a trigger signal passing frequency f1 (aprox 2.005 MHz).  We keep this frequency for the rest of the pulse.  However, the plasma that we generate is not 'constant' or stable during the whole impulse. If we smoothly change the frequency during the pulse we could improve.

    We would like to do: use the frequency sweep: rather than use this frequency hopping, we would like to move smoothly f0 f1 (frequency scanning). Then F1 to f2.

    As we have a PXI for data analysis, we believe using the arbitrary function generator of NOR: 5406 of NEITHER allowing the frequency sweep. However, in the book loads, it is not very clear, and I have a few questions:

    -We can create a "list of frequencies. In the site OR below, it shows that the "minimum of Step' is 1.28us, which would be ok for us (I understand that the"minimum duration of Step"is the minimum time between 2 frequencies). However, the manual of the device "NI PXI/PCI-5402/5406 specifications" said the frequency list has a time step of 1 ms to 21s. What is the good?

    -It is also said that the "duration of minimum list" is 1 s. For us, need us a shorter list that 0.5 seconds (we need to repeat the same pulse twice per second.). Is it possible to do what we want?

    -At the end of the day, we would like to implement a control loop which modifies the list of frequencies in real-time.

    http://zone.NI.com/reference/en-XX/help/370524L-01/nisignal_generators_help/features_by_device_smc/

    Thanks for your help.
    Best regards
    Jose.

    Hi Jose,

    You're right about the inconsistencies of the documentation. The minimum step was of 1 ms, but was changed to 1.28 µs to driver version 2.6. The help document has been modified to reflect that, but the specifications were not. I'll make sure that attaches.

    The length of the minimum list is not listed in the book loads, and the latest version of the help the signal generators OR (driver version 2.9) lists the minimum list than the 1 step length. Aid has changed to the driver version 2.6.1 to clarify that the 1s meant 1 step. I've attached a screenshot of the help of the most recent.

    There is an example that is installed with the NOR-FGEN driver called "Fgen Sweep Generator.vi". I would recommend from this for your application.

    I hope that some of the inconsistencies in our documentation brightened. Please let us know if you have any other questions.

    Elizabeth K.

    Generators of signal produced technical support engineer

  • a loop in the data files in a folder

    Hello

    I need to watch several data files. How can I browse all files in a directory in order to get the data from these files?

    Thank you very much

    An autoindexed FOR the loop would be the way to go.  As we said already, use the folder list feature to get a list of files in the folder.

  • Problem with the folder list

    Hello

    I try to use the folder list to the list of all the files in the folder of LVM. However, I get this error message when I run the VI.

    I tried to key in the pattern such as *.lvm or even using the loop, still do this out of the error message. Please help me.

    See you soon

    PX

    Hi PX.

    I guess you must enter a folder instead of a path of the file LVM.

    Hope this helps,

    Mavis

  • After a power cut my PC is in a loop in the start windows normally, safe mode, last known good configuration screen

    After a power failure when I start my PC, it gets to the screen... "We apologize for the inconvenience, but windows did not start successfully... When I try to reboot in one of the 5 modes to start normally, safe mode, safe mode with command prompt SafeMode with network, last known Noah correct configuration of their work and the loops of the computer to this sreen repeatedly.

    KB307545 is a very bad idea to begin with - especially after a power failure (and it's usually just a very bad idea).  You don't describe symptoms suggestive of a need to run the KB307545, but, I'm not a Microsoft Support engineer so don't hesitate if you are forced to do, and I wish you good luck.

    What you need to do, is start in the XP Recovery Console and run chkdsk/r first.  Is is possible that the blackout damaged your NTFS file system and a chkdsk/r is to clean it.

    Provide information on your system, the better you can:

    What is your system brand and model?

    What is your Version of XP and the Service Pack?

    Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..

    The question was preceded by a loss of power, aborted reboot or abnormal termination?  (this includes the plug pulling, buttons power, remove the battery, etc.)

    The afflicted system has a working CD/DVD (internal or external) drive?

    You have a true bootable XP installation CD (it is not the same as any recovery CD provided with your system)?

    Sometimes, when XP has a problem starting or falls down and tries to start again, it will give you a "short" menu of boot options and none of them will appear to be good to get your system going again.  You have tried them all!

    The options are similar to the Advanced Boot Options menu XP, but the only option that you need (disable automatic error system reboot) are not offered, because XP went too far during the boot process and offers a limited number of boot options.

    If this is the case, you must call Options menu advanced boot yourself until you do not see the option:

    Disable the automatic restart in the event of system failure

    When you get the XP Advanced Options correct start menu you want to see, he has options on it like these:

    Safe mode
    Safe mode with networking
    Safe mode with command prompt

    Enable Boot logging
    Enable VGA mode
    Last good Configuration known (your most recent settings that worked)
    Directory Services Restore Mode (Windows domain controllers only)
    Debug mode
    Disable the automatic restart in the event of system failure

    Start Windows normally
    Reset
    Return to OS Choices Menu

    You need to choose in this menu is the option:

    Disable the automatic restart in the event of system failure

    Then if XP does not start normally, you will see an error screen with information and clues about the problem and then you can decide what to do next.

    If you do not see the automatic restart on system failure option turn it off, you must reset your system and start typing the key F8 on the keyboard until you see her disable automatic restart on system failure option.

    If you miss the window of opportunity F8, you must try again and start tapping the F8 key with more urgency (earlier and more frequently) until you see disable automatic restart on system failure, and then select.

    You must keep trying the F8 menu until you see disable automatic restart on system failure option, and select it.

    If your system has a Blue Screen of Death (BSOD), we need to know what the screen says:

    Here's a BSOD example showing information you provide:

    http://TechRepublic.com.com/i/tr/downloads/images/bsod_a.jpg

    Send for the nose and the Red arrows (3 to 4 lines total).

    Send all * line STOP message since there are clues in the 4 parameters.

    If it looks like there is some kind of name listed in the STOP message file, send this line also.

    Ignore the boring text unless it seems important to you.  We know what a BSOD looks like, we need to know what your BSOD looks like.

    Answering queries and results report of the disable automatic restart on system failure screen and you can decide what to do next.

    See what the BSOD said would be interesting, but I would still recommend that you run chkdsk /r from the XP Recovery Console to make sure your file system is not damaged.

    Answer the questions and we can see what to do next.

  • view the json data in the custom list field

    Hi, I did analysis json and I created the custom list field. Now, I want to display only the data analyzed in my custom list field. I'll post my analyzed data from json and here is the code for my custom list field
    data analyzed.
    I have THREE channels of json and I want to show content tittle and date in the list filed. I'll post the screenshot of my list.

    JSONArray jsnarry = new JSONArray(responce);
                System.out.println("\n--length----- "+jsnarry.length());
                //System.out.println("....................................................=");
                for (int i = 0; i < jsnarry.length(); i++){
    
                    JSONArray inerarray = jsnarry.getJSONArray(i);
                        //System.out.println("\n-inerarray-values----- "+inerarray.getString(i1));
                        String TITTLE = inerarray.getString(1);
                        String CONTENT = inerarray.getString(2);
                        String DATE = inerarray.getString(3);
                                                           System.out.println("TITTLE= "+TITTLE);
                        System.out.println("CONTENT= "+CONTENT);
                        System.out.println("DATE= "+DATE);
    
    }
    

    output

    [0.0] --length----- 2
    [0.0]
    [0.0] -innerarray-length----- 6
    
    [0.0] TITTLE= BJP State President Sanjay Tandon's visit to Amita Shukla's Home
    [0.0] CONTENT=  BJP President Chandigarh Sanjay Tandon at Amita Shukla's Home
    [0.0] DATE= 2013-01-04
    [0.0] ................................................
    [0.0] TITTLE= Sanjay Tandon at mahasamadhi of Satya Shri Sai baba.
    [0.0] CONTENT= BJP Chandigarh President, Sanjay Tandon mahasmadhi of Sri Satya Sai Baba.(Andhra Pradesh)
    [0.0] DATE= 2013-01-13
    

    and my custom list field

           super(NO_VERTICAL_SCROLL);
    
             String TITTLE="TITTLE";
             String CONTENT = "CONTENT";
             String DATE = "DATE";
    
             v.addElement(new ListRander(listThumb, TITTLE, CONTENT,DATE, navBar));
    
             myListView = new CustomListField(v){
    
                 protected boolean navigationClick(int status, int time) {
                     //Dialog.alert(" time in milisec :" + time);
                     return true;
                 }
             };
    

    CustomListField.java

    public class CustomListField extends ListField implements ListFieldCallback {
    
        private Vector _listData;
        private int _MAX_ROW_HEIGHT = 100;
    
        public CustomListField (Vector data) {
    
            _listData = data;
            setSize(_listData.size());
            setSearchable(true);
            setCallback(this);
            setRowHeight(_MAX_ROW_HEIGHT);
    
        }
    
        public int moveFocus (int amount, int status, int time) {
    
            this.invalidate(this.getSelectedIndex());
            return super.moveFocus(amount, status, time);
    
        }
    
        public void onFocus (int direction) {
    
            super.onFocus(direction);
    
        }
    
        protected void onUnFocus () {
    
            this.invalidate(this.getSelectedIndex());
    
        }
    
        public void refresh () {
    
            this.getManager().invalidate();
    
        }
    
        public void drawListRow (ListField listField, Graphics graphics, int index, int y, int w) {
    
            ListRander listRander = (ListRander)_listData.elementAt(index);
            graphics.setGlobalAlpha(255);
            graphics.setFont(Font.getDefault().getFontFamily().getFont(Font.PLAIN, 24));
            final int margin =5;
    
            final Bitmap thumb= listRander.getListThumb();
            final String listHeading = listRander.getListTitle();
            final String listDesc= listRander.getListDesc();
            final String listDesc2= listRander.getListDesc2();
            final Bitmap nevBar = listRander.getNavBar();
    
            //list border
            graphics.setColor(Color.BLACK);
            graphics.drawRect(0, y, w, _MAX_ROW_HEIGHT);
    
            graphics.drawBitmap(margin, y+margin+10, thumb.getWidth(), thumb.getHeight(), thumb, 0, 0);
    
            graphics.drawText(listHeading, 3*margin+thumb.getWidth(), y+margin);
            graphics.setColor(Color.BLACK);
    
            graphics.drawText(listDesc, 3*margin+thumb.getWidth(), y+ margin+30);
            graphics.drawText(listDesc2, 3*margin+thumb.getWidth(), y+ margin+60);
    
        }
    
        public Object get(ListField listField, int index) {
    
            String rowString = (String) _listData.elementAt(index);
            return rowString;
    
        }
    
        public int indexOfList (ListField listField, String prefix, int start) {
    
            for (Enumeration e = _listData.elements(); e.hasMoreElements(); ) {
    
                String rowString = (String) e.nextElement();
                if (rowString.startsWith(prefix)) {
    
                    return _listData.indexOf(rowString);
    
                }
    
            }
    
            return 0;
    
        }
    
        public int getPreferredWidth(ListField listField) {
    
            return 3 * listField.getRowHeight();
    
        }
    
    }
    

    Listrander.Java

    public class ListRander {}

    private bitmap listThumb = null;
    incognito bar Bitmap = null;
    private String listTitle = null;
    private String listDesc = null;
    private String listDesc2 = null;

    public ListRander (Bitmap listThumb, String listTitle, String listDesc, String listDesc2, Bitmap navBar) {}
    this.listDesc = listDesc;
    this.listDesc2 = listDesc2;
    this.listThumb = listThumb;
    this.listTitle = listTitle;
    this.navBar = bar navigation;
    }
    public getListThumb() {Bitmap image
    Return listThumb;
    }
    {} public void setListThumb (listThumb Bitmap)
    this.listThumb = listThumb;
    }
    public getNavBar() {Bitmap image
    return the navigation bar;
    }
    {} public void setNavBar (navigation bar of the Bitmap)
    this.navBar = bar navigation;
    }
    public String getListTitle() {}
    Return listTitle;
    }
    {} public void setListTitle (String listTitle)
    this.listTitle = listTitle;
    }
    public String getListDesc() {}
    Return listDesc;
    }
    {} public void setListDesc (String listDesc)
    this.listDesc = listDesc;
    }
    public String getListDesc2() {}
    Return listDesc2;
    }
    public void setListDesc2 (String listDesc2) {}
    this.listDesc2 = listDesc2;
    }
    }

    You seem to have two problems here and are confusing them.  You must break the problem into two parts

    (1) extract the data from the entry and create the objects you want to display

    2) display in a list, a set of objects.

    Let's get the sorted first premiera.

    I will suggest what to do here, but in practice, you might actually think about this yourself as part of the design phase of your application.  You should do this, not me, because then you will have all the information available.  At the present time, I have just what you said, which is not much.  So maybe what I'm telling you is not correct for your application.  Only you can decide that.  And be blunt here, you should have decided this before you start coding.  Do you want you could lead down the wrong path.  You must think of your application as a home - as the architect must design all the rooms, and how they will be built, before you start building the House.  You do not, then we are building the rooms on the fly.  Who knows if they will be fit at home?

    In this case, I think you need to create an object that represents each of the elements in the internal array of new data.  call this object

    NewsItem

    This object will have attributes, such as its title, content, date, the linked image and so on, each of whom have will get and set methods.  While you treat each inner element fetch you the associated entry and update the object.

    When you have finished the inner loop of processing, you now have a complete

    NewsItem

    Object, so you will add it to a collection, an array of NewsItem objects, call this _newsItems.  You will create it at the beginning - you know how many entries it takes because it is the number of entries in your outdoor table.

    So before you start to deal with JSON, create your table and the 'index' value of 0.

    Once you have created your Newsitem, add this in the table to the position 'index' and increment "index".

    And once you have analyzed all the JSON, you will have a complete picture.  This is part 1 finished!

    And note in your drawListRow, you are given a clue - that is the index in your tables in _newsItems.  So you can easily find which entry to view and display it correctly.  But it is part 2 and is a separate issue.

  • PLSQL code in the selection list

    My query is:

    I have a room list of table names that contain information about the rooms

    capacity seated

    name of the rooms are fetch in the select list: P1_ROOM_NAME that returns the id of the element room hidden

    : P1_ROOM_ID that is used for the third Select: P1_NO_OF_PARTICIPANTS

    I get the error message by filling: P1_NO_OF_PARTICIPANTS

    NO DATA FOUND AND I LIKE INVALID VARIABLE

    I know some people found data are due to: P1_ROOM_NAME IS NOT SELECTED first

    the loading of the page.

    Any idea for the request to: P1_NO_OF_PARTICIPANTS

    sample data and used queries

    create the table room_list

    (number of room_id,

    room_name varchar2 (100),

    sitting_capacity

    );

    insert into room_list values(1,'a',3);

    insert into room_list values(2,'a',1);

    : P1_ROOM_NAME

    SELECT ROOM_NAME, ROOM_ID AS DID R

    OF ROOM_LIST

    To select the list I used

    : P1_NO_OF_PARTICIPANTS

    Lov used cascading point P301_ROOM_ID

    DECLARE

    l_sitting_capacity varchar2 (50);

    Start

    SELECT SITTING_CAPACITY from l_sitting_capacity

    OF ROOM_LIST

    WHERE ROOM_ID =: P301_ROOM_ID;

    BECAUSE me IN 1.l_sitting_capacity

    loop

    RETURN

    "I select as view, I like back"

    the double ';

    end loop;

    end;

    Hi Reema,

    ReemaPuri wrote:

    I wanted to show the numbers in the list of values up to not passed as a parameter.

    for example

    If the capacity is 3 then lov it should show 1,2,3

    Try this example

    SELECT LEVEL AS D, LEVEL AS R
    FROM DUAL
    CONNECT BY LEVEL <= (select 3 from dual);
    

    Here, instead of Select 3 of double replace your query giving you room capacity

    Hope this helps you,

    Kind regards

    Jitendra

  • InDesign CS6 crashes when you try to open the "bulleted list".

    Hello

    My InDesign CS6 crashes when I try to open the "bulleted list" (alt + click).

    Anyone know what I can do to solve the problem?

    CS6 is unsupported under El Capitan. A lot of problems with this combination and CS6 having reached the end of LIFE, you can restore your previous operating system, upgrade to creative cloud or learn to live with it.

  • ORA-01436: CONNECT loop in the user data when the delimited string splitting by the

    I'm trying to split a string into records. The values are three characters more '-' with a limit of 12 values. The values themselves are a combination of two data, the first being two characters, a.

    The following example translates: ORA-01436: CONNECT BY a loop in the user data

    WITH
        Data(Code, Datum)
    AS
        (
         SELECT 'VGCU3VM', '00V-YYG-BVC-PIU-DV3-EVV-TVM-' FROM Dual UNION ALL
         SELECT 'VGAU3VM', '00V-YYG-BVA-PIU-DV3-EVV-TVM-' FROM Dual UNION ALL
         SELECT 'VGLN3CM', '00V-YYG-BVL-PIN-DV3-EVC-TVM-' FROM Dual UNION ALL
         SELECT 'VGLT3PM', '00V-YYG-BVL-PIT-DV3-EVP-TVM-' FROM Dual UNION ALL
         SELECT 'VGAT3RA', '00V-YYG-BVA-PIT-DV3-EVR-TVA-' FROM Dual
        )
    SELECT
        Datum,
        LEVEL,
        SUBSTR(Datum, ((LEVEL - 1) * 4) + 1, 2),
        SUBSTR(Datum, ((LEVEL - 1) * 4) + 3, 1)
    FROM
        Data
    CONNECT BY
        Code    = PRIOR Code
        AND    LEVEL    <= LENGTH(Datum) / 4;
    
    

    Remove the 'Code = Code PREREQUISITE"clause, to avoid the error, but too many records are returned, because nothing is to limit the records in their own groups.

    The following works:

    WITH
        Data(Code, Datum)
    AS
        (
         SELECT 'VGCU3VM', '00V-YYG-BVC-PIU-DV3-EVV-TVM-' FROM Dual UNION ALL
         SELECT 'VGAU3VM', '00V-YYG-BVA-PIU-DV3-EVV-TVM-' FROM Dual UNION ALL
         SELECT 'VGLN3CM', '00V-YYG-BVL-PIN-DV3-EVC-TVM-' FROM Dual UNION ALL
         SELECT 'VGLT3PM', '00V-YYG-BVL-PIT-DV3-EVP-TVM-' FROM Dual UNION ALL
         SELECT 'VGAT3RA', '00V-YYG-BVA-PIT-DV3-EVR-TVA-' FROM Dual
        )
    SELECT
        Datum,
        SUBSTR(Datum, ((Some.Num - 1) * 4) + 1, 2) A,
        SUBSTR(Datum, ((Some.Num - 1) * 4) + 3, 1) B
    FROM
        Data,
        (SELECT LEVEL Num FROM Dual CONNECT BY LEVEL <= 12) Some
    WHERE
        SUBSTR(Datum, ((Some.Num - 1) * 4) + 1, 2) IS NOT NULL;
    
    

    What causes ORA-01436?

    Hello

    Depending on your version, you can add another condition to your CONNECT BY clause.

    It works in Oracle 11.2.0.3.0:

    SELECT

    Point of reference,

    LEVEL,

    SUBSTR (Datum, ((LEVEL-1) * 4) + 1, 2),

    SUBSTR (Datum, ((LEVEL-1) * 4) + 3, 1)

    Of

    Data

    CONNECT

    Code = Code PRIOR

    AND LEVEL<= length(datum)="">

    AND PRIOR SYS_GUID () IS NOT NULL-* ADDED *.

    ;

    Thanks for the display of the data of the sample; This is really useful!

    In addition, relational databases are designed to have 1 piece of information in each column of each row, not a list delimited by up to 12 points.  It is so basic to the design of database he called the first normal form.  You're going to solve a lot of problems even before they occur if you paste to first normal form and change the table structure to resemble the result set of this query.  (Maybe that's exactly why you're doing this query.)

  • refresh the html region when the selection list or selected ir line chang

    Apex 4.2

    Hello

    I made a simple page for test actions.

    I have

    -an interactive report and a selection in my first area list.

    -a field of text (P5000_indid) to keep the selected indid

    -region of html where the source is:

    DECLARE

    CURSOR c_ind IS

    SELECT indid, ind, industry

    IND

    WHEN indid as: P5000_INDID;

    BEGIN

    FOR a c_ind IN LOOP

    HTP.p ("< style b =" white-space: nowrap;) "> Indid: ' |" a.indid |' ---> ' || a.Industry: '< /b > < br / >');

    END LOOP;

    END;

    I'm sorry, but I m a bit confused with all the things I read before and do not know what is possible or not and what is the best practice to:

    1. select in the selectList (is it also possible to retrieve the selected (highlighted) or line in the IR)

    2 update the P5000_INDID

    3. refresh the html box according to the value of P5000_INDID (I was able to refresh an IR according to value, but there was the possibility to say what variable to present, but I have no

    see for the region of html)

    I m doing this test, because in the end, I would like to be able to regresh a small chart according to the selected line of the IR.  Do you think that it is possible to s?

    Sorry for my newbie question

    Thanks for your help

    L.

    OK, I finally found everything that I needed,

    You can test it on:

    http://Apex.Oracle.com/pls/Apex/f?p=53793

    Demo/demo

    the content of the output area now is the result of an application process, according to a parameter.

    It is called with javascript onChange and response replace the contents of the region

    and you can also see that I can now select a line and show it by changing the color of the line, and then update the output.

    and when a line is selected, it resets the selection on the selectList to avoid triggering the event on the selection list.

  • Hi, I want to know what app is included in the license creative Cloud. Some of them are the life of the trial o?

    Hi, I want to know what app is included in the license creative Cloud. Some of them are the life of the trial o?

    Please see the list of the app Explorer Adobe desktop | Adobe Creative Cloud there is no product for the time - life, you will need to purchase within 30 days.

    Concerning

    Baudier

  • moving from one to the other list values

    Hello my dear,
    I want to let the user to move the list value from one list to another list empty on click of a button.
    I filled dynamically on one list * what new form of instance trigger.*
    I m trying to comply with the code on button click on...


    I have to move the shape SO list box item list box.

    declare
         n1 number:=0;
         n2 number:=0;
         list_label varchar2(50);
         LIST_VALUE CHAR(5);
         v varchar2(25);
         
    begin
         n1:=get_list_element_count('DTL.SA');
         n2:=get_list_element_count('DTL.SI');
           IF N2 IS NULL THEN N2:=0; END IF;
        IF N1 IS NULL THEN N1:=0; END IF;
        
         IF N1>=1 THEN
         if :DTL.SA is not null then
              LIST_VALUE:=:DTL.SA;
                 FOR I IN 1..N1
                    loop
           v:=get_list_element_VALUE('DTL.SA',i);
           if v=LIST_VALUE then
                LIST_LABEL:=get_list_element_LABEL('DTL.SA',i);
            delete_list_element('DTL.SA',i);
           end if;
                    end loop;
                    add_list_element('DTL.SI',n2+1,LIST_LABEL,LIST_VALUE);
         END IF;
         END IF;
    end;
    When I run a form, select a value in an intermediate position of a list and press the button it gives a message like * 'ELEMENT OF THE INDEX LIST' * and also move the value in another list.

    When I press the button without selecting all the values in the list, it inserts an element in another list...


    Please tell me how to solve this problem...

    waiting for m...

    Thanks for any response...


    Regarding
    Vishal amine

    Hello.

    I think the problem with your code is that you have to exit the loop when the list item is removed. That way, you can also put add_list_element inside the loop statement. This will also remove the second problem when an empty value is added.

    ...
      FOR I IN 1..N1
        loop
          v:=get_list_element_VALUE('DTL.SA',i);
          if v=LIST_VALUE then
                LIST_LABEL:=get_list_element_LABEL('DTL.SA',i);
            delete_list_element('DTL.SA',i);
            add_list_element('DTL.SI',n2+1,LIST_LABEL,LIST_VALUE); --transfer value inside loop
            exit; -- exiting loop when element found
          end if;
      end loop;
    ...
    

    Best regards

Maybe you are looking for