Dynamic Form Building

Hello,
I did some tought on how to build a dynamic form builder, and would also like to know what you people think. I did a search with google, but could not find much.
What i tought so far is that my dynamic form builder should build a form for a class containing only data in it. This would mean that the class has only get/set methods. Now the get method would return either string, int, etc.
Now Does anyone know how I can know all the methods in a class? I am sure it exsists in Java (coz I found it in C#)
and also do you believe it is possible? I tought about this because I wanted my application data to have always a standard interface wether the user is viewing the data from his pc, and applet, or anywere else!
all your toughts, advices & insults are widly appreciated :)

Yee I like reading other posts (is the best way to learn things sometimes), but also get afraid to make a new post :)
I did what you (MLRon) and bsampieri told me, and I must say that was easy :) so thanks.
I would just like an advice. (I am sorry to always compare with C# but I have using it latly and don't know how to explain myself). In C# you can create an attribute Tag on each method. This becomes like the Meta Data of the class from what I read. Now Is there anything like that in Java as well? Not actuall atributes, but meta data, or I would have to build that myself?
I am asking the above because imagine the getText() method returns a string. A string graphic wise can be displayed either in a JTextField or a JTextArea (according to wether a multi line is wanted). The same goes for a boolean. It can be presented either by a check box, or else by two radio buttons.

Similar Messages

  • A Dynamic Form Builder?

    I'm trying to avoid having to program a dynamic form builder
    from scratch for our CMS. I'm sure it's out there somewhere. Any
    leads?
    Thanks!
    Paul

    Yee I like reading other posts (is the best way to learn things sometimes), but also get afraid to make a new post :)
    I did what you (MLRon) and bsampieri told me, and I must say that was easy :) so thanks.
    I would just like an advice. (I am sorry to always compare with C# but I have using it latly and don't know how to explain myself). In C# you can create an attribute Tag on each method. This becomes like the Meta Data of the class from what I read. Now Is there anything like that in Java as well? Not actuall atributes, but meta data, or I would have to build that myself?
    I am asking the above because imagine the getText() method returns a string. A string graphic wise can be displayed either in a JTextField or a JTextArea (according to wether a multi line is wanted). The same goes for a boolean. It can be presented either by a check box, or else by two radio buttons.

  • Dynamic SQL in Form Builder 6.0

    Hai,
    I would like to know how to create Dynamic SQL in Form Builder 6.0. I'am using oracle 9i database...Please help me.....

    I studied the EXEC_SQL and i wrote these syntax(below), but it gives me error...Could you help me please......:
    PROCEDURE Dynamic_sql IS
    connection_id EXEC_SQL.CONNTYPE;
    cursorID EXEC_SQL.CURSTYPE;
    sql_string VARCHAR2(1000);
    v_pc varchar2 (4);
    v_pd varchar2 (30);
    v_poc varchar2(4);
    v_pvd DATE;
    v_pid DATE;
    exec_id PLS_INTEGER;
    out_file TEXT_IO.FILE_TYPE;
    linebuf varchar2(7000);
    vchFileName VARCHAR2(100);
    Vchfolder VARCHAR2(100);
    AppID      PLS_INTEGER;
    nmbAlert          varchar2(50);
    BEGIN
    SET_APPLICATION_PROPERTY(CURSOR_STYLE,'BUSY');
    vchFileName := 'dynamic_sql_'||sysdate||'.txt';
    Vchfolder := 'D:\KONS\Damar\';
    host('mkdir '||Vchfolder,NO_SCREEN);
    out_file := text_io.fopen(vchfolder||vchFileName,'w');
    TEXT_IO.PUT_LINE (out_file,'PRODUCT CODE PRODUCT DESC PRODUCT OBJECT CODE PRODUCT VALID DATE PRODUCT INVALID DATE ');
    connection_id := EXEC_SQL.OPEN_CONNECTION('FIFDBA/F1FDBA@REPL_DAILY');
    cursorID := EXEC_SQL.OPEN_CURSOR(connection_id);
    sql_string := 'SELECT PROD_CODE, PROD_DESC, PROD_OBJT_CODE, PROD_VALID_DATE, PROD_INVALID_DATE
    FROM HOUS_PRODUCT_TYPE ';
    EXEC_SQL.PARSE(connection_id, cursorID, sql_string, exec_sql.V7);
    --EXEC_SQL.BIND_VARIABLE(connection_id, cursorID, '', input_empno);
    EXEC_SQL.DEFINE_COLUMN(connection_id, cursorID, 1,v_pc, 4);
    EXEC_SQL.DEFINE_COLUMN(connection_id, cursorID, 2, v_pd, 30);
    EXEC_SQL.DEFINE_COLUMN(connection_id, cursorID, 3, v_poc, 4);
    EXEC_SQL.DEFINE_COLUMN(connection_id, cursorID, 4, v_pvd);
    EXEC_SQL.DEFINE_COLUMN(connection_id, cursorID, 5, v_pid);
    exec_id := EXEC_SQL.EXECUTE(connection_id, cursorID);
    WHILE (EXEC_SQL.FETCH_ROWS(connection_id, cursorID) > 0 ) LOOP
    EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 1, v_pc, 4);
    EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 2, v_pd);
    EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 3, v_poc);
    EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 4, v_pvd);
    EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 5, v_pid);
    TEXT_IO.PUT_LINE(out_file,v_pc || v_pd ||v_poc||v_pvd||v_pid);
    --Forms_DDL('INSERT INTO TEMP VALUES('||''''||nRows||' '||v_state_id||''''||')');
    --COMMIT_FORM();
    END LOOP;
    EXEC_SQL.CLOSE_CURSOR(connection_id, cursorID);
    EXEC_SQL.CLOSE_CONNECTION(connection_id);
    SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');
    TEXT_IO.FCLOSE(out_FILE);

  • Populating dynamic values in the combobox with XML form Builder.

    I am trying to  populate dynamic value in the combobox with xml form builder. I  see the document saying create property group and document property Id with respecitive values.  I am able to create the property group with system admin -> System config
    -> KM -> CM -> Global services  -> property Metadata -> groups  with new button. and I  am trying to create document property Id with value. I am not able to find the way to give  value in the property.   I am using  EP 7.0 Sp 14.  Please let me know how to sovel it

    Hi
    You can create new property metadata with System Admin > System Config > KM > CM > Global services > Property Metadata > Properties > New. Specify the values for this metadata as the ones you need to have in the combo box. Use allowed values parameter of the matadata to sepcify the values. Each metadata property will have unique property ID and you can map this property ID to your combo box in xml forms.
    Give it a try.
    Regards,
    Yoga

  • Creating dynamic LOV in form builder 6i

    Hi All,
    I am new to form builder.
    I want to create dynamic lov, means
    Project type
    Client
    Work_type(thsi is also lov) ->> 1) Billable
    Reason (this is also lov) ->> 1) Billable
    Work_type(thsi is also lov) ->> 2) Non-Billable
    Reason (this is also lov) ->> 1) Fresher
    2) Project Manager
    As shown above, Suppose the project type is client then I will select either "Billable" or "Non-Billable" value.
    If I am selecting Work_type LOV as "Billable" then it should display "Billable" value in reason LOV
    or if I am selecting Non-Billable value from Work_type LOV then reason LOV will display the list of value as Fresher and Project Manager.
    Please help me, its very urgent.
    Thanks in advance.
    Regards,
    Bluetooth

    Bluetooth,
    This can be accomplished by creating two seperate record groups; one for Billable and one for Non-Billable. Then - in the WORK_TYPE When-Validate-Item (WVI)trigger - when the value is "Billable" you assign the Billable Record Group to your LOV or if the value is Non-Billable, then you assign the Non-Billable record group to your LOV. Your Record Group queries must return the same number of columns and the column names must match. If your record groups need to have a different number of columns and column names, then I would just use two seperate LOV's and assign them to the item accordingly. For example:
    /* Sample WVI trigger */
    DECLARE
      lov_id    LOV;
      item_id   ITEM;
    BEGIN
      lov_id := Find_LOV('YOUR_LOV_NAME');
      /* Option 1: Change Record Group of LOV */
      IF ( :YOUR_BLOCK.WORK_TYPE = 'BILLABLE' ) THEN
        IF ( Get_LOV_Property(lov_id, GROUP_NAME) != 'BILLABLE_RG' ) THEN
          Set_LOV_Property(lov_id, GROUP_NAME, 'BILLABLE_RG');
        END IF;
      ELSIF ( :YOUR_BLOCK.WORK_TYPE = 'NONBILLABLE' ) THEN
        IF ( Get_LOV_Property(lov_id, GROUP_NAME) != 'NONBILLABLE_RG' ) THEN
          Set_LOV_Property(lov_id, GROUP_NAME, 'NONBILLABLE_RG');
        END IF;
      END IF;
      item_id := Find_Item('YOUR_BLOCK.REASON');
      /* Option 2: Seperate LOV's */
      IF ( :YOUR_BLOCK.WORK_TYPE = 'BILLABLE' ) THEN
        IF ( Get_Item_Property(item_id, LOV_NAME) != 'BILLABLE_LOV' ) THEN
          Set_Item_Property(item_id, LOV_NAME, 'BILLABLE_LOV');
        END IF;
      ELSIF ( :YOUR_BLOCK.WORK_TYPE = 'NONBILLABLE' ) THEN
        IF ( Get_Item_Property(item_id, LOV_NAME) != 'NONBILLABLE_LOV' ) THEN
          Set_Item_Property(item_id, LOV_NAME, 'NONBILLABLE_LOV');
        END IF;
      END IF;Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Problem with dynamic query in Forms Builder

    Hi,
    I need in forms builder cursor in procedure which parameter is a whole query. But i stuck when i wanna give some text in signs '' to procedure.
    I wanna give like test('select ' ||'test' || ' from dual');
    But this is not good beacuse it is missing ''.
    Query which procedure get is select test from dual.
    The right sql would be select 'test' from dual.
    How could i pass signs '' to procedure.
    Any ideas.
    Thanks in advance.

    test('select ''' ||'test' || ''' from dual');Francois

  • Dynamic form search in form builder

    Hello folks, I am relatively new to form builder, only a few months of experience, and here is the problem that I am having.
    I have this table, table1, with columns A,B,C,D..etc, I want to set up the search page in the following fashion:
    - One text field for every column of the table
    - The user can fill some of these text field, and leave others empty.
    - the form should only search for the columns in the text fields that are not empty, for example, if I leave the text field corresponding to A empty, then I can search for any value of A.
    - the result of the search is displayed in an LOV.
    I have read around and I found it to be something like that in the LOV query:
    SELECT *
    FROM table1
    WHERE
    (:block.A_text_field IS NULL OR table1.A = :block.A_text_field) and
    (:block.A_text_field IS NULL OR table1.A = :block.A_text_field) and etc for all columns...
    Or maybe this:
    SELECT *
    FROM table1
    WHERE (A = :block.A_text_field AND :block.A_text_field IS NOT NULL) OR
    (B = :block.B_text_field AND :block.B_text_field IS NOT NULL)OR etc for all columns....
    I haven't tested these two sample codes, because the server is closed currently, but would they work knowing my requirement? Would this query search for any value of B if the B_text_field was left empty? eg. user types 55 in A_text_field and leaves B_text_field empty; would it generate an LOV that shows A=55 and B any value?

    well to my mind this where clause
    (:block.A_text_field IS NULL OR table1.A = :block.A_text_field) and
    (:block.B_text_field IS NULL OR table1.B = :block.B_text_field) and [...]returns:
    if A_TEXT_FIELD is entered, then the column A column has to be exact the value of A_TEXT_FIELD (:block.A_TEXT_FIELD = table1.A) else if it there isn't any value entered there is no limitation for table1.A (:block.A_TEXT_FIELD is null with OR condition).
    When entering A_TEXT_FIELD and B_TEXT_FIELD, both limitations have to be fulfilled (if only B_TEXT_FIELD is entered just the B_TEXT_FIELD condition has to be fulfilled of course).
    When you don't enter any conditions in your textfields, you get all records from the table
    whereas the second construct won't return anything if you don't enter some data in your text fields.
    guess this:
    :block.a_text_field is null and :block.b_text_field is null, so this would be:
    (A = NULL and NULL IS NOT NULL) --this is false
    OR (B = NULL and NULL IS NOT NULL) -- this is also falseyou can simply check this by issuing the following query in SQL*Plus or something:
    CRONET@tcp_asterix_impl> select 1 from dual where 1 = null and null is not null;
    no rows selected
    CRONET@tcp_asterix_impl>So I believe the first condition does the thing you want.
    regards

  • How to create a dynamic form with bind variables :schema & :table_name

    My application has two LOV's, one to select a schema, and the next to select a table within that schema. I then have a button which passes me to a report which displays the data in that table.schema.
    I now want to create a link to a form where I can edit the record based on the rowid of that table.schema, but it doesn't appear that I can create a dynamic form where I pass the schema.table_name and rowid. Is this possible? Can anyone advise how I can do this? The form builder only wants a fixed schema/table name.
    Thanks in advance.
    Stuart.

    Hi Stuart,
    In this sort of situation, you will need to be a bit creative.
    I would suggest a pipeline function called as if it was a report.
    Then you can pipe out the required fields.
    Since you will have a variable number of fields, you could use two of the multi row field names for your field names and values.
    Then after submit, you can create your own procedure to loop through the fields (stored for you in the Apex package) and update the table as required.
    Not very specific I'm afraid, but it should work.
    Regards
    Michael

  • Dynamic forms in AIR/Flex

    OK, this is another of those "Is AIR the right tool for the job" questions. And I have zero previous exposure to Flash/Flex, just doing a fast forward through all available information, to reach an assessment.
    The app in question is mainly a vanilla database client (server component exists and has a ReSToid HTTP interface). It involves task lists, forms, all the ususal stuff and is glueing together a bunch of other (pre-existing) apps on the client  which are to be spawned from the glue app.
    In contrast to the legacy app which is to be replaced, the database structure shall be customizable per customer site and consequently have custom edit forms.
    Now, how to implement custom, dynamic forms in AIR/Flex? It seems logical to store the forms together with custom table in the database, but in which format? It is impossible to just store MXML forms, as Flex is a compiled language and I didn't find a hook to pull in extra MXML from an external source.
    Is there a Flex component turning an XML description of a form into a form on the screen, as mx:FlexNativeMenu can turn XML into a menu?
    Or am I looking into the wrong direction? It seems an AIR/Ajax soulution would be able to just pull the custom form in HTML from an external source and use it. But AIR/Flex is looking to be the friendlier and more productive environment....

    You can dynamically compose a form at runtime via as3.
    Here is a quick example.
    HTH.
    ps: afaik there is no component which automatically builds a form from xml.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="init()">
    <mx:Script>
    <![CDATA[
         import mx.controls.TextInput;
         import mx.containers.FormItem;
         private function init():void {
              var formItem:FormItem = new FormItem();
              formItem.label = "FormItem1";
              var textInput:TextInput = new  TextInput();
              formItem.addChild(textInput);
              myForm.addChild(formItem);
    ]]>
    </mx:Script>
         <mx:Form id="myForm">
              <mx:FormHeading label="My Form"/>
         </mx:Form>
    </mx:Application>

  • Run Form in Form Builder 9.0.4.0.0

    Hi All:
    I have installed developer suite with form builder 9.0.4.0.0. Installation was successful but when i run a form from form builder it opens a browser window having address of html file resides in my c:\documentsandsetting \username\localsetting\temp\xxx.htm. Actually this htm file is created dynamically in specified location with different names on different requests and then open actual form having address http://host:port/forms90/f90servlet. (i didn't see this behaviour in 9iDS).
    Actually my problem is that my browser didn't get first address (c:\documentsandsetting\username\localsetting\temp\xxx.htm) correctly when i press "RUN FORM" button in form builder it contains http://%%20c:\documentsandsetting\username\localsetting\temp\xxx.htm and because of this address my actual form is not shown. If i ommit http://%%20 manually from address bar and press enter then my form runs perfectly.
    Please tell me is there any solution exist for this problem.

    Thanks Ronald for ur reply but unfortunately this method didn't work. I have changed my browser setting as follows
    -ActiveX controls and plug-ins
    * Download signed ActiveX controls
    Enable
    * Download unsigned ActiveX controls
    Enable
    * Initialize & script ActiveX controls not marked as safe
    Enable
    * Run ActiveX controls & plug-ins
    ENable
    * Script ActiveX controls marked safe for scripting
    Enable     
    and even after i have restart my form builder and oc4j instance i have faced the same problem.
    Plz. let me know is there any other solution exist.
    Regards
    Sam

  • Dynamic Form ---- How to define mx:model or Param/value

    I have created a dynamic Form reading input type from
    external .xml file. Does anyone have advice concerning sending the
    form data to an external .jsp or .php file without knowing what
    your <mx:Model> will be? Whenever I try to write:
    <mx:Model>
    <root>
    <q1>data</q1>
    <q2>data</q2>
    </root>
    </mx:Model>
    I receive this error: 1120:Access of undefined property
    event. I am sure this is because the form elements are created
    using actionscript and not within mxml.
    I also tried sending it within actionscript using the
    send.data(param) like this, same error:
    var service:HTTPService = new HTTPService();
    //service.contentType = 'application/xml'
    service.resultFormat = 'e4x';
    //service.destination = 'DefaultHTTP';
    service.url = 'URL removed';
    service.method = "POST";
    service.addEventListener("result",handle_loginResult);
    service.addEventListener("fault",handle_loginfault);
    var o:Object = new Object();
    o.q1 = event.q1;
    o.q2 = event.q2;
    service.send(o);
    Example
    of the Application with elements rendered
    If you would like to see the complete code:

    What are you expecting "event" to refer to?
    Put an id on your Model tag, then you can use it to reference
    the data.
    Note, mx:Model builds a tree of dynamic objects. You will be
    happier in the long run if you use mx:XML instead.
    Tracy

  • Form Builder storing results as WDDX

    A while back i wrote a form builder. To store the results of
    a form submission I decided to use wddx and save the xml string
    into the db, which seemed like a good idea at the time. Further
    down the line this form builder has been used for much larger forms
    and sheer amount of data being store as text is making the server
    crash when it has to be serialized or deserialized.
    I was wondering if there is a better way to store this data,
    obviously storing the data in tables would be a bit of a pain as
    the form builder is dynamic and can have any number of fields.
    I decided against storing the wddx data in a text file as i
    was worried about read/write locks on a busy form. Was i wrong to
    go down this route?
    Hope someone can help
    Matt

    cf_matt wrote:
    > Ian
    >
    > yes i think thats right
    >
    > so i have:
    >
    > form_id | form_name | form_recordset
    > 1 enquiries <WDDX>
    >
    > I did think about storing name and value pairs in a
    table but then that would
    > be huge amounts of records
    >
    First of all, don't be afraid of a huge amount of records.
    That is what
    databases are designed to deal with. A great many very smart
    people
    have spend a great many hours making database management
    systems very
    efficient at processing huge amounts of records for the past
    fifty years
    or so. Personally, I trust their work to be more complete
    then anything
    I can cobble together on my own.
    Secondly, I would at least break it up so that each complete
    form submit
    is one record in the database. Then at least you are dealing
    with a
    constant sized WDDX packet, not one that is growing with
    every new
    record append to the data.

  • Form Builder in ADF

    Hi,
    is there any form builder available in ADF ?(open source preferably)
    I know Jdeveloper has the best form builder !!
    but, there may be cases we need to give users a tool to make their own (table , entity , view, form) and use simple CRUD operations.
    and what are the steps we need to take to make a form builder from scratch in ADF ?
    Shahab

    Hi,
    but in the project I'm currently working on,we do not have the possibility to determine all the entities at this point.
    For ADF BC you can dynamically create entities and view objects. This is best explained in the following book by Jobinesh Purushothaman
    Oracle ADF Real World Developer’s Guide
    Mastering essential tips and tricks for building next generation enterprise applications with Oracle ADF
    By Jobinesh Purushothaman
    ISBN 1849684820
    Released in October 2012
    The book also has an online appendix you want to download and look at
    this project is something that will never stop being extended ! and in future they may need to add some (simple) tables to DB.
    besides we don't want to Redeploy the application each time they have a change.
    In a later version of JDeveloper 12c there is a feature for remote task flows, which would help you with this as you can deploy task flows separate. Building artifacts dynamically to avoid re-deployment of the application comes with a price, which is complexity in managing what the application really is (e.g. for backup and source code control). So I am not sure if I would want to make dynamic creation of artifacts a general development paradigm (how do you QA test ne developments if they are done by the user?)
    so we need to give them something to generate their own ( table / entity / view / form ) and do just CRUD operation (no business will be applied on these type of forms, just CRUD!)
    In JDeveloper 12c, upcoming, you could use dynamic forms to allow users to perform CRUD operations on a view object. This way you could create the view object dynamically as per the user requirements (plus the entity for the cud part) and parametrize the binding layer to use that view object. See
    https://blogs.oracle.com/groundside/entry/towards_ultra_reusability_for_adf
    I think adaptive binding will meet your requirements. However, for adaptive bindings to build CRUD forms, you will have to wait for JDeveloper 12c and its dynamic form feature.
    as an example

  • How to Create a Dynamic Form

    Hi All,
    I am trying to build a dynamic form in Flex. The idea is to
    have a generic form component that contains a standard header and
    footer with a dynamically generated body. The body ( all the form
    items ) will be generated dynamically by an XML File. In theory to
    create any form all I would do is use the generic form and create
    the xml for the body and I'm done.
    I have been searching all over for a sample and have yet to
    find one. Has anyone done something like this? I see several
    similar questions in this forum but they have gone unanswered. I
    would greatly appreciate any help you can offer.
    Thanks
    STeveR

    Using State the following program does work and have
    something similar to your requirements..
    though not being generated according to an xml structure it
    does create form controls dynamically.
    I myself am trying to create several form items from xml
    files and the content of the xml file I am not aware of completely.
    It might have n number of occurances of a group of form
    controls all depending on the out put of the xml file which in
    itself ois generated dynamically from a server side script.
    I have not really been successful in doing what I need. But I
    hope to solve this problem using the approach taken in this
    example. but I believe there must be a better way to do what I am
    trying to do. AM trying to figure this out since yesterday and yeah
    I am making progress and hope to resolve it soon...
    I need to comeplete it today itself..
    will get back with more that comes to my mind.
    If anyone has any thoughts on it Please do post back..
    <?xml version="1.0"?>
    <!-- states\StatesDefInstan.mxml -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    initialize="initializeApplication();">
    <mx:Script>
    <![CDATA[
    import mx.core.*;
    import mx.states.*;
    private function initializeApplication():void {
    //Code for adding a static button.
    // Create the Button to be added
    var newButton:Button = new Button();
    newButton.label = "New Button";
    // Create an AddChild object that adds the button.
    var addChild:AddChild = new AddChild();
    addChild.relativeTo = myPanel;
    addChild.target = newButton;
    // Create a State object
    var newState:State = new State();
    newState.name = "added";
    newState.overrides = new Array();
    newState.overrides.push(addChild);
    // Initialize the states property of the Application.
    // and add the new state.
    states = new Array ();
    states.push(newState);
    //Code for adding a dynamically created button.
    // Create an add AddChild object that adds the button.
    var addChildDyn:AddChild = new AddChild();
    addChildDyn.relativeTo = myPanel;
    // Explicitly set the AddChild targetFactory property
    // to a factory
    // that runs the createMyButton method to create the button.
    addChildDyn.targetFactory =
    new DeferredInstanceFromFunction(createMyButton);
    // Create State object with the addChildDyn override.
    var newState2:State = new State();
    newState2.name = "dynAdded";
    newState2.overrides = new Array();
    newState2.overrides.push(addChildDyn);
    //Add the state to the Application's states property.
    states.push(newState2);
    // Function to create a new Button control.
    public function createMyButton():Object {
    var newButton:Button = new Button();
    newButton.label = "New Dynamic Button";
    return newButton;
    ]]>
    </mx:Script>
    <mx:Panel id="myPanel"
    title="Static and dynamic states"
    width="300" height="150">
    <!-- If the current state is not the added state, change
    to the
    added state; if the current state is the added state,
    change to the base state. -->
    <mx:Button id="myButton" label="Toggle Static Button"
    click="currentState = currentState == 'added' ? '' :
    'added';"/>
    <!-- If the current state is not the dynAdded state,
    change to the
    dynAdded state; if current state is the dynAdded state,
    change to the base state. -->
    <mx:Button id="myButton2"
    label="Toggle Dynamic Button"
    click="currentState =
    currentState == 'dynAdded' ? '' : 'dynAdded';"/>
    </mx:Panel>
    </mx:Application>
    Thanks,
    Bijay

  • Adobe Flex form builder

    Hi,
       I want to know about form builder in Flex. Is there any link available with step by step explanation.
    Regards,
    Jayagopal.

    See a commercial software: http://www.flexriver.com/-BRiffle-DQ,41-.html
    It generates dynamic forms and dynamic questionnaires in Flex 3 & 4

Maybe you are looking for

  • Custom colors and fonts in in-context editor?

    I have added some custom colors and font families in our partner portal > online editor settings for a client site. When editing a page or web app item in the Manage tab of the admin console, I can see these colors and fonts in the editor. However, w

  • How  to  get my   iphone  last locatin

    how  to   get   iphone   last  location

  • JNDI, users & Threads

    We are getting a random application Error, javax.naming.NoPermissionException: User <anonymous> does not have permission on ... to perform lookup operation. Again, this happens very rarely. I was going through the WL Documentation about JNDI users an

  • [JHS 10.1.2]  Table layout not warning for losing changes

    I have a table layout in which I can change data. When I change data but don't commit (or in case of end-users forget) and navigate to the next 10 records in the table I get no warning that I will loose my changes. I guess this is fixed in production

  • ODI Essbase sample files

    Does anyone know where to download the Essbase sample files for ODI that are described in the docs? Thanks