AgeFileFilter
రచయిత
niamathbasha'
బ్లాగు :Niamathbasha's Weblog
టపా తేది: 29-07-10 21:59:46
Few file manupulation code snippets. To get the list of files of directory is simple. If we want the list of files depending on the modified date time of the file. This can be achived by using AgeFileFilter from Apache’s commons-io. Get the list of files which is modified with in 24 hrs: String files[] [...]
Optimizing code
రచయిత
niamathbasha'
బ్లాగు :Niamathbasha's Weblog
టపా తేది: 24-06-10 22:16:18
I posted about shortcuts in eclipse in my earlier post, those I use while writing code. Most of the times I try to write code as fast as possible but always fail to do that. There will be different thoughts while writing the code and gets confused and wastes time. I thought to optimize the [...]
Search with in DataGrid in Flex
రచయిత
niamathbasha'
బ్లాగు :Niamathbasha's Weblog
టపా తేది: 25-05-10 13:11:29
Searching data with in the DataGrid, For my recent project I need this requirement. I googled a bit and found this link Here is a nice working sample and code is also available. Thanks for that blogger.
Few useful shortcuts in Eclipse
రచయిత
niamathbasha'
బ్లాగు :Niamathbasha's Weblog
టపా తేది: 18-11-09 14:29:36
To copy selected rows : ctrl + alt + [up or down]key To move selected rows up or down : alt + [up or down] key Programing comment/Uncommon : ctrl + / or ctrl + shift + c Block comment : ctrl + shift + / Block Uncommon : ctrl + shift + \ Delete [...]
Get attribute names and values of xml in flex
రచయిత
niamathbasha'
బ్లాగు :Niamathbasha's Weblog
టపా తేది: 06-11-09 11:27:57
One more sample to parse xml file with attributes in flex. Here is a sample, which displays the capital city and language of the selected country in the combobox. The details were getting through xml file with three attributes “country”, ”capital” and “language”.
Dynamic Width of ComboBox (Small Tweak)
రచయిత
niamathbasha'
బ్లాగు :Niamathbasha's Weblog
టపా తేది: 10-10-09 01:42:40
Recently I have gone through a situation where there will be a ComboBox and it will have a list of data, some items will be too lengthy. And I have to show the width of Combo with the maximum size of the item in the dropdown list of Combo. First I thought I must iterate [...]
ComboBox ItemRenderer in flex DataGrid
రచయిత
niamathbasha'
బ్లాగు :Niamathbasha's Weblog
టపా తేది: 10-10-09 01:25:37
For my Application I need a CobmboBox in Datagrid, and the combo will have a list of data. For this I googled a few samples. Here is a sample code, I modified it with my requirements. My requirement is populate the Datagrid and there will be columns in datagrid that can be modified and updated [...]
Embedding font in Flex 4 (spark components)
రచయిత
niamathbasha'
బ్లాగు :Niamathbasha's Weblog
టపా తేది: 03-10-09 07:35:28
Embedding fonts in Flex 3 can be achived by @font-face But this will not work in flex 4. We need to add one more property ‘cff’ and setting it to true. @namespace mx "library://ns.adobe.com/flex/halo"; @namespace s "library://ns.adobe.com/flex/spark"; [...]
Adding milliseconds to given time in flex
రచయిత
niamathbasha'
బ్లాగు :Niamathbasha's Weblog
టపా తేది: 04-08-09 18:02:52
This is a sample example to add milliseconds to the given time
BlazeDS,LiveCycle DS Configuration
రచయిత
niamathbasha'
బ్లాగు :Niamathbasha's Weblog
టపా తేది: 09-07-09 15:09:41
Configuration of the destinations of messaging is done in the messaging-config.xml file. The file looks like this. Topic
Library Project with source (.net)
రచయిత
niamathbasha'
బ్లాగు :Niamathbasha's Weblog
టపా తేది: 06-07-09 14:12:10
Hi, Here I want to share a small Library Project done while doing a course at NIIT (2006-2007) with my friends Sachin, Erendra, Shilpa. This project was developed on ASP.NET, MSSQL (don’t remember version). This project will have Registration for users, Login, Book issue, Returning books ,Admin and Librarian modules. Here I am attaching the [...]
Flex with Struts 2 with Source
రచయిత
niamathbasha'
బ్లాగు :Niamathbasha's Weblog
టపా తేది: 26-06-09 08:53:19
In my previous post ( http://niamathbasha.wordpress.com/2008/09/01/configuring-struts-2-with-flex/) I discussed about configuring flex with Struts 2. So many guys asking me to provide the working sample. So I configured a small Login application. Download the sample application which uses Flex as UI and Struts 2 as Back-end.cairngorm-template.rar
BlazeDS TurnKey
రచయిత
niamathbasha'
బ్లాగు :Niamathbasha's Weblog
టపా తేది: 25-06-09 11:42:50
First download BlazeDs from here, unzip it and rename it as blazeds and place the folder in c:\ drive. This will have Tomcat 6, a sample database(HSQL DB). Now working with this, Start the database(C:\blazeds\sampledb\startdb.bat) and then start tomcat (C:\blazeds\tomcat\bin\startup.bat) Open the browser and enter http://localhost:8400/samples/ and take test drive.