[Seaside] R: Help

Lorenzo Schiavina lorenzo at edor.it
Fri Jun 1 14:42:57 UTC 2018


Hi Tim,

 

thank you very much for your kindness and help!

I have been able to recover.

 

Grazie

 

Lorenzo

 

Da: seaside [mailto:seaside-bounces at lists.squeakfoundation.org] Per conto di Tim Mackinnon
Inviato: venerdì 1 giugno 2018 12:11
A: Seaside - general discussion
Oggetto: Re: [Seaside] Help

 

Actually the clue is in the deployment section of the tutorial (chapter 23) - I think you might be able to do something like:

 

(WADispatcher default handlerAt: 'examples/todo') preferenceAt: #resourceBaseUrl (check its what you put in)

(WADispatcher default handlerAt: 'examples/todo') preferenceAt: #resourceBaseUrl put: ‘’.

 

Maybe this might put you on track?

 

Tim





On 1 Jun 2018, at 10:42, Tim Mackinnon <tim at testit.works> wrote:

 

Hi - I think you are looking for something you can do in a playground to unwind it, unfortunately I’m pretty new in this are too - I had a quick look and I think you somehow need to get your WAApplication instance so you can look at its preferences. Then you can reset that preference so the UI will work again for you. Hopefully someone here might kick in and explain how to do that (assuming I’ve got it right).

 

Tim





On 29 May 2018, at 16:35, Lorenzo Schiavina <lorenzo at edor.it> wrote:

 

Hi,

I am new to Seaside and I was following the tutorial.

 

In the chapter 17.1 I was trying to follow this instruction:

To tell Seaside about the part of the URL that you left out in your rendering code you have to go to the application configuration page (at  <http://localhost:8080/config> http://localhost:8080/config) and specify the Resource Base URL in the server settings. Just enter http://www.seaside.st <http://www.seaside.st/> . Seaside will automatically prepend this string to all URLs specified using resourceUrl:>>resourceUrl:. This reduces your code size and can be very useful if you want to move the resource location during deployment.

I execute the instruction and when I reentered into Seaside I receive the following page:

<<...>> 

For any operation I try to do I receive:

/http%3A/www.seaside.st/config not found 

I do not know how to recover my work.

Does anybody can help me?

Grazie mille.

Lorenzo          

 

<Documento1.pdf>_______________________________________________
seaside mailing list
seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20180601/64ff3a65/attachment.html>


More information about the seaside mailing list