Hi,
in Pier, the logo is displayed thanks to CSS :
.header .logo {
background: transparent url(header-logo.png) no-repeat;
width: 127px; height: 127px;
}
How can I get this picture, modify it and add this new picture to Squeak
for use in another CSS ?
Thanks
--
Damien
Perhaps I have some stupid question, but I dare :-)
Is this mailing list appropriate for Pier-related questions ?
Regarding what we said in the squeak-dev mailing list:
> Pier was designed to have a prevalence like persistency: this means it
> consists of a snapshot mechanism and the logging facilities for
> command-objects. Command objects are the key thing, since this is the
> only way to modify the model. There is some experimental code (that
> already proved to work) but that is not tested in real environments
> and that is still lacking some features.
It seems that there are no test related to persistency except
PRKernelTest>>testPersistency. Is it right ?
Is the method snapshot called ? There is no class having a name
starting with PR that send the method snapshot, but perhaps it is
invoked in a non trivial way.
If this method is invoked, when ?
If there is no test on persistency, I am interested in writing
some... I want to have a reliable mechanism to save wikis...
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi
A prebuild Pier image with access control based on Squeak3.8-6665 is
available at:
http://www.iamexwi.unibe.ch/studenten/marschal/Spielverderber.tar.bz2
This is not a finished product but work in progress. The idea is to
give anyone who is interested a first impression and the ability to
provide feedback. However I'll march in this afternoon so I probably
won't be able to respond for a week.
You can find further informaiton about it at:
http:/127.0.0.1:8080/seaside/pier/Information/Access
http://kilana.unibe.ch/advanceddesignlabs/admin/
In addition to the acces control, it contains the following addons to Pier
- a bookmarks widget that allows you to bookmark structures
- a goto widget that allows you to enter a path and go to it
- a walback in the stlye of Pier
- ugly smilies
and the following addons to magritte
- descriptions for email, icq, aim, yahoo addresses
Known issuses:
- entering a wrong password displays a walkback and screws up the
kernel lock, this is probably a Pier issue
- bookmarking a structure bookmarks it twice, this is a SeasideAsync
issue, but I'll probably move tho Scirptaculous anyway
Cheers
Philippe
Hi Klaus
> have Pier installed on Squeak 3.8 / Debian Linux, with Apache2
> forwarding requests to localhost:8888.
>
> Allmost all works fine execpt the request below crashed the Squeak VM:
> - http://squeak.cobss.ch/LowSpaceDebug.log
> (just a low space condition).
Thanks for reporting this issue. This is a bug leading to a
recursion, since by accessing the URL /seaside/pier/Environment/Contents
you are trying to display what is currently display in the contents-
pane, what is currently displayed in the contents-pane, what is
currently display in the contents-pane, ...
The standard checks to avoid recursion within recursively nested
pages does not work here, so I had to put a special check into
PRDefaultView. This is not a nice solution, but the only one I can
think of at the moment. Load the latest release from http://mc.lukas-
renggli.ch/pier/Pier-All-lr.11.mcz to avoid this problem.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
Hi Roel,
the 3 things needed for an action to appear in SmallWiki 1 (see [1]
for an example):
1. Return a label of your action:
MyAction class>>title
^ 'My Action'
2. Register your action to the structures (or all) it should support:
MyAction class>>initialize
Structure withAllSubclasses do: [ :each |
each registerAction: self ]
3. Add your action to the template using the template editor.
Hope this helps.
Cheers,
Lukas
[1] http://www.iam.unibe.ch/~scg/smallwiki/smallwiki.pdf, Page 38
--
Lukas Renggli
http://www.lukas-renggli.ch
Hi
Im running into some real strange Problems (= the image is locking up
instantly without ALT + . working) when executing the code below.
^SVACLItem descriptionPrincipal copy
stringWriter: SVAsStringWriter;
yourself
SVACLItems >> #descriptionPrincipal
^(MASingleOptionDescription selector: #principal label: 'Principal'
priority: 200)
options: (MADynamicObject on: [
PRCurrentContext value in: [ :context |
context userManagement principals ] ]);
reference: SVPrincipal description;
beRequired;
yourself.
Then I saw that MADynamicObject does not implement #copy (or
#postCopy) because it's a proxy and extends ProtoObject but sends it
to #realSubject. I don't think this is really wanted for
DynamicObjects. So the question is the usual one `Is the bug in my or
Lukas' code or do I just have tomatoes on my eyes'?
Cheers
Philippe
Hi,
I just published a first version of Pier (formerly called SmallWiki
2) on SqueakMap, it is still an unofficial and incomplete version,
but it is closer to release than ever. Some things are still missing
or incomplete (such as a proper and fully functional persistency,
lots of tests, query engine is probably too complex ...), but that
will certainly improve!
The package includes all the requirements to use Pier within a 3.8
image, probably it also works in 3.7 and 3.9. The installer will ask
in the beginning if Seaside should be installed, if you tell so, it
will automatically go through all the requirements and load
DynamicBindings, KomServices, KomHttpServer, Seaside and
Scriptaculous. Then Magritte will be loaded and finally Pier.
Start Seaside using "WAKom startOn: 8888" and fire up a browser on
"http://localhost:8888/seaside/pier" to play with the system ...
Now for those that have an existing image with code and a model
inside they want to keep. That is possible as well of course, but it
is not strait-forward: loading the new code from SqueakMap or
Monticello won't work, because I renamed package- and class-prefixes.
Copy the attached script to a workspace and follow the instructions
step-by-step and everything will magically work. If you followed the
naming conventions of SmallWiki 2 your code will be automatically
updated as well, you just need to publish the new packages ;-)
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
Hi,
I use smallWiki, I'd like knowing if I do the login and after I will close the page without do the logout, how much time the server still see me logged?
Do you know which instruction can I modify to change this time?
Cheers
Luca
____________________________________________________________
Libero Flat, sempre a 4 Mega a 19,95 euro al mese!
Abbonati subito su http://www.libero.it
Hi,
if I have a MASingleOptionDescription NOT requiered, and with a default
value of nil, the MASelectListComponent will display nil two times in
the list box.
It adds one first with MAOptionDescription>>allOptionsWith:
It adds nil too with MASingleOptionDescription>>prepareOption
Bye