[Seaside-dev] Re: GRPharoUtf8CodecStream does not understand object:

Sabine Knöfel sabine.knoefel at gmail.com
Mon Jan 27 10:21:25 UTC 2014


Hi Phillipe,

thank you, this works.
The JQGrid Example does work also with this.
I fixed it and added it to smalltalkhub.

Sabine


On Sun, Jan 26, 2014 at 9:10 PM, Philippe Marschall [via Smalltalk] <
ml-node+s1294792n4739488h23 at n4.nabble.com> wrote:

> On Sun, Jan 26, 2014 at 7:45 PM, Sabine Knöfel <[hidden email]<http://user/SendEmail.jtp?type=node&node=4739488&i=0>>
> wrote:
>
> > Hi Phillippe,
> >
> > how do I get a stack trace?
> > "Fuel out Stack" in the Debugger?
> >
> > jsonOn: is sent in this context:
> >
> > JQGrid>>processSearchCallback
> > |searchRequest searchResponse|
> > searchRequest := JQGridSearchRequest parseFromWARequest: self
> requestContext
> > request using: jqGridColumns.
> > searchResponse := searchCallback value: searchRequest value:
> jqGridColumns.
> > searchResponse jqGridColumns: jqGridColumns.
> > self requestContext respond: [:response|
> > response
> > doNotCache;
> > contentType: (WAMimeType applicationJson
> > charset: self requestContext handler charSet).
> > searchResponse jsonOn: response stream].
>
> Can you try this:
>
> JQGrid>>processSearchCallback
>     | searchRequest searchResponse |
>     searchRequest := JQGridSearchRequest parseFromWARequest: self
> requestContext request using: jqGridColumns.
>     searchResponse := searchCallback value: searchRequest value:
> jqGridColumns.
>     searchResponse jqGridColumns: jqGridColumns.
>     self requestContext respond: [ :response |
>         response
>             doNotCache;
>             contentType: (WAMimeType applicationJson
>                 charset: self requestContext handler charSet).
>         response stream json: searchResponse ]
>
> Cheers
> Philippe
> _______________________________________________
> seaside-dev mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4739488&i=1>
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://forum.world.st/GRPharoUtf8CodecStream-does-not-understand-object-tp4738990p4739488.html
>  To start a new topic under Seaside Development, email
> ml-node+s1294792n1294793h78 at n4.nabble.com
> To unsubscribe from GRPharoUtf8CodecStream does not understand object:, click
> here<http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4738990&code=c2FiaW5lLmtub2VmZWxAZ21haWwuY29tfDQ3Mzg5OTB8MTA0OTM5MTYx>
> .
> NAML<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://forum.world.st/GRPharoUtf8CodecStream-does-not-understand-object-tp4738990p4739585.html
Sent from the Seaside Development mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside-dev/attachments/20140127/b2c1efcb/attachment.htm


More information about the seaside-dev mailing list