Professional Web Applications Themes

JSP to MXML - Macromedia Flex General Discussion

Hello, I am searching for a similar solution : a jsp file must generate the entire MXML so I can use JSP includes to build the MXML code. Did you find a solution for this problem ? Greetings, Daniel van Mil...

  1. #1

    Default Re: JSP to MXML

    Hello,

    I am searching for a similar solution : a jsp file must generate the entire
    MXML so I can use JSP includes to build the MXML code.
    Did you find a solution for this problem ?

    Greetings,

    Daniel van Mil

    Eliah Guest

  2. #2

    Default Re: JSP to MXML

    Flex has a "taglib" that lets you mix jsp, html and mxml.

    Google will be you fastst way to find more info.

    Tracy
    ntsiii Guest

  3. #3

    Default Re: JSP to MXML

    Hello,

    I am trying to use Adobe Flex and Java in my application.

    Front End: Adobe Flex
    Back End: Java Spring Framework, Hibernate

    Here is the sample code snippet the way I am communicating to my Flex from JSP to get the things done:-

    <body TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0 bgcolor="#000066">
    <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='100%' height='100%' id='main.mxml.swf'>
    <param name='flashvars' value='userId=<%= userId %>'>
    <param name='src' value='main.mxml.swf'>
    <EMBED pluginspage='https://www.macromedia.com/go/getflashplayer' width='100%' height='100%' flashvars='userId=<%= userId %>' src='main.mxml.swf' name='main.mxml.swf' />
    </object>

    When I deployed with the above code, it is getting - java.lang.StackOverFlowError.


    To resolve that, I changed the file name from main.mxml.swf to main.swf file - then my code deployed successfully and but when I access to my application, getting below message in popup window:-
    Cannot invoke method 'getUserType'
    Cannot invoke method 'getAllReportData'


    If any one faces the same issue, kindly help me here.

    Thanks & Regards,
    Sridhar G
    USA
    Goranti.Sridhar@gmail.com Guest

Similar Threads

  1. Question how to navigate from one mxml to another mxml using viewstack?
    By ssssssss in forum Brainstorming Area
    Replies: 0
    Last Post: October 20th, 05:24 AM
  2. passing variables from one mxml to anther mxml
    By Gokulanand in forum Macromedia Flex General Discussion
    Replies: 1
    Last Post: June 19th, 06:01 PM
  3. How does on Sharing data between main.mxml and a renderer.mxml
    By Ian Skinner in forum Macromedia Flex General Discussion
    Replies: 0
    Last Post: June 15th, 09:49 PM
  4. question about the default.mxml and Default.mxml
    By guru~k in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: June 15th, 03:00 AM
  5. Can I embed external MXML in another MXML file?
    By daveobbie in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: March 21st, 02:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139