Dynamic Tables - Coordinated Drop Downs

Hello Community
This is my first post and i am new in all this so please forgive if any...newbiness comes out! :P
Anyway what i wanted to ask if there is a way or a tutorial to add, appart from Coordinated Drop-Down Lists also a dynamic Table!
What i mean by that is that the coordinate drop down lists eventually create a query to the database which actually dont know which table the user might select. So e.g. if we take the travel DB provided he could choose the trip table or another one. So how could i drop a table in the design view but somehow to bind it according to what the user has selected to the preivous drop down lists??
I hope i am clear enough and if i am not please let me know so to explain!
(URL to tutorials, examples, samples or whatever more then welcome)
Thank you in advance

hello again
i saw that already but for example it says:
Drag and drop a JDBC table from the servers tab, say Data Sources -> travel -> trip, on to the designer. <<<that is what i mean...that the final result now will already be connected with the table trip of the travel database!
What if i want to use the travel database indeed but it will be up to the user which talbe (or joined table) will be displayed. Because imagine a simple query:
" Select * from ? "
so in this case i would like the table to filled and show everything but from the table of the database that the user will select on the run time from a drop down list!
Can i do that somehow?

Similar Messages

  • Dynamic table with drop down lists

    I have a Dynamic table with a header row, Section and footer row.
    Section has the following cells(columns): Cell1 (drop down with locations), button (to remove row), CCode (Color Code RAL), CName (color name).
    I'm starting with 1 row.
    now what I want to do is, when they select in CCode e.g. RAL 1003 (rawValue "1") then in CName the name "signal yellow" (rawValue "1") should appear.
    I'm using javascript
    My first problem is how do I know which value is chosen, because this isn't working:
    if  (this.rawValue == 1)
    xfa.host.messageBox('Today')
    and second how do I set the value in CName
    because this only sets it in the first CName cell:
    xfa.form.DataSheet.TechnicalInformation.Markings.THatchPatterns.Section.CName.rawValue = '1';
    Please help me, I'm totally lost

    solved the problem, instead on change event put script on exit event.
    and the following line does the trick:
    xfa.resolveNode("THatchPatterns.Section[" + this.parent.index + "]").CCode.rawValue = this.rawValue

  • Coordinated Drop downs

    I have checked out the tutorial on coordinated drop downs - but for some reason I am unable to get it to work. I am using an Oracle DB - 10.1.0.3.0 on Solaris 10 x86 - and JavaStudioCreator EA2.
    After editting my session bean - myRowSet - and add a Query Criteria ( = ? ) and running my jsp page - I always receive the following error:
    com.sun.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: java.sql.SQLException: Missing IN or OUT parameter at index:: 1
    I am new to this - completely new - so I am unsure what is causing the problem. I am able to run the query from the design window and give it the parameter - it will work from there - but when I deploy I never even get as far as seing my page.
    Any help or direction would be appreciated.
    Thanks
    -Tony

    Hi,
    Please post the Creator2 queries to Creator 2EA forum at
    https://feedbackprograms.sun.com/login.html
    MJ

  • AJAX for coordinated drop downs

    At the moment, using Virtual Forms to load values from database in one drop down on selection of some value in another drop down i.e. just like coordinated drop down example.
    It works fine, but it refreshes whole page.
    Just wondering, if I could use AJAX in this scenario, has any body used or implemented for existing drop downs? Will be very helpful if one can give me some pointers or point me (or post) some relevant examples/code.
    Thanks.

    Some resources that you might find helpful:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/textcompletion.html
    In that same component library is the Select Value Text Field (which has a drop-down). You can learn about the Select Value Text Field here in the Building AJAX-Based JavaServer Faces Web Applications With Sun Java Studio Creator hands on lab at http://www.javapassion.com/handsonlabs/5655_ajaxcreator.zip
    You might also want to look into Using the dojo ComboBox in a Java Studio Creator Project at http://blogs.sun.com/divas/entry/using_the_dojo_combobox_in

  • Tables and Drop Down Lists

    This is my first time using LiveCycle Designer (8.2)
    I've tackled quite a few things thanks to the information I've found in these forums, but I have reached my complexity limit.
    I am trying to create a survey form that follows a process map with sub-process maps.
    Just to provide an idea of magnitude, one process map has eleven sub-process maps.
    I created a dynamic table with the ability to add and delete rows on a flowed page.
    The first row first column contains a drop down list.
    For each selection in the drop down list, the form requires eight inputs.
    Currently, I just copied the dynamic table for each subprocess.
    Each sub process map will have a running calculated total based on two inputs and a cost based on input.
    The overall process map will have the same.
    The entire section should seperatly show a sum total.
    I don't really know what would be best, but was thinking something along these lines:
    based on the selection in the drop-down-list, if someone selects one of the sub-process maps
    the row changes to allow the drop-down-list to be the one associated with that subprocess and
    the two running totals show up and remain at the bottom of the table.
    Only problem, is I have no idea how to do this.
    I have tried making the tables invisible, but they still show the input areas of the input boxes.
    Anyone feel like helping me figure this out?
    Also, isn't there a way I can populate a drop down list using EXCEL?  I don't want to manually input thousands of process titles.
    Oh, I don't have any XML capabilities, I am not connected to a server or any database, and everything runs at the client.

    Thanks for the input, I will watch the video.
    I was suprised that no one offered up any suggestions.
    I changed the design of the form.  I didn't want to, but I was able to get the product out on time.
    Just out of curiousity,
    Can I have a dynamic drop down list (A = {a1, a2, a3, a4}) that populates another drop down list (B = {b1, b2, b3, b4, b5} ) in table (Tb1) with one of the choices in the second drop down list (B = {b5}) is a dynamic choice that makes multiple expanding tables (Tc2, Te4, Tf5 out of a total of seven tables) appear each with their own (unique) drop down list?
    Or,
    Would it be easier to have the first choice (i'm probably using this word incorrectly) "index" the options for the other drop down lists, etc....

  • How to change the sort order of complex table in drop down

    Hi Team,
    I have a complex table which is working but the sort order i want in a different way. How can i change?
    Regards,
    Gupta

    Gupta,
    My screen field definitions are as follows:
    1. Location
    2. Partner
    --In my previous reply, the first screen shot is without any parent index. So it is giving all values in alphabetical order only.
    --After that I created parent index for partner with location, So the partner values are depend on location chosen.
    In my TEST1:
    --I just selected "Andhra pradesh" as location, In partner field drop down it is showing "Ragava" "Suman" "Sunitha" only.
    --Because these are only the values belong to "andhra pradesh" location and these are coming in alphabetical order only.
    TEST2:
    --Here I selected "Gujrat" as location, In partner field drop down it is showing "Avinash" "Mohan" "Suman" which are belong to "Gujrat" location, These are also in alphabetical order only.
    Hope this clears now. Still any query please post.
    Thanks,
    Swaroopa.

  • Benefits and Payment - overview table and drop down are not populated

    Hi All,
    Overview dropdown and table are not getting populated. I have checked the flow of code in Web Dynpro
    1)Vcrem2Comp
    2) Component FcRepFramework
    Tried to check whether these values are coming from ABAP side by using
      wdcomponentapi message manager.
    Please guide
    Regards,
    Ganga

    Below is the code i am using:
        @Override
        public void start(Stage stage) throws InterruptedException {
            // create the scene
            stage.setTitle("Test");
            Pane stackPane = new Pane();
            Browser browser = new Browser();
            stackPane.getChildren().add(browser);
            Rectangle2D primaryScreenBounds = Screen.getPrimary().getVisualBounds();
            webScene = new Scene(stackPane, primaryScreenBounds.getWidth(), (primaryScreenBounds.getHeight()-50), Color.web("#666970"));
            //webScene.getStylesheets().add(this.getClass().getResource("main.css").toExternalForm());
            stage.setScene(webScene);
            stage.show();
    class Browser extends Region {
        final WebView browser = new WebView();
        final WebEngine webEngine = browser.getEngine();
        public Browser() {
            //apply the styles
            getStyleClass().add("browser");
            // load the web page
            String url = "http://localhost:8000/myApp";
            webEngine.load(url);
            //add the web view to the scene
            getChildren().add(browser);
    When i run with normal url, the drop down are coming in bigger font size and bold. But when i run through Javafx, the drop down list items are coming as small size and normal font. I can provide the screen shots but not sure how to paste the images here or attachments. Let me know if any more information is required.

  • Dynamic change of drop down values

    hi gurus,
    I got a peculiar senario.
    i have three fields on modlue pool screen which are having drop downs.
    based on the selected value in the first drop down second drop down values has to display.
    suppose.
    first drop down displays the bellow values.
    technical documents.
    type test.
    if techincal documents is selected then display the bellow values.
    test1
    test2
    test3
    if type test is selected then display the bellow values.
    test4
    test5
    i got the above logic.
    one  problem is what ever the value i am selecting is reflecting at the end of drop down .
    second problem is bellow one.
    now suppose that 'type test' is selected in first drop down and 'test5' is selcted in the second drop down.
    if suppose again first dorp down selection is changed to 'technical documents' in the second drop down i am getting the bellow values.
    test1
    test2
    test3
    test5
    already existing value on the screen is reflecting at the end.
    but i have to get
    test1
    test2
    test3 only
    hope i am clear .
    kindly sugest the solution.
    thanks in advance ,
    padmaja.

    Assuming your problem is related to custom/z development, i guess abaper might be able to help. In the program clear the internal tables before displaying the values.
    rgds

  • Standalone table as drop down and restrict values in the report

    Hi,
    I have report where the measure values has to be restricted based on the threshold value table.Threshold values has the below values.
    Threshold table:
    threshold id threshold values descr
    13345 10000 initial
    13346 20000 start
    13347 30000 initial start
    13348 40000 end
    13349 50000 last end
    This table is independent of the star schema for the OBIEE report and created for the user given threshold values.
    Threshold values shud be shown has drop down values and the drop down prompt is always GTE to 10,000 by default.The report shud display measure values GTE 10,000 in the 4 measure columns in the report by deafult based on the default prompt and shud work as per the user selection in the drop down.
    I was planning to implement this using Presentation variable but when i select GTE in the Prompt ,this option is not present.Please throw some light on this issue.
    Thanks in Advance.

    Use is equal to operator in the prompt..change the show section to all values to sql results..after that change the column formula to case when 1=0 then <some column> else 1 end..now you can make it a presentation variable..use that variable in your report with is greater that operator in your report..hth..
    Edited by: Venkata on Jul 20, 2010 10:57 AM

  • Populating the data from table onto drop-down list.

    Hi all
    The following code i have used in trigger 'when-new-form-instance'
    DECLARE
    group_id RecordGroup;
    list_id Item := Find_Item('Lines.classification');
    status NUMBER;
    rg_name varchar2(10) := 'rgroup';
    BEGIN
    clear_list(list_id);
    group_id := Find_Group(rg_name);
    IF NOT id_null(group_id) then
    Delete_Group(group_id);
    End if;
    group_id := Create_Group_From_Query(rg_name,
    'select meaning from lookup_values where lookup_type='TC_CLASSIFICATION' and lookup_code in('BUSINESS','PERSONAL')');
    status := Populate_Group(rg_name);
    Populate_List(list_id, group_id);
    END;
    i have created a Record_Group from Object navigator(name:'rg_name').
    and used it in the above code.
    after this i try to run the form, i am not able to see the value which i drop-down list
    can any one suggest me abt this, and any changes i need to do in the property pallet,...
    Thanks
    Raj

    u3 wrote:
    No, Populate_List requires that the record group is created at runtime.Actually you're wrong ;)
    POPULATE_LIST works with both, record groups created at runtime AND at design time.
    Try the below code on SCOTT schema with a list item and a button trigger:
    Record Group created at design time
    DECLARE
         RG_NAME VARCHAR2(10) := 'RGROUP';
         V_DUMMY NUMBER;
    BEGIN
         CLEAR_LIST('LIST_ITEM1');
         V_DUMMY := POPULATE_GROUP(RG_NAME);
         IF V_DUMMY = 0 THEN
              CLEAR_LIST('LIST_ITEM1');
              POPULATE_LIST('LIST_ITEM1', RG_NAME);
         END IF;     
    END;
    Record group Created at Runtime
    DECLARE
         GROUP_ID RECORDGROUP;
         RG_NAME VARCHAR2(10) := 'RGROUP';
         QUERY_TEXT VARCHAR2(1000) := 'SELECT ENAME, TO_CHAR(EMPNO) FROM EMP';
         V_DUMMY NUMBER;
    BEGIN
         CLEAR_LIST('LIST_ITEM1');
         GROUP_ID := FIND_GROUP(RG_NAME);
         IF NOT ID_NULL(GROUP_ID) THEN
              DELETE_GROUP(GROUP_ID);
         END IF;
         GROUP_ID := CREATE_GROUP_FROM_QUERY(RG_NAME, QUERY_TEXT);
         CLEAR_LIST('LIST_ITEM1');
         V_DUMMY := POPULATE_GROUP(RG_NAME);
         IF V_DUMMY = 0 THEN
              CLEAR_LIST('LIST_ITEM1');
              POPULATE_LIST('LIST_ITEM1', RG_NAME);
         END IF;     
    END;It does work with me both ways, I suggest you test it.
    Tony

  • Dynamically manipulating two drop down lists

    Dear All,
    I am working with one form which has two drop down lists. Name of first drop down is State Name which is having all state names from database.Another drop down name is City Name and the values has to be populated from data base according to the first drop down value.
    Now I am able to generate first drop down from database . But I am unable to manipulate second drop down.
    Please anybody can help me to resolve this problem. Your suggestions are appreciated.
    Thanks

    Dear All,
    I am working with one form which has two drop down lists. Name of first drop down is State Name which is having all state names from database.Another drop down name is City Name and the values has to be populated from data base according to the first drop down value.
    Now I am able to generate first drop down from database . But I am unable to manipulate second drop down.
    Please anybody can help me to resolve this problem. Your suggestions are appreciated.
    Thanks

  • How to make table cell drop down menu from an existing range in cell

    Is this possible?? Checked all over the web & coming up empty. Trying to avoid re-typing in contents from previously created tables in the cell format pop-up menu. Please help.

    I don't think there is an easy way to do this unless Yvan comes up with a script for you.
    One option is to select the range of cells and copy/paste to TextEdit (yes, surprisingly it'll take a range of cells) then from TextEdit you can copy/paste each cell's contents one at a time to the popup menu list. Still a pain but it might be easier than other methods. The workflow I found quickest was to position TextEdit near the Inspector pane (which is open to the Cell inspector with your popup in it) and have the top of the Numbers window nearby. Double click on one cell's contents in TextEdit then Cmd-C to copy, click on the Numbers window up in the toolbar to make Numbers active again without selecting a different cell, then put the contents in the inspector (hit + then paste with Cmd-V). Repeat.
    Message was edited by: Badunit

  • Application Builder Wizard Table Name drop down

    Hi Folks,
    I am running Apex 4.0 on 10g express DB.
    I am trying to build an application based on views using the wizard but the tabular form can pick up only tables but not sql query or views..any way to work around this?
    thanks,

    Hi "user2147613",
    As you have identified, only Tables can be selected in the Create Application wizard, for the creation of pages. However, our Create Page and Create Region wizards can be used to generate pages based on your views, in an existing application. You'll just need to initially create an application with at least one page ( e.g. a Blank Page ) via the Create Application wizard, and then edit the application to make use of the Create Page and Create Region wizards. The Create Application wizard exposes only a subset of the options that would be available via the other Create wizards, and this is due to the fact that the number of steps in this wizard are kept to a minimum, and therefore a number of assumptions are made. For example, only a table with a Primary Key defined can be selected for the creation of a page in this wizard. So if an option is not exposed in this wizard, then I would suggest reviewing the options available in our other Create wizards. You may find it useful to refer to Chapter 8 Adding Application Components of our User's Guide for further information: http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/app_comp.htm#CHDCGHGE.
    I hope this helps.
    Regards,
    Hilary

  • Dynamic query with drop down lists

    I have two select queries in my program.
    The first query is to obtain and then display the list of
    clients.
    The second query I want to display only projects which are
    linked to a specific client.
    <cfquery name="getClient" datasource="#request.DSN#">
    Select tblClients.ClientID, tblClients.ClientName
    From tblClients
    Order by tblClients.ClientName</cfquery>
    <cfquery name="getProjects" datasource="#Request.DSN#">
    Select tblprojects.ProjectID, tblProject.Project,
    tblProject.ProjectID
    From tblProject, tblClients
    WHERE tblClients.ClientID = tblProject.ClientID AND
    tblClients.ClientID = #getClient.ClientID# </cfquery>
    I am displaying the first select box ok and it is populated
    with the correct information.
    The second select box is ot quite correct. It is only
    displaying one record - the first record in the file.
    <select name="Client">
    <cfoutput query="getclient">
    <option
    value="#getclient.ClientID#">#getclient.ClientName#</option>
    </cfoutput>
    </select>
    <select name="Project">
    <cfoutput query="getProject">
    <option
    value="#getProject.ProjectID#">#getProject.Project#</option>
    </cfoutput>
    </select>
    Any ideas on how to correct this would be greatly
    appreciated.
    Kind regards

    In your second query you are using the variable
    #getClient.ClientID#
    Outside of a <cfloop query=""> or a <cfoutput
    query=""> CF assumes you meant
    : #getClient.ClientID[1]# (which is the first record of the
    getClient Query.
    If you are trying to pull up a list of projects that are for
    the getClient list, then try this instead
    <cfquery name="getProjects" datasource="#Request.DSN#">
    Select tblprojects.ProjectID, tblProject.Project,
    tblProject.ProjectID
    From tblProject, tblClients
    WHERE tblClients.ClientID = tblProject.ClientID AND
    tblClients.ClientID IN (#valuelist(getClient.ClientID)#)
    </cfquery>
    Valuelist changes any 'column' from a query into a list.
    Hope this helps

  • Drop down by index  in table cell

    Hello
    I need for one column in table to have a drop down.
    I have the the following context:
    node: Zsi_Profile_TyperdvZish_Available_Timeslots_S_Rfc
    subnode: X
    value attribute in subnode X: a
    Node X is singelton = false, selection: 0-1.
    I am defined a drop down by index for one column and I want the data to come from node It_Rnpb2.
    The code:
    for (int i = 0; i< wdContext.nodeZsi_Profile_TyperdvZish_Available_Timeslots_S_Rfc().size();i++)
    wdContext.nodeZsi_Profile_TyperdvZish_Available_Timeslots_S_Rfc().getElementAt(i);
    for (int j = 0;j< wdThis.wdGetRendezVousCustomController().wdGetContext().nodeIt_Rnpb2().size();j++)
    wdContext.nodeX().addElement(wdContext.createXElement());
    wdContext.currentXElement().setA(wdThis.wdGetRendezVousCustomController().wdGetContext().nodeIt_Rnpb2().getIt_Rnpb2ElementAt(j).getOrgid());
    The result is: for first table line a drop down with few empty lines and one of the line with the last value from It_Rnpb2, and for the other table lines drop downs just with an empty line.
    How can I fix this?
    Thank you

    Let me change those ugly node names into shorter ones and use an array containing the drop-down items for each row. I think you get the idea.
    Table data source node: "Rows"
    Non-singleton child node "Items", cardinality 0:N, with attribute "Text".
    String TEXTS[][] with TEXT[r][j] = text of item j in row r
    /* foreach row in table */
    for (int r = 0; r < wdContext.nodeRows().size(); ++r)
      IRowsElement row = wdContext.nodeRows().getRowsElementAt(r);
      /* foreach drop-down list item */
      for (int j = 0; j < TEXTS[r].length; ++j)
        /* create item */
        IItemsElement item = row.nodeItems().createItemsElement();
        row.nodeItems().addElement(item);
        /* set item text */
        item.setText(TEXTS[r][j]);
    I typed this code from memory so there might be minor errors.
    Armin

Maybe you are looking for

  • Documents will not open after upgrading to OSX 10.5.1

    Purchased an iMac in October/07 (OSX 10.2) and transferred files (word processing & spreadsheet files) from an old Mac running OS 8.6. All files were copied over and I was able to open them using 'Pages', etc but once I upgraded to OSX 10.5.1, an err

  • Transport Status in Shipment

    Dear All,     I used the cube 0OI_TDC01- TD: Shipment Items for new requirement. 0OI_TD_OIGSII this datasource has Transport Status object. In R/3  This transport status avaliable up to 6(copmletly deliverd). Once  load the data i get it only transpo

  • Using SATSA-CRYPTO

    I'm using some calls to the SATSA Crypto package which work fine when run with an emulator and NetBeans, but which were getting a NoClassDefFoundError when run on an actual device. It appears that none of these classes are in my Midlet's jar file. I

  • Insert data by plsql

    hi, we have the table dep. SQL> select * from dep; DEPTNO DNAME LOC 10 ACCOUNTING NEW YORK 20 RESEARCH DALLAS 30 SALES CHICAGO 40 OPERATIONS BOSTON create sequence se_dep start with 1 increment by 1; I would like to insert the data into that table th

  • F4 help for REUSE ALV grid

    Hi, I am doing an ALV report using REUSE_ALV_GRID_DISPLAY . This is my requirement If user press F4 in field in WERKS then i need to get values from table T001W and also from my custom table YT001W and display, so user can select from the f4 list. Ho