Developing Forms in Flex

Hi,
I have been developing forms in LiveCycle Designer and have started to look at doing some of these in Flex. The aim is to have some hosted on a web site or grouped in an AIR application.
I am working through online resources and tutorials (Tour de Flex, First steps in Flex, Adobe DevNet), which are helping a lot but we are still struggling.
I would be grateful if someone could point me in the direction of a good resource specifically for forms. I am trying to capture some best practice at the start rather than discovering it at the end.
Also I am having trouble printing and getting to grips with the differences from dealing with page sizes (LC Designer) to pixel dimensions (Flex). Again if anyone could point me in the direction of printing solutions for forms, it would be great. 
Thanks,
Niall

Hi Dany,
Story so far...
It has taken quite a bit to get alivePDF up and running. I am coming from a low level of understanding of mxml and as.
I am still having difficulty getting images loaded into the PDF. Sample is here.
Generally alivePDF is good, once you get into the swing. But it is driven line by line:
myPDF.addText("Organisation: " + this.orgName.text, 20, 40);
It can be clunky, if you move something high up on the page, you have to amend the position of all of the objects below it. This leads to duplication of effort: (1) declaring objects in Flex for display; and (2) declaring objects for adding to PDF.
It can be trial and error. In Flex I had a multi-line object, which if I used addText it would look like "line1\rline2\rline3" in the PDF.
myPDF.addText("Trading address: " + this.tradeAddress.text, 20, 50);
Switching addText to addMultiCell needed three lines of as:
myPDF.addText("Trading address: ", 20, 50);
myPDF.setXY(55, 46.75);
myPDF.addMultiCell(120, 4, this.tradeAddress.text);
It resolved the multi-line input, but it involved trial and error in getting the x, y coordinates to work. I suspect that this is to be expected.
I have not had time to try out purePDF as yet, but I suspect that it is a similar process. One aspect is that (as far as I can tell) alivePDF will work with flash < 10, but purePDF needs flash 10. Could be wrong.
It is surprising that given Adobe's history in print and PDF, that there is this (apparent) gap between Flex/Flash and PDF.
Thanks,
Niall 

