ok, I'm populating the grid from a cfc and basically all i want to do is fill 
the alert with the selected dealers info in it instead of doing awhole new 
window.

 I'm sure it can be done with script now and a function but I really don't know 
what to do with that, currently it's this

 <cfsavecontent variable="showPictAlert">
     var msg = '<img src="/rrimages/alert.jpg" width="32" height="32" 
vspace="0" align="left"/><p><b>Regtext: </b></p><ul><li>List item 
1</li><li>List item 2</li></ul><p>asd dasd ada adas dasd asd asd asda 
sdadas.</p>';

     var alertSettings:Object = {title:'Dealer name here', message: msg, 
width:350, headerHeight:27 }
     errorpopup = mx.managers.PopUpManager.createPopUp(this, 
FormErrorException, true, alertSettings);
     errorpopup.centerPopUp(this);
 </cfsavecontent>

 which works but no dynamic data, if i change it to this, it doesnt take the 
dynamic data

 <cfsavecontent variable="showPictAlert">
     var msg = '<img src="/rrimages/alert.jpg" width="32" height="32" 
vspace="0" align="left"/><p><b>Regtext: </b></p><ul><li>List item 
1</li><li>List item 2</li></ul><p>asd dasd ada adas dasd asd asd asda 
sdadas.</p>';

     var alertSettings:Object = 
{title:"showDealers.dataProvider[showDealers.selectedIndex]['tbl_dealerName']", 
message: msg, width:350, headerHeight:27 }
     errorpopup = mx.managers.PopUpManager.createPopUp(this, 
FormErrorException, true, alertSettings);
     errorpopup.centerPopUp(this);
 </cfsavecontent>

 thats what its currently set at now

 How are you getting the data in?

~Dave the disruptor~
good sites - make money getting rid of ie :)
http://explorerdestroyer.com/
http://www.killbillsbrowser.com/ 

----------------------------------------
From: Paul Hastings <[EMAIL PROTECTED]>
Sent: Friday, November 25, 2005 1:30 AM
To: CF-Talk <[email protected]>
Subject: Re: more cfform goodness, maybe.... 

dave wrote:
> you can see it pops up the alert but when I add the code for selected index 
> the form wont load meaning its a no no.

meaning what exactly? you can certainly put dynamic data into an alert, 
that's how we debug flash forms. maybe some more info?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225222
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to