Hi,
is there any photo gallery available for Pier? I mean a widget where I
could upload pictures and they are rendered in a nice way. I started
one 4 years ago but I abandoned it.
Bye
--
Damien Cassou
http://damiencassou.seasidehosting.st
#1.
locationDefinition
^ #( ( 2 '63450af8d9c2e17b' ) ( 30 'iaojv41bw67e0tud5m9rgplqfy8x3cs2kznh' )
)
Why is '63450af8d9c2e17b' all mixed up (as opposed to '012345...')? I'm
cleaning some code and feel like I'm missing something here...
#2. Is anyone using #baseUrl? There are no senders in the image...
-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/MAExternalFileModel-Questions-tp4711175.html
Sent from the Magritte, Pier and Related Tools mailing list archive at Nabble.com.
Per a recent thread, I added #display: aBlock to MAElementDescription, so you
can now say e.g.
MAFileDescription new
accessor: accessor;
label: 'Attachment';
defaultDirectory: attachmentFolder;
display: [ :e | e basename ];
kind: AbstractFileReference;
priority: 300;
yourself.
I tried not to subvert the design of Magritte, but had to dig pretty deep to
find a place where the right objects were able to communicate.
MAStringWriter>>#visitStringDescription: sends #displayStringFor: to the
description to convert the object into a string. The default is still to
send it #greaseString.
If someone could load the bleeding edge packages and review the design I'd
appreciate it. It's worked so far in my projects and with some hand testing.
Thanks.
-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Code-Review-Request-tp4711242.html
Sent from the Magritte, Pier and Related Tools mailing list archive at Nabble.com.
Hi
I've got Moose 4.8 Release.
Open Moose,
Open workspace,
and run:
Gofer new
smalltalkhubUser: 'Pier' project: 'Pier3';
package: 'ConfigurationOfPier3';
load.
(Smalltalk at: #ConfigurationOfPier3) load.
Although it appears to install mostly ok, I get several debug windows labelled:
MNU: GRPackage>>includesSelector:ofClassName:
From then on the image is unusable, with many errors (opening workspace, system browser, etc):
MNU: ByteString>>trimBoth
KR
Gareth Cox
IT Manager/Developer
inspired!
email: gareth(a)inspired.org
cell: +27 (0)78 374 9035
Hi,
I've fixed Magritte and Grease configurations so that loading these
projects do not dirty any pharo package anymore.
Best
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing
enthusiasm."
Winston Churchill
If I have domain objects listed in a MASingleOptionDescription, how do I more
finely control their representation. Instead of their print string, I'd like
to specify something like spec's #displayBlock: [ :e | ... ]. From the
seaside book, I got the idea to subclass MAStringWriter, but that seems kind
of heavyweight for what would seem like a fairly common task.
What's the best way to do this?
Thanks.
-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/MASingleOptionDescription-Custom-Printing-tp4710335.h…
Sent from the Magritte, Pier and Related Tools mailing list archive at Nabble.com.
I've seen a lot of code like:
MyAbstractSuperclass>>subclassInstanceAppropriateFor: anObject
Which returns an instance of a subclass specialized for anObject. I don't
see how I would integrate this type of code with magritte. Am I missing
something obvious?
Thanks!
-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Instance-Creation-Pattern-tp4709470.html
Sent from the Magritte, Pier and Related Tools mailing list archive at Nabble.com.
This afternoon at ESUG we showed the things we have been doing to eliminate duplication
and add functionalitywhen building Magritte-based applications.
You can use the code by doing in a Pharo 2.0 image:
Gofer new
url: 'http://smalltalkhub.com/mc/DiegoLont/QCMagritte/main';
package: 'ConfigurationOfQCMagritte';
load.
(Smalltalk at: #ConfigurationOfQCMagritte) project development load: #( 'Demo' ).
We have not tested Squeak, Pharo 1.4 and Gemstone, but don't expect any
problems. Squeak needs Announcements for the code to work.
What we showed is an expanded version of the TwitterBootstrap demo.
Diego & Stephan
Tobias,
Yes, I agree. We should have Magritte working for Squeak as well. Thanks for letting me know this is a problem. I know what I thought when I made this change: it is in a pharo specific package, so it should be no problem. Your configuration will fix this, so I uploaded this to smalltalkhub
But I wonder if we better save version 26 of Magritte-Pharo-Model as Magritte-Squeak-Model, so it will be clear in the future what version to use. Of course, when the idea is to incorporate FileModel into squeak in the future, then this configuration is fine.
Best,
Diego
PS: I have added you to the Magritte team on smalltalkhub.
Op 11 sep. 2013, om 01:07 heeft Tobias Pape het volgende geschreven:
> Hi diego,
>
> I am currently trying to load Magritte3 in Squeak.
> In the last years, pharo and squeak shared the platform
> code. However, In july you changed the backend
> for Magritte-Pharo-Model to FileSystem, which is normally
> great, however, it does not currently work in Squeak anymore.
>
> would it be possible, until a matching version for squeak is found
> or until we find a common solution, to use the configuration
> I attached?
>
> Best
> -Tobias
>
>
> <ConfigurationOfMagritte3-topa.48.mcz>