Login flex application using HTML page

Is it possible in flex
For example you click on a button in HTML and it redirect to flex application

Flex applications sit in a HTML page. Just make your button link redirect to that page. It's no differrent to changing a HTML page because that's all you are doing.

Similar Messages

  • Calling a FLEX application from html, using parameters

    Hi guys,
    I have this html:
    <form name="getTracing" method="POST" action="http://syyzas400/ShipmentInquiry/ShipmentDetails.html">
              QuickTrace 
    <input type="text" name="TrackNbr" size="14" tabindex="1" maxlength="11">
    <br>
    Carrier        
    <select name="Carrier" tabindex="2" style="background-color: #D8E4FF; color: black;
                             font-family: Arial; font-weight: bold; font-size: 9pt; width=114">
              <option>Option1
              <option>Option2
              <option>Option3
    </select>
    As you can notice, there is an Input field ("TrackNbr") and a selection field ("Carrier") with three options... The user enters a Tracking Nbr.
    in first field  and chooses one of the three options from the second field and hits <enter>. In this moment, as you can see from "action" area, an html (part of a FLEX application) is called. The problem is that the parameters ("TrackNbr" and "Carrier") are not transmitted and I don't know how to do that.
    This FLEX application accepts parameters using URL fragments technique (because could be called from another FLEX application, too)
    but obviously this cannot work with the above described form.
    I read about External Interface class, but everybody is talking about calling ActionScript functions, not FLEX applications. Being a newbie in this area,
    I am sure I am missing something, but what?
    Any help would be very appreciated, as usual...
    Florin

    Problem solved.
    I got rid of the form tag (and "action", obviously); instead, I created a JavaScript function used for onClick event of the submit button. Inside this function, I captured the values (using getElementById method) of the input and select field and, using these values, I created the URL for my FLEX application (used with location.href property), and BAM! Everything works like a charm... I am even able to use the Back button to exit the FLEX app and return to the selection screen.
    Now my question is, why does it work??? No complaints at all, just curiosity... I didn't use External Interface class, no exposed ActionScript functions prior calling frm JavaScript, no fancy stuff all sites I saw talking about...
    Grizz..., I have a feeling that what you described above is a simpler and more advanced way to do about the same thing I did; am I right?
    Thanks,
    Florin

  • Close a flex application using AS3

    Hi everyone,
    I am building a flex application using AS3, and I would like
    to allow the user to close the application through a CLOSE button.
    Do you know how can I do that ??
    I traied with fscommand("quit"); but it dosen't work.

    The rules are that UIComponent cannot be used in the download progress bar.  You'll need to use really low level objects.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • CF/Flex Application Wizard Details Page

    Hi,
    Not sure if this is possible (seems like it should be). I
    have the following data model in SQL Server (2005):
    table name (relevant columns)
    person (first name, last name)
    member (member number)*
    contact (email)*
    location (state)*
    Person is the base object/table and the other three tables
    have foreign keys connecting them to the person table (all have a
    personId column).
    I setup a master page, no problem. I can grab the person's
    first and last name, member number, email and state and display
    them on the member-master page.
    The issue comes when I go to create a member details page. I
    can step through and create the necessary form fields from the
    tables (connecting them all via their common personId column). When
    I go to save the detail's page details, Eclipse (v3.2.x) crashes on
    me. Every time. However, if I only create a form for the details
    page with two tables (say member and person data), I can create the
    details page and use it without any issues.
    To get around this seeming two-table limitation, I edited the
    Adobe/CF generated content to manually add the beans, DAOs,
    gateways and AS files for the other tables. Doing this does create
    the desired details page, however, Flex and CF are REALLY slow to
    grab/return the requested data to the respective form fields (and
    there is not that much to grab in any of these tables).
    I'd like to know if this is just how I have to go about it.
    Does the CF/Flex Application Wizard have a limit on how many tables
    can be joined in a details page?
    I have a project with a much more complex data model and
    would love to generate a quick application for my client to check
    out and I do not know if I've encountered a limit of the
    application or if I am doing something wrong in the Query Builder
    itself?
    Also, any thoughts on why Flex and CF would be so slow to
    return the data when I manually added the other tables to the
    details page form? I'm on an intra-office network, connecting to a
    computer via an ethernet router and the sample DB only has 2000
    records in it...all with simple text and date columns?
    Sorry for the long post and thanks, very much, in advance for
    any thoughts or advice.
    Best,
    Craig

    Never mind, I figured it out.
    I'm Using IIS
    I needed to go look at the properties.
    On the web site tab, the TCP port was set as 80.
    In FlexBuilder Window > Preferences > Cold Fusion >
    RDS Configuration
    Select localhost > The default port number added there was
    8500
    Once I changed that to 80 and clicked on test connection, all
    was hunkey dorry

  • Best practice to embed flex application in html

    Hello guys
       I am not sure what's the best practice to embed the flex application. We couldn't use html code in flex builder. Would you guys edit the html files via other tools to embed the swf file after the application is completed or there are other ways to do it. Thanks for the reply.

    Hi Jerry,
    Why you couldn't use the html code generated in flex builder. In the html wrapper file generated in FlexBuilder you have SWF embed code directly along with the Flash Player detection javascript code...If your users don't have the FlashPlayer installed or if they don't have the latest Flash Player version installed then the  application will prompt the users to install the latest Flash player plugin..
    What's the problem that you have got by using the html wrapper file generated in FlexBuilder..
    Thanks,
    Bhasker Chari

  • Control Flex application using presentation clicker

    I am building an application using Flex and need the ability
    to navigate through a "table of Contents" list using a presentation
    clicker, similar to navigating through a powerpoint presentation. I
    have been searching through the forum most of the day and haven't
    come across any information.
    Any help would be greately appreciated.
    Thanks!

    This is not a support forum for Flex.
    Try asking your question on FlexCoders:
    http://tech.groups.yahoo.com/group/flexcoders/

  • How to Call a WebDynpro application through html page.

    I have created a webDynpro application.How can i call this application through a html page?
    Thanks
    Pankaj Kumar

    Hi,
       You can add a link to your HTML page and set the anchor reference to the absolute URL of your WD application.
       The absolute URL of your WD application looks like
    http://<j2ee server>:<port>/webdynpro/dispatcher/<wd component name>/<application name>
       So your HTML code will look like:
    <a href="http://<j2ee server>:<port>/webdynpro/dispatcher/<wd component name>/<application name>">Link</a>
    Regards,
    Satyajit.

  • How to port developed applications using HTML DB to new environment ?

    What are the prerequisites for this?
    For example.
    Do i have to install oracle application server for that or apache will do?
    Let us say I installed Oracle database Express ,what are the other software I have to install to host applications developed using HTML DB?

    What are the prerequisites for this?Pretty much the same as your development, an Oracle database that HTML DB can connect to, 9i Rel2 or higher, an HTML DB installation and a web server installation.
    Do i have to install oracle application server for
    that or apache will do?You can use Oracle App Server or Apache.
    Let us say I installed Oracle database Express ,what
    are the other software I have to install to host
    applications developed using HTML DB?HTML DB with the bundled web server.
    Earl

  • Compiling flex application using ANT throws error

    Hi i m tryin to compile my flex project using ANT, and i have used [Embed(source="/assets/images/inuse/phonering.png")] lot of places in my project. How can i solve this error. I have lot of swf file also for css.
    Thanks in advance
    Rupam

    OK, I checked my build script and remember having this problem. I'm deploying a war file that contains some java EE and flex code. So my solutions does not apply to your case, but check out this blog post.
    http://www.olocity.com/blogs/2009/05/13/adobe-flex-ant-builds/
    Also this is probably helpful
    http://www.mail-archive.com/[email protected]/msg123564.html//www.mail-archive.com/[email protected]/msg123564.html

  • Loading Application into HTML Page

    I'm trying to load an application (JFrame) into a HTML page.
    Is it possible to be done with JSP? ...or servlet?
    Thank you for helping me : )
    Yours Sincerely,
    RainbowEnergies

    Not really a application but you can include an applet at anytime.
    Just do it like you do it with a normal HTML page there is no differents.
    It is also possible to let the applet communicate with one of your servlets via HTTP.
    Alex

  • Need help on how to use Html pages in ABAP

    Hi All,
    I need to add two input boxes to an already existing html page,and i have written the code for it,but the problem is ,when i try to open that page i could not see the newly added input boxes on the page and also i am getting an error as below
    an error has occured in the script on this page
    Line :  1
    Char : 24760
    Error : 'null' is null or not an object
    code : 0
    can any one provide me some inputs to solve this issue.

    Hi,
    Did you solved the issue? if not please post your HTML Code maybe there is something wrong or missing in there.
    Kind Regards,
    Gerardo J

  • How to integrate webdynpro java application in HTML pages?

    hi EP GUrus
                i need to re design an Webdynpro java application into web home page. there is one home page designed is wd java . now i have to redesign the page and i have make some web content like training calender new schemes and all which they manually update daily
    thanks in advance
    johny

    hii  sir
               currently we have an application which is accessing through internet using url .that applicalion is wd java application which is need to redesign with dynamic contects

  • Replacing a 3 tier application using HTML for presentaion with a Java App

    Hello Everyone,
    Any help with this respect will be greatly appreciated..
    We have created an application which uses Weblogic as the Application Server and the front end is written in HTML which uses HTCs. Data from the front end to the back end is sent in the form of XML. The application as such is very slow, the lag is in the loading of the HTCs and in rendering the xml.
    Is it good to replace the front end part with a full blown Java application which uses Swing for the front end. I feel that this is not a good approach, but I do not have valid reasons to support my ideas.
    Please help me ...
    Thanks in advance
    Raj

    1) Swing is very very slow and if used will otherwise
    cause a very pathetic user experience (and believe me
    lady, it is true).Define slow and pathetic, I do not think you can because you are not work in her environment. Swing is accepted to be slower than AWT.
    2) Making a seperate client side application will
    cause
    a) Distribution problem - you have to go around
    nd giving it to all the clients (and potentially new
    ones, it could be a potential pain).
    b) Changes to the front end will result in
    in re-distributing the client application.
    c) Control over the client interface will be
    be compromised as it shall be spread across antire
    gamut of users. In web interface at least it is at one
    place and changes can be easily affected.Web logic totally nullifies this argument with their push technology (I don't remember what it is called), it will automatically update any and all parts of the application as the developers define and with options for delay of updates as the developer defines.

  • How to use html pages as links on portal

    Hi,
    I have uploaded some html files in KM.
    Now i want to create an iview and add these uploaded html files as hyperlinks in that iview.
    Can i know the solution for these?
    Awaiting for your respose.
    Regards,
    Raju

    Hi buddy,
    from your initial question, i guess you need to display a page which has multiple links to various pages which you have uploaded in KM.
    So what you can do is, create another html file which link in it.
    <a href = "some_html_file.html">Page1</a>
    <a href = "some_html_file.html">Page2</a>
    <a href = "some_html_file.html">Page3</a>
    <a href = "some_html_file.html">Page4</a>
    Some_html_file.html should point to the corrrect file(s) in the KM directory. Now save the new file which you have created (the one with links) in the KM directory and create a KM Document iView for this page and assign it to a role, and assign the role to the user and test.
    Thanks,
    GLM

  • How connect an HTML page to a running Java Application?

    Hi,
    Exists a way to connect an HTML page to a running Java Application?
    the idea is, If we use SWT, the Browser widget have an instance of IE/Firefox attached to it, and we load local HTML pages inside, then i wish to have a way to bridge Java Application from HTML page. Then with that we can do follow JScript:
    var javaApp = document.getJavaApplication(); //here is the trick
    //below is like we do today with applets
    var person = container.create("myapp.Person");
    person.setName("Test");
    container.save(person);its great if we can Have an attribute for object tag or anything to conect HTML page to Java Application.

    I think that the better idea is to create a new mime type for that, maybe "application/x-java-connect-to-local-jvm", and use embed tag, to connect via plugin to a running JavaApp
    example:
    <embed type="application/x-java-connect-to-local-jvm" width="20" height="20" mainClass="mypackage.AppName"><br>
    <script>
    var javaApp = document.embeds[0];
    function createPerson()
      var person = javaApp.getNew("mypackage.Person");
      person.setName("test");
      javaApp.save(person);
    }The width and height, isnt necessary, but the view can be used to show red if connection failed and green for sucessfull connections, or maybe embed tag can have src to images for sucessfull and unsucessfull states.
    That's the idea, there is a way to extend Java Plugin to achieve that?
    any tip or idea or to achieve that, are welcome.
    Thanks

Maybe you are looking for

  • How can I convert an image created in Photoshop into a format that Java's ImageIO library will take?

    Hi all, I've been trying to write an image resize tool to use the Lancoz resample algorithm to resize images to a high standard in Java.  The library with the algorithm/filter in it is mortennobel's image scaling library and it takes a buffered image

  • Error in executing ODCIIndexStart() routine

    In my application We have sometimes the follow error: Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.DatabaseException Exception Description: java.sql.SQLException: ORA-29902: error in executing OD

  • Error report (NSURLErrorDomain error -1012.)

    when I share a video from Final Cut Pro to Vimeo it fails and generates an error report (NSURLErrorDomain error -1012.). What does this mean and how can I resolve this?

  • MXi-3 card is not detecting

    hello, when i run mxi-3 optimization code, dialog box indicate that mxi ink is not proper. But, in PXI-MXI3 controller and pci-MXi controller, link led is glowing continousuly.total 3 led's are glowing continously named them as, power,link,Tx.plz pro

  • Crystal Report or WebI

    I have to develop few reports. Most of the reports are like bar chart with count on Y axis (Vertical) and month of  X axis(Horizontal). The report is very simple. Can some one please help me to  understand if I should develop the report in Crystal or