WAComponent

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

WAComponent

Ramon Leon-5
Lucas, I fired up Pier last night after having not touched it in a while,
went to do a small project and none of my components worked anymore,
couldn't configure their settings.  Turned out seaside's WAComponent now
includes an accessor on the class side called description, which returns the
class name, and overrides what Magritte expects to be a description builder.
Have you noticed this or are you working mostly in 3.9 with pragma's and not
using the older builders?  I also had quite a few issues just loading the
latest versions from your repository, kept getting warnings from Monticello
about it not being able to find a previous version, yet the version was
right there.  Comments?

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

AW: WAComponent

Jason Johnson-3
I saw on this list the mention of Pier and have started looking into it.
Seems like a nice system.  But I didn't see anything about this on the
seaside page.  The only thing I see on the seaside page is Mewa, which
someone in this list said isn't being worked on anymore.

Are there plans to add some of these things to the seaside page, or some
place that new people will tend to go to look for solutions?  I was
about to go impliment a bunch of things that Pier does already. :)

Thanks,
Jason

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WAComponent

Lukas Renggli
In reply to this post by Ramon Leon-5
> Lucas, I fired up Pier last night after having not touched it in a while,
> went to do a small project and none of my components worked anymore,
> couldn't configure their settings.  Turned out seaside's WAComponent now
> includes an accessor on the class side called description, which returns the
> class name, and overrides what Magritte expects to be a description builder.

Load the latest version of Magritte, this bug is fixed there.

> Have you noticed this or are you working mostly in 3.9 with pragma's and not
> using the older builders?

No I am not using the pragmas for descriptions yet, Magritte only has
experimental support for pragmas. The default is still the naming
convention.

> I also had quite a few issues just loading the
> latest versions from your repository, kept getting warnings from Monticello
> about it not being able to find a previous version, yet the version was
> right there.  Comments?

I experienced the same and others have reported this issue as well,
see the pier mailing-list. I didn't find out why this happened. Maybe
incompletely committed versions? Broken committ image? I didn't find
out the problem. The latest have been reported to work though.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: AW: WAComponent

Lukas Renggli
In reply to this post by Jason Johnson-3
> Are there plans to add some of these things to the seaside page, or some
> place that new people will tend to go to look for solutions?  I was
> about to go impliment a bunch of things that Pier does already. :)

Done.

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: WAComponent

Ramon Leon-5
In reply to this post by Lukas Renggli

> > Lucas, I fired up Pier last night after having not touched it in a
> > while, went to do a small project and none of my components worked
> > anymore, couldn't configure their settings.  Turned out seaside's
> > WAComponent now includes an accessor on the class side called
> > description, which returns the class name, and overrides
> what Magritte expects to be a description builder.
>
> Load the latest version of Magritte, this bug is fixed there.

Ah, I hadn't realized I was now required to inherit from MAComponent rather
than just using any WAComponent subclass, when did this change?

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: RE: WAComponent

Lukas Renggli
> > Load the latest version of Magritte, this bug is fixed there.
>
> Ah, I hadn't realized I was now required to inherit from MAComponent rather
> than just using any WAComponent subclass, when did this change?

Well, this was a method addition in Seaside causing this bug:
WAComponent class>>description returns a string, whereas Magritte
expects a description as defined in Object. The solution is to use
MAComponent that implements #description the same way as it is done in
Object.

Thinking about this problem I now see some other potential bugs, I
will need to have a look at this again. A pity we don't have
Classboxes ;-)

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: RE: WAComponent

Philippe Marschall
2006/8/26, Lukas Renggli <[hidden email]>:

> > > Load the latest version of Magritte, this bug is fixed there.
> >
> > Ah, I hadn't realized I was now required to inherit from MAComponent rather
> > than just using any WAComponent subclass, when did this change?
>
> Well, this was a method addition in Seaside causing this bug:
> WAComponent class>>description returns a string, whereas Magritte
> expects a description as defined in Object. The solution is to use
> MAComponent that implements #description the same way as it is done in
> Object.
>
> Thinking about this problem I now see some other potential bugs,

I'm sure you noticed #asComponent in WAComponent and WADecoration.

Philippe
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: RE: WAComponent

Lukas Renggli
> > Thinking about this problem I now see some other potential bugs,
>
> I'm sure you noticed #asComponent in WAComponent and WADecoration.

Yes, this is also a potential problem.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WAComponent

Michel Bany-3
In reply to this post by Lukas Renggli
Lukas Renggli a écrit :

>> Lucas, I fired up Pier last night after having not touched it in a
>> while,
>> went to do a small project and none of my components worked anymore,
>> couldn't configure their settings.  Turned out seaside's WAComponent now
>> includes an accessor on the class side called description, which
>> returns the
>> class name, and overrides what Magritte expects to be a description
>> builder.
>

Hi Lukas,
I'm the one who added the #description method on the class side.
Would it help if this method was renamed ?
Michel.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: WAComponent

Lukas Renggli
> I'm the one who added the #description method on the class side.
> Would it help if this method was renamed ?

Thanks for offering to rename it. It would help, but I think it would
have been better if I named the method in Magritte different in the
first place :-/ It is Magritte that should change ... though in the
current state it is also no big deal to work around.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

[ANN] Sqk3.8f+m24+s74+ms17+p108.image

keith1y
preloaded image with magma seaside and pier
includes: seaside+magma store demo with experimental MagmaControlPanel

available from ftp.seasidehosting.st
user: preloaded password: squeak

Keith



               
___________________________________________________________
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside