All of the damoti widgets inherit from pyjs GWT base widgets. Take a look at the code and try to understand what it does, I'd be more than happy to answer any questions you may have. On Dec 21, 2012 6:57 PM, "Łukasz Mach" <[email protected]> wrote:
> W dniu 21.12.2012 18:22, Lex Berezhny pisze: > >> On Fri, Dec 21, 2012 at 12:08 PM, Lex Berezhny <[email protected] >> <mailto:[email protected]>> wrote: >> >> The other thing I didn't include is the shared models. If you look >> in models.py you'll see those client side models inherit from a >> shared model class. The idea there was that both the server side and >> client side share domain models but each is still able to customize >> it. For example the server side version includes things related to >> serializing to relational database and client side does form >> validation and i don't want the server side models compiled to >> javascript and sent to client side. >> >> >> Actually, I hadn't looked at this code in a while and it appears that >> you do not need the shared models. >> >> So, I think if you can fake/comment out all of the server access code >> you should be able to run the UI. >> > > I was not able to run the UI anyways, it shouts about unable to import > TopPanel.TopPanel - but it doesn't matter. I will just look at your widgets > by the way of doing something in pyjamas and will try to see them in action > in such way. > > Can damoti-client be mixed with widgets from pyjamas "gwt" library? Or it > shouldn't be for some reason? > > > -- > pozdrawiam > > Łukasz Mach - [email protected] > > -- > > > > --
