Flex Panel with HTML title - or Flex panel with colors
Submitted by softking on Wed, 06/09/2010 - 18:09In the Panel class in flex you have a "title" property to set the title of the panel.
It get a text value and shows it as the title.
I needed something more
I needed a title with colors to catch the eye.
Text controls in flex have a property called "htmlText" that can get html value, but the title property of the panel does not get html
Cannot resolve reference to bean 'sessionFactory' problem
Submitted by softking on Thu, 06/03/2010 - 10:27not long ago i changed my a applicationContext.xml file and added some dependency to a bean
suddenly i get this error on start up
Is it possible to show "No data found" on datagrid/advance datagird in Flex
Submitted by softologi on Sun, 01/24/2010 - 17:55In order to show "No Data" message above the DataGrid when there is no data in it we can use the following technique:
1. create a canvas and place the data grid on it
2. place also a HBox/VBox on that canvas and in it place a label with the message you want (I.E "no data")
3. Control visibility of the HBox by using binding with the DataGrid length
See code
How to iterate over the datagrid columns
Submitted by softologi on Sun, 01/24/2010 - 17:41How to iterate over the data grid columns
<?xml version="1.0" encoding="utf-8"?>
How to draw Alternative Row Background in TileList
Submitted by softking on Tue, 12/22/2009 - 10:24How to draw Alternative Row Background in TileList?
TileList inherits from TileBase. TileBase has a function called "drawTileBackground".
How do we select the color for the background color of the tile? We can create a class that extends TileList and override this function in order to change this color.
Preventing From SWF files from showing images or objects out of the FLEX SWFLoader stage
Submitted by softking on Mon, 11/23/2009 - 00:51So the story is like this. I was using a FLEX SWFLoader to load some external SWF files, these SWF files have some objects in them and when played the objects(in this case images) appear out of the border of the SWFLoader. It seams that the images expand out of the border and hide other GUI elements that are near the SWFLoader.
FLEX Binding and function calls
Submitted by softking on Wed, 11/18/2009 - 00:14This short example is meant to demonstrate the usage of data binging in FLEX to invoke method calls. Copy the code to an editor to be able to use the line numbers that will be specified later
<?xml version="1.0" encoding="utf-8"?>
Use List Base controls in Item Renderers and doing drag/drop operations
Submitted by softking on Mon, 11/02/2009 - 00:35I am working on a project where i use a custom item renderer. This renderer is a VBox that contains a label and a List control.
Configure MYSQL to use UTF8 with Spring/Hibernate
Submitted by softologi on Sat, 10/10/2009 - 03:28I started using MySQL in a project that i started working on,
The project uses Hibernate and Spring
and the problem was that strings end up as question marks in the database
How to create a CheckBox itemRenderer
Submitted by softking on Thu, 08/20/2009 - 23:24In the examples that adobe provide on CheckBox itemRenderer/itemEditor the check box editor is not what i wanted
(http://livedocs.adobe.com/flex/3/html/help.html?content=celleditor_4.html)
How to add an image to Column Header in Flex DataGrid
Submitted by softking on Tue, 07/14/2009 - 00:30After some looking around , i found out that i didn't see an easy example on how to add images to Column Headers in Flex Data Grid
Well ,this is not too complected to do in Flex3
How to write UTF8 text in Java
Submitted by softking on Mon, 04/13/2009 - 14:54
String fullPath="c:\temp\text.txt";
File curfile = new File(fullPath);
//write in UTF8 file format
Time Picker Control For Flex 3.0
Submitted by softking on Tue, 02/24/2009 - 01:33this article shows how to use 2 slider controls to create a single "Time Picker" control in Flex.
Time Selection Example In Flex ( Time Picker )
Submitted by softking on Sun, 02/22/2009 - 22:30There is no time selection control available in flex, in this example we use a simple FLEX TextInput to create a Time Selection Control.
<?xml version="1.0" encoding="utf-8"?>
Change the background color of a FLEX DataGrid row,How to change datagrid's row background color
Submitted by softking on Fri, 02/06/2009 - 01:26Some times you want to change the background color of a row inside a FLEX DataGrid. You usually want to do so in order to mark that row as an error or to make it out stand from the other rows.
Pdo in command line php?
Submitted by softking on Sun, 01/11/2009 - 10:57Hi
I had the following problem when trying to connect to oracle database from PHP when running in command line
"DB Connection failed: could not find driver"
Doc File Viewer For Compound Files
Submitted by softking on Wed, 12/03/2008 - 00:56The DocFile viewer that Microsoft gives with Visual Studio 6 and 7 is very basic and has very few capabilities. So i have decided to try and write a small DocFile viewer myself.
Cut , Copy , Paste stops working in Eclipse
Submitted by softking on Mon, 08/18/2008 - 12:23This may have happen to you too, you work with Eclipse and suddenly it stops coping and pasting and it is very annoying
To temporarily solve the problem you can disable "Folding" in the Java Editor
Go to: Window-->Preferences-->Java-->Editor-->Folding and un-check the folding option
This should do the trick
How to draw a line over a flex graph
Submitted by softking on Tue, 07/29/2008 - 11:48In order to draw a line over a flex graph you can use a CartesianDataCanvas element.
How to find the temporary directory in C#
Submitted by softking on Mon, 06/30/2008 - 20:59In order to find the temporary folder in C# you have to use this code:
System.IO.Path.GetTempPath();