Latest News
JDK Features
J2SDK 1.4 http://java.sun.com/j2se/1.4.2/docs/relnotes/features.html J2SDK 1.5 http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html J2SDK 1.6 http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/beta2.html
Read MoreExternal Files (html, jsp, or asp) within FLEX
Here is the Action script and mxml code to include HTML, JSP, ASP, etc page within the FLEX canvas or tab. The code is developed and tested with FLEX SDK 3.x In MXML <script:IFrame id=”myFrame” width=”100%” height=”100%” source=http://www.live.com /> Action Script (IFrame.as) package component.script { import flash.display.DisplayObject; import flash.display.DisplayObjectContainer; import flash.events.Event; import flash.external.ExternalInterface;…
Read MoreExternal Files (html, jsp, or asp) within FLEX
Here is the Action script and mxml code to include HTML, JSP, ASP, etc page within the FLEX canvas or tab. The code is developed and tested with FLEX SDK 3.x In MXML <script:IFrame id=”myFrame” width=”100%” height=”100%” source=http://www.live.com /> Action Script (IFrame.as) package component.script { import flash.display.DisplayObject; import flash.display.DisplayObjectContainer; import flash.events.Event; import flash.external.ExternalInterface;…
Read MoreHibernate with Connect BY
Here is HQL query for CONNECT BY, to extract based on the PRIOR parent id <sql-query name=”findDepartmentByPriorId”> <return class=”EmployeeDepartment” /> SELECT ed.* FROM EmployeeDepartment ed CONNECT BY ed.PARENTDEPARTMENTID = PRIOR ed.DEPARTMENTID START WITH ed.DEPARTMENTID=? </sql-query>
Read MoreHibernate with Connect BY
Here is HQL query for CONNECT BY, to extract based on the PRIOR parent id <sql-query name=”findDepartmentByPriorId”> <return class=”EmployeeDepartment” /> SELECT ed.* FROM EmployeeDepartment ed CONNECT BY ed.PARENTDEPARTMENTID = PRIOR ed.DEPARTMENTID START WITH ed.DEPARTMENTID=? </sql-query>
Read MoreExport DataGrid to CSV
I was in difficult situation working on exporting datagrid to CSV, Excel, & PDF. The below code works for CSV & MS-Excel. Later, I will update the code for PDF format.. DataGridExporter.as package components.grid.export { import mx.collections.IViewCursor; import mx.controls.DataGrid; import mx.controls.dataGridClasses.DataGridColumn; public class DataGridExporter { private static var csvSeparator:String = “,”; private static var lineSeparator:String…
Read MoreExport DataGrid to CSV
I was in difficult situation working on exporting datagrid to CSV, Excel, & PDF. The below code works for CSV & MS-Excel. Later, I will update the code for PDF format.. DataGridExporter.as package components.grid.export { import mx.collections.IViewCursor; import mx.controls.DataGrid; import mx.controls.dataGridClasses.DataGridColumn; public class DataGridExporter { private static var csvSeparator:String = “,”; private static var lineSeparator:String…
Read MoreHTTP Server codes
1xx Informational Codes: Request received, continuing process. 100 Continue – This means that the server has received the request headers, and that the client should proceed to send the request body (in the case of a request for which a body needs to be sent; for example, a POST request). If the request body is…
Read MoreHTTP Server codes
1xx Informational Codes: Request received, continuing process. 100 Continue – This means that the server has received the request headers, and that the client should proceed to send the request body (in the case of a request for which a body needs to be sent; for example, a POST request). If the request body is…
Read More