time logged
by gluca980@libero.it
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
17 years, 6 months
[SW2] Example browser bug
by Damien Cassou
Open : http://localhost:8080/seaside/examplebrowser
Change "exampleEditor" to "exampleMeta" in the list and click 'ok'.
MAStringReader class(Object)>>doesNotUnderstand: #label
Receiver: MAStringReader
Arguments and temporary variables:
aMessage: label
Receiver's instance variables:
superclass: MAReader
methodDict: a MethodDictionary(#read:description:->a
CompiledMethod (524) #visi...etc...
format: 134
instanceVariables: nil
organization: ('visiting' read:description:)
('visiting-description' visitBoole...etc...
subclasses: nil
name: #MAStringReader
classPool: nil
sharedPools: nil
environment: a SystemDictionary(lots of globals)
category: nil
MAStringWriter>>visitClassDescription:
Receiver: a MAStringWriter
Arguments and temporary variables:
aDescription: a MAClassDescription label: nil comment: nil
Receiver's instance variables:
stream: a WriteStream ''
object: MAStringReader
MAClassDescription>>acceptMagritte:
Receiver: a MAClassDescription label: nil comment: nil
Arguments and temporary variables:
aVisitor: a MAStringWriter
Receiver's instance variables:
properties: a Dictionary()
accessor: nil
MAStringWriter(MAVisitor)>>visit:
Receiver: a MAStringWriter
Arguments and temporary variables:
anObject: a MAClassDescription label: nil comment: nil
Receiver's instance variables:
stream: a WriteStream ''
object: MAStringReader
--- The full stack ---
MAStringReader class(Object)>>doesNotUnderstand: #label
MAStringWriter>>visitClassDescription:
MAClassDescription>>acceptMagritte:
MAStringWriter(MAVisitor)>>visit:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MAStringWriter(MAWriter)>>write:description:to:
MAStringWriter>>write:description:to:
MAStringWriter(MAWriter)>>write:description:
MAStringWriter class(MAWriter class)>>write:description:
MAClassDescription(MADescription)>>toString:writer:
MAClassDescription(MADescription)>>toString:
[] in MASelectListComponent>>renderEditorOn: {[:value | self reference
toString: value]}
WASelectTag(WACollectionTag)>>labelForOption:
[] in WASelectTag>>with: {[:each | canvas option selected: (self
isSelected: each); callback: [...]}
OrderedCollection>>do:
[] in WASelectTag>>with: {[self isOptional ifTrue: [canvas option
selected: selected = nil; ...]}
BlockContext>>renderOn:
WASelectTag(WATagBrush)>>within:
[] in WASelectTag(WATagBrush)>>with: {[self within: aBlock]}
BlockContext>>renderOn:
WARenderCanvas(WACanvas)>>nest:
WASelectTag(WABrush)>>with:
WASelectTag(WATagBrush)>>with:
WASelectTag>>with:
WASelectTag(WABrush)>>close
WARenderCanvas(WACanvas)>>flush
WARenderCanvas>>close
MASelectListComponent(WAPresenter)>>renderWithContext:
[] in MASelectListComponent(WAComponent)>>renderOn: {[:each | each
renderWithContext: aRenderer context]}
MASelectListComponent(WAComponent)>>decorationChainDo:
MASelectListComponent(WAComponent)>>renderOn:
WARenderCanvas>>render:
MATableRenderer(MAComponentRenderer)>>renderControl:
[] in MATableRenderer>>renderControl: {[super renderControl: aDescription]}
BlockContext>>renderOn:
WATableDataTag(WATagBrush)>>within:
[] in WATableDataTag(WATagBrush)>>with: {[self within: aBlock]}
BlockContext>>renderOn:
WARenderCanvas(WACanvas)>>nest:
WATableDataTag(WABrush)>>with:
WATableDataTag(WATagBrush)>>with:
MATableRenderer>>renderControl:
MATableRenderer(MAComponentRenderer)>>renderElement:
[] in MATableRenderer>>renderElement: {[super renderElement: aDescription]}
BlockContext>>renderOn:
WAGenericTag(WATagBrush)>>within:
[] in WAGenericTag(WATagBrush)>>with: {[self within: aBlock]}
BlockContext>>renderOn:
WARenderCanvas(WACanvas)>>nest:
WAGenericTag(WABrush)>>with:
WAGenericTag(WATagBrush)>>with:
MATableRenderer>>renderElement:
MATableRenderer(MAComponentRenderer)>>visitElementDescription:
MATableRenderer(MAVisitor)>>visitReferenceDescription:
MATableRenderer(MAVisitor)>>visitOptionDescription:
MATableRenderer(MAVisitor)>>visitSingleOptionDescription:
MASingleOptionDescription>>acceptMagritte:
MATableRenderer(MAVisitor)>>visit:
[] in MATableRenderer(MAVisitor)>>visitAll: {[:each | self visit: each]}
...etc...
17 years, 7 months
Unicode support
by Nir Soffer
Is there any Unicode support in SmallWiki under Squeak 3.8?
I would like to set the html encoding to utf-8.
Best Regards,
Nir Soffer
17 years, 7 months
[SW2] Example Browser
by Damien Cassou
The example browser (http://localhost:8080/seaside/examplebrowser) is
crashing with the following error :
MAFileUploadComponent(Object)>>doesNotUnderstand: #upload
It is because "MAFileUploadComponent>>renderUploadOn:" uses the #upload
method on self, but this method doesn't exist (there is a #upload: instead)
17 years, 7 months
[ANN][MA] Magritte 1.0.0-alpha on SqueakMap
by Lukas Renggli
Hi,
I just published a first version of Magritte on SqueakMap, it is
still an unofficial and incomplete version, but it is closer to
release than ever. Some things are still broken (the morphic view
does not work anymore, reports are still under construction, ...),
but that will improve certainly!
The package includes all the requirements to use Magritte 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
SeasideAsync. Seaside is included with the distribution, because a
newer release than the one on SqueakMap is required.
Start Seaside using "WAKom startOn: 8888" and fire up a browser on
"http://localhost:8888/seaside/examplebrowser" to play with the meta-
meta-model of Magritte and a few other smaller examples ...
I will publish a similar package for SmallWiki 2 soon ;-)
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
17 years, 7 months
[SW2] How to specialize an editCommand
by Damien Cassou
Hi,
I've created a SWGAlbum which inherit from SW2Page. This class has an
instance variable called renderer. I want the user to be able to modify
this instance variable selecting a value in a list :
descriptionRenderer
^ (MASingleSelectionDescription selector: #renderer label: 'Type'
priority: 110 default: SWGAlbumViewer)
options: (MADynamicObject on: [ SWGAlbumViewer
withAllConcreteClasses ]);
beRequired;
yourself.
So I have created a specialized SWGEditAlbumCommand which inherit from
SW2EditPageCommand. I have also created a SWGAlbum>>editCommand
returning a new SWGEditAlbumCommand.
My problem is that 2 'Edit' links appears in the command widget. One
from SW2EditPageCommand and one from SWGEditAlbumCommand. How can I hide
the one from SW2EditPageCommand ?
Other question, how can I replace the 'Edit' button on top-left of the
window (next to 'View') for it to launch my SWGEditAlbumCommand and not
SW2EditPageCommand ?
Thank you
--
Damien
17 years, 7 months
Contributing to SmallWiki 1
by Samir Saidani
Hi,
Here is a proposal for contributing to SW1.
Contributing to SW1 should be done in squeaksource : check the
description project of SmallWikiEnh and SmallWiki1 to know how to add
a feature. When we are sure that the latest mcz package is quite
stable, we should consider publishing it to squeakmap for end users.
SmallWikiEnh:
*************
Various smallwiki enhancements. Used for testing enhancements before
inclusion in the SW1 mainstream. Please describe clearly the features
added in the mcz logfile.
In global read/write access, so you don't need to ask for an account,
feel free to use it !
SmallWiki1:
***********
SW1 repository
You will find here the latest version of SW1.
Adding a feature: we suggest that to add a quite complex feature, we
use first the SmallWikiEnh repository, to allow further tests (like
image stability, side effects and so one).
For trivial feature, or bug fixing: use this repository, and add to
the repository version comment what you exactly did.
You don't have to ask for an account, this repository is in global
read/write access. As this is the mainstream, please be very careful,
and if something is wrong and you don't manage to repare things, don't
feel guilty ! Just post a mail to tell what is the problem and we will
work together.
Please describe in the mcz logfile the fixed bugs and the minor
features added. For major features, please use SmallWikiEnh if
possible, and you *really* can not, maybe should you test
*extensively* the new mcz package to be sure that the image is really
stable.
Another thing, maybe should we consider to break the SW1 mcz package
into small packages, like SW1-kernel.mcz and so one, so if someone has
an idea...
Cheers,
Samir
17 years, 7 months