Hi, In web applications when we request a url with name.mxml, does the FlexMxmlServlet gets called. Does the below mentioned generation and compilation happen before this servlet is called? Can someone please explain the basics behind this?
When i try to forward the response from my servlet to FlexMxmlServlet i get the message resource not available even though i have created a mapping to the FlexMxmlServlet like '/FlexMxmlServlet' in web.xml. Can someone explain this. Regards Priya --- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > The problem is that there are two server-based compile steps that happen > before the client gets the app. > > First, the mxml is generated in .as files, then the .as files are > compiled into a swf, which is wrapped in html then sent to the client. > > You are skipping the generate and compile. > > I don't know of any to do this in a "stream". There is a command- line > compiler, mxmlc, but I suspect it is not stream oriented either. > > For dynamic mxml, folks usually use the taglib functionality. > > Tracy > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of priya_sukup > Sent: Monday, August 29, 2005 9:12 AM > To: [email protected] > Subject: [flexcoders] Creating flex gui on the fly > > Hi, > > I am trying to create flex screens on the fly in my web app. I am > using xsl to transform the xml of a screen to mxml. The screen is > identified based on the url sent to the server. The transformation > is done using xalan from a servlet. But when the response is sent to > the browser from the servlet the content(the generated mxml file) is > displayed as xml in the browser. > > Can any one help in this? Can i use any of teh filters defined in > flex to transform the response containing the mxml to swf. > > If i save the mxml into a file in the web app folder and redirect to > the saved mxml. everything works fine. > > But i don not want to create the mxml in the server. So can any one > help me out.. > > Thanks in advance > > Priya > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

