Can Flex do dynamic UI like AJAX?

With CGI or AJAX apps, if I want a checkbox for each of a
number of items returned by the server, I can just have the server
spit out a bunch of checkbox HTML elements, then set them as the
innerHTML for some div.
Since Flex is compiled, it doesn't seem like this is
possible. Is there a way to have any number of checkboxes
dynamically generated based on output from a server?

"trustme73" <[email protected]> wrote in
message
news:g95ksf$32n$[email protected]..
> My requirement is slightly different. I am generating a
html layout in the
> server(html form with the list of input boxes and
buttons). When the
> browser
> receives this layout it just renders the page. I want to
convert this to
> flash
> UI. But flash has swf file which is complied. How can i
convert html page
> to
> flash ui(swf file)?. Here the html page is dynamically
generated one and
> the
> number of controls and the layout info will be decided
at runtime.
If your HTML is valid XHTML, you should be able to use e4x to
walk the tree
and display equivalent items. But since you have it working,
why not just
leave it alone?

Similar Messages

  • Can Flex 4.6 connect directly with a MS WCF

    Can Flex 4.6 connect directly with a MS WCF without having to use a 3rd party tool like WebOrb.  I have several basic httpprotocal wcf services that I want to move to a mobile app with Flex. Any feed back or insight will be appriceated.

    The correct answer to this question appears to be that Apple's terms of service *do not* prohibit the loading of swf's on IOS from remote servers dynamically at runtime.  They prohibit the loading of swf's that *contain executable ActionScript code*. 
    I loaded a PPT into Adobe Connect and then retrieved the resultant slide swf's from the Connect server.  I took these swf's and loaded them into my iPad app, dynamically at runtime, from a remote server.  The swf's loaded and animations played.  I made no changes to my code.  I'm just using a plain old SWFLoader object.
    Loading swf's dynamically at runtime from remote servers into IOS works - if you make the swf's right.  How to do that I'm not sure.

  • Can we have a query like

    Hi friends,
    I would like to know if this could be possible
    we have some 20 business like bus_ind, bus_usa, bus_jap...
    I have to do the below query each of the business
    for bus_ind
    SELECT COUNT(*)
    FROM bus_ind
    WHERE
    workdate BETWEEN TO_DATE('01/01/2008','DD/MM/YYYY') AND TO_DATE('31/12/2008','DD/MM/YYYY') AND
    workid NOT IN (6,7) AND
    NOT EXISTS (SELECT 'X' FROM bus_ind WHERE somecol = workid);
    instead of having 20 such query i was trying to see if there is a possibility to have a table like
    shytest
    id, tbl
    1 bus_ind
    2 bus_jap
    3 bus_usa
    and a single query like
    SELECT COUNT(*)
    FROM (select tbl from shytest where id=1)
    WHERE
    workdate BETWEEN TO_DATE('01/01/2008','DD/MM/YYYY') AND TO_DATE('31/12/2008','DD/MM/YYYY') AND
    workid NOT IN (6,7) AND
    NOT EXISTS (SELECT 'X' FROM bus_ind WHERE somecol = workid);
    Thanks
    -vish

    According to your requirnment there should be only one table for all the bussinesses with different partitions for all the bussiness.
    For now you can also create one veiw for all the business.. & fire you all query on that
    create or replace view business_view as
         select 'bus_ind' as business_loc, col1, col2, ... from bus_ind union all
         select 'bus_usa' as business_loc, col1, col2, ... from bus_usa union all
         ...Or you can also use Dynamic sql as all other are suggesting.
    Regards
    Singh

  • How can i download dynamic alv report into excel  ?

    when i create dynamic alv report and try to download it
    to my pc ( to excel file ) the data is not set in the
    write position , also i get message in the excel
    "Dynamic List Display " .
    how can i set the data like the alv display ?

    ALV has standard download functionality to Excel. Aren't you able to use this functionality? Have you written your own custom code for DOWNLOAD?

  • How do i implement dynamic feature like arraylist in an array

    how do i implement dynamic feature like arraylist in an array

    funny
    but can u realy give me that code

  • Can Flex 2 accomodate FLASH PLAYER 6?

    Hello Everyone,
    I am very new to Flex. I would like to know if flex 2 can be
    played in FLASH PLAYER 6? What is the minimum Flash Player Version
    required for FLEX 2?
    Thanks a lot.

    Hi, minimum requirement is Flash Player 9
    http://www.adobe.com/products/flex/productinfo/systemreqs/
    Cheers,
    David

  • Can Flex be used to design online questionnaire?

    I am completely out of my depth here, but I am looking to purchase a program that can be used to design my own online questionnaire. I would like the following features:
    1) abbility to generate followup questions (guided by input)
    2) hyperlinking / "hover over" help  to guide answering the questionnaire
    3) Dropdown boxes / databases to provide choices for answers
    4) Be able to generate reports from the answers given
    5) add images and perhaps sound bites
    Can Flex do this???

    Michael,
    Thank you for your input. I downloaded a trial of Captivate 4. It is indeed impressive. However, I do have some difficulty figuring out how to branch my questions, (exclude certain questions depending on prior answers).
    Also, is there a way that would accomplish the following:
    Q1: Do you have high blood pressure?
    A: Yes
    B:No
    Q2: Is your blood pressure well controlled?
    A:Yes
    B: No
    Can one generate a predesigned form or report (Certificate) that will read (amongst other responses) as follows:
    "Mr Smith has hypertension that is poorly controlled".
    If Q2 was answered as "yes", then the report will read:
    "Mr Smith has hypertension that is well controlled."
    Thanks
    Jan

  • How can we get Dynamic columns and data with RTF Templates in BI Publisher

    How can we get Dynamic columns and data with RTf Templates.
    My requirement is :
    create table xxinv_item_pei_taginfo(item_id number,
    Organization_id number,
    item varchar2(4000),
    record_type varchar2(4000),
    record_value CLOB,
    State varchar2(4000));
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
    select * from xxinv_item_pei_taginfo;
    Item id Org Id Item Record_type Record_value State
    493991     224     1265-D30     USES     fever     TX
    493991     224     1265-D30     HOW TO USE     one tablet daily     TX
    493991     224     1265-D30     SIDE EFFECTS     XYZ     TX
    493991     224     1265-D30     DRUG INTERACTION     ABC     TX
    493991     224     1265-D30     OVERDOSE      Go and see doctor     TX
    493991     224     1265-D30     NOTES     Take after meal     TX
    Above is my data
    I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
    In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
    its a BI Publisher report.
    please suggest

    if you have data in db then you can create xml with needed structure
    and so you can create bip report
    do you have errors or .... ?

  • Can we use Dynamic SQL in Oracle Reports ?

    Hi ,
    Can we use Dynamic SQL in Oracle Reports ?
    If yes please give some examples .
    Thanx
    srini

    I believe the built-in package SRW.Do_Sql is what you are looking for
    Example from the document:
    /* Suppose you want to create a "table of contents" by getting the
    ** first character of a columns value, and page number on which its
    ** field fires to print. Assume that you want to put the "table of
    contents"
    ** into a table named SHIP. You could write the following construct:
    DECLARE
    PAGE_NO NUMBER;
    PAGE_FOR INDEX NUMBER;
    SORT_CHAR CHAR(1);
    CMD_LINE CHAR(200);
    BEGIN
    SORT_CHAR := :SORT_NAME ;
    IF :CALLED = Y THEN
         SRW.GET_PAGE_NUM(PAGE_FOR_INDEX);
         SRW.USER_EXIT(RWECOP PAGE_FOR_INDEX
         P_START_PAGENO);
         SRW.MESSAGE(2,TO_CHAR(:P_START_PAGENO));
    END IF;
    SRW.GET_PAGE_NUM(PAGE_NO);
    CMD_LINE := INSERT INTO SHIP VALUES
                          (||SORT_CHAR||,||TO_CHAR(PAGE_NO)||);
    SRW.MESSAGE(2,CMD_LINE);
    SRW.DO_SQL(CMD_LINE);
    COMMIT;
    EXCEPTION
      WHEN DUP_VAL_ON_INDEX THEN
            NULL;
      WHEN SRW.DO_SQL_FAILURE THEN
            SRW.MESSAGE(1,FAILED TO INSERT ROW INTO SHIP TABLE);
      WHEN OTHERS THEN
           COMMIT;
    END;

  • I have a Macbook Air that had some coffee spilled on the keyboard and as a result the plus/equals key is no longer functioning. Can I use a program like Ukelele to reprogram a different key to be my plus/equals key? Can I program a function key? key

    I have a Macbook Air that had some coffee spilled on the keyboard and as a result the plus/equals key is no longer functioning. Can I use a program like Ukelele to re-program another key to do that function? Can I re-program a function key to do this function?

    Water + electronics do not mix.  Something was damaged insode, and the logic board may be corroding as is.
    Take it to a Genius Bar for an evaluation and repair estimate.
    This is accidental damage and not covered by warranty.

  • Can I use ARM LM3S8962 like a DAQ card?

    I have the ARM embedded software and have used it to write some programs that run on the LM3S8962.  What I'm wondering is if I can have a program that runs on the PC that "talks" to the ARM board occasionally to query the inputs or control outputs.  If it is possible, how would I do that?

    You absolutely can use an ARM LM3S8962 like a DAQ card, the only restraints you have are how fast the microprocessor can run and the limited amounts of AI you have available on the Luminary board. you can simply add an AI elemental I/O node to your project and wire your transducer to the luminary board. You then can take the data from the microcontroller and send it to the Host PC through a network published shared variable. There are a couple of tricks to this that may not be completely evident. I have included two links that I think will help you get to where you want to be. The first is setp by step how to connect an accelerometer to teh ARM board, but you can modify it for your own transducer.
    http://decibel.ni.com/content/docs/DOC-9614
    The second is hwo to use network published shared variables on an ARM board. I hope this helps!
    http://digital.ni.com/public.nsf/allkb/6E50B28DDC61C0E68625767400805AA0
    Scott W
    National Instruments
    Applications Engineer

  • HT5622 I'm a student exchange from france in USA, I have an apple ID from france and a bank count in france but i want access to the apple store US because I'm here for the year and some app can be interesting for me (like my gym club app) how can i do ?

    I'm a student exchange from france in USA, I have an apple ID from france and a bank count in france but i want access to the apple store US because I'm here for the year and some app can be interesting for me (like my gym club app) how can i do ?

    you cant.  you need a US bank account.

  • I want to place an image in my InDesign document that can work with an address like this (\Resources\Thumb) rather than this (C:\Users\JSmith\Desktop\InDesign thumbnail Test\001\Resources\Thumb) is this possible?

    I want to place an image in my InDesign document that can work with an address like this (\Resources\Thumb) rather than this (C:\Users\JSmith\Desktop\InDesign thumbnail Test\001\Resources\Thumb) is this possible? In a nutshell I want to point the link to an image in a directory that uses just part of the address.

    I know this is something you can do in Maya with linked files. I guess InDesign just isn't there yet.
    MW Design -  Yeah I think "Relative paths" is the right term! I want to create a Layout with an image in the center of the page - and then duplicate my folder structure with that file. With that, I want to replace the Linked image file with a diferent image file of the same name. In effect having multiple files of the same layout with different images.  I hope that made sense.  

  • How can we create dynamic pie chart in jsp

    hi im a new jsp programmer and i just want to know how can i create dynamic pie chart in jsp

    http://sourceforge.net/projects/jfreechart
    - Saish

  • How can I create a drawing like the one pictured from a photo?

    How can I create a drawing like the one pictured from a photo?

    OK, you are getting closer. Now, use your result, and place a Layer above that. Use the Pen Tool to create the "pen strokes" basically tracing over your background image. Then, when you have created each Path (or Sub-Path), choose Stroke Path, with probably the Pencil Tool and a Brush size that is small enough.
    Not sure which versions of PS these are good for, but here are some plug-ins, that might be helpful.
    AKVIS Sketch
    EdgeLine
    Sketch Effects
    Sketch Master
    I see that one of my old favorites, Flaming Pear's India Ink is not around any more.
    Good luck,
    Hunt

Maybe you are looking for

  • How do I find out who sent me an Apple gift card?

    I know this is not the area to post it, but I couldn't find any place better. I received an Apple gift card today with a message but no name so I don't know who to thank. Is there a place online I can put it in and find out or if I call Apple can the

  • Iphone crash downloading iOS 6 and unable to restore using iTunes  due to error 3253

    I'm from New Zealand and woke up this morning to find the iOS 6 was available. So after an hour of downloading onto my iPhone 3GS, it wiped my phone, sent it into restore mode. I connected to iTunes - have been trying for almost 8 hours!!!!!!!! and i

  • Problem with email

    My Droid X has stopped receiving my emails.  How do I update/turn that back on?  It's been a week since my last email appeared on my phone, but I'm still getting them on my computer and iPad.  Any suggestions welcomed as by the time I get out of work

  • PsE 10 Sign-in Issues

    I bought Adobe Photoshop Elements 10 online. When I run it and try to log into my account, it gets blocked, so I cannot neither log in nor use it I have spent days trying to get this problem fixed through Customer Support Service, including in two lo

  • Oracle related - On Solaris 10

    Hi, I face problem while installing SAP Solution Manager 4.0/ Oracle 10.2.0.2 on Solaris 10. SAP experts say it is an OS related problem. The relevent portions of log is given below. Please help to solve this. sapinst.log ERROR 2006-10-05 16:50:18 CJ