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 some descriptions and one based on MAStringDescription for manage the e-mail reference.
Now i'm interested to create a MAReport with fields for management email.
Where for management i think a link to open new email directly from report :
html anchor attributeAt: 'href' put: 'mailto:', anObject emailBase.
How i can do it ?
Anyone create a specific MADescription for define e management email reference ?
Thank,
Dario
I like to execute a command in a way that the structure is changed while the command is being executed. If the command is commited I like to advance the structure to another structure. If the command is aborted than I like to return to the structure from where the command has been invoked.
Basically I do something like this
html anchor
goto: (self context
structure: self structureWhileCommandIsExecuting
command: MyPierCommand new);
with: 'do it' ]
In MyPierCommand>>doExecute I do at the end
self answer: (self context structure: self structureAfterCommandHasBeingCommited )
This way I have chose a structure for command execution and the structure if the command is commited. But on abort it stays where it has been executed (structureWhileCommandIsExecuting). Looking at
PRContentsWidget>>onAnswerCommand: aCommand
aCommand isNil
ifTrue: [ ^ self context: (self context structure: self context structure) ].
[ aCommand execute ]
on: MAError
do: [ :err | ^ self component errors add: err ].
self context: aCommand answer
we see that if aCommand isNil (abort) the structure is nailed to the current one (while executing). Would it be ok to change that so it is answering every time? I simple change would be to change
buildComponent: aContext
^ aContext command asComponent
onAnswer: [ :value | self onAnswerCommand: value ];
yourself
to
buildComponent: aContext
^ aContext command asComponent
onAnswer: [ :value | value ifNotNil: [ self onAnswerCommand: value ] ifNil: [ aContext command doAnswer ] ];
yourself
this way
PRCommand>>doAnswer
self answer ifNil: [ self answer: (self context structure: self structure) ]
would the same but some could overwrite the answer when creating the link
what do you think?
Norbert
I have a magritte component clas that uses some javascript stuff. But I couldn't get it to run. It seems that magritte components don't get the chance to. I think that MAContainerComponent is supposed to give its children the chance to update the root as well.
The attached changeset adds it to MAContainerComponent.
What do you think?
Norbert
I have a command that is a quick command and on execute time I do something like
thisStructure := self context structure.
parentStructure := thisStructure parent.
self answer: (self context structure: parentStructure)
The context then contains the right structure (parentStructure) but the url line in the browser still tells the url of thisStructure. The only thing I could confirm is that this doen't happen if isQuick is false. Then the url is updated correctly.
Any ideas?
Norbert
I'm embedding a component in a page like this
+component|className=HRWine+
On the embedded component I have
descriptionContextClassName
^ MAStringDescription new
parameterName: 'className';
accessor: #contextClassName;
priority: 100;
label: 'Name of the context class';
beRequired;
yourself
What I get is an entry in the components properties with an association description -> value. That is good so far. I'm asking myself what is the best way to access the value. If I don't specify an accessor on the description magritte creates one itself leading to equality check failing in properties when doing
self propertyAt: self class descriptionContextClassName.
But if I have to specify an accessor I'm wondering why the accessor isn't used to store the value in the component.
Do I misunderstand something or is there a preferred way of accessing parameter values?
thanks,
Norbert
Hi
The rush of Pier powered sites continues unabated .... We've just made
getitmade.com live.
Still lots to do - not least of which is to find some launch customers who
want to turn their prototype creations into products....
Thanks to everyone and especially Lukas for patiently answering my
Seaside/Magritte/Pier questions.
I'm particularly pleased with our Magritte forms - see attached image. It's
a fantastically powerful, yet flexible framework.
Thanks again
Nick
Very nice! It would be wonderful to see a little write-up on how you
constructed this. Which parts you were able to re-use and what you had to
build yourself.
-david
On Fri, Oct 22, 2010 at 11:02 AM, David Pennell <dpennell(a)good-cloud.com>wrote:
> Very nice! It would be wonderful to see a little write-up on how you
> constructed this. Which parts you were able to re-use and what you had to
> build yourself.
>
> -david
>
>
> On Fri, Oct 22, 2010 at 10:35 AM, Lukas Renggli <renggli(a)gmail.com> wrote:
>
>> Hi Nick,
>>
>> Very cool design. I've already added the link to the known sites after
>> reading you tweet :-)
>>
>> Lukas
>>
>> On Friday, October 22, 2010, Nick Ager <nick.ager(a)gmail.com> wrote:
>> > Hi
>> > The rush of Pier powered sites continues unabated .... We've just made
>> getitmade.com live.
>> > Still lots to do - not least of which is to find some launch customers
>> who want to turn their prototype creations into products....
>> >
>> > Thanks to everyone and especially Lukas for patiently answering my
>> Seaside/Magritte/Pier questions.
>> > I'm particularly pleased with our Magritte forms - see attached image.
>> It's a fantastically powerful, yet flexible framework.
>> >
>> > Thanks again
>> > Nick
>> >
>> >
>> >
>>
>> --
>> Lukas Renggli
>> www.lukas-renggli.ch
>> _______________________________________________
>> Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>
>
Impressive; congratulations Nick!
This is exactly what I've been looking for; I'll be posting product
ideas soon...
Good luck,
/Reza
At 17:12 22/10/2010, Nick Ager wrote:
>Hi
>
>The rush of Pier powered sites continues unabated .... We've just
>made <http://getitmade.com>getitmade.com live.
>
>Still lots to do - not least of which is to find some launch
>customers who want to turn their prototype creations into products....
>
>Thanks to everyone and especially Lukas for patiently answering my
>Seaside/Magritte/Pier questions.
>
>I'm particularly pleased with our Magritte forms - see attached
>image. It's a fantastically powerful, yet flexible framework.
>
>Thanks again
>
>Nick
>
>
>Content-Type: image/png; name="getitmade-magritte form.png"
>Content-Disposition: attachment; filename="getitmade-magritte form.png"
>X-Attachment-Id: f_gfl768py0
>
>_______________________________________________
>Magritte, Pier and Related Tools ...
>https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Thanks Lukas for your feedback and integration! Let me add that this
is just the "starter". As an extension to the OLPC project idea and
implementation, I continue to believe that there is space to deploy
one server per citizen, and a batch of 100000 servers in already
being planned for a relatively close future (so, you would probably
need to somehow automate their integration in your "installations"
page ;-)). I'll keep you informed.
/Reza
At 12:22 21/10/2010, Lukas Renggli wrote:
>Wow, thank you, that's a wealth of new sites. I've added them to the list on
>
> http://www.piercms.com/doc/examples
>
>Lukas
>
>On 20 October 2010 14:41, Reza Razavi <razavi(a)acm.org> wrote:
> > Hi Lukas,
> >
> > Please find below a few new websites that run Pier.
> >
> > For your convenience, I've organised them according to the categories in
> > your "installations" page at http://www.piercms.com/doc/examples.
> >
> > Good luck for your PhD defense.
> > Regards,
> > Reza
> >
> > Projects
> > - AAS-Platform (http://aas-platform.com/)
> > - User-Generated Services: a demo website (http://afacms.com/)
> >
> > Organizations and Groups
> > - Pontoon Community (http://pontoonity.com/)
> >
> > Companies
> > - Ambient Activity Systems (http://www.urfid.biz/)
> >
> > Individuals
> > - Reza Razavi (http://rezarazavi.com/)
> > - Goya Razavi (http://goyarazavi.com/)
> >
> > _______________________________________________
> > Magritte, Pier and Related Tools ...
> > https://www.iam.unibe.ch/mailman/listinfo/smallwiki
> >
>
>
>
>--
>Lukas Renggli
>www.lukas-renggli.ch
>_______________________________________________
>Magritte, Pier and Related Tools ...
>https://www.iam.unibe.ch/mailman/listinfo/smallwiki