Hey.
I've been lurking in this list for a couple years, was trying to get ready for Seaside, and I think now I'm ready. I'm preparing to start a big Web 2.0 project and I've picked Seaside as a platform of choice, disregarding my huge Ruby on Rails experience. I believe Seaside and Smalltalk are the best technologies around the block now and years to come. I'm trying to make a small project (blog engine) for now, just to get a taste of it. Unfortunately I've encountered some strange problem, that prevents me from doing anything serious even on that stage. First of all, I'm using latest non-commercial VisualWorks, and Seaside port version 2.6b1.30. I've derived a class RootComponent, from WAComponent. I've set class method canBeRoot to return true, and I registered that class through Add path form in Seaside web config panel. Then I tried to overwrite rendering method to use canvas, with no luck - it seemed to ignore my method at all. I also tried to change page title, by overwriting updateRoot: class method, and still no luck. Seaside seems to ignore this. I tried removing component from Seaside admin panel, and adding it again with another name, no luck either. I'm wondering if Seaside somehow cached my class in it's insides? But, I thought, Smalltalk and Seaside are all about dynamics and ease of change, so probably that doesn't make much sense. I'm attaching file-out of the whole class, maybe some of you guys could easily spot what I'm doing wrong here. I'd very appreciate any help. Thanks in advance! -- Dmitry Sabanin _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside CoreComponent.st (1K) Download Attachment |
Hi,
#rendererClass and #updateRoot: must be on instance side. Not on class side. Can you change that and see if it works better? I don't have VW do load your file. Bye 2007/4/22, Dmitry V. Sabanin <[hidden email]>: > Hey. > > I've been lurking in this list for a couple years, was trying to get > ready for Seaside, and I think now I'm ready. I'm preparing to start > a big Web 2.0 project and I've picked Seaside as a platform of > choice, disregarding my huge Ruby on Rails experience. I believe > Seaside and Smalltalk are the best technologies around the block now > and years to come. > > I'm trying to make a small project (blog engine) for now, just to get > a taste of it. Unfortunately I've encountered some strange problem, > that prevents me from doing anything serious even on that stage. > First of all, I'm using latest non-commercial VisualWorks, and > Seaside port version 2.6b1.30. > > I've derived a class RootComponent, from WAComponent. I've set class > method canBeRoot to return true, and I registered that class through > Add path form in Seaside web config panel. > Then I tried to overwrite rendering method to use canvas, with no > luck - it seemed to ignore my method at all. I also tried to change > page title, by overwriting updateRoot: class method, and still no > luck. Seaside seems to ignore this. I tried removing component from > Seaside admin panel, and adding it again with another name, no luck > either. > > I'm wondering if Seaside somehow cached my class in it's insides? > But, I thought, Smalltalk and Seaside are all about dynamics and ease > of change, so probably that doesn't make much sense. > > I'm attaching file-out of the whole class, maybe some of you guys > could easily spot what I'm doing wrong here. I'd very appreciate any > help. > > Thanks in advance! > > > > -- > Dmitry Sabanin > > > > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > -- Damien Cassou _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Dmitry V. Sabanin
Hi
As Damien said, #updateRoot: must be on the instance side and don't forget to send super. rendererClass ^ WARenderCanvas must be on the instance side too. Cheers Philippe 2007/4/22, Dmitry V. Sabanin <[hidden email]>: > Hey. > > I've been lurking in this list for a couple years, was trying to get > ready for Seaside, and I think now I'm ready. I'm preparing to start > a big Web 2.0 project and I've picked Seaside as a platform of > choice, disregarding my huge Ruby on Rails experience. I believe > Seaside and Smalltalk are the best technologies around the block now > and years to come. > > I'm trying to make a small project (blog engine) for now, just to get > a taste of it. Unfortunately I've encountered some strange problem, > that prevents me from doing anything serious even on that stage. > First of all, I'm using latest non-commercial VisualWorks, and > Seaside port version 2.6b1.30. > > I've derived a class RootComponent, from WAComponent. I've set class > method canBeRoot to return true, and I registered that class through > Add path form in Seaside web config panel. > Then I tried to overwrite rendering method to use canvas, with no > luck - it seemed to ignore my method at all. I also tried to change > page title, by overwriting updateRoot: class method, and still no > luck. Seaside seems to ignore this. I tried removing component from > Seaside admin panel, and adding it again with another name, no luck > either. > > I'm wondering if Seaside somehow cached my class in it's insides? > But, I thought, Smalltalk and Seaside are all about dynamics and ease > of change, so probably that doesn't make much sense. > > I'm attaching file-out of the whole class, maybe some of you guys > could easily spot what I'm doing wrong here. I'd very appreciate any > help. > > Thanks in advance! > > > > -- > Dmitry Sabanin > > > > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Damien Cassou-3
On Apr 22, 2007, at 9:37 PM, Damien Cassou wrote:
> Hi, > > #rendererClass and #updateRoot: must be on instance side. Not on class > side. Can you change that and see if it works better? I don't have VW > do load your file. It works like a charm. Thanks a lot for help. -- Dmitry Sabanin _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Dmitry V. Sabanin
Hi Dmitry,
> From: Dmitry V. Sabanin > > I've been lurking in this list for a couple years, was trying to get > ready for Seaside, and I think now I'm ready. I'm preparing to start > a big Web 2.0 project and I've picked Seaside as a platform of > choice, disregarding my huge Ruby on Rails experience. I believe > Seaside and Smalltalk are the best technologies around the block now > and years to come. > Welcome!! Could you elaborate more? I'd be interested in your journey from RoR to Seaside. What do you see are the main benefits of Seaside over RoR, and what if anything do you believe is still better about RoR. Nice to have you here, Ron Teitelbaum _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |