[Seaside] Re: Aida ToDo example ready - error in installation

Fritz Schenk intrader.intrader at gmail.com
Mon Aug 22 17:39:24 UTC 2011


Janko Mivsek <janko.mivsek <at> eranova.si> writes:

> 
> On Sun, 21 Aug 2011 23:15:51 +0000 (UTC)
>   Fritz Schenk <intrader.intrader <at> gmail.com> wrote:
> 
> > while the Syntax Error is displayed, I get a window that says 
> >'Reloading...' as 
> > its title.
> > I am unable to remove such window.
> 
> Can you explain a bit more, what syntax error, where, who says 
> 'reloading' etc? Also please subscribe to Aida mailing list for more 
> just Aida related questions.
> 
> Janko
> 
Sorry you missed my previous post. Here is its contents:

> Gofer new
>      squeaksource: 'AidaAddons';
>      package: 'AidaToDoExample';
>      load.
> 

Gives 'Syntax Error' ToDoListApp: views-elements actionLinksFor:on:
Followed by the code:
actionLinksFor: aTask on: aListElement
	| e |
	e := WebElement new.
	e add: (self completeLinkFor: aTask).
	(e addTextSmall: ' | '; addNilLinkText: 'edit')
		class: #'todo-actionlink';
		onClickPopup: (ToDoTaskWidget newForEdit: aTask) 
thenUpdate: aListElement.
	(e addTextSmall: ' | '; addLinkTo: '#' png: #buttonDeletePng 
title: 'Delete this task')
		onClickPopup: 
			(WebDialog newConfirm 
				text: 'Do you really want to delete 
that task?';
				ifTrue: 
					[self observee deleteTask: 
aTask.
					aListElement update]<- 
No special messages expected ->).		
	^e

>>>>>>Oh, boy I wish I knew an easier way to report errors instead of 
the half assed way I do it. There should be an automated way to copy 
the error report.

And this leaves a window that I have to remove with the halo x 
selection

Where is the Aida forum?






More information about the seaside mailing list