Srikanth Duvvuri wrote:
The last part of your mail was very right.. as part of the phase-1, we
are using flex only for ui rendering.. phase-2 would deal with moving
some more logic into flex..
Okay, I'm assuming the client-side logic is too complex to port right away. Otherwise I wouldn't do this in two phases. It's most likely not worth it (but you know better!).
Coming to the code snippet that you sent.. do you think I can continue to use my javascript function and your mxmlcode.. I think NO.. can you suggest something so that my javascript function remains untouched i.e. it works on the id attribute of the parameter passed, and mxml passes a suitable value to it..
I'd go with Abdul's suggestion: i.e., use a wrapper JS function.
Manish

