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
Hi,
i have a class Account with some descriptions.
Now based on my application state i'm interested to select and display a sub collections of the relative descriptions.
In the Magritte 2.0 i redefine the instance description method ( in the example i implemented it with descriptionFor: )
and at this time i select the relative class description and return it asContainer.
Example:
aMember := Account new.
cllDsc:= aMember descriptionFor: #( #update).
rsl:= self call: (( cllDsc asComponentOn: aMember )
addValidatedForm ;
addMessage: 'Aggiornamento item ' , aMember label ;
yourself).
Now i work to port the code to Magritte 3.
My question is :
what is the best solutions to create dynamic selection of the descriptions relative to one instance ?
I'm new to Magritte3 and i don't know the engine.
Can anyone give me some guidance?
Thanks,
Dario
I'm just guessing, but I bet if you change "Address" to "address" in
the JSON string it just might work.
I'm also posting this to the Magritte list just in case...
Happy Trails
John
On Wed, Jun 20, 2012 at 8:23 AM, Tomas Kukol <tomas.kukol(a)gmail.com> wrote:
> Hello,
>
> I have created a test for #fromJson: message.
>
> MJTestFromJson >> testFromJsonWithAddress
> | person address |
> person := MJTestPerson fromJson:
> '{"Name":"Tomas","Address":{"PostalCode":"19800","City":"Prague"}}'.
>
> self assert: person name equals: 'Tomas'.
> address := person address.
> self assert: address isNil not.
> self assert: address postalCode equals: '19800'.
> self assert: address city equals: 'Prague'.
>
> But the test fails because it cannot find PostalCode in MJTestPerson
> instace (should be probably in MJTestAddress). Is it a problem of my
> #fromJson: usage or wrong implementation of JSON deserialization?
>
> Thanks for any information.
>
> Tomas Kukol
> _______________________________________________
> seaside mailing list
> seaside(a)lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
---------- Forwarded message ----------
From: Stéphane Ducasse <stephane.ducasse(a)inria.fr>
Date: Sun, Jun 17, 2012 at 9:43 AM
Subject: [Pharo-project] Pharo Magritte
To: An open mailing list to discuss any topics related to an
open-source Smalltalk <Pharo-project(a)lists.gforge.inria.fr>
Begin forwarded message:
From: William Cook <wcook(a)cs.utexas.edu>
Subject: Re: Pharo
Date: June 17, 2012 5:30:29 AM GMT+02:00
To: Stéphane Ducasse <stephane.ducasse(a)inria.fr>
Reply-To: wcook(a)cs.utexas.edu
Hi again,
By the way, I have noticed that there are lots of similarities between
the Magritte project and the Enso project that I'm working on with
Tijs van der Storm. One big difference is that we avoid embedded DSLs,
but many of the high-level goals seem similar. Are you still working
on it?
Here are two papers that we have produced recently:
Object Grammars: Compositional & Bidirectional Mapping Between Text
and Graphs (Ensō Papers 2 of 6)
Tijs van der Storm, William R. Cook, Alex Loh
(submitted for publication)
Managed Data: Modular Strategies for Data Abstraction (Ensō Papers 1 of 6)
Alex Loh, Tijs van der Storm, and William R. Cook
To appear, Onward! 2012 .
William
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry
Dear Smalltalkers,
As you know ESUG (European Smalltalk User Group) is a nonprofit
organization, ran by a bunch of volunteers which aims at promoting
Smalltalk (http://www.esug.org/Promotion). ESUG does have multiple
actions such as sponsoring Smalltalk-related publications (articles
and books), encouraging developers and more specifically young
students to learn Smalltalk (Student Volunteers program) and build
innovative software using Smalltalk (SummerTalk, ESUG Awards, "Support
your project" program, Umbrella for GSoC, ...).
ESUG revenue comes only from sponsoring, donations, and registrations
to the ESUG yearly event (for 20 years!).
Therefore, we invite you to support the ESUG actions by encouraging
your companies and organizations to sponsor ESUG.
As previous years, we have three sponsoring packages
(http://www.esug.org/About/BecomeSponsor):
* Silver ESUG Sponsor: By paying € 500 per year, the logo of your
company/association is displayed during the ESUG conference, and you
are also recognized as a sponsor on our ESUG website
http://www.esug.org. You are entitled to mention that you are an ESUG
sponsor, and to use the ESUG logo in that context.
* Gold ESUG Sponsor: By paying € 1000 per year, you get all of the
above, and ESUG correspondence and distributions (CD, Documentation)
will feature your logo. You also get a 10% fee reduction on the ESUG
events for up to 5 people of your organisation.
* Platinum ESUG Sponsor: By Paying € 2000 per year, you get all of the
above, but you get a 20% fee reduction on the ESUG events for up to 10
people of your organisation.
For any further information, you can contact us directly at board(a)esug.org.
Best regards,
Luc Fabresse
On behalf of the ESUG board
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry