Dynamic number of panelBoxes in panelDashboard

Hello

I had a scenario where I need to display a series of images in a particular order as a string. When the length of the string is greater than 5, he can display them in the rank, but only in the order of the string, and also the number of images is decided during execution.

So I thought with the use of the panelDashboard with panelBoxes inside, which can be organized running using the columns: 5 of the panelDashboard . But I'm not able to use the af: forEach inside the panelDashboard. This prevents me from doing a dynamic creation of the panelBoxes.

So somebody please give me a way to do it... or a better way to meet the requirements

Hello

Have you tried to run the page regardless of the error? Just tried with

                
                
                    
                        
                    
                    
                

And be able to see 5 panelBoxes inside panelDashboard.

Arun-

Tags: Java

Similar Questions

  • Dynamic number of pages

    Hello
    I need to create a RTF model with dynamic number of pages.
    Let me explain:
    I have a (my_page_number) page number recorded on the database and I want to start my model with a page number that is

    my_page_number + PAG

    Number of automatic page in MSWORD designating PAG.

    Can someone help me?

    Thank you!
    Good bye
    Daniela

    Hello Daniela,

    using the query, it search in the report.

    You use the following syntax

     in your rtf to make the report to start from page number.
    
    If Your xml looks like
    
    51
    ....
    ...
    ...
    
     
    
  • grouping data with a dynamic number of levels

    Is it possible to do something like:

    < cfloop... >
    < cfoutput group =... >
    ...
    < / cfloop >

    < cfoutput >
    ...
    < / cfoutput >

    < cfloop... >
    < / cfoutput >
    < / cfloop >

    I tried but it doesn't seem to work. I would like to consolidate data from several levels deep, with a dynamic number of levels. I don't know it in advance. Is it possible to do?

    Thank you

    Roman

    Hello

    You cannot place the tag inside a it will throw an error...

    Why don't you do the grouping at the query level?...

  • Dynamic number of columns in the table

    Hello

    I use JDev 10.1.3.3.0 with ADF. I just want to create a table, with a dynamic number of columns in the table. The background is that a user of my webapplication can create and submit a sql query. Now, I have to show him the results. My idea was, I have save the result in a bean managed (ResultTable), which is stored in the session context and map at my table in my page.

    If I search the Forum and don't get only one useful thread: {: identifier of the thread = 971888}, but I don't exactly understand. What is the CollectionModel? Do I need this?

    I'm trying to report on the following:

    ResultTable
    public class ResultTable {
    
        public static final String SESSION_NAME = "ResultTable";
        private ArrayList<ResultColumn> columnList; 
        private CollectionModel collectionModel;
    
        public ResultTable() {
        }
    
        public ArrayList<ResultColumn> getColumnList() {
            return columnList;
        }
    
        public void setColumnList(ArrayList<ResultColumn> columnList) {
            this.columnList = columnList;
        }
    }
    ResultColumn
    public class ResultColumn {
        
        private ArrayList<ResultRow> rowList;
        private String name;
    
        public ResultColumn() {
        }
    
        public ArrayList<ResultRow> getRowList() {
            return rowList;
        }
    
        public void setRowList(ArrayList<ResultRow> rowList) {
            this.rowList = rowList;
        }
    
        public String getName() {
            return name;
        }
    
        public void setName(String name) {
            this.name = name;
        }
    }
    ResultTable
    public class ResultRow {
        
        private String value;
    
        public ResultRow() {
        }
    
        public String getValue() {
            return value;
        }
    
        public void setValue(String value) {
            this.value = value;
        }
    }
    My showResult.jspx
    <af:table emptyText="No items were found"
              value="ResultTable.columnList"
              var="column"
              varStatus="colStatus"
              id="table1">
      <af:forEach items="#{column.rowList}" var="row" varStatus="rowStatus">
        <af:column sortable="false" headerText="#{column.name}" 
                   id="column#{colStatus.index}">
          <af:outputText value="#{row.value}"
                         id="outputText#{rowStatus.index}"/>
        </af:column>
      </af:forEach>
    </af:table>
    The ResultTable was filled with data, but the Board is not filled. So, I think, it must be rejected to the data binding.

    I get warnings and errors to run too. But I don't know if they are the result or cause of my problem.
    27.10.2009 10:15:41 oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer renderTableWithoutColumns
    WARNUNG: Table with id: form1:table1 has no visible columns!
    27.10.2009 10:15:41 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElement
    SCHWERWIEGEND: Element End name:span does not match start name:div
    27.10.2009 10:15:41 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElement
    SCHWERWIEGEND: Element End name:span does not match start name:div
    27.10.2009 10:15:41 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElement
    SCHWERWIEGEND: Element End name:form does not match start name:span
    27.10.2009 10:15:41 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElement
    SCHWERWIEGEND: Element End name:body does not match start name:form
    27.10.2009 10:15:41 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElement
    SCHWERWIEGEND: Element End name:html does not match start name:body
    Concerning

    Majo

    Hi Mario,.

    
      
        
          
        
      
    
    

    Note that your JSPX snippet above has serious shortcomings:

  • 'ResultTable.rowList' is not an EL expression, but the value attribute of the af: table must refer to an EL expression
  • Items AF:foreach = "#{row.cellList}"-you don't have to store information about the columns of all rows, more it won't work as af:forEach tag may not see the value of the expression of EL #{line} (or any component EL expression created). " See the tagdoc here: http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/forEach.html
  • "ID =" Column #{cellStatus.index} "and id =" outputText #{rowStatus.index} "are invalid and that they don't compile even as id attributes cannot contain EL expressions.

    .

    I think to solve your problem, you need three things:

  • List of columns (for example the list If you need to store only the names of column or list If you need additional information),.
  • list of lines,
  • a line can be a map (with the name of the column - cell data mapping; card e.g.) or a list (with columns indexed; for examplelist).

    Example with the lines of the map:

    JSPX snippet:

    
      
        
          
        
      
    
    

    The ResultTable bean:

    public class ResultTable {
    
        private List columnList;
        private List> rowList; 
    
        public ResultTable() {
        }
    
        public List getColumnList() {
            return columnList;
        }
    
        public void setColumnList(List columnList) {
            this.columnList = columnList;
        }
    
        public List> getRowList() {
            return rowList;
        }
    
        public void setColumnList(List> rowList) {
            this.rowList= rowList;
        }
    
    }
    

    Type ResultColumn:

    public class ResultColumn {
    
        // additional fields if needed...
        private String name;
    
        public ResultColumn() {
        }
    
        public String getName() {
            return name;
        }
    
        public void setName(String name) {
            this.name = name;
        }
    }
    

    AF:table display correctly after the initialization of the values in your beans properly filled ResultTalbe (e.g. to fill the list of rank with the lines).

    Hope this helps,
    Patrik

  • How to have a dynamic number of tables where new rows can be added

    Hello
    I'm new to ADF and have a task where I on a single page should I show that a dynamic number of tables and each table below should show some fields and create a button to create new lines in the table. To be more precise each table show an education for the individual and the rows of the table shows the meanders of specific education.
    I thought to use a treetable but don't think it's the right way to go because of the new line add feature - I'm not sure of the combination of having a dynamic number of tables and the ability to create new lines of each table.
    If you know where I can find a model similar to the one above or just give me your opinion on how to solve it, it would be much appreciated.
    I get the data from a Web service.

    This is a small sample.
    It could be improved for more information.
    work for you?

    Class Education
    public class {education
    private string ID;
    description of the private channel;
    private list class ArrayList = new();
    Public Education() {}
    }

    {} public void setId (String id)
    This.ID = id;
    }

    public String getId() {}
    return the id;
    }

    {} public void setDescription (description of the chain)
    This.Description = description;
    }

    public String getDescription() {}
    return description;
    }

    public void setCourses (list of courses of ) {}
    This.courses = run;
    }

    public getCourses() {list
    return of the course;
    }
    }

    classroom

    public class {course
    private string ID;
    description of the private channel;
    teaching of teaching private;
    public Course() {}
    }

    {} public void setId (String id)
    This.ID = id;
    }

    public String getId() {}
    return the id;
    }

    {} public void setDescription (description of the chain)
    This.Description = description;
    }

    public String getDescription() {}
    return description;
    }

    {} public void setEducation (education)
    This.Education = education;
    }

    Public Education getEducation() {}
    return of education;
    }
    }
    Managed Bean

    public class {Manage
    private list of educations of ;
    selectedEducation of teaching private;
    selectedCourse of course private;

    public Manage() {}
    educations = new ArrayList ();
    for (int x = 1; x)<= 10="" ;="" x++="" )="">
    E education = new Education();
    e.setId(""+x);
    e.setDescription ("education" + x);
    for (int i = 1; i)< 3;="">
    Class c = new Course();
    c.setId (e.getId () +'.) » + i) ;
    c.setDescription (e.getDescription () +": courses"+ i);
    e.getCourses () .add (c);
    }
    This.Educations.Add (e);
    }

    }
    public String actionAdd() {}
    Add the code in the event here...
    TODO invoke the web service proxy to add courses
    Class c = new Course();
    c.setId (this.selectedEducation.getId () +'.) (' + (this.selectedEducation.getCourses () .size () + 1));
    c.setDescription (this.selectedEducation.getDescription () +": courses"(this.selectedEducation.getCourses () .size () + 1));
    this.selectedEducation.getCourses () .add (c);
    Returns a null value.
    }

    public String actionQuit() {}
    Add the code in the event here...
    TODO invoke the proxy web service to stop the course of education
    int index = this.selectedEducation.getCourses () .indexOf (this.selectedCourse);
    this.selectedEducation.getCourses () .remove (index);
    Returns a null value.
    }
    public void setEducations (list of educations ) {}
    This.Educations = educations;
    }

    public getEducations() {list
    TODO invoke the web service proxy to get educations
    return of the educations;
    }

    {} public void setSelectedEducation (selectedEducation education)
    this.selectedEducation = selectedEducation;
    }

    Public Education getSelectedEducation() {}
    Return selectedEducation;
    }

    {} public void setSelectedCourse (course selectedCourse)
    this.selectedCourse = selectedCourse;
    }

    public class getSelectedCourse() {}
    Return selectedCourse;
    }
    }

    JSPX



    xmlns:h = "http://java.sun.com/jsf/html".
    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:afh = "http://xmlns.oracle.com/adf/faces/html".
    xmlns:af = "http://xmlns.oracle.com/adf/faces" >

    DOCTYPE system = "http://www.w3.org/TR/html4/loose.dtd".
    doctype-public = ""-/ / W3C / / DTD HTML 4.01 Transitional / / IN "/ >"





    Content = text/html"; charset = windows-1252 "/ >"








    var value = "#{Education.courses}" = "course" rows = "5" "
    strips = "row" bandingInterval = "1" >












    to = "#{Manage.selectedEducation}" / >





    to = "#{Manage.selectedEducation}" / >

    to = "#{Manage.selectedCourse}" / >











    faces config xml


    "- //Sun Microsystems, Inc.//DTD JavaServer Faces 1.1 Config / / IN".
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd" >


    manage
    com.test.Manage
    session


    Oracle.ADF.Core

  • ADF trigger dynamic number of components

    I have an addiction to view object class three levels-> category-> subclass and want to create a dynamic form with the following logic:
    When the user selects a category drop down, page is updated with a number of drop-down lists of class with all subclasses - that is, I have a dynamic number of components selectOneChoice depending on the category selection. Dependence of the class category is implemented with valueChangeListener category Classes of queries with the category Id, class subclass is simple link display / tree of the value binding. Value of subclass for backing bean binding is done with a hash table.

    ADF faces framework let me recreate the elements of the actual page with partial-page rendering (or some other mechanism)?
    Should I completely re - generate all the components of selectOneChoice inside forEach whenever the user changes category.


    My components in the page:


    < af:selectOneChoice value = "#{bbean.category} '"
    label = "category".
    autoSubmit = 'true' immediate = "true".
    ID = 'category' valuePassThru = 'true '.
    valueChangeListener = "#{bbean.categoryChanged}" >
    < f: selectItems value = "#{bindings." Categories.Items} "/ >"
    < / af:selectOneChoice >


    < af:forEach var = 'class' items = "#{bindings." Classes.Children} ">"
    < af:selectOneChoice value = "#{bbean.subclass [class.id]}" "
    label = "#{Class.Name} '"
    partialTriggers = "category".
    ID = "class" valuePassThru = "true" >
    < af:forEach var = "subclass" items = "#{class.children}" >
    < af:selectItem label = "#{subclass.name}" value = "#{subclass.id}" / > "
    < / af:forEach >
    < / af:selectOneChoice >
    < / af:forEach >



    The above code is a development of earlier less complex UI. For everything I tried I can't get to the desired effect. When I change the category it does not affect sub-drop downs somehow. If I activate the valueChangeListener category, category change cause the validation phase null property exceptions:

    2.9.2008 14:05:40 com.sun.faces.lifecycle.ProcessValidationsPhase run
    SEVERE: Error test 'null' property at the bean of type my.project.view.managed.Search$ 1
    javax.faces.el.PropertyNotFoundException: error test 'null' property at the bean of type my.project.view.managed.Search$ 1
    ...

    Erik,

    Instead of making components selectOneChoice have 'category' as their partial triggers, what happens if you set partialTriggers = 'category' on a parent of these selectOneChoices component?

    John

  • Ability to pass dynamic number of entries to a procedure using native SQL?

    Hello

    We have end users to do things like this:

    var x refcursor;

    exec some_proc (1234,: x);

    print x;

    Now, they want to use dynamic multiple entries like this:

    var x refcursor;

    exec some_proc (1234 5678, 9011,: x);

    print x;

    Yes I know you could do something like this:

    Create the type t_num is table of number;

    declare

    v_nums t_num: = t_num (123,456,789,234);

    v_result sys_refcursor;

    Start

    some_proc (v_nums, v_result)

    end;

    But they have some old piece of middleware simplifying procedure calls which it can handle data types and cursors.  So I was wondering if there is a way to fill a cursor using native sql to succeed in a procedure?  Yes I am assuming that the answer will be no, but I wanted to just make sure.

    But they have some old piece of middleware simplifying procedure calls which it can handle data types and cursors.

    Too old to take a string delimited as input?  Then cut the string and fill it with v_nums in some_proc?  Does not seem a lot of work.

  • How to set the page dynamically number in a URL?

    Hi, I would like to know how to dynamically set the number of pages in one URL. I have a report that shows me a list of options, and each option has a specific associated page number. I would like to redirect the user to a specific page, depending on the option, click it. (The values of the elements of the report, comes from a table that has two columns: opinion on, page_name)

    Thank you

    Just do the report column a link (in the attributes report > column attributes) and change the target to a url. The url should be something like

    f? p = 1: #MYPAGENUMBERCOLUMN #:Session:Request:Debug:Clearcache:itemname:itemvalue:printerfreindly

  • spawn the dynamic number of incoming clones (PtByPt vi)

    Hello

    I remember a few years ago, I saw an example of what I'm trying to do now, but I can't find it. I have an idea of which way to go, but I would ask first of all here advanced coders.

    Scenario: I need to follow some binary a TCP/IP stream indicators, and a useful VI is the "PtByPt.vi of through Boolean" for this. However, I have a lot of channels I need to monitor the 'rising edge' independently. If I had just a few channels, I could go into the following not too elegant statically (see below, the case of structure must be configured manually for all items).

    I know that the solution involves a dynamic technique of appeal VI, but I would like to ask your advice, how to properly and effectively? Thank you very much!

    Have you seen this page here? http://zone.NI.com/reference/en-XX/help/371361H-01/lvconcepts/asynchronous_vi_calls/

    More specifically, read the last two points - if you open a single reference, then it will run the VI on the way home. If you open the reference several times, it is allocated in advance for each call (reference) should retain its own memory space.

    For an example - look at the second diagram at this link: http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/acbr_call_and_collect/

  • Rows of columns, dynamic number of rows.

    Hi all

    I want to do a query on a version of oracle 10.2.0.4.0 database but I can't find a way to do it.
    Then I have an example of what I need to do:
    account     gadget
    111        iphone
    111        ipad
    111        nokia
    111        pencil
    222        hard drive
    222        iphone
    222        nokia
    333        pencil
    444        pen drive
    444        nokia
    I need to get the following result:
    account     gadget
    111        iphone|ipad|nokia|pencil
    222        hard drive|iphone|nokia
    333        pencil
    444        pen drive|nokia
    I tried the following diferent queries based on examples I tried to understand:
    select account, Cursor(select gadjet from user_gadgets e2 where e2.account = user_gadgets.account)
    from (select distinct account from user_gadgets ) user_gadgets;
    
    SELECT account, CAST(MULTISET(SELECT account FROM user_gadgets  e
    WHERE contrno = e.contrno) AS
    varchar2_table_t) FROM user_gadgets e GROUP BY account;
    
    select
    account
    ,sum(case when account = 'iphone'     then 'iphone' end)  as IPHONE
    from crm_user_equipments@dbl_tabsdmx
    group by
    account
    I was unable to make the first two work and the third party cannot be applied because I have a dynamic list.

    Impossible to apply options to third because both columns: account contains thousands of distinct values and gadget contains nearly 80 different objects and it is changing.

    Thank you and best regards,
    Ricardo Tomas

    Add this function:

    FUNCTION join_cursor
    (
        p_cursor    sys_refcursor,
        p_delimiter VARCHAR2 := ',' -- set a default delimiter
    
    ) RETURN VARCHAR2
    IS
        l_value  VARCHAR2 (32767);
        l_result VARCHAR2 (32767);
    
    BEGIN
        LOOP
            FETCH p_cursor
             INTO l_value;
    
            EXIT WHEN p_cursor%NOTFOUND;
    
            IF l_result IS NOT NULL THEN
                l_result := l_result || p_delimiter;
            END IF;
    
            l_result := l_result || l_value;
        END LOOP;
    
        CLOSE p_cursor;
    
        RETURN l_result;
    END join_cursor;
    

    Run this query:

    SELECT acc AS account,
           join_cursor(CURSOR (SELECT gadget FROM user_gadgets where account = acc), '|') AS gadget
      FROM (SELECT unique account AS acc
              FROM user_gadgets
           )
     ORDER BY acc
    

    Output must be what you expected.

    Published by: Starlight Rider, 29 Sep, 2010 14:02

  • Dynamically spawning cRIO demons using 'open VI ref' and ' Start Asynchronous Call?

    Hello

    I am creating a cRIO application that must lay a dynamic number of processes based on events that occur during execution. On the Windows platform, it's relatively simple, just get a VI reference or reference of vi of typedef'ed static, strict, etc., then run. works like a charm. I can't get this to work on the cRIO.

    Someone can tell me quickly or to the list, the restrictions (if any) and proposed the method to achieve this?

    Thank you!

    Q

    Hi q:

    Can you give us an overview of how you are trying to do now?  I ask because you should be able to use the same method that you used on the Windows.

    If your project contains your main VI as well as the screws, you want to call dynamically, all screws must be in the same place.  So, you should be able to provide the path to the dynamic VIs using the method of access to your VI main road and replacing the main name of VI with the dynamic name of VI.  So that it works, make sure you deploy all the screws under your cRIO controller.

    There are no restrictions, I see then this gives a shot and let us know if you have more trouble with it.

  • Open script...  Dynamic values

    I recorded a script to create an invoice, I'm trying to repeat the script for n number of times, I want to set the number of the invoice to dynamic value like "ABCD_1", "ABCD_2", "ABCD_3"...

    How can I dynamically set the value...

    for example:

    Forms
    .textField (42,
    "//forms:textField [(@name = 'INV_SUM_FOLDER_INVOICE_NUM_0')]") "."
    *.setText("{{ABCD_1}}"); *
    {
    Think (0.666);
    }


    Thank you!

    Hello

    // Deriving unique number
    
              long l_timestamp;
              Calendar now = Calendar.getInstance();
              l_timestamp = now.getTimeInMillis();
              String s_uniquenum = new String();
              s_uniquenum = Long.toString(l_timestamp, 0);
              s_uniquenum = s_uniquenum.substring(8);
                    getVariables().set("ABCD_1", s_uniquenum);    //if you want to add a string with dynamic number then use "your_string"+s_uniquenum instead of s_uniquenum
    

    If variable ABCD_1 contains a unique number that is dynamic. You can use it as follows:

    forms
    .textField(42,
    "//forms:textField[(@name='INV_SUM_FOLDER_INVOICE_NUM_0')]")
    .setText("{{ABCD_1}}");
    

    Solution based on the code found in Starter Kit

    Kind regards
    Dembélé M

  • Oracle PL/SQL Web service - dynamic parameters... possible?

    Oracle 11.2.0.3 - newbie on web services!

    Currently we have a pl/sql web service takes 2 static parameters and return a response of varchar2.

    Asked me today if it is possible for a web service in a dynamic set of parameters and return a set of results. It's as if I have to pass the web service a table with two columns and return an array from a column.

    For example:
                        Input                          Output
              1 2                             3
              3 4                             7 
              5 6                            11
    of course in XML output. Is it possible?

    p.s. I posted this in OC4J also - no response so the re-post!

    Parameters related to the procedures. Web services require XML messages.

    Where are the settings? You cannot pass a dynamic number of parameters in a procedure, but you can pass a structured as a parameter type that can contain multiple values, either a table/collection type or document XML itself.

    All package values in the XML file and pass it to the web service.

    If this isn't answering your question, please post more information, with some sample data and code. Read the FAQ: {message identifier: = 9360002}

  • dynamic query for package does not work

    Dear members,

    I have problems with a package in the creation and analysis of a dynamic query in the WHERE clause. Here is an example of what I'm trying to do:

    PROCEDURE test_status_proc)
    wtd_cursor ON cur_type
    date_1 IN date
    date_2 IN DATE
    status in VARCHAR2,
    flag in VARCHAR2)

    IS

    status_sql VARCHAR2 (250): = NULL;
    flag_sql Varchar2 (100): = NULL;

    BEGIN


    Status of the IF = 'A' THEN
    lv_status_sql: = 'A ';
    lv_flag_sql: = 'Y ';
    END IF;
    Status of the 'I' = IF THEN
    lv_status_sql: = 'A ';
    lv_flag_sql: = 'n';
    END IF;

    Status of the 'R' = IF THEN
    lv_status_sql: = "R";
    lv_flag_sql: ='* ';
    END IF;

    Status of the IF = n THEN
    lv_status_sql: = 'n';
    lv_flag_sql: ='* ';
    END IF;

    IF status_code = 'IRN' THEN
    "lv_status_sql: = '('' N'','' R'');
    lv_status_sql: = lv_status_sql | ' OR (s.status = s.flag = "A" AND "N")';
    lv_usecalc_sql: ='* ';
    END IF;

    Status of the = IF'* ' THEN
    lv_status_sql: ='* ';
    lv_flag_sql: ='* ';
    END IF;

    OPEN FOR Test_cursor

    SELECT * from test_status s
    WHERE
    s.Daytime BETWEEN date_1 AND date_2
    S.status AND decode (lv_status_sql,'* ', s.status, lv_status_sql)
    S.flag AND decode (lv_flag_sql,'* ', s.flag, lv_flag_sql);

    The problem I have is especially with the condition 'IRN '. The suite WHERE the part of the clause looks like the following in the lv_status_sql, but the query returns all the values:

    -(', 'R') OR (s.status = 'A' AND s.flag =' only)

    Any help would be much appreciated.

    Kind regards

    dreporter wrote:

    Thanks for your reply and I completely understand your frustration. The problem is sometimes it is very difficult to describe all of the problem due to several reasons. Please take a look at my last post to see if that makes sense.

    If you really need SQL dynamic - true dynamic SQL which includes dealing with dynamic number of bind variables - then DBMS_SQL are an excellent interface to use.

    You can generate the dynamic SQL statement based on the question of whether the filter criteria is null (do not use) or not null (use as a predicate). For example

    if someParam10 is not null then
      // someParam10 needs to be used as a filter predicate
      dynamicSQL := dynamicSQL || ' and some_col_10 = :someParam10 ';
    end if;
    

    This statement can then be analyzed using the DBMS_SQL interface. The binding of values uses the same logic that was used to create predicates. For example

    if someParam10 is not null then
      // someParam10 is used and needs to be bound
      DBMS_SQL.Bind( myCursor, 'someParam10', someParam10 );
    end if;
    

    So, with this approach simplistic, you can easily create a dynamic SQL with variable predicates, dynamically bind these and run the slider.

    Bind variables are used in the dynamic SQL statements, as there are very few threats of SQL injection. And the basic principles observed for shareable SQL creation - the same set of parameters not null to filter, will result in the same SQL statement, which allows the cursor within the Pool shared for this SQL statement to be reused.

    So, technically, dynamic SQL is not a major problem (if used correctly). The major problem is that if really necessary to address the requirements of the business at hand.

    The problem I have with many comments here want to use dynamic SQL statements, is that it is used as one would use a file i/o interface.

    For file IO you want standard Open(), Read(), Write() and Close() calls. And you, the appellant, simply pass the name of the file and the data to write or to receive the data read.

    Similarly, these posters want to use SQL to open a table and read and write the data column - and do it by calling simply (and dynamically) by specifying the name of the table and column. Approaches to dynamic SQL based on one such concept is wrong. And shows that much of the ignorance of what a RDBMS is and how to use an RDBMS.

  • Dynamic creation of items in the dataProvider

    I am trying to find a way to display a dynamic number of objects with a datagroup and an itemrenderer. The problem is that all the examples I found do not show data running statically in the MXML tags (see the example below, in the ArrayCollection collection). Is it possible to have a picture or a vector of objects defined in actionscript that I can dynamically change and have it affect the DataGroup & ItemRenderer?

    
    
    
                                       <s:DataGroup itemRenderer="components.itemrenderers.myItemRenderer">
                             <s:layout>
                                  <s:VerticalLayout/>
                             </s:layout>
                             <s:dataProvider>
                                  <s:ArrayCollection>
                                       <local:Person firstName="Alain" lastName="Hufkens"/>
                                       <local:Person firstName="Hugh" lastName="Hefner"/>
                                       <local:Person firstName="Jimi" lastName="Hendrix"/>
                                  </s:ArrayCollection>
                             </s:dataProvider>
                        </s:DataGroup>
    
    
    
    

    You can assign a dataProvider in the script.

    object.dataProvider = someArrayCollection;

