tag:blogger.com,1999:blog-743578218566083321.post2956705836969154052..comments2024-03-04T02:21:22.021-08:00Comments on Technology highlights: Liferay Portlet using BlazeDSfandryhttp://www.blogger.com/profile/01990790629557446302noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-743578218566083321.post-53557456003455502262010-09-27T07:43:42.864-07:002010-09-27T07:43:42.864-07:00Hi, I want to know where should i place this code....Hi, I want to know where should i place this code.<br /><br />mxmlc -strict=true -show-actionscript-warnings=true -use-network=true \<br />-services=WEB-INF/flex/services-config.xml -context-root=messier_object-portlet \<br />-output=./Test_Flex_WS_messier.swf ./Test_Flex_WS_messier.mxml<br /><br />I tried this by typing in command prompt from C:\Flex\bin> folder, but i am getting error msg saying : services and context-root tags not identified.3veninoreply@blogger.comtag:blogger.com,1999:blog-743578218566083321.post-40473958999372728752010-09-20T12:00:05.031-07:002010-09-20T12:00:05.031-07:00IT Fresher,
>Its not working for me if i try t...IT Fresher,<br /><br />>Its not working for me if i try to embed the .swf, but if i hardcode the location of the .swf it works. <br /><br />There is information related to swf use in portlets at: <a href="http://fandry.blogspot.com/2009/02/liferay-and-flex-ajax-bridge-fabridge.html" rel="nofollow">this other post</a><br /><br />>in fact can u tell me how to compile mxml application from liferay, so that it will generate .swf file<br /><br />Easiest way is to <a href="http://ted.onflash.org/2005/01/flex-on-command-line.php" rel="nofollow">compile your swf file with Flex</a> and deploy it on Liferay container. You probably could also wrap everything with Ant or Maven as well.fandryhttps://www.blogger.com/profile/01990790629557446302noreply@blogger.comtag:blogger.com,1999:blog-743578218566083321.post-88435154561184668792010-09-18T02:50:34.807-07:002010-09-18T02:50:34.807-07:00Hi Fandry,
This is the very first time i am worki...Hi Fandry,<br /><br />This is the very first time i am working with liferay.... so here i might end up asking very dumb question....<br /><br />Its not working for me if i try to embed the .swf, but if i hardcode the location of the .swf it works. Any help is appreciated.<br /><br />infact can u tell me how to compile mxml application from liferay, so that it will generate .swf file<br /><br />Thanks,<br />ITIT Freshernoreply@blogger.comtag:blogger.com,1999:blog-743578218566083321.post-42479805196193620182010-03-01T03:22:36.064-08:002010-03-01T03:22:36.064-08:00Hello Sir,
I am struggling to set up blazeds on li...Hello Sir,<br />I am struggling to set up blazeds on liferay plugins project. Everything works fine but when I invoke the service from flex application - it gives me a 404 error. It simply fails to call the messagebroker/amf (the messagebroker servlet). I am using liferay 5.2.3 and flex 4 and blazeds 4.<br /><br />Please helpMuhammed Shakirhttps://www.blogger.com/profile/17743609966870317398noreply@blogger.comtag:blogger.com,1999:blog-743578218566083321.post-69367775410553902292009-07-31T03:06:54.895-07:002009-07-31T03:06:54.895-07:00Hi Fandry,
Now, its working, but the content is no...Hi Fandry,<br />Now, its working, but the content is not displayed from DB. Just the Buttons appear in my swf file.<br /><br />Thanks,<br />ValuelabsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-743578218566083321.post-83475333198838497512009-07-30T09:11:48.313-07:002009-07-30T09:11:48.313-07:00Can you describe/post the way you tried to embbed ...Can you describe/post the way you tried to embbed your ShockWave (.swf) file?<br /><br />-Francoisfandryhttps://www.blogger.com/profile/01990790629557446302noreply@blogger.comtag:blogger.com,1999:blog-743578218566083321.post-26639708164377150172009-07-28T02:36:05.622-07:002009-07-28T02:36:05.622-07:00Hi Fandry,
Its not working for me if i try to em...Hi Fandry, <br /><br />Its not working for me if i try to embed the .swf, but if i hardcode the location of the .swf it works. Any help is appreciated.<br /><br />Thanks,<br />ValuelabsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-743578218566083321.post-79967395208816833182009-07-02T23:29:45.671-07:002009-07-02T23:29:45.671-07:00Hi Fandry,
I tried all the steps but I am getting...Hi Fandry,<br /><br />I tried all the steps but I am getting this error message<br /><br />TypeError: Error #1090: XML parser failure: element is malformed.<br /> at mx.messaging.channels::HTTPChannel/decodePacket()<br /> at mx.messaging.channels::HTTPChannel/pingCompleteHandler()<br /> at ChannelRequestLoader/callEventCallback()<br /> at ChannelRequestLoader/completeHandler()<br /> at flash.events::EventDispatcher/dispatchEventFunction()<br /> at flash.events::EventDispatcher/dispatchEvent()<br /> at flash.net::URLLoader/onComplete()<br /><br /><br />I am using liferay 5.2.2. Hope you can point me what this error means?<br /><br />MohaniMohanhttps://www.blogger.com/profile/03066759150657540062noreply@blogger.comtag:blogger.com,1999:blog-743578218566083321.post-59780791851782241552009-05-14T13:44:00.000-07:002009-05-14T13:44:00.000-07:00Hi Andry,
Well i have just created a template for...Hi Andry,<br /><br />Well i have just created a template for liferay plugin sdk to build flex-blazeds-spring based portlets. Maybe you can check it out and it would be great to know your feedback. Kindly look at this http://bit.ly/17SDcC . Thanks.Mohammed Khanhttp://blogs.esberi.com/author/mohammednoreply@blogger.comtag:blogger.com,1999:blog-743578218566083321.post-75231928211316551512009-05-05T13:34:00.000-07:002009-05-05T13:34:00.000-07:00Mike,
Great post! Saved me a lot of time. I was...Mike,<br /><br />Great post! Saved me a lot of time. I was up and running in less than a half hour. I have been experimenting with Service Builder, journal, and blazeDS. Can't wait to see more integrations.<br /><br />You da man!<br /><br />JoeJoehttp://www.doublejoeseven.comnoreply@blogger.comtag:blogger.com,1999:blog-743578218566083321.post-20977526426993837922009-04-24T00:02:00.000-07:002009-04-24T00:02:00.000-07:00Good start, thanks!Good start, thanks!Arcko Duanhttps://www.blogger.com/profile/03864615128137199275noreply@blogger.comtag:blogger.com,1999:blog-743578218566083321.post-13248026186195276612009-04-23T23:59:00.000-07:002009-04-23T23:59:00.000-07:00Good start,
Thanks!Good start,<br /><br />Thanks!Arcko Duanhttps://www.blogger.com/profile/03864615128137199275noreply@blogger.comtag:blogger.com,1999:blog-743578218566083321.post-67158703934994732192009-01-08T08:58:00.000-08:002009-01-08T08:58:00.000-08:00Hi Mike,I assume you try to obtain some authentica...Hi Mike,<BR/><BR/>I assume you try to obtain some authentication information (login, password) passed from a Flex application to your JSP? wrapping layer of your portlet? <BR/><BR/><BR/>Some more info for: FlexSession:getUserPrincipal() <BR/><BR/>This method should be called on FlexContext. This method is kept for backwards compatibility. This method will produce correct results when perClientAuthentication is false. However, it will not return correct results when perClientAuthentication is true. <BR/><BR/>It will return the principal associated with the session. If the client has not authenticated the principal will be null.fandryhttps://www.blogger.com/profile/01990790629557446302noreply@blogger.comtag:blogger.com,1999:blog-743578218566083321.post-30125928932655391662009-01-08T06:41:00.000-08:002009-01-08T06:41:00.000-08:00I'm a newbie with respect to flex and Liferay, but...I'm a newbie with respect to flex and Liferay, but not portals or Java.<BR/><BR/>Do you know how to get the current Principal from a remote object?<BR/><BR/>I tried "FlexContext.getHttpRequest() .getUserPrincipal()" from my remote class called from a flex .swf embedded in the portlet, but it returns null regardless of whetheer I am logged in to Liferay or not.<BR/><BR/>Thanks!Anonymousnoreply@blogger.com