[Seaside] GRPharoUtf8CodecStream dnu #json:
Esteban Lorenzano
estebanlm at gmail.com
Fri May 2 16:34:51 UTC 2014
Hi,
I installed Seaside31 and tried to migrate some of my apps and now I’m experiencing this DNU.
I have this code:
openPopoverScriptOn: canvas
^ canvas jQuery getJson
text: [ :stream |
stream json: (Dictionary new
at: 'title' put: self titleAsString;
at: 'content' put: self tooltipAsString;
yourself) ];
onSuccess: (JSScript new
add: (self view asClient
call: 'popover'with: (Dictionary new
at: 'trigger' put: 'hover';
at: 'html' put: true;
at: 'placement' put: self placement;
at: 'title' put: ((self canvas jQuery alias: 'data') access: 'title');
at: 'content' put: ((self canvas jQuery alias: 'data') access: 'content');
yourself));
asFunction: #(data))
and then this DNU:
GRPharoUtf8CodecStream(Object)>>doesNotUnderstand: #json:
RESimplePopoverDecoration>>openPopoverScript in Block: [ :stream | ...
JQGetJson(JQAjax)>>text: in Block: [ :response | ...
WARequestContext>>respond:
JQGetJson(JQAjax)>>respond: in Block: [ self requestContext respond: aBlock ]
JQGetJson(JQAjax)>>processCallback
JQGetJson(JQAjax)>>enableCallbacks in Block: [ self processCallback ]
BlockClosure>>valueWithPossibleArguments:
JSAjaxCallback>>evaluateWithArgument:
JSAjaxCallback(WACallback)>>evaluateWithFieldValues:
WACallbackRegistry>>handle: in Block: [ :callback | callback evaluateWithFieldValues: (f...etc...
Array(SequenceableCollection)>>do:
WACallbackRegistry>>handle:
WACallbackProcessingActionContinuation>>basicPerformAction
WACallbackProcessingActionContinuation(WAActionPhaseContinuation)>>performAction in Block: [ self basicPerformAction ]
BlockClosure>>on:do:
WADebugErrorHandler(WAExceptionHandler)>>handleExceptionsDuring:
WACallbackProcessingActionContinuation(WARenderLoopContinuation)>>withNotificationHandlerDo: in Block: [ currentHandler handleExceptionsDuring: aBlock ]
BlockClosure>>on:do:
WACallbackProcessingActionContinuation(WARenderLoopContinuation)>>withNotificationHandlerDo:
WACallbackProcessingActionContinuation(WAActionPhaseContinuation)>>performAction
WACallbackProcessingActionContinuation>>performAction in Block: [ super performAction ]
BlockClosure>>ensure:
WACallbackProcessingActionContinuation>>performAction
WACallbackProcessingActionContinuation(WAActionPhaseContinuation)>>handleFiltered:
WACallbackProcessingActionContinuation(WARequestHandler)>>handle: in Block: [ self filter handleFiltered: aRequestContext ]
BlockClosure>>on:do:
WACurrentRequestContext class(WADynamicVariable class)>>use:during:
WARequestContext>>push:during: in Block: [ WACurrentRequestContext use: self during: aBlock...etc...
BlockClosure>>ensure:
I just installed vanilla seaside + REST:
seaside3: spec
spec project: 'Seaside3' with: [
spec
className: 'ConfigurationOfSeaside3';
versionString: #stable;
loads: #('default' 'REST');
repository: 'http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main' ].
so… any idea?
thanks!
Esteban
More information about the seaside
mailing list