[Seaside-dev] Issue 71 in seaside: Decoration subtly backtracking broken

codesite-noreply at google.com codesite-noreply at google.com
Tue Jul 1 05:30:39 UTC 2008


Issue 71: Decoration subtly backtracking broken
http://code.google.com/p/seaside/issues/detail?id=71

Comment #1 by philippe.marschall:
That is a side effect of the new backtracking system in Seaside 2.7 
that only
backtracks visible components. You can apply one of two changes to fix it.

The first and recommended is that you don't put components in instance 
variables of
tasks instead instantiate them when you need them.

go
	self call: (WAFormDialog new
		addMessage: '1';
		yourself).
	self call: (WAFormDialog new
		addMessage: '2';
		yourself)

If that is not possible in your case you can

updateStates: aSnapshot
       super updateStates: aSnapshot.
        component1 visiblePresentersDo: [ :each | each updateStates: 
aSnapshot ].
        component2 visiblePresentersDo: [ :each | each updateStates: 
aSnapshot ]


Issue attribute updates:
	Status: WontFix
	Labels: Version-Seaside2.9

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the seaside-dev mailing list