Re: [flexcoders] Actionscript on JSR223

2009-07-09 Thread Sam Lai
A hack would be to use the GWT code and Flash's ExternalInterface to validate via the Javascript produced by GWT and loaded in the browser. I don't know how much you have to commit to GWT before you can use it though; haven't used it before. 2009/7/10 Sam Lai : > Doesn't GWT do something similar,

Re: [flexcoders] Actionscript on JSR223

2009-07-09 Thread Sam Lai
Doesn't GWT do something similar, converting the necessary Java code to Javascript? Maybe that part can be reused as AS code. Granted, you will lose the typing in the validation code, but I would presume that GWT would've thought about that and mitigated the security issues there? P.S. Silverlight

Re: [flexcoders] Actionscript on JSR223

2009-07-09 Thread Tom Chiverton
On Wednesday 08 Jul 2009, Tim Rowe wrote: > Does anyone happen to know of any JSR223 (Java platform scripting) > implementation(s) of ActionScript for dynamic use? I'm currently looking > through a lot of our business data validation logic which is implemented in > two places arguably unnecessaril

[flexcoders] Actionscript on JSR223

2009-07-07 Thread Tim Rowe
Does anyone happen to know of any JSR223 (Java platform scripting) implementation(s) of ActionScript for dynamic use? I'm currently looking through a lot of our business data validation logic which is implemented in two places arguably unnecessarily - both on the front-end in AS and then again