Similar Messages

  • Made a form in Flex 3, can't get it to load in Flash.

    Hi,
    sorry, I really am a novice at this.
    I am building a Flash site, and have some image galleries that run with a component. To load a gallery into the main page I have, for example, the following code: (this works just fine)
    stop();
    loadMovie ("../gallery_Engagements/content.swf","loader_engagements");
    However, I made a contact form in Flex 3, and I am trying to load in exactly the same way, using this code:
    stop();
    loadMovie ("../contact/ContactForm.swf","loaderContact_mc");
    Is there something different that I need to do to get the Flex swf to load into my page? Everything is set up in the same way, it just wont work with the Flex file. Any help would be appreciated.  :-)
    Thanks.
    Hugh

    Wow, a full week and no replies.  Am I doing something that is that far wrong?  :-)
    Anyone?
    Hugh

  • Query about use activex control in Developer form

    I'm an oracle developer and My name is milton datta.I cant' use activex control in forms.Pls. anybody would help me how to use activex control in developer forms.If possible provide me with some examples.
    my email address is [email protected]

    Download the Oracle Forms demos and you'll see a sample.
    Also read the documentation for Oracle Forms 6i the developer guide has a section about Active/X.
    Just remember that they will not work once you take your Forms to the Web. So think twice before you use them.

  • Doubt in createing forms in flex ?

    hai all,
    i have doubt in creating forms in flex, how can we validate phone number in form and can we have any script for predefined calender to select date for date of birth. plz help by attaching some references,
              one more doubt how to create my UI(user interface) with good look with dropdown menus and incoprate graphics like .gif,.swf tables ect plz forword or attach some references plz do it fast it very urgent

    Hi,
    Try to use page protection in the Folder. 
    Create a Folder in the Main Area of the table and check the Page Protection Option.  Include all your Line types (Row types) in this folder.
    It will avoid page break and display the records in a set.
    Reward if useful........

  • Need help in developing forms

    hi
    I am new to oracle forms. I have been given an assignment to develop forms for apps environment. I am not new to apps but new to forms developing. So can anybody point me to a nice link or a book where I can see a step by step approach or by example or something for beginners.
    thanks in advance

    Check out this: http://www.oracle.com/technology/products/forms/index.html
    and the book links page: http://www.oracle.com/technology/books/10g_books.html

  • How to start developing forms with weblogic server???

    I am a beginner. I saw someone working on developer 6i and I love the ease so I come to oracle. BUT now I find this weblogic server for desktop applications (forms) too.
    1. Please recommend me a book for developing desktop applications in weblogic server.
    2. Is it possible to use Mysql as database while developing forms in weblogic server?
    Many thanks

    I am a beginner. I saw someone working on developer 6i and I love the ease so I come to oracle. BUT now I find this weblogic server for desktop applications (forms) too.You have to keep in mind that Oracle Developer Suite 6i (Forms/Reports) is over 10 years old and was primarily a Client/Server development environment. Yes, a Forms 6i application could be deployed to the web, but infrastruction has changed many times in the 10+ years since Forms 6i was introduced.
    1. Please recommend me a book for developing desktop applications in weblogic server.Are you talking about an Oracle Forms application deployed through the WebLogic application server? If so, take a look at Developing Oracle Forms Applications or Oracle9i Developer: Developing Web Applications with Forms Builder. These are older books, but they will give you the basics of Oracle Forms development. Once you have the basics of Forms Development, then you can refer to the product documentation for specifics on the particular version of Forms you are using:
    Oracle Forms 10g Online Book - Contents or <a href="http://download.oracle.com/docs/cd/E12839_01/index.htm>Oracle Fusion Middleware Documenation LIbrary</a> and select the Portal, Forms, Reports and Discoverer option.
    {quote2. Is it possible to use Mysql as database while developing forms in weblogic server?{quote
    You can use MySQL with your web app only if you are not using Oracle Forms! Oracle Forms will only communicate with an Oracle Database. There are methods available to access data from non-Oracle database, but they involved linking your Oracle Database to the non-Oracle database and accessing the data through the Oracle Database.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How best to retroactively bind a schema with a developed form

    Hello all,
    I am having a big problem.  This is the first time we have developed an e-form with Adobe LiveCycle.  I discovered only too late that best practice is to produce a schema for a form before development.  However we were also told that you can retroactively bind a schema by creating a data connection and drag and dropping nodes onto the corresponding fields.  In this way I have bound nodes to one subform and left the rest of the form unbound. When trying to load xml that has been generated by this form back into the form we get the following error messages:
    "Wrong type parameter supplied to a PDS procedure"
    "There was a problem reading this document"
    We just get a blank screen in the browser.
    I have run a test with a brand new form with a data connection to the same schema and all of the fields auto generated.  Reloading this form with XML generated from the form works fine.  The problem seems to lie with the fact I am trying to bind to my large and heavily developed form.
    Have you guys ever come across similar problems?
    The developed form hierarchy is quite different to the structure of the xml generated by the form against the schema definition.  I have assumed that this does not matter as the hierarchy is not considered when there is a data connection.  Is this correct?
    Redeveloping the form is not an option at this stage so I will be very grateful for assistance.
    Best wishes,
    Kieran Kelly

    As  you mentioned the best practice is to have the schema ready before the development. But you can still bind a schema to the form after development.
    I think since you did not bind all the fields in the form to the schema, it is not giving you back the proper XML structure expected. It will only give you the tags that are bound to the fields.
    If you still have issues, you can upload the document I can have a look at it..
    Steps to upload the document
    1) goto acrobat.com website
    2) login with your Adobe login/password.
    3) In Actions you will find Upload. Select your form and upload.
    4) After uploading, select form name in All Files section and right click and select share.
    5) Check the checkbox "Allow anyone with a link to view this document".
    6) Copy the URL link and post it in the forum.
    Thanks
    Srini

  • How to open a Word Document from Developer Forms

    Hi Buddies,
    Can anybody help me out in this regard.
    My requirement is like this.
    In my developer Forms Screen i have one button named resume.
    if i click that button then that particular persons resume has to be opened which is MsWord file(.DOC)located in server(Which is the database server).
    So we have to launch the word with the required document using the Forms built-ins. The document path will be stored in my database.
    Quick response will be appreciated.
    Thanks in Anticipation
    Regards
    Kiran Kumar Jasti

    Hi Kiran,
    host('winword.exe <pass ur resume path>');
    hope this could work out....just try...good luck
    Regards
    Thobula Rakesh

  • Problems with email form in Flex

    I've been scouring the web for an email form in Flex for several days now and am stuck because of what I think are these several areas.
    Setting up the back end - I am running wamp server 2.0 on my devolping machine and have a Windows 2008 Server with PHP set up at my disposal as well.  Most of the tutorials I've come across don't go over these configurations, I've figured a few things out, but am still rather in the dark and am unsure what I've learned is accurate.  Here are a couple questions:
    How do I set up the Flex Build Path.  For example I have a folder created in the www directory of the wamp server named mailform where I tell the HTTPService's url property to post to a php file named 'mail.php'  So would this be correct?
    <mx:HTTPService 
    id="emailService" url="http://localhost/mailform/mail.php"
    method="POST" resultFormat="xml" result="emailResult()" useProxy="false"/>  
    Do I need to change values in wamp's php.ini file.  From what I've found smtp_server, smtp_port, and php_openssl need to be changed.
    Do I need to open up a port on my router (25)?
    Would I need to use an alternative app like PEAR: Mail or phpMailer.  For testing purposes I'm using my gmail account, the client's site this is for uses a bellsouth.net account.
    2. Are problems still persisting with Flash Player 10, like illustrated in this thread: http://www.actionscript.org/forums/showthread.php3?t=196454  As msfx pointed every email form example I've downloaded, there've been many, I have not been able to get to work.  Yet as you can tell there are probably other issues I need to take care of as well.
    Please point me in any direction(s) that will help, am open to all suggestions, would just like to get a working email form done in flex so I can finish the client's site.  Thank you.

    "italiantometa" <[email protected]> wrote in
    message
    news:gk5em7$3s7$[email protected]..
    > Hi Amy,
    >
    > This isn?t spam and I hope you get the email. The tilt
    viewer is a
    > component
    > that allows the images on the screen to be moved about
    from a central
    > point in
    > a see-saw fashion ? kind of like a flat panel can be
    tilted
    > up/down/left/right.
    > I?m looking for someone with FLEX, AS2 and AS3
    experience to take a look
    > at
    > this and fix it for us. Interested?
    Is this a Flash component or a Flex component? What's the
    issue?

  • What is prereq for reading above, and for start develop/reading with flex and cf(level?) ?

    http://www.adobe.com/devnet/flex/pdfs/getting_started_with_Flex3.pdf
    what is prereq for reading above, and for start develop/reading with flex and cf(level?) ?

    The Flex Quickstarts will be a place for starters, if you want to know 
    about Flex/CF integration the first to know would be some basics of CF.
    Sincerely,
    Michael
    Sent from my iPhone

  • Date format problem in Developer Forms 90

    My platform is NT40 and Developer Forms 90.
    PRE-FORM trigger is :
    SET_APPLICATION_PROPERTY(PLSQL_DATE_FORMAT, 'DD-MM-YYYY');
    SET_APPLICATION_PROPERTY(BUILTIN_DATE_FORMAT, 'DD-MM-YYYY');
    FORMS_DDL('ALTER SESSION SET NLS_DATE_FORMAT = "DD-MM-YYYY");
    message(GET_APPLICATION_PROPERTY(USER_NLS_DATE_FORMAT));
    Variable USER_NLS_DATE_FORMAT is 'YY/MM/DD'!
    Where is problem ?

    From the online help:
    USER_DATE/DATETIME_FORMAT Returns the current value of the user date or datetime format mask (which is established in the FORMSnn_User_Date/Datetime_Format environment variable).

  • Nothing display in Oracle developer forms runtime-web...

    i have started OC4J instance,no compilation error showed,when i run the form module nothing display in Oracle developer forms runtime-web.
    how to resolve this?

    Hi skud
    Pls state ur Os, Forms Version and the JIntiator Version from the control panel
    if u r using forms 10g pls may be u forgot to set the following form the Form's menu
    Pls Select > Edit Menu > Preferences > RunTime Tab > Set the Browser u have to use.
    Hope this helps...
    Regards,
    Abdetu...

  • Getting Java Beans working with Developer Forms 6i

    Hello everyone,
    I have been trying to get Java Beans to work with the Developer Forms 6i. I keep getting diffrent errors depending on the bean I play with. I will detail the problems and the computer setup. I am sure this problem is a configuration one, I just dont seem to have enough experiance to determine the issue or the configuration problem.
    Here are the problems I am encountering:
    Problems 1:
    --JDeveloper 10g
    I cant see the VBean class. When I add this code, the VBean decleration comes up with an error.
    import oracle.forms.ui.VBean;
    public class MyNewClass extends VBean
    public Class1()
    This code shows the IMPORT statement with a wavy blue line under it and the word VBean after the extends also has on. I understand that this means that the JDeveloper cant find the class, I just cant seem to find the correct environment variable to set to point to this.
    Second Problem:
    --Forms 6i
    I open forms, and create a new form. I then add a datablock and a canvas. I open the canvas and drop the BeanArea component on the canvas. I enter the fully pathed/qualified Bean in the Implementation Class and get one of three errors. Either a FRM-13008, a FRM-99999 with a 13009 or a 13010 error. I suspect that the 13008 error is because the bean I created does not have the correct decleration types or IView interface calls. My problem is that when I load any of the Oracle provided beans I get the 13009 or 13010 errors. I have looked here and in Metalinks for some kind of solution that I haven't already tryed, but to no avail.
    Any advice on either of these problems would be appreciated. Please keep in mind that we cant upgrade to version 9 or 10 yet (silly aif force and their regulations), so those type of solutions arn't usable to me.
    Here is the configuration information that I know about. If there is more information that can be provided or I need to provide more information, please let me know and I will get what I can.
    Thanks,
    Bill Hunsicker
    ============= Config Information =======================
    Forms Version 6.0.8.25.2
    JBuilder Version and Information
    Oracle IDE     9.0.5.13.88
    Business Components Version     9.0.5.13.52
    UML Modelers Version     9.0.5.12.38
    Versioning Support     9.0.5.12.38
    WebDAV Support Version     9.0.5.12.38
    Designer Generators Framework     9.0.5.3.39
    java.version     1.4.1_02
    java.home     C:\Oracle\JDeveloper\jdk\jre
    java.vm.name     OJVM Client VM
    java.vm.vendor     Oracle Corp.
    java.vm.version     9.0.5.972 4dopv
    user.language     en
    user.region     <no value assigned>
    user.name     Bill.Hunsicker
    user.home     C:\Documents and Settings\Bill.Hunsicker
    user.dir     C:\Oracle\JDeveloper\jdev\bin
    os.name     Windows XP
    os.version     5.1
    os.arch     x86
    ide.patches     
    ide.user.dir     
    FORMS60_JAVADIR = C:\orant\FORMS60\java
    CLASSPATH = C:\orant\FORMS60\java;C:\orant\TOOLS\COMMON60\JAVA\IMPORTER.JAR;C:\orant\forms60\java\P3load.jar;C:\orant\forms60\java\f60all.jar

    Ok, I added the f60all.jar to the project. This allowed me to create the file using the VBean. I created the JAR file and copied it to the forms60/java directory. I also copied the new .class files to the forms60/java/mil/af/rs/leads direcory.
    I then edited my formsweb.cfg file and had to add the jinit_archive tag. I set it = f60all.jar, P3load.jar. I also added my P3load.jar file to the default archive tag.
    When I open up Forms, drop the bean area component on the canvas, and set the Implementation Class, I still get an error (13008), and when I run the form in web, and click the button to invoke the bean I get no response from the bean.
    here is the code to invoke the bean. in_filename is a text component on the canvas and contained in the CTRL block. The bean area is named BEAN (because the demo was that way).
    :in_filename := get_custom_property('BEAN',1,'getFileName');
    synchronize;
    Not sure where to go from here, but thanks for the help so far.

  • How to Open  a Word document using Developer Forms

    Hi Buddies,
    Can anybody help me out in this regard.
    My requirement is like this.
    In my developer Forms Screen i have one button named resume.
    if i click that button then that particular persons resume has to be opened which is MsWord file(.DOC)located in server(Which is the database server).
    So we have to launch the word with the required document using the Forms built-ins. The document path will be stored in my database.
    Quick response will be appreciated.
    Thanks in Anticipation
    Regards
    Kiran Kumar Jasti

    This is a confused and confusing issue. There are no quick fixes. Bear in mind the following points:
    Word is a client program. It can only open documents that can be seen from a client PC. If you cannot see your database server's directories from a client PC (and I would hope you can't) you cannot open that document.
    what you are left with is creating a copy of that document, transporting it to the client realm, and then overwriting it back on the server after your user has finished with it (if they're editing).
    there are many different ways of doing this, but they will probably involve writing an API in VisualBasic or Java. Alternatively you might look at Oracle's IFS.
    This is not the right forum for a detailed solution - try the Developer forum (or IFS if that floats your boat).
    Good luck, APC

  • Adobe Forms Vs Flex

    Hi,
    Please can any one explain the advantages between Adobe Forms vs flex. I've to implement website and forced to use any one of the above mentioned technologies to represent UI.
    Appreciate your quick reply.
    Regards
    Boss Listen

    Boss,
    These are not concurrent technologies, but they complement each other. The most usual option to represent the UI is Flex, which offers many compoments to interact with end user and to lead him to a new rich experience.
    When you say Adobe Forms you mean forms inside a PDF, right? There is two technologies to implement forms inside PDFs: AcroForms and XFA based forms.
    Well, from here let us know what are your doubts.
    Diego

Maybe you are looking for

  • TV Series - Can not Sync Individual Shows

    I purchased The Universe TV Series from the iTunes Store. When I try to Sync it with my iPhone, I can only check the series button marked "The Universe." I would like to know how to Sync only the episodes that I like and not something that iTunes pic

  • How do i get the cover art

    i cannot remember how to search and add additional cover art, it has been 4 yrs since i updated my itunes.

  • Im calling you out Mr. Creative .. Answer This If you D

    I have been on the Vista Tap Beta for over a year now and here we are 3 days From Vistas World wide Launch We still have No Drivers For X-Fi cards?You do know that the Audio Stack in all 32Bit Vista builds Have not changed a single Line of code from

  • Decimal justfication in a table...

    I have a table layout region, under that a row region under that a cellformat, under that a table with items. I want the values in the table to line up on the decimal point like this: $45.03 $123.23 I am not sure what property to set to make this hap

  • Recognization of content type?

    Hello everybody I've a little problem with javamail I try to identify the type of the parts in a message, my code work well with a lot of mails but with some mails javamail can't recognize the type of some part. so my code to recognize "text/html" an