Re: [IronPython] Get a string from JavaScript to IronPython

2009-01-06 Thread Cenovsky, Lukas
Unfortunately we can't apply attributes to Python classes. I get round this particular problem by creating stub classes in C# and inheriting from them in Python. See: http://www.voidspace.org.uk/ironpython/silverlight/scriptable.shtml Is there a CodePlex issue to resolve this? -- --

Re: [IronPython] Get a string from JavaScript to IronPython

2009-01-06 Thread Dino Viehland
: [IronPython] Get a string from JavaScript to IronPython Unfortunately we can't apply attributes to Python classes. I get round this particular problem by creating stub classes in C# and inheriting from them in Python. See: http://www.voidspace.org.uk/ironpython/silverlight/scriptable.shtml

Re: [IronPython] Get a string from JavaScript to IronPython

2009-01-06 Thread Kristian
Thanks for the reply. I actually got it to work straight away :-) On Jan 6, 4:07 pm, Michael Foord fuzzy...@voidspace.org.uk wrote: Kristian wrote: I have a code editor written in JavaScript on my page and I want to send the code that it is typed in as a string to IronPython so that it can