Dynamically display combo values

What I am looking for is a way to automatically propagate a change from one drop down list to another without having to submit the form.
can any body suggest the solution to me

hi
You can u Ajax to do that as JSP it self can't do that ...
see this
http://www.velocityreviews.com/forums/t111770-dynamic-checkbox-checkedchanged-event-not-firing.html
alos u can use Sun Java studio Creator IDE ,,, it has many programing cababilites that enables u to do such things.
here the creator web site
http://developers.sun.com/jscreator/
hope this will help
good luck
Mohammed

Similar Messages

  • Need Help: Dynamically displaying parameter values for a procedure.

    Problem Statement: Generic Code should display the parameter values dynamically by taking "package name" and "procedure name" as inputs and the values needs to be obtained from the parameters of the wrapper procedure.
    Example:
    a) Let us assume that there is an application package called customer.
    create or replace package spec customer
    as
    begin
    TYPE cust_in_rec_type IS RECORD
    cust_id NUMBER,
    ,cust_name VARCHAR2(25) );
    TYPE cust_role_rec_type IS RECORD
    (cust_id NUMBER,
    role_type VARCHAR2(20)
    TYPE role_tbl_type IS TABLE OF cust_role_rec_type INDEX BY BINARY_INTEGER;
    Procedure create_customer
    p_code in varchar2
    ,p_cust_rec cust_in_rec_type
    ,p_cust_roles role_tbl_type
    end;
    b) Let us assume that we need to test the create customer procedure in the package.For that various test cases needs to be executed.
    c) We have created a testing package as mentioned below.
    create or replace package body customer_test
    as
    begin
    -- signature of this wrapper is exactly same as create_customer procedure.
    procedure create_customer_wrapper
    p_code in varchar2
    ,p_cust_rec customer.cust_in_rec_type
    ,p_cust_roles customer.role_tbl_type
    as
    begin
    //<<<<<---Need to display parameter values dynamically for each test case-->>>>>
    Since the signature of this wrapper procedure is similar to actual app procedure, we can get all the parameter definition for this procedure using ALL_ARGUMENTS table as mentioned below.
    //<<
    select * from ALL_ARGUMENTS where package_name = CUSTOMER' and object_name = 'CREATE_CUSTOMER'
    but the problem is there are other procedures exists inside customer package like update_customer, add_address so need to have generalized code that is independent of each procedure inside the package.
    Is there any way to achieve this.
    Any help is appreciated.
    // >>>>
    create_customer
    p_code => p_code
    ,p_cust_rec => p_cust_rec
    ,p_cust_roles => p_cust_roles
    end;
    procedure testcase1
    as
    l_cust_rec customer.cust_in_rec_type ;
    l_cust_roles customer.role_tbl_type;
    begin
    l_cust_rec.cust_id := 1;
    l_cust_rec.cust_name := 'ABC';
    l_cust_roles(1).cust_id := 1;
    l_cust_roles(1).role_type := 'Role1';
    create_customer_wrapper
    p_code => 'code1'
    ,p_cust_rec => l_cust_rec
    ,p_cust_roles => l_cust_role
    end;
    procedure testcase2
    as
    l_cust_rec customer.cust_in_rec_type ;
    l_cust_roles customer.role_tbl_type;
    begin
    l_cust_rec.cust_id := 2;
    l_cust_rec.cust_name := 'DEF';
    l_cust_roles(1).cust_id := 2;
    l_cust_roles(1).role_type := 'Role2';
    create_customer_wrapper
    p_code => 'code2'
    ,p_cust_rec => l_cust_rec
    ,p_cust_roles => l_cust_role
    end;
    end;

    Not possible to dynamically in a procedure, deal with the parameter values passed by a caller. There is no struct or interface that a procedure can use to ask the run-time to give it the value of the 1st or 2nd or n parameter.
    There could perhaps be some undocumented/unsupported method - as debugging code (<i>DBMS_DEBUG</i>) is able to dynamically reference a variable (see Get_Value() function). But debugging requires a primary session (the debug session) and the target session (session being debugged).
    So easy answer is no - the complex answer is.. well, complex as the basic functionality for this do exists in Oracle in its DBMS_DEBUG feature, but only from a special debug session.
    The easiest way would be to generate the wrapper itself, dynamically. This allows your to generate code that displays the parameter values and add whatever other code needed into the wrapper. The following example demonstrates the basics of this approach:
    SQL> -- // our application proc called FooProc
    SQL> create or replace procedure FooProc( d date, n number, s varchar2 ) is
      2  begin
      3          -- // do some stuff
      4          null;
      5  end;
      6  /
    Procedure created.
    SQL>
    SQL> create or replace type TArgument is object(
      2          name            varchar2(30),
      3          datatype        varchar2(30)
      4  );
      5  /
    Type created.
    SQL>
    SQL> create or replace type TArgumentList is table of TArgument;
      2  /
    Type created.
    SQL>
    SQL> -- // create a proc that creates wrappers dynamically
    SQL> create or replace procedure GenerateWrapper( procName varchar2 ) is
      2          procCode        varchar2(32767);
      3          argList         TArgumentList;
      4  begin
      5          select
      6                  TArgument( argument_name, data_type )
      7                          bulk collect into
      8                  argList
      9          from    user_arguments
    10          where   object_name = upper(procName)
    11          order by position;
    12 
    13          procCode := 'create or replace procedure Test'||procName||'( ';
    14          for i in 1..argList.Count
    15          loop
    16                  procCode := procCode||argList(i).name||' '||argList(i).datatype;
    17                  if i < argList.Count then
    18                          procCode := procCode||', ';
    19                  end if;
    20          end loop;
    21 
    22          procCode := procCode||') as begin ';
    23          procCode := procCode||'DBMS_OUTPUT.put_line( '''||procName||''' ); ';
    24 
    25          for i in 1..argList.Count
    26          loop
    27                  procCode := procCode||'DBMS_OUTPUT.put_line( '''||argList(i).name||'=''||'||argList(i).name||' ); ';
    28          end loop;
    29 
    30          -- // similarly, a call to the real proc can be added into the test wrapper
    31          procCode := procCode||'end;';
    32 
    33          execute immediate procCode;
    34  end;
    35  /
    Procedure created.
    SQL>
    SQL> -- // generate a wrapper for a FooProc
    SQL> exec GenerateWrapper( 'FooProc' );
    PL/SQL procedure successfully completed.
    SQL>
    SQL> -- // call the FooProc wrapper
    SQL> exec TestFooProc( sysdate, 100, 'Hello World' )
    FooProc
    D=2011-01-07 13:11:32
    N=100
    S=Hello World
    PL/SQL procedure successfully completed.
    SQL>

  • How to add a column to a list created with the Dynamic List Wizard to display the values of the fiel

    Hi,
    ADDT, Vista, WAMP5.0
    We have 2 tables: clients_cli (id_cli, name_cli, tel_cli, and several more fields) and cases_cas (id_cas, idcli_cas, court_cas, and a lot of other fields).
    Clients may have many cases, so table cases_cas have a foreign key named idcli_cas, just to determine which case belongs to which client.
    We designed the lists of the two tables with the Dynamic List Wizard and the corresponding forms with Dynamic Form Wizard.
    These two forms are linked with the Convert Dynamic List and Form Wizards, which added a button to clients list named "add case".
    We add a client and then the system returns to the clients list displaying all clients, we look for the new client just added and then press "add case", which opens the Dynamic Form for cases, enter all case details and everything processes ok.
    However, when we view the cases list it display all the details of the case, including the column and values for the foreign key idcli_cas. As you can image, it is quite difficult for a human to remember the clients ids.
    So, in the cases list we added a another column, named it Name, to display the names of the clients along with cases details. We also created another recordset rsCli, selected the clients_cli table, displaying all columns, set filter id_cli = Form Variable = idcli_cas then press the Test button and everything displays perfect. Press ok.
    Then, we position the cursor inside the corresponding cell of the new Name column, go to Bindings, click on name_cli and then click on insert. The dynamic field is inserted into the table cell as expected, Save the page, and test in browser.
    The browser call the cases list but fails to display the values of the Name column. The Name column is simply empty.
    This issue creates a huge problem that makes our application too difficult to use.
    What are we doing wrong?
    Please help.
    Charles

    1.     Start transaction PM01, Create Infotype, by entering the transaction code.
    You access the Create Infotype screen.
    2.     Choose List Screen.
    3.     In the Infotype no. field, enter the four-digit number of the infotype you want to create.
    When you specify the infotype number, please remember to enter any leading zeros.
    4.     In the Screen Number field, enter the screen number of the list screen you want to enhance.
    5.     Choose Create.
    The Dictionary: Initial screen appears:
    6.     Create the list screen structure.
    7.     Choose Activate.
    8.     Return to the Enhance List Screen in the Enhance Infotypes transaction (PM01).
    9.     Choose Create All.
    The additional fields are displayed on the list screen, however, they contain no data.
    The fields can be filled in the FORM routine FILL-LISTSTRUCT in the generated program ZPnnnn00. The FORM routine is called for each data record in the list.
    Structure ZPLIS is identified when it is generated with a TABLES statement in the program ZPnnnn00.
    The fields can be filled from the Pnnnn structure or by reading text tables.

  • When i change the value of a combo box using a property node it displays the value not the item label

    I am using a combo box as a select list for text serial commands.  I have items like "engineering", "GUI", and "Scan" for the commands "MDE", "MDN", and MDS respectively which i have input as the corresponding value in the combo box.  so for example the label "engineering" has the value "MDE" in the combo box items list.  when the Vi starts it needs to read the current value MDE, MDN, or MDS and then i want it to display on the front panel the item text corresponding to that command value.
    To do this i have tried to read the serial command, ie MDS and then wire that to a "value" property of a property node of the combo-box, but instead of displaying the corresponding item label, "Scan", it displays the value "MDS" on the front panel instead.  i want the front panel to use the label text when choosing and displaying but the block diagram to use the serial commands.  Can this be done with a combo box?  I'm trying to use a combo box so i can keep it all text and avoid having to build a case statement to convert enums or rings from a numerical value to the text command.
    The correct text value is wired to the value property and it does exist in the combo-box.  I have unchecked "values match items" and selected to not allow undefined values.

    Don't use the value property node.  Use the Text.Text property node.  When creating the property node, select Text, then in the next pop-up box, select Text.
    - tbob
    Inventor of the WORM Global

  • Dynamically displaying multi parameters values

    Hi,
    I'm newbie to this framework and I have successfully
    implemented some of the demos posted in this site. BTW, kudos to
    all who contributed all those demos.
    Well, I after trying most of the demos, I am trying to
    implemented .... dynamically displaying content from the xml file
    when users click on multiple choices. Let say, I have the check
    boxes for the following option:
    Subjects: [ ] Math [ ] Biology [ ] Computer Science and so
    on.
    So when the users click on these checkboxes, it will display
    books related to the selected subject/s.
    If anybody have implemented similar functionality, can you
    please give me an idea/suggestion? Any help will be appericated.
    Cheers,
    nj

    Hi all,
    I have been trying to implement "Multiple filter" (
    http://labs.adobe.com/technologies/spry/samples/data_region/MultipleFiltersModeSample.html )
    using more dymanic approach however, it is not working correctly.
    Here is my code .... can you plz give any suggestion handling this
    issue?
    <?xml version="1.0" encoding="utf-8"?>
    <books xmlns="
    http://www.books.com/books">
    <subjects>
    <list>Math</list>
    <list>Biology</list>
    <list>Economices</list>
    <list>English</list>
    <list>Physices</list>
    <list>History</list>
    </subjects>
    <book>
    <title>Intro to Biology</title>
    <subject>Biology</subject>
    <desc>Introduction to Human Biology</desc>
    </book>
    <book>
    <title>Intro to Geometry</title>
    <subject>Math</subject>
    <desc>Introduction to Elementry Geometry</desc>
    </book>
    <book>
    <title>Calculus I</title>
    <subject>Math</subject>
    <desc>Introduction to Elementry Calculus</desc>
    </book>
    <book>
    <title>Physices III</title>
    <subject>Physices</subject>
    <desc>Advanced physices, Newton's laws</desc>
    </book>
    <book>
    <title>19th Century Americam History</title>
    <subject>History</subject>
    <desc>Introduction to 19th century American
    History</desc>
    </book>
    <book>
    <title>Intro to Biology II</title>
    <subject>Biology</subject>
    <desc>Introduction to Human Biology</desc>
    </book>
    <book>
    <title>Intro to Biology III</title>
    <subject>Biology</subject>
    <desc>Introduction to Human Biology</desc>
    </book>
    <book>
    <title>Intro to Biology IV</title>
    <subject>Biology</subject>
    <desc>Introduction to Human Biology</desc>
    </book>
    </books>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "DTD/xhtml1-strict.dtd">
    <html>
    <head>
    <title>Testing</title>
    <!--
    Spry Framework
    ***************************************************** -->
    <script type="text/javascript"
    src="js/spry/xpath.js"></script>
    <script type="text/javascript"
    src="js/spry/SpryData.js"></script>
    <script type="text/javascript"
    src="js/spry/SpryDataExtensions.js"></script>
    <script type="text/javascript">
    <!--
    var subjectname;
    var dsSubjectFilter = new
    Spry.Data.XMLDataSet("xml/books.xml", "/books/book", { subPaths:
    "subject" });
    var dsSubjectList = new
    Spry.Data.XMLDataSet("xml/books.xml", "books/subjects, {subPaths:
    "list", sortOnLoad: "list"});
    function filterParameter(ds, row, index){return (row.subject
    == subjectname)? row : null;};
    function ToggleFilter(enable, filterParameter, name) {
    //alert("name : " + name);
    subjectname=name;
    if(enable)
    dsSubjectFilter.addFilter(filterParameter, true);
    else
    dsSubjectFilter.removeFilter(filterParameter, true);
    dsSubjectFilter.setFilterMode("or", true);
    //-->
    </script>
    <!-- ***************** END of Spry
    *********************** -->
    </head>
    <body>
    <div spry:state="ready">
    <div spry:region="dsSubjectList">
    <form action="">
    <ul>
    <h4>Subject</h4>
    <li spry:repeat="dsSubjectList"> <input
    type="checkbox" value="" onclick="ToggleFilter(this.checked,
    filterParameter,
    '{dsSubjectList::list}');"/>{dsSubjectList::list}</li>
    </ul>
    </form>
    </div>
    <div spry:region="dsSubjectFilter">
    <p> Count = {dsMissionFilter::ds_RowCount}</p>
    <div spry:repeat="dsSubjectFilter">
    <h4>{dsSubjectFilter::ds_RowNumberPlus1}. {dsSubjectFilter::title}</h4>
    <p> {dsSubjectFilter::subject}</p>
    <p> {dsSubjectFilter::desc}</p>
    </div>
    </div>
    </div> <!-- *** END of spry:state="ready"
    *****-->
    </body>
    </html>
    Basically, firstly it creates the checkboxes with the diff
    subjects to select. Once we start selecting those subjects, it shld
    start displaying the related books with titles, subject and
    description. However, the "or" doesn't seems to work .... any
    suggestion will be appericated.
    Cheers,
    nj

  • Dynamically display title based on value selected in column selector

    Hi All,
    Can it be possible to show the report title dynamically based on value selected in column selector . suppose i have two column status and region . When i will select status in the column selector the title of the report will show " Status Summary" when i will select region then the title will change to "Region Summary". Please help me...

    Hi,
    create dashboard prompt with column selector functionality like following way
    write the following query in your dashboard prompt sql results
    select region name from subject area name
    Union all
    select sub_region name from subject area name
    like this and put one presentation variable for this dashboard prompt like var1
    in your report write formula in your column like this *case when @{var1)='region column' then 'Region Summary' else ' ' end*
    and refer this column in narrative view like @1 then narrative act like a title view.
    Hope this helps you
    Regards
    Naresh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Dynamically displaying a new region (row?) based on immediate user input

    Whew, figuring out a title was almost as hard as trying to explain what I want to do!
    Okay, a little background first.
    My app has 178 main data fields, spread across about 35 tables. The users want to be able to search any and all data fields. So, I wrote a PL/SQL package that for each master record, loops through all of the child tables and creates (more or less) an XML file for each master record (which I store in a CLOB field). When any data in any table is changed, a trigger fires to re-update that CLOB field as well. I then used Oracle Text to create an index on the CLOB field, and now the users can search across all of the available information for each master record and get a list of which records contained what they were looking for.
    So here's the first part of the problem. The app is a Mineral Occurence database for all mineral information world-wide. Say they enter "Brazil" as what they want to search for, they not only retreive all of the mineral sites in Brazil, but also all of the sites where one of the mining companies may be based in Brazil, or Brazil is one of the comments, etc. While this is the expected behaviour, it's still not quite what they expected (but they also don't want to get rid of this behaviour either).
    So, since the CLOB field is already formatted with XML-type tags, what I want to do is to have an Advanced Search page, where the user can specify the table name to search, or the field name, or both. What I'd like to do is at the end of each line, have a select list with an "AND" or "OR' box, and if that gets a value, then dynamically create another 'row' underneath the first row, with the same three 'boxes' (actually select lists), and continue on until the user has specified exactly what they want to search for.
    I would rather not have to create a whole bunch of regions or rows, and then determine at runtime whether or not to display them.
    So i would have (using underscores as the boxes/fields):
    Table to Search        Field to Search          And/Or
    ______________          _____________          _______Each of the above would be a select list.
    Anybody have ideas on how I can accomplish this? Any Javascript or AJAX-type solutions that a dummy like me can easily implement? I've seen something almost similar on Carl's example pages to Hide/Show a region(?), but understanding the underlying code and then modifying it for what I want to do is extremely complicated (for me) at best.
    Thanks.
    Bill Ferguson

    Well, after searching through the QBE results (even some of mine), the only thing that comes close is Earl's (http://htmldb.oracle.com/pls/otn/f?p=36337:14). Actually his layout is almost perfect and pretty identical to what I want/need. Vikas' example seems like what I've toyed with on some other pages in my app, using a simple UNION ALL with nulled fields in the select statement, which won't work for what I need, at least I can't seem to visualize how I could incorporate that same code logic.
    However, unlike Earl's, when/if the last column (which I'd have as the 'AND/OR' select list) is populated, I'd like to dynamically display another new row.
    Now I know I could do it by making the last column a 'Select List With Submit', but that would neccessitate my creating about 25 regions (to hopefully cover the max any of the users would ever need), and then conditionally display the region based on whether or not the previous 'AND/OR' condition field was populated. It would also require a whole slew of page refreshes, which is clunky.
    It seems like there should probably be a way with AJAX to accomplish something similar. I think I remember seeing something along these lines in the last year or so on here, but I can't find it.
    Something like a cross-breed of Earl's example page above mixed with Carl's example at http://htmldb.oracle.com/pls/otn/f?p=11933:39:4740898821262791902::NO:RP:: which would automatically fire on the poplulation of the last select list is probably the best I can accomplish, unless somebody has some better ideas on how to do this. Using Carl's htmldb_remix code, I can avoid all the submits and the resulting page refreshes, but the code itself will take an old dummy like me a while to figure out.
    Thanks for the ideas though.
    Bill Ferguson

  • Passing Dynamic Internal Table values to another program

    Hi,
    I have a program ZSAPNEW.
    In this I have created a Dynamic internal table <fs_emp>. The number of fields differ for each run. The values are passed into <fs_emp> in this program.  Now I need to submit thsi program from a main program ZHEAD and then display the values got from ZHEAD. For this I need to access the values retrieved from ZSAPNEW in <fs_emp> in ZHEAD. I cant figure out how to do this. I tried IMPORT ing the reference of teh field symbol too/ But its not allowing references in IMPORT/EXPORT. And since the table is of type ANY( as structure varies) I cant assign it to an internal table and then pass. Can some one suggest a solution please.
    Suzie

    Hi
    You need to know how the strcture of your table is generated In both programm:
    - Calling program:
    DATA: LR_VALUE_DESCR  TYPE REF TO CL_ABAP_ELEMDESCR,
          COMPONENT       TYPE CL_ABAP_STRUCTDESCR=>COMPONENT,
          LT_COMPONENTS   TYPE CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE.
    DATA: LT_STRUC        TYPE REF TO CL_ABAP_STRUCTDESCR,
          LT_TAB          TYPE REF TO CL_ABAP_TABLEDESCR.
    DATA: L_INDEX TYPE C.
    DATA: W_LINE          TYPE REF TO DATA,
          INT_TABLE       TYPE REF TO DATA.
    FIELD-SYMBOLS: <WA>    TYPE ANY,
                   <ITAB>  TYPE TABLE,
                   <VALUE> TYPE ANY.
    DO 4 TIMES.
      CLEAR COMPONENT.
      MOVE SY-INDEX TO L_INDEX.
      CONCATENATE 'FIELD' L_INDEX INTO COMPONENT-NAME.
      MOVE CL_ABAP_ELEMDESCR=>GET_C( P_LENGTH = 4 ) TO LR_VALUE_DESCR.
      COMPONENT-TYPE = LR_VALUE_DESCR.
      INSERT COMPONENT INTO TABLE LT_COMPONENTS.
    ENDDO.
    * Workarea
    LT_STRUC = CL_ABAP_STRUCTDESCR=>CREATE( P_COMPONENTS = LT_COMPONENTS
                                                       P_STRICT     = 'X' ).
    CREATE DATA W_LINE TYPE HANDLE LT_STRUC.
    ASSIGN W_LINE->* TO <WA>.
    * Table
    LT_TAB = CL_ABAP_TABLEDESCR=>CREATE( P_LINE_TYPE = LT_STRUC ).
    CREATE DATA INT_TABLE TYPE HANDLE LT_TAB.
    ASSIGN INT_TABLE->* TO <ITAB>.
    DO 3 TIMES.
      CLEAR <WA>.
      DO 4 TIMES.
        MOVE SY-INDEX TO L_INDEX.
        CONCATENATE 'FIELD' L_INDEX INTO COMPONENT-NAME.
        ASSIGN COMPONENT COMPONENT-NAME OF STRUCTURE <WA> TO <VALUE>.
        MOVE SY-INDEX TO <VALUE>.
      ENDDO.
      APPEND <WA> TO <ITAB>.
    ENDDO.
    DATA: WA_INDX TYPE INDX.
    WA_INDX-USERA = SY-UNAME.
    WA_INDX-PGMID = 'MAXMAX'.
    EXPORT TAB = <ITAB>
      TO DATABASE INDX(XY)
      FROM WA_INDX
      CLIENT SY-MANDT
      ID 'TABLE'.
    Called program:
    DATA: LR_VALUE_DESCR  TYPE REF TO CL_ABAP_ELEMDESCR,
          COMPONENT       TYPE CL_ABAP_STRUCTDESCR=>COMPONENT,
          LT_COMPONENTS   TYPE CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE.
    DATA: LT_STRUC        TYPE REF TO CL_ABAP_STRUCTDESCR,
          LT_TAB          TYPE REF TO CL_ABAP_TABLEDESCR.
    DATA: L_INDEX TYPE C.
    DATA: W_LINE          TYPE REF TO DATA,
          INT_TABLE       TYPE REF TO DATA.
    FIELD-SYMBOLS: <WA>    TYPE ANY,
                   <ITAB>  TYPE TABLE,
                   <VALUE> TYPE ANY.
    DO 4 TIMES.
      CLEAR COMPONENT.
      MOVE SY-INDEX TO L_INDEX.
      CONCATENATE 'FIELD' L_INDEX INTO COMPONENT-NAME.
      MOVE CL_ABAP_ELEMDESCR=>GET_C( P_LENGTH = 4 ) TO LR_VALUE_DESCR.
      COMPONENT-TYPE = LR_VALUE_DESCR.
      INSERT COMPONENT INTO TABLE LT_COMPONENTS.
    ENDDO.
    * Workarea
    LT_STRUC = CL_ABAP_STRUCTDESCR=>CREATE( P_COMPONENTS = LT_COMPONENTS
                                                       P_STRICT     = 'X' ).
    CREATE DATA W_LINE TYPE HANDLE LT_STRUC.
    ASSIGN W_LINE->* TO <WA>.
    * Table
    LT_TAB = CL_ABAP_TABLEDESCR=>CREATE( P_LINE_TYPE = LT_STRUC ).
    CREATE DATA INT_TABLE TYPE HANDLE LT_TAB.
    ASSIGN INT_TABLE->* TO <ITAB>.
    DATA: WA_INDX TYPE INDX.
    WA_INDX-USERA = SY-UNAME.
    WA_INDX-PGMID = 'MAXMAX'.
    IMPORT TAB = <ITAB>
      FROM DATABASE INDX(XY)
      TO WA_INDX
      CLIENT SY-MANDT
      ID 'TABLE'.
    LOOP AT <ITAB> ASSIGNING <WA>.
      WRITE: / <WA>.
    ENDLOOP.
    The sample above use IMPORT/EXPORT from database: if the called program can't know the structure of the dynaic table, you need to transfer it by the same way you transfer the data
    Max

  • How to dynamically display .flv files in website

    I'm using a JSP for my interface.?? In the webpage, I want to pass a java variable, which holds the url to the video that was retrieved from the database, to the flash player script to dynamically determine which video to play.?? For example, this code in the page will play a movie successfully:
    <td><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','widt h','706','height','633','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_Co mponentVersion=1&skinName=Halo_Skin_3&streamName=movies/Video1_1&autoPlay=true&autoRewind= false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage',' http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','FLVPlayer_Progressive' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="706" height="633" id="FLVPlayer">
    ?????????????????????????????? <param name="movie" value="FLVPlayer_Progressive.swf" />
    ?????????????????????????????? <param name="salign" value="lt" />
    ?????????????????????????????? <param name="quality" value="high" />
    ?????????????????????????????? <param name="scale" value="noscale" />
    ?????????????????????????????? <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=movies/Video1_1&autoPlay=tr ue&autoRewind=false" />
    ?????????????????????????????? <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=movies/Video1_1&autoPla y=true&autoRewind=false" quality="high" scale="noscale" width="706" height="633" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />??????????????????????????
    </object></noscript></td>
    But this code will not play the movie successfully:
    <td><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','widt h','706','height','633','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','<%= flashVars %>','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','FLVPlayer_Progressive' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="706" height="633" id="FLVPlayer">
    ?????????????????????????????? <param name="movie" value="FLVPlayer_Progressive.swf" />
    ?????????????????????????????? <param name="salign" value="lt" />
    ?????????????????????????????? <param name="quality" value="high" />
    ?????????????????????????????? <param name="scale" value="noscale" />
    ?????????????????????????????? <param name="FlashVars" value="<%= flashVars %>" />
    ?????????????????????????????? <embed src="FLVPlayer_Progressive.swf" flashvars="<%= flashVars %>" quality="high" scale="noscale" width="706" height="633" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />??????????????????????????
    </object></noscript></td>
    The only difference in the two is that in the second, I use a java variable to set the flash Variables. The variable I use is <%= flashVars %>?? which is equal to: &MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=movies/Video2&autoPlay=false&autoRe wind=false
    When I view the resulting page source code after building and running the site, The source code is exactly the same for both of them yet one works and one doesn't.?? Any help would be greatly appreciated!

    I've been searching google all day to figure this one out.  I'm not simply trying to play a video, I can already do that... I'm retrieving the location of the video from the database and trying to pass it as an argument to the player, no different than if I was dynamically displaying an image or some text. For some reason I'm not able to do this.

  • How to get the Dynamic UI component value from JSFF page to any managedbean

    HI ,
    We have list of bean objects in jSF page we are iterating the list of bean using the forEach loop and displaying the value into Input type text (UI component) value filed .
    If we try to get the UI component value in Managed bean we are not getting the dynamic values .
    The below piece of code used to retrieve the dynamic values from the JSF page doesn't have any form :
    UIComponent component = null;
    FacesContext facesContext = FacesContext.getCurrentInstance();
    if (facesContext != null) {
    UIComponent root = facesContext.getViewRoot();
    component = findComponent(root, componentId);
    then component type casting to the based on UI component which we trying to access and getting the value as " NULL " ..Please let me know how to get the dynamic values form the JSF ?
    Please let me know if any other approach or any changes required on above ?
    Thanks

    Hi,
    the root problem is this
    <h:inputText id="it3" value="#{familyList.ctn}" />
    <tr:commandButton text="Save" id="cb3"Note how each row writes to the same managed bean property, thus showing the same data. Instead your managed bean should expose a HashMap property that you then apply values to using a key/value pair. The key could be the ID of the field, which then you also should dynamically define e.g. cb<rowIndx>. The command button could then have a f:attribute assigned that has the row HahMap key as a value. This way you truly create value instances for the object
    Frank

  • Howto pass dynamic jsp:param value to applet

    Hi.
    I have a JSP page with 3 to 4 links... and an applet with jsp:plugin .
    So i want to pass the URL behind the link to the applet as a Request Param..
    My JSP code looks like
    <a link href="www.google.com">Google</a>
    <a link href="www.oracle.com">Oracle</a>
    <a link href="www.gmail.com">Gmail</a>
    <jsp:plugin type="applet"
                                code="MyApplet"
                                height="0" codebase="../../jars/" width="0"
                                name="MyApplet"
                                align="bottom">
                            <jsp:params>
                                    <jsp:param name="applicationURL"
                                               value="this should be the "/>
                            </jsp:params>
                            <jsp:fallback>
                                    <p>This feature should run on applet supported
                                       browser.</p>
                            </jsp:fallback>
                    </jsp:plugin>and my applet code looks like
    init()
              String appURL = getParameter("applicationURL");
                    System.out.println(appURL);
              }I have a similar thread in Java forums... Howto pass dynamic jsp:param value to applet
    Thanks,
    Murali.

    My JSP code looks like
    <jsp:plugin type="applet"
                                code="MyApplet"
                                height="0" codebase="../../jars/" width="0"
                                name="MyApplet"
                                align="bottom">
                            <jsp:params>
                                    <jsp:param name="applicationURL"
                                               value="applicationURL"/>
                            </jsp:params>
                            <jsp:fallback>
                                    <p>This feature should run on applet supported
                                       browser.</p>
                            </jsp:fallback>
                    </jsp:plugin>and my applet code looks like
    init()
              String appURL = getParameter("applicationURL");
                    System.out.println(appURL);
              }Now i want to have links on JSP pages clicking on which corresponsing url will be displayed in applet.
    Edited by: 635237 on Jan 24, 2011 10:44 AM
    Edited by: 635237 on Jan 24, 2011 10:45 AM

  • Can I create  a multi-selection list using a dynamic list of values?

    I'm reading section 19.7.3 from the dev guide - it explains how to create a selectOneListbox using a dynamic list of values. Is it possible to create a multi-select listbox from a dynamic list of values?
    What I would like to do - I have a read-only view object with a hard-coded query - I would like to display the results of the query in a dropdown list box, or dropdown list box with boolean checkboxes, to allow the user to select multiple items from the list. How can I accomplish this?
    thanks

    Hi JavaX,
    I don't know of any JSF components (at least not any ADF Faces components) that lets you do multiple selection in a drop-down. There is an af:selectManyListbox, but it does not render as a drop-down.
    John

  • Module Pool to Display the Values in Matrix Format

    Hi Experts,
    I have one requirement which as follows,
    In Module pool program i need to display the  Values in Matrix format i.e,
    Row = Color
    Column = Size
    Can you Please Help me out.
    Thanks n Advance.
    Logu

    create your internal table dynamically (with number of columns corresponding to number of sizes)
    this is done easily with class CL_ALV_TABLE_CREATE method CREATE_DYNAMIC_TABLE
    then use the internal table for ALV output

  • Dynamic List of Values does not appear

    Hi All,
       I am re-creating this post as I have not received an answer on it.
    Hi All,
    I created report (using Crystal Reports 2008) in which one of my parameters displays a dynamic LOV from a field. When I run the report in Crystal, I get to select which values I want for record selection in my report.
    However, when I save this report and run it on the Crystal Server (2008) using infoview, I do not get the dynamic LOV. Rather, I have to manually type a value that I want to select.
    Why does the LOV's not work when I run it through Crystal Server? Another thing, when I access it from Crystal Server through Crystal Reports, I still lose the dynamic LOV option.
    How do I use parameters so that I can select from a dynamic list a values? It behaves normally in Crystal Reports 2008 but loses it's functionality on the Server.
    Thank you in advance.

    This just started happening to me as well, the reports I created (using standalone crystal reports 2008) contain dynamic parameters and suddenly they stopped working as intended in some reports.
    I noticed that when the datasource is a single table or a single view the cascading (nested) dynamic parameters and dropdowns are working fine, but when the datasource is two or more linked tables, the parameters prompt shows two empty text boxes instead of two dropdowns. I tried refreshing and verifying the database but nothing works. So until we find a real solution, we're basing all our reports on single views.
    This remains a serious problem because in some cases we don't have write access to the database to create views, and basically we're recreating all the reports that now suffer from this problem.
    Edited by: Talal Nehme on Jan 7, 2009 7:29 PM

  • Highlighting based on combo value

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="silver">
        <mx:VBox x="5" y="5" verticalGap="0" id="vb">
            <mx:HBox horizontalGap="0">
                <mx:Canvas id="a" borderStyle="solid" width="300" height="300" borderThickness="2" borderColor="black"/>
                <mx:VBox width="15" backgroundColor="yellow" height="300"/>
                <mx:Canvas id="b" borderStyle="solid" borderThickness="2" width="600" height="300" borderColor="black"/>
                <mx:VBox width="15" backgroundColor="yellow" height="300"/>
                <mx:Canvas id="c" borderStyle="solid" borderThickness="2" width="300" height="300" borderColor="black"/>
            </mx:HBox>
            <mx:HBox height="15" width="{vb.width}" backgroundColor="yellow"/>
            <mx:HBox horizontalGap="0">
                <mx:Canvas id="d" borderStyle="solid" width="300" height="300" borderThickness="2" borderColor="black"/>
                <mx:VBox width="15" backgroundColor="yellow" height="300"/>
                <mx:Canvas id="e" borderStyle="solid" borderThickness="2" width="600" height="300" borderColor="black"/>
                <mx:VBox width="15" backgroundColor="yellow" height="300"/>
                <mx:Canvas id="f" borderStyle="solid" borderThickness="2" width="300" height="300" borderColor="black"/>
            </mx:HBox>
        </mx:VBox>
        <mx:ComboBox id="combo" dataProvider="{['A','B','C','D','E','F']}" x="300" y="{Application.application.height-50}"/>
        <mx:TextInput id="ti" width="60" x="360" y="{Application.application.height-50}"/>
        <mx:Button id="btn" x="440" y="{Application.application.height-50}" label="Click"/>
        <mx:WipeDown id="wipeDown" duration="3000"/>
        <mx:TitleWindow x="{Application.application.width-330}" title="Yard Details"  y="390" width="300" borderColor="red" borderThickness="3"
            creationCompleteEffect="{wipeDown}">
            <mx:HBox horizontalAlign="center" width="100%">
                <mx:VBox horizontalAlign="center">
                    <mx:Label text="Name" fontSize="12" fontWeight="bold"/>
                    <mx:Label text="A" fontSize="12"/>
                    <mx:Label text="B" fontSize="12"/>
                    <mx:Label text="C" fontSize="12"/>
                    <mx:Label text="D" fontSize="12"/>
                    <mx:Label text="E" fontSize="12"/>
                    <mx:Label text="F" fontSize="12"/>
                </mx:VBox>
                <mx:VBox horizontalAlign="center">
                    <mx:Label text="Occupied (%)" fontSize="12" fontWeight="bold"/>
                    <mx:Label text="{}" fontSize="12"/>
                    <mx:Label text="{}" fontSize="12"/>
                    <mx:Label text="{}" fontSize="12"/>
                    <mx:Label text="{}" fontSize="12"/>
                    <mx:Label text="{}" fontSize="12"/>
                    <mx:Label text="{}" fontSize="12"/>
                </mx:VBox>
                <mx:VBox horizontalAlign="center">
                    <mx:Label text="Empty (%)" fontSize="12" fontWeight="bold"/>
                    <mx:Label text="{}" fontSize="12"/>
                    <mx:Label text="{}" fontSize="12"/>
                    <mx:Label text="{}" fontSize="12"/>
                    <mx:Label text="{}" fontSize="12"/>
                    <mx:Label text="{}" fontSize="12"/>
                    <mx:Label text="{}" fontSize="12"/>
                </mx:VBox>
            </mx:HBox>
        </mx:TitleWindow>
    </mx:Application>
    I am considering that one canvas is of 100 units for its width  total and another is of 200 units etc
    A,B,C,D,E,F of combo values represents different canvas
    and I can fix something as a unit value eg: for A it is of 10
    if i select A and I enter 1 in ti and click on button then I want to fill the 10% area of the total area of 'A' canvas with some color
    In this way I want to develop for all canvases dynamically based on the unit value
    Please help............ me

    Hello,
    Just to make my requirement more clear
    I have a requirement like this.
    I have a dashboard prompt which takes 7 values.
    4 values should come from a column of a table and 3 since that column don't have need to be hardcoded.
    Now once i click enter it should show values from 3 diff tables(from each table 2 columns).
    i.e. should show only 2 columns at a time depending upon the values selected in the prompt.
    Like
    If i select value1 from prompt, then should show col1 and col2 from tableA
    If i select values2 from prompt,then should show col1 and col2 from tableB.
    like so
    Thanks

Maybe you are looking for

  • Help on setting up VOIP on my E70

    Can anyone please advise how I set VOIP up on my new E70? Also can I access the same SKYPE account as I have on my laptop or do I have to use the another provider? thanks dt7

  • Can't edit information in an accepted ical invitation

    After I accept an invitation in ical, I would like to just edit the "new event" and "location" field but not change the date or time or any other information that would effect the invitation. Is there anyway to do this modification of text in ical?

  • How much disk space will I need in bootcamp for PC games

         Hi, I have installed bootcamp and windows but when I went to use steam on it I coudlnt download anything because i have barely any disk space. I believe this has something to do with the partioning thing. So I need to know how much I roughly nee

  • Why has Firefox suddenly quit showing pictures in eBay listings.

    About two or three weeks ago I noticed that Firefox no longer showed pictures on eBay. Only a blank box indicating where the picture would normally show. Yes I am properly logged on to the site, and navigation is otherwise normal.

  • Making fields blank

    I want to make a NAME type field blank when a condition of my rule hides the field.