[flexcoders] Custom dg validator

2006-04-12 Thread Ault, Gary - BLS
Title: Custom dg validator In Flex 1.5, I am trying to create a PowerBuilder-esque column validator. I use a custom TextInput field with a Validator so that when a user tabs out of a column, the validation check is triggered. It appears to work for a simple test, but I cannot get the valida

[flexcoders] Generic VO methods

2006-02-21 Thread Ault, Gary - BLS
Title: Generic VO methods I would like to create generic clear and copy methods for a value object class. Will the following code work? I thought I read somewhere there is a problem with ObjectCopy. Thanks. Gary Ault Bureau of Labor Statistics class vo.UserVO {     import mx.utils.O

[flexcoders] RE: Get selected tree node for dynamically created tree

2006-01-09 Thread Ault, Gary - BLS
amically created tree You need to use node.getProperty("label") not .attributes, this way your code will work regardless of how the dataProvider was specified. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ault

[flexcoders] Get selected tree node for dynamically created tree

2006-01-03 Thread Ault, Gary - BLS
Title: Get selected tree node for dynamically created tree First time creating trees in Flex. Can someone explain how to find the selected tree node on a tree that has a data model created programmatically?  I create my data model as shown below (example from Flex ActionScript Language Ref