What is your name ::: – tunjo nalo cha aye?
Had your lunch? ::: - roti khadi kina? / Neran (lunch) kayo kina?
Great ::: daddo sutho
power is gone ::: halee vai
she has come ::: acchie vai (female)
He had come ::: acchie vio (male)
Achhi bath hein (hindi) ::: sutthi gal aaheh
Monday, August 9, 2010
Saturday, August 7, 2010
HTTPS support for AMF on blazeds
How to support HTTPS communication between SWF and BlazeDS when used AMF protocol.
Services-config.xml
-------------------
1. Place the below in services tag.
<default-channels><br /><channel ref="my-secure-amf"/><br /></default-channels><br /><br />2. Place below in channels tag.<br /><br /><channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"><br /><endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/><br /><properties><br /><add-no-cache-headers>false</add-no-cache-headers><br /></properties><br /></channel-definition>
Important Note:
===============
"add-no-cache-headers" will solve problems when used in Internet Explorer.
For File download/ Image previews mention below:
Comment the below
//response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
//enable max-age = 0
response.setHeader("Cache-Control", "max-age=0");
//prevents caching at the proxy server
Services-config.xml
-------------------
1. Place the below in services tag.
<default-channels><br /><channel ref="my-secure-amf"/><br /></default-channels><br /><br />2. Place below in channels tag.<br /><br /><channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"><br /><endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/><br /><properties><br /><add-no-cache-headers>false</add-no-cache-headers><br /></properties><br /></channel-definition>
Important Note:
===============
"add-no-cache-headers" will solve problems when used in Internet Explorer.
For File download/ Image previews mention below:
Comment the below
//response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
//enable max-age = 0
response.setHeader("Cache-Control", "max-age=0");
//prevents caching at the proxy server
Wednesday, June 24, 2009
Browser Compatibility Issues with IE,Opera, Mozilla, Safari
#1. Unable to scroll using mouse scroll button
#2a. Session not carried in Mozilla/ Opera / Safari
#2b. Problems with file upload http requests
#3a. Screen distortions when used scrollbar
#3b. Screen overlap issues when used mixed containers and components
#5. Problems with IFRAME and HTML preview
Tip: Get rid of wmode='opaque' in the embed/object tag. But this may have other impacts on the HTML preview issues in case IFRAME/DOM is used in the same application.
--------------------------------------------------------------------
AC_FL_RunContent(
"src", "playerProductInstall",
"FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
"width", "100%",
"height", "100%",
"align", "middle",
"id", "SampleApp",
"quality", "high",
"bgcolor", "#000000",
"name", "SampleApp",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe.com/go/getflashplayer",
"wmode", "opaque"
);
---------------------------------------------------------------------
#2a. Session not carried in Mozilla/ Opera / Safari
#2b. Problems with file upload http requests
Tip: Append jsessionid to the http request
For example,
http://www.mysite.com/alias/MyServlet;jsessionid=1xederere454kkr45kfktrtr444.
#3a. Screen distortions when used scrollbar
#3b. Screen overlap issues when used mixed containers and components
Tip: Replace the existing container like vbox, hbox to Canvas or embed the existing container with in Canvas container.
<mx:Canvas id="newlyintroduced" width="100%" height="100%">
<mx:VBox id="mainVbx" verticalScrollPolicy="off">
--existing container which has screen distortion on scroll using mouse scroll button.
</mx:VBox>
</mx:Canvas>
#4. File Download/export not working in Flash Player 9/10
Tip: Use the combination jsessionid and navigateToURL.
For example,
navigateToURL( new URLRequest("/context/reportExportServlet"+ ";jsessionid="+ ModelLocator.jSessionId+"?filename="+fileName));
#5. Problems with IFRAME and HTML preview
Tip: As flash based html editors are yet to be matured to handle or support basic features of DOM based HTML editors. When using DOM based editors in Flex , extreme care should be taken to create and destroy IFRAME objects.
Subscribe to:
Posts (Atom)