MAX is coming and we'll be there
9 comments Posted by: Nahuel ForondaYes, we'll be going to the MAX conference and also tomorrow we'll be going to LAFlashapaloozastock. If you are planing to go just say Hi :)
With the alpha release of Zorn aka Flex Builder 2 and all the talks about Flex I think that we will have a big amount of things to absorb.
BTW I filled the intro card to be in touch we the attendees
Category: Miscellaneous |
9 Comments so far
Write yoursCan we do this w/ a repeater? Currently, we bit the bullet, and just had a query that we looped through and used coldfusion code to create the cfselects, but we would really rather use a repeater, as this would signifigantly decrease the time it takes for the form to load (it wouldn't have to re-compile each time).
Does anyone have an example of anything like this? Can it be done, or are repeaters basically just used for radio buttons and/or checkboxes?
Thanks in advance...
"Can anyone tell me if we can change the dataprovider for a repeater, like w/ a cfgrid?
Posted By Neil Bailey / Posted At 8/24/05 9:29 AM
Neil,
yes, you must set it as:
theNameOfTheQuery.dataProvider = results;
the name of the query is the query that populates the repeater.
I will make an example of that when I get a minute.
Posted By Laura / Posted At 8/24/05 3:25 PM"
would be great to hear.. thanks alot, your site is very usefull though I did not post anything here so far
Anyone...?
Thanks in advance!
radioButtonName.selectedData = 'SOME_VALUE';
I was looking under RADIOBUTTON in the docs. I found what I needed under RADIOBUTTONGROUP.
Doh!
I can return a structure from a remoting CFC, and select the appropriate selection from a drop down box. No problem.
However, what if I need to select MULTIPLE items in the select box. I did find a property called selectedData, but was wondering if anyone had seen an example anywhere on how to use it? Laura, Nahuel, have you had any experience doing something like this?
Thanks guys..
I hope this helps SOMEONE, as it took me hours to figure out :)
I have a select box, with a list of items and UUID's (the UUIDs are obviously the values). The select box (there are actually several, but I deal with one at a time) has a height of 3, and can accept multiple selections.
I call a CFC via remoting to pull up any past form submissions that the current user may have entered (its an online employment application). I needed to be able to "remember" any selections that the user may have submitted in the past for this select box.
The CFC returns a structure, one of the elements is an array containing the previously selected items for this select box.
With me so far? This is the code that goes through, determines what items SHOULD be selected, and then selects them
if (_root.sel_experienceManagement.length > 0 && results.management_experience.length > 0) {
var aTempHolder:Array = [];
for (var x:Number = 0;x <= _root.sel_experienceManagement.length;x++){
for (var y:Number = 0;y <= results.management_experience.length;y++) {
if (_root.sel_experienceManagement.getItemAt(x).data == results.management_experience[y]) {
aTempHolder.push(x);
}
}
}
Again, there may be an easier way to do this (this is the standard disclaimer I use for ALL of the AS posts I put here :), but this is the way I got to work after MUCHO research.
If anyone can improve it, please let me know. I appreciate it, and hope that this helps anyone who was having the same problem I was.
How do you submit datagrid changes via remtoing to a CF CFC? I dont know the action script or how to loop corectly to get the required column data that has been edited.
I get it to work with a submitForm(), to CFC. Need flash remoting to do the work without having to build the flash form again...
Pls help... thanx