Maybe you are looking for

  • My mix of favorites not here

    So I am using iOS 10 beta through the summer and noticed not long ago that Apple activated the my new Mix of music in music from Apple. So far, this mix has been really good to send me songs, I'm a bit interested. However, I know, it is also supposed

  • Re: Problem with downloading the files of more than 500 k, YES KB

    Hey you,. I wanted to upload files in my email account, but it still fails.Could someone help me? I use a stick of the internet on a Satellite U900-12J. It does not work with Filezilla, Google, Chrome, Thunderbird,..., only wiorks for the small downl

  • How to recover photos from the iPad after restore without backup?

    So, days ago I had to change my iPad password and I did it, but after a few hours when I tried to open my iPad I just forgot what has changed the password, so I had to restore my iPad (recovery mode), I have a backup or something so everything was go

  • HP Pavilion Notebook 15-p035nd: Bluetooth does not

    Measures taken before posting: -Update driver Bluetooth through the support of 3hp.com -several reboots -disabled + material bluetooth enabled -several good bluetooth devices doublechecks works next to the laptop: work and the pair with eachother, bu

  • Looking for advice on navigation in the TestStand API.

    I use TestStand for a few months now (self-taught using a LV architect with experience of the TS) and I think I will do certain things programmatically at run time and finished watching the massive array of properties/methods, etc. and ask yourself w