REST in Seaside 3 in Pharo 3

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

REST in Seaside 3 in Pharo 3

riverdusty
Hi all!

I'm running Pharo3 on a Mac. Loaded Seaside 3.1 from the config provided.
I then manually loaded REST for seaside, from the 3.1 repo.
I can't seem to get this working. If I register my handler it keeps saying 'not found'
After some fiddling I got it to come back with: MessageNotUnderstood: RBArgumentNode>>key
After some forum reading, I see that that method is wrong.
Is there a way to easily get REST working with Seaside3.1 in Pharo3?

KR
--
Gareth Cox
IT Manager/Developer
Inspired Org (PTY) Ltd
tell: +27 (0)21 531 5404
cell: +27 (0)78 374 9035



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: REST in Seaside 3 in Pharo 3

Esteban A. Maringolo
I got that kind of errors when using Seaside REST without the .changes file.

Did you tested it with a simple hello world route?

YourRestfulHandler>>#hello
<get>
^ self requestContext respond: [ :response | response nextPutAll:
'Hello world!' ]


You can load REST with:

ConfigurationOfSeaside3 project stableVersion load: 'REST'

Regards!

Esteban A. Maringolo


2014-08-24 11:40 GMT-03:00 Gareth Cox <[hidden email]>:

> Hi all!
>
> I'm running Pharo3 on a Mac. Loaded Seaside 3.1 from the config provided.
> I then manually loaded REST for seaside, from the 3.1 repo.
> I can't seem to get this working. If I register my handler it keeps saying
> 'not found'
> After some fiddling I got it to come back with: MessageNotUnderstood:
> RBArgumentNode>>key
> After some forum reading, I see that that method is wrong.
> Is there a way to easily get REST working with Seaside3.1 in Pharo3?
>
> KR
> --
> Gareth Cox
> IT Manager/Developer
> Inspired Org (PTY) Ltd
> email: [hidden email]
> tell: +27 (0)21 531 5404
> cell: +27 (0)78 374 9035
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: REST in Seaside 3 in Pharo 3

Johan Brichau-2
Hi,

This is a bug that is fixed 3.1.3 [1]
Please try to load 3.1.3 and let us know if it works:

(ConfigurationOfSeaside3 project version: ‘3.1.3’) load: #(‘REST')

Regards,
Johan


On 24 Aug 2014, at 21:26, Esteban A. Maringolo <[hidden email]> wrote:

I got that kind of errors when using Seaside REST without the .changes file.

Did you tested it with a simple hello world route?

YourRestfulHandler>>#hello
<get>
^ self requestContext respond: [ :response | response nextPutAll:
'Hello world!' ]


You can load REST with:

ConfigurationOfSeaside3 project stableVersion load: 'REST'

Regards!

Esteban A. Maringolo


2014-08-24 11:40 GMT-03:00 Gareth Cox <[hidden email]>:
Hi all!

I'm running Pharo3 on a Mac. Loaded Seaside 3.1 from the config provided.
I then manually loaded REST for seaside, from the 3.1 repo.
I can't seem to get this working. If I register my handler it keeps saying
'not found'
After some fiddling I got it to come back with: MessageNotUnderstood:
RBArgumentNode>>key
After some forum reading, I see that that method is wrong.
Is there a way to easily get REST working with Seaside3.1 in Pharo3?

KR
--
Gareth Cox
IT Manager/Developer
Inspired Org (PTY) Ltd
email: [hidden email]
tell: +27 (0)21 531 5404
cell: +27 (0)78 374 9035



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside