Re: [flexcoders] Calling functions from an itemRenderer

2006-08-16 Thread e baggg
Rick- Whenever you declare a method such as click="someMethod()"...you cannot have double quotes between the wrapping double-quotes of the click. The compiler always assumes the second quote is the end of the method name. If you changed your code to -- click="callMethod()" and then above it

[flexcoders] Calling functions from an itemRenderer

2006-08-14 Thread Rick Root
I've got an itemRenderer in a datagrid that's rendering a linkbutton with a script. The following doesn't work because it's not valid XML, with the symbols in the click value... mx:DataGridColumn headerText=Entity ID width=100 dataField=ENTITYID mx:itemRenderer

Re: [flexcoders] Calling functions from an itemRenderer

2006-08-14 Thread Brendan Meutzner
Rick,Have a look at the ExternalInterface functionality to call a _javascript_ function which resides in your HTML page which will satisfy your popup requirements...Brendan On 8/14/06, Rick Root [EMAIL PROTECTED] wrote: I've got an itemRenderer in a datagrid

Re: [flexcoders] Calling functions from an itemRenderer

2006-08-14 Thread Douglas Knudsen
extract the URLRequest() call to a AS method. make sure your mx:script block has the CDATA schtuffs.DKOn 8/14/06, Rick Root [EMAIL PROTECTED] wrote:I've got an itemRenderer in a datagrid that's rendering a linkbutton with a script.The following doesn't work because it's not valid XML, with the

Re: [flexcoders] Calling functions from an itemRenderer

2006-08-14 Thread Rick Root
Douglas Knudsen wrote: extract the URLRequest() call to a AS method. make sure your mx:script block has the CDATA schtuffs. This is what I had done, as mentioned here: I originally had a function defined in the same file that did that and I called like like this: