I am using states to manage the flow of my web app. When a user
searches for a record, the results are dipslayed in a datagrid. And
when a user clicks on that data grid, I am using the return results to
trigger a state change. During this state change, I would like to pass
the retuned detailed information into the new state so that I can
populate the text inputs. However, I cant seem to figure out how to
populate a text input.
This is what I am trying. In thoery the third line should populate the
the text input with the id fld_fileNum with the results from
fld_fileNum. I know that I can pass the results into a var, but I
would rather directly populate the text input. Anyone have a clue on
how I can do this.
function searchServiceqdListDisplayPropResult( result ) {
parentApplication.currentState = 'etel';
parentApplication.etel.fld_fileNum.text = result.fld_fileNum;
search.text = ''
FSDG.dataProvider.removeAll();
}
--
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/