I'm just starting out using data services with Java, and I've become pretty comfortable filling collections with results from MySQL, etc., but here's an issue I have:
I have a long list of customers that gets pulled when a user logs in. A drop down list displays all of the customers, and when selected the information about that customer (address, city, state, etc.) is supposed to be pulled from the database. The issue is I don't want ALL of customers data pulled initially, just their name. So I have a class called customer that is managed and tied to a corresponding Java class, and my dataservices fills an array collection called clients with a bunch of these customer datatypes, while ONLY setting the customer id and the name. There are other properties in the class, such as address, etc., but they are left null. There is also a boolean property called isSet which is by default false. I wanted my application to, when the customer is changed, figure out if the customer data has been loaded yet (based on the isSet boolean) and then fill in the rest of the classes' properties with that particular customer's data. I then want to bind these properties to text inputs so that if changed they'll be updated on the server. Any suggestions on how I could do this? Thanks, Brennan ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

