photos experiment

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

photos experiment

ching
Hi,

Aida is such an amazing web framework but I am finding it difficult to display photos. After failing to display images from my local disk, I started anew with a clean ver6.2 with the hope that it might lead me somewhere. Placing a jpeg file in my root directory, I had

e addImage: 'testimage.jpg' size: 100@200.

as it happened many times before, nothing was displayed but the browser reports "waiting or localhost....". I then changed the code to:

e addImage: 'testimages.jpg' size: 100@200.

making it testimages.jpg which cannot be found in my directory. Reloading the page allowed the browser to finish without the "waiting for localhost.." There is something going on and I don't know what it is. Perhaps someone has an idea?

Thanks in advance.

ching de la serna

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

Nicholas Moore

Hi Ching,

Are you using Linux - maybe it is an issue with permissions - does the httpd user have access to the jpg file?

On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:

> Hi,

>

> Aida is such an amazing web framework but I am finding it difficult to

> display photos. After failing to display images from my local disk, I

> started anew with a clean ver6.2 with the hope that it might lead me

> somewhere. Placing a jpeg file in my root directory, I had

>

> e addImage: 'testimage.jpg' size: 100@200.

>

> as it happened many times before, nothing was displayed but the browser

> reports "waiting or localhost....". I then changed the code to:

>

> e addImage: '*testimages.jpg*' size: 100@200.

>

> making it *testimages*.jpg which cannot be found in my directory. Reloading

> the page allowed the browser to finish *without *the "waiting for

> localhost.." There is something going on and I don't know what it is.

> Perhaps someone has an idea?

>

> Thanks in advance.

>

> ching de la serna

>


--

Nicholas Moore

Skype: tsr_nicholas

Check out my Blog

"Still Running - that I may die in good health"


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

ching
Hi Nicholas,


Nicholas Moore wrote
Hi Ching,

Are you using Linux - maybe it is an issue with permissions - does the httpd user have access to the jpg file?

I am just using Windows and I'm not sure if I need permissions to use the jpg files in my directory. I remember displaying images using Seaside and I did not really have any problem doing it whether on my local machine or behind Apache. I am thinking of keeping everything in Smalltalk (Swazoo/Aida).

Thanks for the response,

ching

On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> Hi,
>
> Aida is such an amazing web framework but I am finding it difficult to
> display photos. After failing to display images from my local disk, I
> started anew with a clean ver6.2 with the hope that it might lead me
> somewhere. Placing a jpeg file in my root directory, I had
>
> e addImage: 'testimage.jpg' size: 100@200.
>
> as it happened many times before, nothing was displayed but the browser
> reports "waiting or localhost....". I then changed the code to:
>
> e addImage: '*testimages.jpg*' size: 100@200.
>
> making it *testimages*.jpg which cannot be found in my directory. Reloading
> the page allowed the browser to finish *without *the "waiting for
> localhost.." There is something going on and I don't know what it is.
> Perhaps someone has an idea?
>
> Thanks in advance.
>
> ching de la serna
>

--
Nicholas Moore
Skype: tsr_nicholas

Check out my Blog

"Still Running - that I may die in good health"

_______________________________________________
Aida mailing list
Aida@aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

ching
In reply to this post by ching
Hi All,

I am inclined to believe that Nicholas is right about permissions. Windows might be blocking the jpeg file from being displayed. I changed the jpeg properties to "unblock" and restarted my computer. I also downloaded Google Chrome thinking it might be a Firefox problem. Nothing worked. I am ready to give up unless someone can point me in the right direction.It seems kind of strange though, a jpeg from another website displays with no problem while a local file is blocked. Strange behavior if indeed it is an OS issue.

Thanks,

Ching de la Serna

On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]> wrote:
Send Aida mailing list submissions to
       [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.aidaweb.si/mailman/listinfo/aida
or, via email, send a message with subject or body 'help' to
       [hidden email]

You can reach the person managing the list at
       [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Aida digest..."


Today's Topics:

  1. photos experiment (Ching de la Serna)
  2. Re: photos experiment (Nicholas Moore)
  3. Re: photos experiment (ching)


----------------------------------------------------------------------

Message: 1
Date: Wed, 16 Feb 2011 09:40:56 +0800
From: Ching de la Serna <[hidden email]>
Subject: [aida] photos experiment
To: [hidden email]
Message-ID:
       <[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

Aida is such an amazing web framework but I am finding it difficult to
display photos. After failing to display images from my local disk, I
started anew with a clean ver6.2 with the hope that it might lead me
somewhere. Placing a jpeg file in my root directory, I had

e addImage: 'testimage.jpg' size: 100@200.

as it happened many times before, nothing was displayed but the browser
reports "waiting or localhost....". I then changed the code to:

e addImage: '*testimages.jpg*' size: 100@200.

making it *testimages*.jpg which cannot be found in my directory. Reloading
the page allowed the browser to finish *without *the "waiting for
localhost.." There is something going on and I don't know what it is.
Perhaps someone has an idea?

Thanks in advance.

ching de la serna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html

------------------------------

Message: 2
Date: Wed, 16 Feb 2011 09:40:11 +0100
From: Nicholas Moore <[hidden email]>
Subject: Re: [aida] photos experiment
To: "AIDA/Web general discussion list" <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="iso-8859-15"

Hi Ching,

Are you using Linux - maybe it is an issue with permissions - does the httpd user have access to the jpg file?

On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> Hi,
>
> Aida is such an amazing web framework but I am finding it difficult to
> display photos. After failing to display images from my local disk, I
> started anew with a clean ver6.2 with the hope that it might lead me
> somewhere. Placing a jpeg file in my root directory, I had
>
> e addImage: 'testimage.jpg' size: 100@200.
>
> as it happened many times before, nothing was displayed but the browser
> reports "waiting or localhost....". I then changed the code to:
>
> e addImage: '*testimages.jpg*' size: 100@200.
>
> making it *testimages*.jpg which cannot be found in my directory. Reloading
> the page allowed the browser to finish *without *the "waiting for
> localhost.." There is something going on and I don't know what it is.
> Perhaps someone has an idea?
>
> Thanks in advance.
>
> ching de la serna
>

--
Nicholas Moore
Skype: tsr_nicholas

Check out my Blog

"Still Running - that I may die in good health"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm

------------------------------

Message: 3
Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
From: ching <[hidden email]>
Subject: Re: [aida] photos experiment
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=us-ascii


Hi Nicholas,



Nicholas Moore wrote:
>
> Hi Ching,
>
> Are you using Linux - maybe it is an issue with permissions - does the
> httpd user have access to the jpg file?
>
> I am just using Windows and I'm not sure if I need permissions to use the
> jpg files in my directory. I remember displaying images using Seaside and
> I did not really have any problem doing it whether on my local machine or
> behind Apache. I am thinking of keeping everything in Smalltalk
> (Swazoo/Aida).
>
> Thanks for the response,
>
> ching
>
> On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>> Hi,
>>
>> Aida is such an amazing web framework but I am finding it difficult to
>> display photos. After failing to display images from my local disk, I
>> started anew with a clean ver6.2 with the hope that it might lead me
>> somewhere. Placing a jpeg file in my root directory, I had
>>
>> e addImage: 'testimage.jpg' size: 100@200.
>>
>> as it happened many times before, nothing was displayed but the browser
>> reports "waiting or localhost....". I then changed the code to:
>>
>> e addImage: '*testimages.jpg*' size: 100@200.
>>
>> making it *testimages*.jpg which cannot be found in my directory.
>> Reloading
>> the page allowed the browser to finish *without *the "waiting for
>> localhost.." There is something going on and I don't know what it is.
>> Perhaps someone has an idea?
>>
>> Thanks in advance.
>>
>> ching de la serna
>>
>
> --
> Nicholas Moore
> Skype: tsr_nicholas
>
> Check out my Blog
>
> "Still Running - that I may die in good health"
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida
>
>

--
View this message in context: http://forum.world.st/photos-experiment-tp3308053p3308440.html
Sent from the AIDA/Web mailing list archive at Nabble.com.


------------------------------

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida


End of Aida Digest, Vol 45, Issue 10
************************************


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

Janko Mivšek
Hi Ching,

I'm trying to find some time to chase your problem, but in the meantime,
can you try to open this jpg directly from browser.

If you put testimage.jpg on a directory where your image started, can
you open it from browser directly:

        http://localhost:8888/testimage.jpg ?

If not, can you open it through File->Open file ?

Also, how did you start your image, double clicking from OneClick?

It could be that default .\ path doesn't point to the right directory,
can you change it to absolute path to your images directory:

        AIDASite>>homeDirectory: 'c:\absolute path'

Also which version of Windows do you use?

Hope this would help a bit
JAnko

On 16. 02. 2011 12:27, Ching de la Serna wrote:

> Hi All,
>
> I am inclined to believe that Nicholas is right about permissions.
> Windows might be blocking the jpeg file from being displayed. I changed
> the jpeg properties to "unblock" and restarted my computer. I also
> downloaded Google Chrome thinking it might be a Firefox problem. Nothing
> worked. I am ready to give up unless someone can point me in the right
> direction.It seems kind of strange though, a jpeg from another website
> displays with no problem while a local file is blocked. Strange behavior
> if indeed it is an OS issue.
>
> Thanks,
>
> Ching de la Serna
>
> On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Send Aida mailing list submissions to
>            [hidden email] <mailto:[hidden email]>
>
>     To subscribe or unsubscribe via the World Wide Web, visit
>            http://lists.aidaweb.si/mailman/listinfo/aida
>     or, via email, send a message with subject or body 'help' to
>            [hidden email] <mailto:[hidden email]>
>
>     You can reach the person managing the list at
>            [hidden email] <mailto:[hidden email]>
>
>     When replying, please edit your Subject line so it is more specific
>     than "Re: Contents of Aida digest..."
>
>
>     Today's Topics:
>
>       1. photos experiment (Ching de la Serna)
>       2. Re: photos experiment (Nicholas Moore)
>       3. Re: photos experiment (ching)
>
>
>     ----------------------------------------------------------------------
>
>     Message: 1
>     Date: Wed, 16 Feb 2011 09:40:56 +0800
>     From: Ching de la Serna <[hidden email]
>     <mailto:[hidden email]>>
>     Subject: [aida] photos experiment
>     To: [hidden email] <mailto:[hidden email]>
>     Message-ID:
>            <[hidden email]
>     <mailto:[hidden email]>>
>     Content-Type: text/plain; charset="iso-8859-1"
>
>     Hi,
>
>     Aida is such an amazing web framework but I am finding it difficult to
>     display photos. After failing to display images from my local disk, I
>     started anew with a clean ver6.2 with the hope that it might lead me
>     somewhere. Placing a jpeg file in my root directory, I had
>
>     e addImage: 'testimage.jpg' size: 100@200.
>
>     as it happened many times before, nothing was displayed but the browser
>     reports "waiting or localhost....". I then changed the code to:
>
>     e addImage: '*testimages.jpg*' size: 100@200.
>
>     making it *testimages*.jpg which cannot be found in my directory.
>     Reloading
>     the page allowed the browser to finish *without *the "waiting for
>     localhost.." There is something going on and I don't know what it is.
>     Perhaps someone has an idea?
>
>     Thanks in advance.
>
>     ching de la serna
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
>
>     ------------------------------
>
>     Message: 2
>     Date: Wed, 16 Feb 2011 09:40:11 +0100
>     From: Nicholas Moore <[hidden email]
>     <mailto:[hidden email]>>
>     Subject: Re: [aida] photos experiment
>     To: "AIDA/Web general discussion list" <[hidden email]
>     <mailto:[hidden email]>>
>     Message-ID: <[hidden email]
>     <mailto:[hidden email]>>
>     Content-Type: text/plain; charset="iso-8859-15"
>
>     Hi Ching,
>
>     Are you using Linux - maybe it is an issue with permissions - does
>     the httpd user have access to the jpg file?
>
>     On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>     > Hi,
>     >
>     > Aida is such an amazing web framework but I am finding it difficult to
>     > display photos. After failing to display images from my local disk, I
>     > started anew with a clean ver6.2 with the hope that it might lead me
>     > somewhere. Placing a jpeg file in my root directory, I had
>     >
>     > e addImage: 'testimage.jpg' size: 100@200.
>     >
>     > as it happened many times before, nothing was displayed but the
>     browser
>     > reports "waiting or localhost....". I then changed the code to:
>     >
>     > e addImage: '*testimages.jpg*' size: 100@200.
>     >
>     > making it *testimages*.jpg which cannot be found in my directory.
>     Reloading
>     > the page allowed the browser to finish *without *the "waiting for
>     > localhost.." There is something going on and I don't know what it is.
>     > Perhaps someone has an idea?
>     >
>     > Thanks in advance.
>     >
>     > ching de la serna
>     >
>
>     --
>     Nicholas Moore
>     Skype: tsr_nicholas
>
>     Check out my Blog
>
>     "Still Running - that I may die in good health"
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
>
>     ------------------------------
>
>     Message: 3
>     Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
>     From: ching <[hidden email] <mailto:[hidden email]>>
>     Subject: Re: [aida] photos experiment
>     To: [hidden email] <mailto:[hidden email]>
>     Message-ID: <[hidden email]
>     <mailto:[hidden email]>>
>     Content-Type: text/plain; charset=us-ascii
>
>
>     Hi Nicholas,
>
>
>
>     Nicholas Moore wrote:
>     >
>     > Hi Ching,
>     >
>     > Are you using Linux - maybe it is an issue with permissions - does the
>     > httpd user have access to the jpg file?
>     >
>     > I am just using Windows and I'm not sure if I need permissions to
>     use the
>     > jpg files in my directory. I remember displaying images using
>     Seaside and
>     > I did not really have any problem doing it whether on my local
>     machine or
>     > behind Apache. I am thinking of keeping everything in Smalltalk
>     > (Swazoo/Aida).
>     >
>     > Thanks for the response,
>     >
>     > ching
>     >
>     > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>     >> Hi,
>     >>
>     >> Aida is such an amazing web framework but I am finding it
>     difficult to
>     >> display photos. After failing to display images from my local disk, I
>     >> started anew with a clean ver6.2 with the hope that it might lead me
>     >> somewhere. Placing a jpeg file in my root directory, I had
>     >>
>     >> e addImage: 'testimage.jpg' size: 100@200.
>     >>
>     >> as it happened many times before, nothing was displayed but the
>     browser
>     >> reports "waiting or localhost....". I then changed the code to:
>     >>
>     >> e addImage: '*testimages.jpg*' size: 100@200.
>     >>
>     >> making it *testimages*.jpg which cannot be found in my directory.
>     >> Reloading
>     >> the page allowed the browser to finish *without *the "waiting for
>     >> localhost.." There is something going on and I don't know what it is.
>     >> Perhaps someone has an idea?
>     >>
>     >> Thanks in advance.
>     >>
>     >> ching de la serna
>     >>
>     >
>     > --
>     > Nicholas Moore
>     > Skype: tsr_nicholas
>     >
>     > Check out my Blog
>     >
>     > "Still Running - that I may die in good health"
>     >
>     > _______________________________________________
>     > Aida mailing list
>     > [hidden email] <mailto:[hidden email]>
>     > http://lists.aidaweb.si/mailman/listinfo/aida
>     >
>     >
>
>     --
>     View this message in context:
>     http://forum.world.st/photos-experiment-tp3308053p3308440.html
>     Sent from the AIDA/Web mailing list archive at Nabble.com.
>
>
>     ------------------------------
>
>     _______________________________________________
>     Aida mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.aidaweb.si/mailman/listinfo/aida
>
>
>     End of Aida Digest, Vol 45, Issue 10
>     ************************************
>
>
>
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

ching
In reply to this post by ching
Hi Janko

Thanks for taking the time. I did as you suggested. The results are below:

Hi Ching,

I'm trying to find some time to chase your problem, but in the meantime,
can you try to open this jpg directly from browser.

If you put testimage.jpg on a directory where your image started, can
you open it from browser directly:

       http://localhost:8888/testimage.jpg ?
This does not open the jpeg file.

If not, can you open it through File->Open file ?
I could open once I unblocked the testimage.jpg file. Windows was blocking it the first time I tried. After I was able to do this, I tried doing the above  http://localhost:8888/testimage.jpg and it would still not open.

Also, how did you start your image, double clicking from OneClick?
I loaded from Monticello the three files: Sport-2.031.mcz , Swazoo-2.3beta2.1.mcz, Aida6.2-final.1.mcz which I downloaded separately I use Sqeak4.1

It could be that default .\ path doesn't point to the right directory,
can you change it to absolute path to your images directory:

       AIDASite>>homeDirectory: 'c:\absolute path'
I evaluated :
AIDASite homeDirectory.: '
C:\Documents and Settings\ADMIN\My Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1'
and got an error:doesNotUnderstand: #homeDirectory

I tried enclosing in ""
AIDASite homeDirectory.: '"
C:\Documents and Settings\ADMIN\My Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"' and got the same error message: doesNotUnderstand: #homeDirectory

Also which version of Windows do you use?
I use Windows XP

Hope this would help a bit
JAnko

Ching

On Wed, Feb 16, 2011 at 10:17 PM, <[hidden email]> wrote:
Send Aida mailing list submissions to
       [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.aidaweb.si/mailman/listinfo/aida
or, via email, send a message with subject or body 'help' to
       [hidden email]

You can reach the person managing the list at
       [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Aida digest..."


Today's Topics:

  1. Re: photos experiment (Ching de la Serna)
  2. Re: photos experiment (Janko Miv?ek)
  3. Re: 6.2 tests (Nicholas Moore)


----------------------------------------------------------------------

Message: 1
Date: Wed, 16 Feb 2011 19:27:14 +0800
From: Ching de la Serna <[hidden email]>
Subject: Re: [aida] photos experiment
To: [hidden email]
Message-ID:
       <[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

Hi All,

I am inclined to believe that Nicholas is right about permissions. Windows
might be blocking the jpeg file from being displayed. I changed the jpeg
properties to "unblock" and restarted my computer. I also downloaded Google
Chrome thinking it might be a Firefox problem. Nothing worked. I am ready to
give up unless someone can point me in the right direction.It seems kind of
strange though, a jpeg from another website displays with no problem while a
local file is blocked. Strange behavior if indeed it is an OS issue.

Thanks,

Ching de la Serna

On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]> wrote:

> Send Aida mailing list submissions to
>        [hidden email]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.aidaweb.si/mailman/listinfo/aida
> or, via email, send a message with subject or body 'help' to
>        [hidden email]
>
> You can reach the person managing the list at
>        [hidden email]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Aida digest..."
>
>
> Today's Topics:
>
>   1. photos experiment (Ching de la Serna)
>   2. Re: photos experiment (Nicholas Moore)
>   3. Re: photos experiment (ching)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 16 Feb 2011 09:40:56 +0800
> From: Ching de la Serna <[hidden email]>
> Subject: [aida] photos experiment
> To: [hidden email]
> Message-ID:
>        <[hidden email]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> Aida is such an amazing web framework but I am finding it difficult to
> display photos. After failing to display images from my local disk, I
> started anew with a clean ver6.2 with the hope that it might lead me
> somewhere. Placing a jpeg file in my root directory, I had
>
> e addImage: 'testimage.jpg' size: 100@200.
>
> as it happened many times before, nothing was displayed but the browser
> reports "waiting or localhost....". I then changed the code to:
>
> e addImage: '*testimages.jpg*' size: 100@200.
>
> making it *testimages*.jpg which cannot be found in my directory. Reloading
> the page allowed the browser to finish *without *the "waiting for
> localhost.." There is something going on and I don't know what it is.
> Perhaps someone has an idea?
>
> Thanks in advance.
>
> ching de la serna
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 16 Feb 2011 09:40:11 +0100
> From: Nicholas Moore <[hidden email]>
> Subject: Re: [aida] photos experiment
> To: "AIDA/Web general discussion list" <[hidden email]>
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset="iso-8859-15"
>
> Hi Ching,
>
> Are you using Linux - maybe it is an issue with permissions - does the
> httpd user have access to the jpg file?
>
> On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > Hi,
> >
> > Aida is such an amazing web framework but I am finding it difficult to
> > display photos. After failing to display images from my local disk, I
> > started anew with a clean ver6.2 with the hope that it might lead me
> > somewhere. Placing a jpeg file in my root directory, I had
> >
> > e addImage: 'testimage.jpg' size: 100@200.
> >
> > as it happened many times before, nothing was displayed but the browser
> > reports "waiting or localhost....". I then changed the code to:
> >
> > e addImage: '*testimages.jpg*' size: 100@200.
> >
> > making it *testimages*.jpg which cannot be found in my directory.
> Reloading
> > the page allowed the browser to finish *without *the "waiting for
> > localhost.." There is something going on and I don't know what it is.
> > Perhaps someone has an idea?
> >
> > Thanks in advance.
> >
> > ching de la serna
> >
>
> --
> Nicholas Moore
> Skype: tsr_nicholas
>
> Check out my Blog
>
> "Still Running - that I may die in good health"
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
> From: ching <[hidden email]>
> Subject: Re: [aida] photos experiment
> To: [hidden email]
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=us-ascii
>
>
> Hi Nicholas,
>
>
>
> Nicholas Moore wrote:
> >
> > Hi Ching,
> >
> > Are you using Linux - maybe it is an issue with permissions - does the
> > httpd user have access to the jpg file?
> >
> > I am just using Windows and I'm not sure if I need permissions to use the
> > jpg files in my directory. I remember displaying images using Seaside and
> > I did not really have any problem doing it whether on my local machine or
> > behind Apache. I am thinking of keeping everything in Smalltalk
> > (Swazoo/Aida).
> >
> > Thanks for the response,
> >
> > ching
> >
> > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> >> Hi,
> >>
> >> Aida is such an amazing web framework but I am finding it difficult to
> >> display photos. After failing to display images from my local disk, I
> >> started anew with a clean ver6.2 with the hope that it might lead me
> >> somewhere. Placing a jpeg file in my root directory, I had
> >>
> >> e addImage: 'testimage.jpg' size: 100@200.
> >>
> >> as it happened many times before, nothing was displayed but the browser
> >> reports "waiting or localhost....". I then changed the code to:
> >>
> >> e addImage: '*testimages.jpg*' size: 100@200.
> >>
> >> making it *testimages*.jpg which cannot be found in my directory.
> >> Reloading
> >> the page allowed the browser to finish *without *the "waiting for
> >> localhost.." There is something going on and I don't know what it is.
> >> Perhaps someone has an idea?
> >>
> >> Thanks in advance.
> >>
> >> ching de la serna
> >>
> >
> > --
> > Nicholas Moore
> > Skype: tsr_nicholas
> >
> > Check out my Blog
> >
> > "Still Running - that I may die in good health"
> >
> > _______________________________________________
> > Aida mailing list
> > [hidden email]
> > http://lists.aidaweb.si/mailman/listinfo/aida
> >
> >
>
> --
> View this message in context:
> http://forum.world.st/photos-experiment-tp3308053p3308440.html
> Sent from the AIDA/Web mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida
>
>
> End of Aida Digest, Vol 45, Issue 10
> ************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20110216/6f6c4b7a/attachment-0001.htm

------------------------------

Message: 2
Date: Wed, 16 Feb 2011 12:40:44 +0100
From: Janko Miv?ek <[hidden email]>
Subject: Re: [aida] photos experiment
To: AIDA/Web general discussion list <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=UTF-8

Hi Ching,

I'm trying to find some time to chase your problem, but in the meantime,
can you try to open this jpg directly from browser.

If you put testimage.jpg on a directory where your image started, can
you open it from browser directly:

       http://localhost:8888/testimage.jpg ?

If not, can you open it through File->Open file ?

Also, how did you start your image, double clicking from OneClick?

It could be that default .\ path doesn't point to the right directory,
can you change it to absolute path to your images directory:

       AIDASite>>homeDirectory: 'c:\absolute path'

Also which version of Windows do you use?

Hope this would help a bit
JAnko

On 16. 02. 2011 12:27, Ching de la Serna wrote:
> Hi All,
>
> I am inclined to believe that Nicholas is right about permissions.
> Windows might be blocking the jpeg file from being displayed. I changed
> the jpeg properties to "unblock" and restarted my computer. I also
> downloaded Google Chrome thinking it might be a Firefox problem. Nothing
> worked. I am ready to give up unless someone can point me in the right
> direction.It seems kind of strange though, a jpeg from another website
> displays with no problem while a local file is blocked. Strange behavior
> if indeed it is an OS issue.
>
> Thanks,
>
> Ching de la Serna
>
> On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Send Aida mailing list submissions to
>            [hidden email] <mailto:[hidden email]>
>
>     To subscribe or unsubscribe via the World Wide Web, visit
>            http://lists.aidaweb.si/mailman/listinfo/aida
>     or, via email, send a message with subject or body 'help' to
>            [hidden email] <mailto:[hidden email]>
>
>     You can reach the person managing the list at
>            [hidden email] <mailto:[hidden email]>
>
>     When replying, please edit your Subject line so it is more specific
>     than "Re: Contents of Aida digest..."
>
>
>     Today's Topics:
>
>       1. photos experiment (Ching de la Serna)
>       2. Re: photos experiment (Nicholas Moore)
>       3. Re: photos experiment (ching)
>
>
>     ----------------------------------------------------------------------
>
>     Message: 1
>     Date: Wed, 16 Feb 2011 09:40:56 +0800
>     From: Ching de la Serna <[hidden email]
>     <mailto:[hidden email]>>
>     Subject: [aida] photos experiment
>     To: [hidden email] <mailto:[hidden email]>
>     Message-ID:
>            <[hidden email]
>     <mailto:[hidden email]>>
>     Content-Type: text/plain; charset="iso-8859-1"
>
>     Hi,
>
>     Aida is such an amazing web framework but I am finding it difficult to
>     display photos. After failing to display images from my local disk, I
>     started anew with a clean ver6.2 with the hope that it might lead me
>     somewhere. Placing a jpeg file in my root directory, I had
>
>     e addImage: 'testimage.jpg' size: 100@200.
>
>     as it happened many times before, nothing was displayed but the browser
>     reports "waiting or localhost....". I then changed the code to:
>
>     e addImage: '*testimages.jpg*' size: 100@200.
>
>     making it *testimages*.jpg which cannot be found in my directory.
>     Reloading
>     the page allowed the browser to finish *without *the "waiting for
>     localhost.." There is something going on and I don't know what it is.
>     Perhaps someone has an idea?
>
>     Thanks in advance.
>
>     ching de la serna
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
>
>     ------------------------------
>
>     Message: 2
>     Date: Wed, 16 Feb 2011 09:40:11 +0100
>     From: Nicholas Moore <[hidden email]
>     <mailto:[hidden email]>>
>     Subject: Re: [aida] photos experiment
>     To: "AIDA/Web general discussion list" <[hidden email]
>     <mailto:[hidden email]>>
>     Message-ID: <[hidden email]
>     <mailto:[hidden email]>>
>     Content-Type: text/plain; charset="iso-8859-15"
>
>     Hi Ching,
>
>     Are you using Linux - maybe it is an issue with permissions - does
>     the httpd user have access to the jpg file?
>
>     On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>     > Hi,
>     >
>     > Aida is such an amazing web framework but I am finding it difficult to
>     > display photos. After failing to display images from my local disk, I
>     > started anew with a clean ver6.2 with the hope that it might lead me
>     > somewhere. Placing a jpeg file in my root directory, I had
>     >
>     > e addImage: 'testimage.jpg' size: 100@200.
>     >
>     > as it happened many times before, nothing was displayed but the
>     browser
>     > reports "waiting or localhost....". I then changed the code to:
>     >
>     > e addImage: '*testimages.jpg*' size: 100@200.
>     >
>     > making it *testimages*.jpg which cannot be found in my directory.
>     Reloading
>     > the page allowed the browser to finish *without *the "waiting for
>     > localhost.." There is something going on and I don't know what it is.
>     > Perhaps someone has an idea?
>     >
>     > Thanks in advance.
>     >
>     > ching de la serna
>     >
>
>     --
>     Nicholas Moore
>     Skype: tsr_nicholas
>
>     Check out my Blog
>
>     "Still Running - that I may die in good health"
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
>
>     ------------------------------
>
>     Message: 3
>     Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
>     From: ching <[hidden email] <mailto:[hidden email]>>
>     Subject: Re: [aida] photos experiment
>     To: [hidden email] <mailto:[hidden email]>
>     Message-ID: <[hidden email]
>     <mailto:[hidden email]>>
>     Content-Type: text/plain; charset=us-ascii
>
>
>     Hi Nicholas,
>
>
>
>     Nicholas Moore wrote:
>     >
>     > Hi Ching,
>     >
>     > Are you using Linux - maybe it is an issue with permissions - does the
>     > httpd user have access to the jpg file?
>     >
>     > I am just using Windows and I'm not sure if I need permissions to
>     use the
>     > jpg files in my directory. I remember displaying images using
>     Seaside and
>     > I did not really have any problem doing it whether on my local
>     machine or
>     > behind Apache. I am thinking of keeping everything in Smalltalk
>     > (Swazoo/Aida).
>     >
>     > Thanks for the response,
>     >
>     > ching
>     >
>     > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>     >> Hi,
>     >>
>     >> Aida is such an amazing web framework but I am finding it
>     difficult to
>     >> display photos. After failing to display images from my local disk, I
>     >> started anew with a clean ver6.2 with the hope that it might lead me
>     >> somewhere. Placing a jpeg file in my root directory, I had
>     >>
>     >> e addImage: 'testimage.jpg' size: 100@200.
>     >>
>     >> as it happened many times before, nothing was displayed but the
>     browser
>     >> reports "waiting or localhost....". I then changed the code to:
>     >>
>     >> e addImage: '*testimages.jpg*' size: 100@200.
>     >>
>     >> making it *testimages*.jpg which cannot be found in my directory.
>     >> Reloading
>     >> the page allowed the browser to finish *without *the "waiting for
>     >> localhost.." There is something going on and I don't know what it is.
>     >> Perhaps someone has an idea?
>     >>
>     >> Thanks in advance.
>     >>
>     >> ching de la serna
>     >>
>     >
>     > --
>     > Nicholas Moore
>     > Skype: tsr_nicholas
>     >
>     > Check out my Blog
>     >
>     > "Still Running - that I may die in good health"
>     >
>     > _______________________________________________
>     > Aida mailing list
>     > [hidden email] <mailto:[hidden email]>
>     > http://lists.aidaweb.si/mailman/listinfo/aida
>     >
>     >
>
>     --
>     View this message in context:
>     http://forum.world.st/photos-experiment-tp3308053p3308440.html
>     Sent from the AIDA/Web mailing list archive at Nabble.com.
>
>
>     ------------------------------
>
>     _______________________________________________
>     Aida mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.aidaweb.si/mailman/listinfo/aida
>
>
>     End of Aida Digest, Vol 45, Issue 10
>     ************************************
>
>
>
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida

--
Janko Miv?ek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


------------------------------

Message: 3
Date: Wed, 16 Feb 2011 15:16:42 +0100
From: Nicholas Moore <[hidden email]>
Subject: Re: [aida] 6.2 tests
To: "AIDA/Web general discussion list" <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="utf-8"

I have tested with a vanilla VW and it works as you would expect - good news. I used several different local variations in my hosts file and all worked okay - returning 'aidasession/ajax'.

So then I returned to my own image and retested it - but was not able to reproduce the error - it too returned the correct value. There must have been some spurious condition associated with my previous test image and perhaps earlier exceptions.

Anyway, all works as expected and my sites are now live with 6.2.

Nicholas

On Tuesday 15 Feb 2011 14:28:54 Janko Miv?ek wrote:
>
> On 14. 02. 2011 21:20, Nicholas Moore wrote:
> > Excellent - I had not created the route explicitly to my blog site!
> > However the request subsequently failed here:
> > WebSession >> printHTMLPageOn: aStream for: aRequest on: aWebSession
> > aRequest urlString = '/aidasession/ajax' ifTrue:
> > because the actual request urlString is: 'http://mysite/aidasession/ajax'.
> > I have changed that test to:
> > (aRequest urlString containsSubstring: '/aidasession/ajax') ifTrue:>
> > and everything works as desired.
>
> This is interesting, from where aRequest urlString works differently in
>  your image comparing with fresh install into vanilla VW 7.7 (for
> nistance) image from Public Store. Can you try this too?
>
> Best regards
> Janko
>
>
>
> > Nicholas
> >
> > On Monday 14 Feb 2011 19:51:06 Janko Miv?ek wrote:
> >
> >> Hi Nicolas,
> >
> >>
> >
> >> On 14. 02. 2011 19:39, Nicholas Moore wrote:
> >
> >>
> >
> >> > From the demo.html page for ajax in 6.2, when I click on 'click me for
> >
> >> > popup' I have trapped a SwazooStream. It generates a requestURI which is
> >
> >> > '/aidasession/ajax'.
> >
> >> >
> >
> >> > On the 6.1 version the equivalent requestURI is 'demo.html' (as I would
> >
> >> > expect).
> >
> >> >
> >
> >> > Where does the '/aidasession/ajax URI come from?
> >
> >>
> >
> >> This is major new behavior on new event framework - all Ajax and
> >
> >> WebSocket JSON messages go to this Url, that is, to your session, which
> >
> >> then find the right App and pass it the event. This Url is in JavaScript
> >
> >> code, see WebStyle js13Events. The Url of actual page is included in
> >
> >> this message.
> >
> >>
> >
> >> Inspect the WebRouter (AIDASite default router) if there is a route to
> >
> >> the session manager. If you did the upgrade script, it should be there
> >
> >> already. If not, rerun that addSessionManagerRoute line.
> >
> >>
> >
> >> In Firebug's console, do you see any error messages?
> >
> >>
> >
> >> Hope this helps
> >
> >> JAnko
> >
> >>
> >
> >> >
> >
> >> > On Monday 14 Feb 2011 11:35:21 Nicholas Moore wrote:
> >
> >> >
> >
> >> >> Janko,
> >
> >> >
> >
> >> >>
> >
> >> >
> >
> >> >> After running the script that you described prior to upgrade I was
> >
> >> > able to install 6.2 cleanly without any problems - good work!
> >
> >> >
> >
> >> >>
> >
> >> >
> >
> >> >> During testing (on VW) I came across a couple of snags:
> >
> >> >
> >
> >> >>
> >
> >> >
> >
> >> >> 1) The method String >> replaceSpecialCharacters contains or:or: which
> >
> >> > does not work in VW (but is ok in Pharo and Squeak). I changed it to:
> >
> >> >
> >
> >> >> replaceSpecialCharacters
> >
> >> >
> >
> >> >> |str|
> >
> >> >
> >
> >> >> str := self copy.
> >
> >> >
> >
> >> >> str do: [:ch | |ascii|
> >
> >> >
> >
> >> >> ascii := ch asInteger.
> >
> >> >
> >
> >> >> ((ascii >= 65 and: [ ascii <= 90 ]) or: [
> >
> >> >
> >
> >> >> ( ascii >= 97 and: [ ascii <= 122 ]) or: [ch isDigit or: [ch = $/ or:
> >
> >> > [ch = $.]]]])
> >
> >> >
> >
> >> >> ifFalse: [str replaceAll: ch with: $-]].
> >
> >> >
> >
> >> >> ^str
> >
> >> >
> >
> >> >>
> >
> >> >
> >
> >> >> 2) I needed to upgrade my version of TinyMCE - richEditorInitScript
> >
> >> > has changed.
> >
> >> >
> >
> >> >>
> >
> >> >
> >
> >> >> 3) I have a problem with ajax calls. I previously used
> >
> >> > 'afterPostUpdate:' which is deprecated. I changed to
> >
> >> > 'onChangePostAndUpdate::' but that did not work (no error, simply
> >
> >> > nothing happened). I do not yet know why, I will need to do some
> >
> >> > debugging this week. I also found that the WebDemo ajax page did not
> >
> >> > work properly (the update and popup methods seemed to have no effect.
> >
> >> >
> >
> >> >>
> >
> >> >
> >
> >> >> Therefore I am unsure whether the problem lies in my implementation or
> >
> >> > elsewhere. I reverted to my same app using 6.1 and the WebDemo ajax page
> >
> >> > worked perfectly. If anyone else could test this and see how the demo
> >
> >> > app works, that would save me some time.
> >
> >> >
> >
> >> >>
> >
> >> >
> >
> >> >> By the way, I notice that WebApplication >> respondToAjaxRequest: is
> >
> >> > in the 'private-obsolete' protocol, should that be in 'private-ajax'?
> >
> >> >
> >
> >> >>
> >
> >> >
> >
> >> >> Otherwise the new features look great, in particular I am looking
> >
> >> > forward to getting to grips with JSON.
> >
> >> >
> >
> >> >>
> >
> >> >
> >
> >> >> Regards
> >
> >> >
> >
> >> >>
> >
> >> >
> >
> >> >> Nicholas
> >
> >> >
> >
> >> >>
> >
> >> >
> >
> >> >>
> >
> >> >
> >
> >> >
> >
> >>
> >
> >>
> >
> >
>
>

--
Nicholas Moore
Skype: tsr_nicholas

Check out my Blog

"Still Running - that I may die in good health"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20110216/5d913c94/attachment.htm

------------------------------

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida


End of Aida Digest, Vol 45, Issue 11
************************************


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

Nicholas Moore

Hi Ching,

Where you get this:


AIDASite homeDirectory.: '"
C:\Documents and Settings\ADMIN\My Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"' and got the same error message: doesNotUnderstand: #homeDirectory

It is because you are sending homeDirectory: to the class AIDASite rather than an instance,

i.e (AIDASite named: 'mysite') homeDirectory: .....

Nicholas

On Wednesday 16 Feb 2011 16:35:54 Ching de la Serna wrote:

> Hi Janko

>

> Thanks for taking the time. I did as you suggested. The results are below:

>

> Hi Ching,

> >

>

> I'm trying to find some time to chase your problem, but in the meantime,

> can you try to open this jpg directly from browser.

>

> If you put testimage.jpg on a directory where your image started, can

> you open it from browser directly:

>

> http://localhost:8888/testimage.jpg ?

> This does not open the jpeg file.

>

> If not, can you open it through File->Open file ?

> I could open once I *unblocked *the testimage.jpg file. Windows was blocking

> it the first time I tried. After I was able to do this, I tried doing the

> above http://localhost:8888/testimage.jpg and it would still not open.

>

> Also, how did you start your image, double clicking from OneClick?

> I loaded from Monticello the three files: *Sport-2.031.mcz ,

> Swazoo-2.3beta2.1.mcz, Aida6.2-final.1.mcz *which I downloaded separately I

> use Sqeak4.1

>

> It could be that default .\ path doesn't point to the right directory,

> can you change it to absolute path to your images directory:

>

> AIDASite>>homeDirectory: 'c:\absolute path'

> I evaluated :

> AIDASite homeDirectory.: '

> C:\Documents and Settings\ADMIN\My

> Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1'

> and got an error:doesNotUnderstand: #homeDirectory

>

> I tried enclosing in ""

> AIDASite homeDirectory.: '"

> C:\Documents and Settings\ADMIN\My

> Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"' and got

> the same error message: doesNotUnderstand: #homeDirectory

>

> Also which version of Windows do you use?

> I use Windows XP

>

> Hope this would help a bit

> JAnko

>

> Ching

>

> On Wed, Feb 16, 2011 at 10:17 PM, <[hidden email]> wrote:

>

> > Send Aida mailing list submissions to

> > [hidden email]

> >

> > To subscribe or unsubscribe via the World Wide Web, visit

> > http://lists.aidaweb.si/mailman/listinfo/aida

> > or, via email, send a message with subject or body 'help' to

> > [hidden email]

> >

> > You can reach the person managing the list at

> > [hidden email]

> >

> > When replying, please edit your Subject line so it is more specific

> > than "Re: Contents of Aida digest..."

> >

> >

> > Today's Topics:

> >

> > 1. Re: photos experiment (Ching de la Serna)

> > 2. Re: photos experiment (Janko Miv?ek)

> > 3. Re: 6.2 tests (Nicholas Moore)

> >

> >

> > ----------------------------------------------------------------------

> >

> > Message: 1

> > Date: Wed, 16 Feb 2011 19:27:14 +0800

> > From: Ching de la Serna <[hidden email]>

> > Subject: Re: [aida] photos experiment

> > To: [hidden email]

> > Message-ID:

> > <[hidden email]>

> > Content-Type: text/plain; charset="iso-8859-1"

> >

> > Hi All,

> >

> > I am inclined to believe that Nicholas is right about permissions. Windows

> > might be blocking the jpeg file from being displayed. I changed the jpeg

> > properties to "unblock" and restarted my computer. I also downloaded Google

> > Chrome thinking it might be a Firefox problem. Nothing worked. I am ready

> > to

> > give up unless someone can point me in the right direction.It seems kind of

> > strange though, a jpeg from another website displays with no problem while

> > a

> > local file is blocked. Strange behavior if indeed it is an OS issue.

> >

> > Thanks,

> >

> > Ching de la Serna

> >

> > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]> wrote:

> >

> > > Send Aida mailing list submissions to

> > > [hidden email]

> > >

> > > To subscribe or unsubscribe via the World Wide Web, visit

> > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > or, via email, send a message with subject or body 'help' to

> > > [hidden email]

> > >

> > > You can reach the person managing the list at

> > > [hidden email]

> > >

> > > When replying, please edit your Subject line so it is more specific

> > > than "Re: Contents of Aida digest..."

> > >

> > >

> > > Today's Topics:

> > >

> > > 1. photos experiment (Ching de la Serna)

> > > 2. Re: photos experiment (Nicholas Moore)

> > > 3. Re: photos experiment (ching)

> > >

> > >

> > > ----------------------------------------------------------------------

> > >

> > > Message: 1

> > > Date: Wed, 16 Feb 2011 09:40:56 +0800

> > > From: Ching de la Serna <[hidden email]>

> > > Subject: [aida] photos experiment

> > > To: [hidden email]

> > > Message-ID:

> > > <[hidden email]>

> > > Content-Type: text/plain; charset="iso-8859-1"

> > >

> > > Hi,

> > >

> > > Aida is such an amazing web framework but I am finding it difficult to

> > > display photos. After failing to display images from my local disk, I

> > > started anew with a clean ver6.2 with the hope that it might lead me

> > > somewhere. Placing a jpeg file in my root directory, I had

> > >

> > > e addImage: 'testimage.jpg' size: 100@200.

> > >

> > > as it happened many times before, nothing was displayed but the browser

> > > reports "waiting or localhost....". I then changed the code to:

> > >

> > > e addImage: '*testimages.jpg*' size: 100@200.

> > >

> > > making it *testimages*.jpg which cannot be found in my directory.

> > Reloading

> > > the page allowed the browser to finish *without *the "waiting for

> > > localhost.." There is something going on and I don't know what it is.

> > > Perhaps someone has an idea?

> > >

> > > Thanks in advance.

> > >

> > > ching de la serna

> > > -------------- next part --------------

> > > An HTML attachment was scrubbed...

> > > URL:

> > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html

> > >

> > > ------------------------------

> > >

> > > Message: 2

> > > Date: Wed, 16 Feb 2011 09:40:11 +0100

> > > From: Nicholas Moore <[hidden email]>

> > > Subject: Re: [aida] photos experiment

> > > To: "AIDA/Web general discussion list" <[hidden email]>

> > > Message-ID: <[hidden email]>

> > > Content-Type: text/plain; charset="iso-8859-15"

> > >

> > > Hi Ching,

> > >

> > > Are you using Linux - maybe it is an issue with permissions - does the

> > > httpd user have access to the jpg file?

> > >

> > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:

> > > > Hi,

> > > >

> > > > Aida is such an amazing web framework but I am finding it difficult to

> > > > display photos. After failing to display images from my local disk, I

> > > > started anew with a clean ver6.2 with the hope that it might lead me

> > > > somewhere. Placing a jpeg file in my root directory, I had

> > > >

> > > > e addImage: 'testimage.jpg' size: 100@200.

> > > >

> > > > as it happened many times before, nothing was displayed but the browser

> > > > reports "waiting or localhost....". I then changed the code to:

> > > >

> > > > e addImage: '*testimages.jpg*' size: 100@200.

> > > >

> > > > making it *testimages*.jpg which cannot be found in my directory.

> > > Reloading

> > > > the page allowed the browser to finish *without *the "waiting for

> > > > localhost.." There is something going on and I don't know what it is.

> > > > Perhaps someone has an idea?

> > > >

> > > > Thanks in advance.

> > > >

> > > > ching de la serna

> > > >

> > >

> > > --

> > > Nicholas Moore

> > > Skype: tsr_nicholas

> > >

> > > Check out my Blog

> > >

> > > "Still Running - that I may die in good health"

> > > -------------- next part --------------

> > > An HTML attachment was scrubbed...

> > > URL:

> > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm

> > >

> > > ------------------------------

> > >

> > > Message: 3

> > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)

> > > From: ching <[hidden email]>

> > > Subject: Re: [aida] photos experiment

> > > To: [hidden email]

> > > Message-ID: <[hidden email]>

> > > Content-Type: text/plain; charset=us-ascii

> > >

> > >

> > > Hi Nicholas,

> > >

> > >

> > >

> > > Nicholas Moore wrote:

> > > >

> > > > Hi Ching,

> > > >

> > > > Are you using Linux - maybe it is an issue with permissions - does the

> > > > httpd user have access to the jpg file?

> > > >

> > > > I am just using Windows and I'm not sure if I need permissions to use

> > the

> > > > jpg files in my directory. I remember displaying images using Seaside

> > and

> > > > I did not really have any problem doing it whether on my local machine

> > or

> > > > behind Apache. I am thinking of keeping everything in Smalltalk

> > > > (Swazoo/Aida).

> > > >

> > > > Thanks for the response,

> > > >

> > > > ching

> > > >

> > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:

> > > >> Hi,

> > > >>

> > > >> Aida is such an amazing web framework but I am finding it difficult to

> > > >> display photos. After failing to display images from my local disk, I

> > > >> started anew with a clean ver6.2 with the hope that it might lead me

> > > >> somewhere. Placing a jpeg file in my root directory, I had

> > > >>

> > > >> e addImage: 'testimage.jpg' size: 100@200.

> > > >>

> > > >> as it happened many times before, nothing was displayed but the

> > browser

> > > >> reports "waiting or localhost....". I then changed the code to:

> > > >>

> > > >> e addImage: '*testimages.jpg*' size: 100@200.

> > > >>

> > > >> making it *testimages*.jpg which cannot be found in my directory.

> > > >> Reloading

> > > >> the page allowed the browser to finish *without *the "waiting for

> > > >> localhost.." There is something going on and I don't know what it is.

> > > >> Perhaps someone has an idea?

> > > >>

> > > >> Thanks in advance.

> > > >>

> > > >> ching de la serna

> > > >>

> > > >

> > > > --

> > > > Nicholas Moore

> > > > Skype: tsr_nicholas

> > > >

> > > > Check out my Blog

> > > >

> > > > "Still Running - that I may die in good health"

> > > >

> > > > _______________________________________________

> > > > Aida mailing list

> > > > [hidden email]

> > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > >

> > > >

> > >

> > > --

> > > View this message in context:

> > > http://forum.world.st/photos-experiment-tp3308053p3308440.html

> > > Sent from the AIDA/Web mailing list archive at Nabble.com.

> > >

> > >

> > > ------------------------------

> > >

> > > _______________________________________________

> > > Aida mailing list

> > > [hidden email]

> > > http://lists.aidaweb.si/mailman/listinfo/aida

> > >

> > >

> > > End of Aida Digest, Vol 45, Issue 10

> > > ************************************

> > >

> > -------------- next part --------------

> > An HTML attachment was scrubbed...

> > URL:

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/6f6c4b7a/attachment-0001.htm

> >

> > ------------------------------

> >

> > Message: 2

> > Date: Wed, 16 Feb 2011 12:40:44 +0100

> > From: Janko Miv?ek <[hidden email]>

> > Subject: Re: [aida] photos experiment

> > To: AIDA/Web general discussion list <[hidden email]>

> > Message-ID: <[hidden email]>

> > Content-Type: text/plain; charset=UTF-8

> >

> > Hi Ching,

> >

> > I'm trying to find some time to chase your problem, but in the meantime,

> > can you try to open this jpg directly from browser.

> >

> > If you put testimage.jpg on a directory where your image started, can

> > you open it from browser directly:

> >

> > http://localhost:8888/testimage.jpg ?

> >

> > If not, can you open it through File->Open file ?

> >

> > Also, how did you start your image, double clicking from OneClick?

> >

> > It could be that default .\ path doesn't point to the right directory,

> > can you change it to absolute path to your images directory:

> >

> > AIDASite>>homeDirectory: 'c:\absolute path'

> >

> > Also which version of Windows do you use?

> >

> > Hope this would help a bit

> > JAnko

> >

> > On 16. 02. 2011 12:27, Ching de la Serna wrote:

> > > Hi All,

> > >

> > > I am inclined to believe that Nicholas is right about permissions.

> > > Windows might be blocking the jpeg file from being displayed. I changed

> > > the jpeg properties to "unblock" and restarted my computer. I also

> > > downloaded Google Chrome thinking it might be a Firefox problem. Nothing

> > > worked. I am ready to give up unless someone can point me in the right

> > > direction.It seems kind of strange though, a jpeg from another website

> > > displays with no problem while a local file is blocked. Strange behavior

> > > if indeed it is an OS issue.

> > >

> > > Thanks,

> > >

> > > Ching de la Serna

> > >

> > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]

> > > <mailto:[hidden email]>> wrote:

> > >

> > > Send Aida mailing list submissions to

> > > [hidden email] <mailto:[hidden email]>

> > >

> > > To subscribe or unsubscribe via the World Wide Web, visit

> > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > or, via email, send a message with subject or body 'help' to

> > > [hidden email] <mailto:[hidden email]>

> > >

> > > You can reach the person managing the list at

> > > [hidden email] <mailto:[hidden email]>

> > >

> > > When replying, please edit your Subject line so it is more specific

> > > than "Re: Contents of Aida digest..."

> > >

> > >

> > > Today's Topics:

> > >

> > > 1. photos experiment (Ching de la Serna)

> > > 2. Re: photos experiment (Nicholas Moore)

> > > 3. Re: photos experiment (ching)

> > >

> > >

> > >

> > ----------------------------------------------------------------------

> > >

> > > Message: 1

> > > Date: Wed, 16 Feb 2011 09:40:56 +0800

> > > From: Ching de la Serna <[hidden email]

> > > <mailto:[hidden email]>>

> > > Subject: [aida] photos experiment

> > > To: [hidden email] <mailto:[hidden email]>

> > > Message-ID:

> > > <[hidden email]

> > > <mailto:[hidden email]

> > >>

> > > Content-Type: text/plain; charset="iso-8859-1"

> > >

> > > Hi,

> > >

> > > Aida is such an amazing web framework but I am finding it difficult

> > to

> > > display photos. After failing to display images from my local disk, I

> > > started anew with a clean ver6.2 with the hope that it might lead me

> > > somewhere. Placing a jpeg file in my root directory, I had

> > >

> > > e addImage: 'testimage.jpg' size: 100@200.

> > >

> > > as it happened many times before, nothing was displayed but the

> > browser

> > > reports "waiting or localhost....". I then changed the code to:

> > >

> > > e addImage: '*testimages.jpg*' size: 100@200.

> > >

> > > making it *testimages*.jpg which cannot be found in my directory.

> > > Reloading

> > > the page allowed the browser to finish *without *the "waiting for

> > > localhost.." There is something going on and I don't know what it is.

> > > Perhaps someone has an idea?

> > >

> > > Thanks in advance.

> > >

> > > ching de la serna

> > > -------------- next part --------------

> > > An HTML attachment was scrubbed...

> > > URL:

> > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html

> > >

> > > ------------------------------

> > >

> > > Message: 2

> > > Date: Wed, 16 Feb 2011 09:40:11 +0100

> > > From: Nicholas Moore <[hidden email]

> > > <mailto:[hidden email]>>

> > > Subject: Re: [aida] photos experiment

> > > To: "AIDA/Web general discussion list" <[hidden email]

> > > <mailto:[hidden email]>>

> > > Message-ID: <[hidden email]

> > > <mailto:[hidden email]>>

> > > Content-Type: text/plain; charset="iso-8859-15"

> > >

> > > Hi Ching,

> > >

> > > Are you using Linux - maybe it is an issue with permissions - does

> > > the httpd user have access to the jpg file?

> > >

> > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:

> > > > Hi,

> > > >

> > > > Aida is such an amazing web framework but I am finding it difficult

> > to

> > > > display photos. After failing to display images from my local disk,

> > I

> > > > started anew with a clean ver6.2 with the hope that it might lead

> > me

> > > > somewhere. Placing a jpeg file in my root directory, I had

> > > >

> > > > e addImage: 'testimage.jpg' size: 100@200.

> > > >

> > > > as it happened many times before, nothing was displayed but the

> > > browser

> > > > reports "waiting or localhost....". I then changed the code to:

> > > >

> > > > e addImage: '*testimages.jpg*' size: 100@200.

> > > >

> > > > making it *testimages*.jpg which cannot be found in my directory.

> > > Reloading

> > > > the page allowed the browser to finish *without *the "waiting for

> > > > localhost.." There is something going on and I don't know what it

> > is.

> > > > Perhaps someone has an idea?

> > > >

> > > > Thanks in advance.

> > > >

> > > > ching de la serna

> > > >

> > >

> > > --

> > > Nicholas Moore

> > > Skype: tsr_nicholas

> > >

> > > Check out my Blog

> > >

> > > "Still Running - that I may die in good health"

> > > -------------- next part --------------

> > > An HTML attachment was scrubbed...

> > > URL:

> > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm

> > >

> > > ------------------------------

> > >

> > > Message: 3

> > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)

> > > From: ching <[hidden email] <mailto:[hidden email]>>

> > > Subject: Re: [aida] photos experiment

> > > To: [hidden email] <mailto:[hidden email]>

> > > Message-ID: <[hidden email]

> > > <mailto:[hidden email]>>

> > > Content-Type: text/plain; charset=us-ascii

> > >

> > >

> > > Hi Nicholas,

> > >

> > >

> > >

> > > Nicholas Moore wrote:

> > > >

> > > > Hi Ching,

> > > >

> > > > Are you using Linux - maybe it is an issue with permissions - does

> > the

> > > > httpd user have access to the jpg file?

> > > >

> > > > I am just using Windows and I'm not sure if I need permissions to

> > > use the

> > > > jpg files in my directory. I remember displaying images using

> > > Seaside and

> > > > I did not really have any problem doing it whether on my local

> > > machine or

> > > > behind Apache. I am thinking of keeping everything in Smalltalk

> > > > (Swazoo/Aida).

> > > >

> > > > Thanks for the response,

> > > >

> > > > ching

> > > >

> > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:

> > > >> Hi,

> > > >>

> > > >> Aida is such an amazing web framework but I am finding it

> > > difficult to

> > > >> display photos. After failing to display images from my local

> > disk, I

> > > >> started anew with a clean ver6.2 with the hope that it might lead

> > me

> > > >> somewhere. Placing a jpeg file in my root directory, I had

> > > >>

> > > >> e addImage: 'testimage.jpg' size: 100@200.

> > > >>

> > > >> as it happened many times before, nothing was displayed but the

> > > browser

> > > >> reports "waiting or localhost....". I then changed the code to:

> > > >>

> > > >> e addImage: '*testimages.jpg*' size: 100@200.

> > > >>

> > > >> making it *testimages*.jpg which cannot be found in my directory.

> > > >> Reloading

> > > >> the page allowed the browser to finish *without *the "waiting for

> > > >> localhost.." There is something going on and I don't know what it

> > is.

> > > >> Perhaps someone has an idea?

> > > >>

> > > >> Thanks in advance.

> > > >>

> > > >> ching de la serna

> > > >>

> > > >

> > > > --

> > > > Nicholas Moore

> > > > Skype: tsr_nicholas

> > > >

> > > > Check out my Blog

> > > >

> > > > "Still Running - that I may die in good health"

> > > >

> > > > _______________________________________________

> > > > Aida mailing list

> > > > [hidden email] <mailto:[hidden email]>

> > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > >

> > > >

> > >

> > > --

> > > View this message in context:

> > > http://forum.world.st/photos-experiment-tp3308053p3308440.html

> > > Sent from the AIDA/Web mailing list archive at Nabble.com.

> > >

> > >

> > > ------------------------------

> > >

> > > _______________________________________________

> > > Aida mailing list

> > > [hidden email] <mailto:[hidden email]>

> > > http://lists.aidaweb.si/mailman/listinfo/aida

> > >

> > >

> > > End of Aida Digest, Vol 45, Issue 10

> > > ************************************

> > >

> > >

> > >

> > >

> > > _______________________________________________

> > > Aida mailing list

> > > [hidden email]

> > > http://lists.aidaweb.si/mailman/listinfo/aida

> >

> > --

> > Janko Miv?ek

> > AIDA/Web

> > Smalltalk Web Application Server

> > http://www.aidaweb.si

> >

> >

> > ------------------------------

> >

> > Message: 3

> > Date: Wed, 16 Feb 2011 15:16:42 +0100

> > From: Nicholas Moore <[hidden email]>

> > Subject: Re: [aida] 6.2 tests

> > To: "AIDA/Web general discussion list" <[hidden email]>

> > Message-ID: <[hidden email]>

> > Content-Type: text/plain; charset="utf-8"

> >

> > I have tested with a vanilla VW and it works as you would expect - good

> > news. I used several different local variations in my hosts file and all

> > worked okay - returning 'aidasession/ajax'.

> >

> > So then I returned to my own image and retested it - but was not able to

> > reproduce the error - it too returned the correct value. There must have

> > been some spurious condition associated with my previous test image and

> > perhaps earlier exceptions.

> >

> > Anyway, all works as expected and my sites are now live with 6.2.

> >

> > Nicholas

> >

> > On Tuesday 15 Feb 2011 14:28:54 Janko Miv?ek wrote:

> > >

> > > On 14. 02. 2011 21:20, Nicholas Moore wrote:

> > > > Excellent - I had not created the route explicitly to my blog site!

> > > > However the request subsequently failed here:

> > > > WebSession >> printHTMLPageOn: aStream for: aRequest on: aWebSession

> > > > aRequest urlString = '/aidasession/ajax' ifTrue:

> > > > because the actual request urlString is: '

> > http://mysite/aidasession/ajax'.

> > > > I have changed that test to:

> > > > (aRequest urlString containsSubstring: '/aidasession/ajax') ifTrue:>

> > > > and everything works as desired.

> > >

> > > This is interesting, from where aRequest urlString works differently in

> > > your image comparing with fresh install into vanilla VW 7.7 (for

> > > nistance) image from Public Store. Can you try this too?

> > >

> > > Best regards

> > > Janko

> > >

> > >

> > >

> > > > Nicholas

> > > >

> > > > On Monday 14 Feb 2011 19:51:06 Janko Miv?ek wrote:

> > > >

> > > >> Hi Nicolas,

> > > >

> > > >>

> > > >

> > > >> On 14. 02. 2011 19:39, Nicholas Moore wrote:

> > > >

> > > >>

> > > >

> > > >> > From the demo.html page for ajax in 6.2, when I click on 'click me

> > for

> > > >

> > > >> > popup' I have trapped a SwazooStream. It generates a requestURI

> > which is

> > > >

> > > >> > '/aidasession/ajax'.

> > > >

> > > >> >

> > > >

> > > >> > On the 6.1 version the equivalent requestURI is 'demo.html' (as I

> > would

> > > >

> > > >> > expect).

> > > >

> > > >> >

> > > >

> > > >> > Where does the '/aidasession/ajax URI come from?

> > > >

> > > >>

> > > >

> > > >> This is major new behavior on new event framework - all Ajax and

> > > >

> > > >> WebSocket JSON messages go to this Url, that is, to your session,

> > which

> > > >

> > > >> then find the right App and pass it the event. This Url is in

> > JavaScript

> > > >

> > > >> code, see WebStyle js13Events. The Url of actual page is included in

> > > >

> > > >> this message.

> > > >

> > > >>

> > > >

> > > >> Inspect the WebRouter (AIDASite default router) if there is a route to

> > > >

> > > >> the session manager. If you did the upgrade script, it should be there

> > > >

> > > >> already. If not, rerun that addSessionManagerRoute line.

> > > >

> > > >>

> > > >

> > > >> In Firebug's console, do you see any error messages?

> > > >

> > > >>

> > > >

> > > >> Hope this helps

> > > >

> > > >> JAnko

> > > >

> > > >>

> > > >

> > > >> >

> > > >

> > > >> > On Monday 14 Feb 2011 11:35:21 Nicholas Moore wrote:

> > > >

> > > >> >

> > > >

> > > >> >> Janko,

> > > >

> > > >> >

> > > >

> > > >> >>

> > > >

> > > >> >

> > > >

> > > >> >> After running the script that you described prior to upgrade I was

> > > >

> > > >> > able to install 6.2 cleanly without any problems - good work!

> > > >

> > > >> >

> > > >

> > > >> >>

> > > >

> > > >> >

> > > >

> > > >> >> During testing (on VW) I came across a couple of snags:

> > > >

> > > >> >

> > > >

> > > >> >>

> > > >

> > > >> >

> > > >

> > > >> >> 1) The method String >> replaceSpecialCharacters contains or:or:

> > which

> > > >

> > > >> > does not work in VW (but is ok in Pharo and Squeak). I changed it

> > to:

> > > >

> > > >> >

> > > >

> > > >> >> replaceSpecialCharacters

> > > >

> > > >> >

> > > >

> > > >> >> |str|

> > > >

> > > >> >

> > > >

> > > >> >> str := self copy.

> > > >

> > > >> >

> > > >

> > > >> >> str do: [:ch | |ascii|

> > > >

> > > >> >

> > > >

> > > >> >> ascii := ch asInteger.

> > > >

> > > >> >

> > > >

> > > >> >> ((ascii >= 65 and: [ ascii <= 90 ]) or: [

> > > >

> > > >> >

> > > >

> > > >> >> ( ascii >= 97 and: [ ascii <= 122 ]) or: [ch isDigit or: [ch = $/

> > or:

> > > >

> > > >> > [ch = $.]]]])

> > > >

> > > >> >

> > > >

> > > >> >> ifFalse: [str replaceAll: ch with: $-]].

> > > >

> > > >> >

> > > >

> > > >> >> ^str

> > > >

> > > >> >

> > > >

> > > >> >>

> > > >

> > > >> >

> > > >

> > > >> >> 2) I needed to upgrade my version of TinyMCE - richEditorInitScript

> > > >

> > > >> > has changed.

> > > >

> > > >> >

> > > >

> > > >> >>

> > > >

> > > >> >

> > > >

> > > >> >> 3) I have a problem with ajax calls. I previously used

> > > >

> > > >> > 'afterPostUpdate:' which is deprecated. I changed to

> > > >

> > > >> > 'onChangePostAndUpdate::' but that did not work (no error, simply

> > > >

> > > >> > nothing happened). I do not yet know why, I will need to do some

> > > >

> > > >> > debugging this week. I also found that the WebDemo ajax page did not

> > > >

> > > >> > work properly (the update and popup methods seemed to have no

> > effect.

> > > >

> > > >> >

> > > >

> > > >> >>

> > > >

> > > >> >

> > > >

> > > >> >> Therefore I am unsure whether the problem lies in my implementation

> > or

> > > >

> > > >> > elsewhere. I reverted to my same app using 6.1 and the WebDemo ajax

> > page

> > > >

> > > >> > worked perfectly. If anyone else could test this and see how the

> > demo

> > > >

> > > >> > app works, that would save me some time.

> > > >

> > > >> >

> > > >

> > > >> >>

> > > >

> > > >> >

> > > >

> > > >> >> By the way, I notice that WebApplication >> respondToAjaxRequest:

> > is

> > > >

> > > >> > in the 'private-obsolete' protocol, should that be in

> > 'private-ajax'?

> > > >

> > > >> >

> > > >

> > > >> >>

> > > >

> > > >> >

> > > >

> > > >> >> Otherwise the new features look great, in particular I am looking

> > > >

> > > >> > forward to getting to grips with JSON.

> > > >

> > > >> >

> > > >

> > > >> >>

> > > >

> > > >> >

> > > >

> > > >> >> Regards

> > > >

> > > >> >

> > > >

> > > >> >>

> > > >

> > > >> >

> > > >

> > > >> >> Nicholas

> > > >

> > > >> >

> > > >

> > > >> >>

> > > >

> > > >> >

> > > >

> > > >> >>

> > > >

> > > >> >

> > > >

> > > >> >

> > > >

> > > >>

> > > >

> > > >>

> > > >

> > > >

> > >

> > >

> >

> > --

> > Nicholas Moore

> > Skype: tsr_nicholas

> >

> > Check out my Blog

> >

> > "Still Running - that I may die in good health"

> > -------------- next part --------------

> > An HTML attachment was scrubbed...

> > URL:

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/5d913c94/attachment.htm

> >

> > ------------------------------

> >

> > _______________________________________________

> > Aida mailing list

> > [hidden email]

> > http://lists.aidaweb.si/mailman/listinfo/aida

> >

> >

> > End of Aida Digest, Vol 45, Issue 11

> > ************************************

> >

>


--

Nicholas Moore

Skype: tsr_nicholas

Check out my Blog

"Still Running - that I may die in good health"


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

ching
In reply to this post by ching
Hi Nicholas,

What I have is this: (AIDASite named: 'aidademo') urlResolver defaultURL: '/addressbook.html' forObject: book.
 
which is what the tutorial has and I merely placed in  #viewMain  e addImage: 'testimage.jpg' size: 100@200. just to test if a jpeg file can be displayed.

Ching

On Thu, Feb 17, 2011 at 12:15 AM, <[hidden email]> wrote:
Send Aida mailing list submissions to
       [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.aidaweb.si/mailman/listinfo/aida
or, via email, send a message with subject or body 'help' to
       [hidden email]

You can reach the person managing the list at
       [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Aida digest..."


Today's Topics:

  1. Re: photos experiment. (Nicholas Moore)


----------------------------------------------------------------------

Message: 1
Date: Wed, 16 Feb 2011 17:15:26 +0100
From: Nicholas Moore <[hidden email]>
Subject: Re: [aida] photos experiment.
To: "AIDA/Web general discussion list" <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="iso-8859-15"

Have you instantiated an object which is the observee for the page you are trying to display and told the site about it?

Something like this:

(AIDASite named: 'demo')  urlResolver defaultURL: '/test.html  forObject: (AIDASite named: 'demo') test.


Nicholas

On Wednesday 16 Feb 2011 17:01:55 Ching de la Serna wrote:
> Hi Nicholas,
>
> Thanks for the help. It was stupid of me to send the message to the class
> instead of the instance. The good news is that the error and my ignorance
> have been corrected. Also, when running the following on the browser,
>
> http://localhost:8888/testimage.jpg I now get a *404 Not Found Error*. Still
> far from success but surely inching closer.
>
> Ching
>
> On Wed, Feb 16, 2011 at 11:44 PM, <[hidden email]> wrote:
>
> > Send Aida mailing list submissions to
> >        [hidden email]
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >        http://lists.aidaweb.si/mailman/listinfo/aida
> > or, via email, send a message with subject or body 'help' to
> >        [hidden email]
> >
> > You can reach the person managing the list at
> >        [hidden email]
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Aida digest..."
> >
> >
> > Today's Topics:
> >
> >   1. Re: photos experiment (Nicholas Moore)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 16 Feb 2011 16:43:47 +0100
> > From: Nicholas Moore <[hidden email]>
> > Subject: Re: [aida] photos experiment
> > To: "AIDA/Web general discussion list" <[hidden email]>
> > Message-ID: <[hidden email]>
> > Content-Type: text/plain; charset="iso-8859-15"
> >
> > Hi Ching,
> >
> > Where you get this:
> >
> > AIDASite homeDirectory.: '"
> > C:\Documents and Settings\ADMIN\My
> > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"' and got
> > the same error message: doesNotUnderstand: #homeDirectory
> >
> > It is because you are sending homeDirectory: to the class AIDASite rather
> > than an instance,
> >
> > i.e (AIDASite named: 'mysite') homeDirectory: .....
> >
> > Nicholas
> >
> > On Wednesday 16 Feb 2011 16:35:54 Ching de la Serna wrote:
> > > Hi Janko
> > >
> > > Thanks for taking the time. I did as you suggested. The results are
> > below:
> > >
> > > Hi Ching,
> > > >
> > >
> > > I'm trying to find some time to chase your problem, but in the meantime,
> > > can you try to open this jpg directly from browser.
> > >
> > > If you put testimage.jpg on a directory where your image started, can
> > > you open it from browser directly:
> > >
> > >        http://localhost:8888/testimage.jpg ?
> > > This does not open the jpeg file.
> > >
> > > If not, can you open it through File->Open file ?
> > > I could open once I *unblocked *the testimage.jpg file. Windows was
> > blocking
> > > it the first time I tried. After I was able to do this, I tried doing the
> > > above  http://localhost:8888/testimage.jpg and it would still not open.
> > >
> > > Also, how did you start your image, double clicking from OneClick?
> > > I loaded from Monticello the three files: *Sport-2.031.mcz ,
> > > Swazoo-2.3beta2.1.mcz, Aida6.2-final.1.mcz *which I downloaded separately
> > I
> > > use Sqeak4.1
> > >
> > > It could be that default .\ path doesn't point to the right directory,
> > > can you change it to absolute path to your images directory:
> > >
> > >        AIDASite>>homeDirectory: 'c:\absolute path'
> > > I evaluated :
> > > AIDASite homeDirectory.: '
> > > C:\Documents and Settings\ADMIN\My
> > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1'
> > > and got an error:doesNotUnderstand: #homeDirectory
> > >
> > > I tried enclosing in ""
> > > AIDASite homeDirectory.: '"
> > > C:\Documents and Settings\ADMIN\My
> > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"' and
> > got
> > > the same error message: doesNotUnderstand: #homeDirectory
> > >
> > > Also which version of Windows do you use?
> > > I use Windows XP
> > >
> > > Hope this would help a bit
> > > JAnko
> > >
> > > Ching
> > >
> > > On Wed, Feb 16, 2011 at 10:17 PM, <[hidden email]> wrote:
> > >
> > > > Send Aida mailing list submissions to
> > > >        [hidden email]
> > > >
> > > > To subscribe or unsubscribe via the World Wide Web, visit
> > > >        http://lists.aidaweb.si/mailman/listinfo/aida
> > > > or, via email, send a message with subject or body 'help' to
> > > >        [hidden email]
> > > >
> > > > You can reach the person managing the list at
> > > >        [hidden email]
> > > >
> > > > When replying, please edit your Subject line so it is more specific
> > > > than "Re: Contents of Aida digest..."
> > > >
> > > >
> > > > Today's Topics:
> > > >
> > > >   1. Re: photos experiment (Ching de la Serna)
> > > >   2. Re: photos experiment (Janko Miv?ek)
> > > >   3. Re: 6.2 tests (Nicholas Moore)
> > > >
> > > >
> > > > ----------------------------------------------------------------------
> > > >
> > > > Message: 1
> > > > Date: Wed, 16 Feb 2011 19:27:14 +0800
> > > > From: Ching de la Serna <[hidden email]>
> > > > Subject: Re: [aida] photos experiment
> > > > To: [hidden email]
> > > > Message-ID:
> > > >        <[hidden email]>
> > > > Content-Type: text/plain; charset="iso-8859-1"
> > > >
> > > > Hi All,
> > > >
> > > > I am inclined to believe that Nicholas is right about permissions.
> > Windows
> > > > might be blocking the jpeg file from being displayed. I changed the
> > jpeg
> > > > properties to "unblock" and restarted my computer. I also downloaded
> > Google
> > > > Chrome thinking it might be a Firefox problem. Nothing worked. I am
> > ready
> > > > to
> > > > give up unless someone can point me in the right direction.It seems
> > kind of
> > > > strange though, a jpeg from another website displays with no problem
> > while
> > > > a
> > > > local file is blocked. Strange behavior if indeed it is an OS issue.
> > > >
> > > > Thanks,
> > > >
> > > > Ching de la Serna
> > > >
> > > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]> wrote:
> > > >
> > > > > Send Aida mailing list submissions to
> > > > >        [hidden email]
> > > > >
> > > > > To subscribe or unsubscribe via the World Wide Web, visit
> > > > >        http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > or, via email, send a message with subject or body 'help' to
> > > > >        [hidden email]
> > > > >
> > > > > You can reach the person managing the list at
> > > > >        [hidden email]
> > > > >
> > > > > When replying, please edit your Subject line so it is more specific
> > > > > than "Re: Contents of Aida digest..."
> > > > >
> > > > >
> > > > > Today's Topics:
> > > > >
> > > > >   1. photos experiment (Ching de la Serna)
> > > > >   2. Re: photos experiment (Nicholas Moore)
> > > > >   3. Re: photos experiment (ching)
> > > > >
> > > > >
> > > > >
> > ----------------------------------------------------------------------
> > > > >
> > > > > Message: 1
> > > > > Date: Wed, 16 Feb 2011 09:40:56 +0800
> > > > > From: Ching de la Serna <[hidden email]>
> > > > > Subject: [aida] photos experiment
> > > > > To: [hidden email]
> > > > > Message-ID:
> > > > >        <[hidden email]
> > >
> > > > > Content-Type: text/plain; charset="iso-8859-1"
> > > > >
> > > > > Hi,
> > > > >
> > > > > Aida is such an amazing web framework but I am finding it difficult
> > to
> > > > > display photos. After failing to display images from my local disk, I
> > > > > started anew with a clean ver6.2 with the hope that it might lead me
> > > > > somewhere. Placing a jpeg file in my root directory, I had
> > > > >
> > > > > e addImage: 'testimage.jpg' size: 100@200.
> > > > >
> > > > > as it happened many times before, nothing was displayed but the
> > browser
> > > > > reports "waiting or localhost....". I then changed the code to:
> > > > >
> > > > > e addImage: '*testimages.jpg*' size: 100@200.
> > > > >
> > > > > making it *testimages*.jpg which cannot be found in my directory.
> > > > Reloading
> > > > > the page allowed the browser to finish *without *the "waiting for
> > > > > localhost.." There is something going on and I don't know what it is.
> > > > > Perhaps someone has an idea?
> > > > >
> > > > > Thanks in advance.
> > > > >
> > > > > ching de la serna
> > > > > -------------- next part --------------
> > > > > An HTML attachment was scrubbed...
> > > > > URL:
> > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
> > > > >
> > > > > ------------------------------
> > > > >
> > > > > Message: 2
> > > > > Date: Wed, 16 Feb 2011 09:40:11 +0100
> > > > > From: Nicholas Moore <[hidden email]>
> > > > > Subject: Re: [aida] photos experiment
> > > > > To: "AIDA/Web general discussion list" <[hidden email]>
> > > > > Message-ID: <[hidden email]>
> > > > > Content-Type: text/plain; charset="iso-8859-15"
> > > > >
> > > > > Hi Ching,
> > > > >
> > > > > Are you using Linux - maybe it is an issue with permissions - does
> > the
> > > > > httpd user have access to the jpg file?
> > > > >
> > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > > > > > Hi,
> > > > > >
> > > > > > Aida is such an amazing web framework but I am finding it difficult
> > to
> > > > > > display photos. After failing to display images from my local disk,
> > I
> > > > > > started anew with a clean ver6.2 with the hope that it might lead
> > me
> > > > > > somewhere. Placing a jpeg file in my root directory, I had
> > > > > >
> > > > > > e addImage: 'testimage.jpg' size: 100@200.
> > > > > >
> > > > > > as it happened many times before, nothing was displayed but the
> > browser
> > > > > > reports "waiting or localhost....". I then changed the code to:
> > > > > >
> > > > > > e addImage: '*testimages.jpg*' size: 100@200.
> > > > > >
> > > > > > making it *testimages*.jpg which cannot be found in my directory.
> > > > > Reloading
> > > > > > the page allowed the browser to finish *without *the "waiting for
> > > > > > localhost.." There is something going on and I don't know what it
> > is.
> > > > > > Perhaps someone has an idea?
> > > > > >
> > > > > > Thanks in advance.
> > > > > >
> > > > > > ching de la serna
> > > > > >
> > > > >
> > > > > --
> > > > > Nicholas Moore
> > > > > Skype: tsr_nicholas
> > > > >
> > > > > Check out my Blog
> > > > >
> > > > > "Still Running - that I may die in good health"
> > > > > -------------- next part --------------
> > > > > An HTML attachment was scrubbed...
> > > > > URL:
> > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
> > > > >
> > > > > ------------------------------
> > > > >
> > > > > Message: 3
> > > > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
> > > > > From: ching <[hidden email]>
> > > > > Subject: Re: [aida] photos experiment
> > > > > To: [hidden email]
> > > > > Message-ID: <[hidden email]>
> > > > > Content-Type: text/plain; charset=us-ascii
> > > > >
> > > > >
> > > > > Hi Nicholas,
> > > > >
> > > > >
> > > > >
> > > > > Nicholas Moore wrote:
> > > > > >
> > > > > > Hi Ching,
> > > > > >
> > > > > > Are you using Linux - maybe it is an issue with permissions - does
> > the
> > > > > > httpd user have access to the jpg file?
> > > > > >
> > > > > > I am just using Windows and I'm not sure if I need permissions to
> > use
> > > > the
> > > > > > jpg files in my directory. I remember displaying images using
> > Seaside
> > > > and
> > > > > > I did not really have any problem doing it whether on my local
> > machine
> > > > or
> > > > > > behind Apache. I am thinking of keeping everything in Smalltalk
> > > > > > (Swazoo/Aida).
> > > > > >
> > > > > > Thanks for the response,
> > > > > >
> > > > > > ching
> > > > > >
> > > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > > > > >> Hi,
> > > > > >>
> > > > > >> Aida is such an amazing web framework but I am finding it
> > difficult to
> > > > > >> display photos. After failing to display images from my local
> > disk, I
> > > > > >> started anew with a clean ver6.2 with the hope that it might lead
> > me
> > > > > >> somewhere. Placing a jpeg file in my root directory, I had
> > > > > >>
> > > > > >> e addImage: 'testimage.jpg' size: 100@200.
> > > > > >>
> > > > > >> as it happened many times before, nothing was displayed but the
> > > > browser
> > > > > >> reports "waiting or localhost....". I then changed the code to:
> > > > > >>
> > > > > >> e addImage: '*testimages.jpg*' size: 100@200.
> > > > > >>
> > > > > >> making it *testimages*.jpg which cannot be found in my directory.
> > > > > >> Reloading
> > > > > >> the page allowed the browser to finish *without *the "waiting for
> > > > > >> localhost.." There is something going on and I don't know what it
> > is.
> > > > > >> Perhaps someone has an idea?
> > > > > >>
> > > > > >> Thanks in advance.
> > > > > >>
> > > > > >> ching de la serna
> > > > > >>
> > > > > >
> > > > > > --
> > > > > > Nicholas Moore
> > > > > > Skype: tsr_nicholas
> > > > > >
> > > > > > Check out my Blog
> > > > > >
> > > > > > "Still Running - that I may die in good health"
> > > > > >
> > > > > > _______________________________________________
> > > > > > Aida mailing list
> > > > > > [hidden email]
> > > > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > View this message in context:
> > > > > http://forum.world.st/photos-experiment-tp3308053p3308440.html
> > > > > Sent from the AIDA/Web mailing list archive at Nabble.com.
> > > > >
> > > > >
> > > > > ------------------------------
> > > > >
> > > > > _______________________________________________
> > > > > Aida mailing list
> > > > > [hidden email]
> > > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > > >
> > > > >
> > > > > End of Aida Digest, Vol 45, Issue 10
> > > > > ************************************
> > > > >
> > > > -------------- next part --------------
> > > > An HTML attachment was scrubbed...
> > > > URL:
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/6f6c4b7a/attachment-0001.htm
> > > >
> > > > ------------------------------
> > > >
> > > > Message: 2
> > > > Date: Wed, 16 Feb 2011 12:40:44 +0100
> > > > From: Janko Miv?ek <[hidden email]>
> > > > Subject: Re: [aida] photos experiment
> > > > To: AIDA/Web general discussion list <[hidden email]>
> > > > Message-ID: <[hidden email]>
> > > > Content-Type: text/plain; charset=UTF-8
> > > >
> > > > Hi Ching,
> > > >
> > > > I'm trying to find some time to chase your problem, but in the
> > meantime,
> > > > can you try to open this jpg directly from browser.
> > > >
> > > > If you put testimage.jpg on a directory where your image started, can
> > > > you open it from browser directly:
> > > >
> > > >        http://localhost:8888/testimage.jpg ?
> > > >
> > > > If not, can you open it through File->Open file ?
> > > >
> > > > Also, how did you start your image, double clicking from OneClick?
> > > >
> > > > It could be that default .\ path doesn't point to the right directory,
> > > > can you change it to absolute path to your images directory:
> > > >
> > > >        AIDASite>>homeDirectory: 'c:\absolute path'
> > > >
> > > > Also which version of Windows do you use?
> > > >
> > > > Hope this would help a bit
> > > > JAnko
> > > >
> > > > On 16. 02. 2011 12:27, Ching de la Serna wrote:
> > > > > Hi All,
> > > > >
> > > > > I am inclined to believe that Nicholas is right about permissions.
> > > > > Windows might be blocking the jpeg file from being displayed. I
> > changed
> > > > > the jpeg properties to "unblock" and restarted my computer. I also
> > > > > downloaded Google Chrome thinking it might be a Firefox problem.
> > Nothing
> > > > > worked. I am ready to give up unless someone can point me in the
> > right
> > > > > direction.It seems kind of strange though, a jpeg from another
> > website
> > > > > displays with no problem while a local file is blocked. Strange
> > behavior
> > > > > if indeed it is an OS issue.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Ching de la Serna
> > > > >
> > > > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]
> > > > > <mailto:[hidden email]>> wrote:
> > > > >
> > > > >     Send Aida mailing list submissions to
> > > > >            [hidden email] <mailto:[hidden email]>
> > > > >
> > > > >     To subscribe or unsubscribe via the World Wide Web, visit
> > > > >            http://lists.aidaweb.si/mailman/listinfo/aida
> > > > >     or, via email, send a message with subject or body 'help' to
> > > > >            [hidden email] <mailto:[hidden email]>
> > > > >
> > > > >     You can reach the person managing the list at
> > > > >            [hidden email] <mailto:[hidden email]>
> > > > >
> > > > >     When replying, please edit your Subject line so it is more
> > specific
> > > > >     than "Re: Contents of Aida digest..."
> > > > >
> > > > >
> > > > >     Today's Topics:
> > > > >
> > > > >       1. photos experiment (Ching de la Serna)
> > > > >       2. Re: photos experiment (Nicholas Moore)
> > > > >       3. Re: photos experiment (ching)
> > > > >
> > > > >
> > > > >
> > > > ----------------------------------------------------------------------
> > > > >
> > > > >     Message: 1
> > > > >     Date: Wed, 16 Feb 2011 09:40:56 +0800
> > > > >     From: Ching de la Serna <[hidden email]
> > > > >     <mailto:[hidden email]>>
> > > > >     Subject: [aida] photos experiment
> > > > >     To: [hidden email] <mailto:[hidden email]>
> > > > >     Message-ID:
> > > > >            <
> > [hidden email]
> > > > >     <mailto:
> > [hidden email]
> > > > >>
> > > > >     Content-Type: text/plain; charset="iso-8859-1"
> > > > >
> > > > >     Hi,
> > > > >
> > > > >     Aida is such an amazing web framework but I am finding it
> > difficult
> > > > to
> > > > >     display photos. After failing to display images from my local
> > disk, I
> > > > >     started anew with a clean ver6.2 with the hope that it might lead
> > me
> > > > >     somewhere. Placing a jpeg file in my root directory, I had
> > > > >
> > > > >     e addImage: 'testimage.jpg' size: 100@200.
> > > > >
> > > > >     as it happened many times before, nothing was displayed but the
> > > > browser
> > > > >     reports "waiting or localhost....". I then changed the code to:
> > > > >
> > > > >     e addImage: '*testimages.jpg*' size: 100@200.
> > > > >
> > > > >     making it *testimages*.jpg which cannot be found in my directory.
> > > > >     Reloading
> > > > >     the page allowed the browser to finish *without *the "waiting for
> > > > >     localhost.." There is something going on and I don't know what it
> > is.
> > > > >     Perhaps someone has an idea?
> > > > >
> > > > >     Thanks in advance.
> > > > >
> > > > >     ching de la serna
> > > > >     -------------- next part --------------
> > > > >     An HTML attachment was scrubbed...
> > > > >     URL:
> > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
> > > > >
> > > > >     ------------------------------
> > > > >
> > > > >     Message: 2
> > > > >     Date: Wed, 16 Feb 2011 09:40:11 +0100
> > > > >     From: Nicholas Moore <[hidden email]
> > > > >     <mailto:[hidden email]>>
> > > > >     Subject: Re: [aida] photos experiment
> > > > >     To: "AIDA/Web general discussion list" <[hidden email]
> > > > >     <mailto:[hidden email]>>
> > > > >     Message-ID: <[hidden email]
> > > > >     <mailto:[hidden email]>>
> > > > >     Content-Type: text/plain; charset="iso-8859-15"
> > > > >
> > > > >     Hi Ching,
> > > > >
> > > > >     Are you using Linux - maybe it is an issue with permissions -
> > does
> > > > >     the httpd user have access to the jpg file?
> > > > >
> > > > >     On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > > > >     > Hi,
> > > > >     >
> > > > >     > Aida is such an amazing web framework but I am finding it
> > difficult
> > > > to
> > > > >     > display photos. After failing to display images from my local
> > disk,
> > > > I
> > > > >     > started anew with a clean ver6.2 with the hope that it might
> > lead
> > > > me
> > > > >     > somewhere. Placing a jpeg file in my root directory, I had
> > > > >     >
> > > > >     > e addImage: 'testimage.jpg' size: 100@200.
> > > > >     >
> > > > >     > as it happened many times before, nothing was displayed but the
> > > > >     browser
> > > > >     > reports "waiting or localhost....". I then changed the code to:
> > > > >     >
> > > > >     > e addImage: '*testimages.jpg*' size: 100@200.
> > > > >     >
> > > > >     > making it *testimages*.jpg which cannot be found in my
> > directory.
> > > > >     Reloading
> > > > >     > the page allowed the browser to finish *without *the "waiting
> > for
> > > > >     > localhost.." There is something going on and I don't know what
> > it
> > > > is.
> > > > >     > Perhaps someone has an idea?
> > > > >     >
> > > > >     > Thanks in advance.
> > > > >     >
> > > > >     > ching de la serna
> > > > >     >
> > > > >
> > > > >     --
> > > > >     Nicholas Moore
> > > > >     Skype: tsr_nicholas
> > > > >
> > > > >     Check out my Blog
> > > > >
> > > > >     "Still Running - that I may die in good health"
> > > > >     -------------- next part --------------
> > > > >     An HTML attachment was scrubbed...
> > > > >     URL:
> > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
> > > > >
> > > > >     ------------------------------
> > > > >
> > > > >     Message: 3
> > > > >     Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
> > > > >     From: ching <[hidden email] <mailto:[hidden email]>>
> > > > >     Subject: Re: [aida] photos experiment
> > > > >     To: [hidden email] <mailto:[hidden email]>
> > > > >     Message-ID: <[hidden email]
> > > > >     <mailto:[hidden email]>>
> > > > >     Content-Type: text/plain; charset=us-ascii
> > > > >
> > > > >
> > > > >     Hi Nicholas,
> > > > >
> > > > >
> > > > >
> > > > >     Nicholas Moore wrote:
> > > > >     >
> > > > >     > Hi Ching,
> > > > >     >
> > > > >     > Are you using Linux - maybe it is an issue with permissions -
> > does
> > > > the
> > > > >     > httpd user have access to the jpg file?
> > > > >     >
> > > > >     > I am just using Windows and I'm not sure if I need permissions
> > to
> > > > >     use the
> > > > >     > jpg files in my directory. I remember displaying images using
> > > > >     Seaside and
> > > > >     > I did not really have any problem doing it whether on my local
> > > > >     machine or
> > > > >     > behind Apache. I am thinking of keeping everything in Smalltalk
> > > > >     > (Swazoo/Aida).
> > > > >     >
> > > > >     > Thanks for the response,
> > > > >     >
> > > > >     > ching
> > > > >     >
> > > > >     > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > > > >     >> Hi,
> > > > >     >>
> > > > >     >> Aida is such an amazing web framework but I am finding it
> > > > >     difficult to
> > > > >     >> display photos. After failing to display images from my local
> > > > disk, I
> > > > >     >> started anew with a clean ver6.2 with the hope that it might
> > lead
> > > > me
> > > > >     >> somewhere. Placing a jpeg file in my root directory, I had
> > > > >     >>
> > > > >     >> e addImage: 'testimage.jpg' size: 100@200.
> > > > >     >>
> > > > >     >> as it happened many times before, nothing was displayed but
> > the
> > > > >     browser
> > > > >     >> reports "waiting or localhost....". I then changed the code
> > to:
> > > > >     >>
> > > > >     >> e addImage: '*testimages.jpg*' size: 100@200.
> > > > >     >>
> > > > >     >> making it *testimages*.jpg which cannot be found in my
> > directory.
> > > > >     >> Reloading
> > > > >     >> the page allowed the browser to finish *without *the "waiting
> > for
> > > > >     >> localhost.." There is something going on and I don't know what
> > it
> > > > is.
> > > > >     >> Perhaps someone has an idea?
> > > > >     >>
> > > > >     >> Thanks in advance.
> > > > >     >>
> > > > >     >> ching de la serna
> > > > >     >>
> > > > >     >
> > > > >     > --
> > > > >     > Nicholas Moore
> > > > >     > Skype: tsr_nicholas
> > > > >     >
> > > > >     > Check out my Blog
> > > > >     >
> > > > >     > "Still Running - that I may die in good health"
> > > > >     >
> > > > >     > _______________________________________________
> > > > >     > Aida mailing list
> > > > >     > [hidden email] <mailto:[hidden email]>
> > > > >     > http://lists.aidaweb.si/mailman/listinfo/aida
> > > > >     >
> > > > >     >
> > > > >
> > > > >     --
> > > > >     View this message in context:
> > > > >     http://forum.world.st/photos-experiment-tp3308053p3308440.html
> > > > >     Sent from the AIDA/Web mailing list archive at Nabble.com.
> > > > >
> > > > >
> > > > >     ------------------------------
> > > > >
> > > > >     _______________________________________________
> > > > >     Aida mailing list
> > > > >     [hidden email] <mailto:[hidden email]>
> > > > >     http://lists.aidaweb.si/mailman/listinfo/aida
> > > > >
> > > > >
> > > > >     End of Aida Digest, Vol 45, Issue 10
> > > > >     ************************************
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Aida mailing list
> > > > > [hidden email]
> > > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > >
> > > > --
> > > > Janko Miv?ek
> > > > AIDA/Web
> > > > Smalltalk Web Application Server
> > > > http://www.aidaweb.si
> > > >
> > > >
> > > > ------------------------------
> > > >
> > > > Message: 3
> > > > Date: Wed, 16 Feb 2011 15:16:42 +0100
> > > > From: Nicholas Moore <[hidden email]>
> > > > Subject: Re: [aida] 6.2 tests
> > > > To: "AIDA/Web general discussion list" <[hidden email]>
> > > > Message-ID: <[hidden email]>
> > > > Content-Type: text/plain; charset="utf-8"
> > > >
> > > > I have tested with a vanilla VW and it works as you would expect - good
> > > > news. I used several different local variations in my hosts file and
> > all
> > > > worked okay - returning 'aidasession/ajax'.
> > > >
> > > > So then I returned to my own image and retested it - but was not able
> > to
> > > > reproduce the error - it too returned the correct value. There must
> > have
> > > > been some spurious condition associated with my previous test image and
> > > > perhaps earlier exceptions.
> > > >
> > > > Anyway, all works as expected and my sites are now live with 6.2.
> > > >
> > > > Nicholas
> > > >
> > > > On Tuesday 15 Feb 2011 14:28:54 Janko Miv?ek wrote:
> > > > >
> > > > > On 14. 02. 2011 21:20, Nicholas Moore wrote:
> > > > > > Excellent - I had not created the route explicitly to my blog site!
> > > > > > However the request subsequently failed here:
> > > > > > WebSession >> printHTMLPageOn: aStream for: aRequest on:
> > aWebSession
> > > > > > aRequest urlString = '/aidasession/ajax' ifTrue:
> > > > > > because the actual request urlString is: '
> > > > http://mysite/aidasession/ajax'.
> > > > > > I have changed that test to:
> > > > > > (aRequest urlString containsSubstring: '/aidasession/ajax')
> > ifTrue:>
> > > > > > and everything works as desired.
> > > > >
> > > > > This is interesting, from where aRequest urlString works differently
> > in
> > > > >  your image comparing with fresh install into vanilla VW 7.7 (for
> > > > > nistance) image from Public Store. Can you try this too?
> > > > >
> > > > > Best regards
> > > > > Janko
> > > > >
> > > > >
> > > > >
> > > > > > Nicholas
> > > > > >
> > > > > > On Monday 14 Feb 2011 19:51:06 Janko Miv?ek wrote:
> > > > > >
> > > > > >> Hi Nicolas,
> > > > > >
> > > > > >>
> > > > > >
> > > > > >> On 14. 02. 2011 19:39, Nicholas Moore wrote:
> > > > > >
> > > > > >>
> > > > > >
> > > > > >> > From the demo.html page for ajax in 6.2, when I click on 'click
> > me
> > > > for
> > > > > >
> > > > > >> > popup' I have trapped a SwazooStream. It generates a requestURI
> > > > which is
> > > > > >
> > > > > >> > '/aidasession/ajax'.
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> > On the 6.1 version the equivalent requestURI is 'demo.html' (as
> > I
> > > > would
> > > > > >
> > > > > >> > expect).
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> > Where does the '/aidasession/ajax URI come from?
> > > > > >
> > > > > >>
> > > > > >
> > > > > >> This is major new behavior on new event framework - all Ajax and
> > > > > >
> > > > > >> WebSocket JSON messages go to this Url, that is, to your session,
> > > > which
> > > > > >
> > > > > >> then find the right App and pass it the event. This Url is in
> > > > JavaScript
> > > > > >
> > > > > >> code, see WebStyle js13Events. The Url of actual page is included
> > in
> > > > > >
> > > > > >> this message.
> > > > > >
> > > > > >>
> > > > > >
> > > > > >> Inspect the WebRouter (AIDASite default router) if there is a
> > route to
> > > > > >
> > > > > >> the session manager. If you did the upgrade script, it should be
> > there
> > > > > >
> > > > > >> already. If not, rerun that addSessionManagerRoute line.
> > > > > >
> > > > > >>
> > > > > >
> > > > > >> In Firebug's console, do you see any error messages?
> > > > > >
> > > > > >>
> > > > > >
> > > > > >> Hope this helps
> > > > > >
> > > > > >> JAnko
> > > > > >
> > > > > >>
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> > On Monday 14 Feb 2011 11:35:21 Nicholas Moore wrote:
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> Janko,
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >>
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> After running the script that you described prior to upgrade I
> > was
> > > > > >
> > > > > >> > able to install 6.2 cleanly without any problems - good work!
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >>
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> During testing (on VW) I came across a couple of snags:
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >>
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> 1) The method String >> replaceSpecialCharacters contains
> > or:or:
> > > > which
> > > > > >
> > > > > >> > does not work in VW (but is ok in Pharo and Squeak). I changed
> > it
> > > > to:
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> replaceSpecialCharacters
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> |str|
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> str := self copy.
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> str do: [:ch | |ascii|
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> ascii := ch asInteger.
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> ((ascii >= 65 and: [ ascii <= 90 ]) or: [
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> ( ascii >= 97 and: [ ascii <= 122 ]) or: [ch isDigit or: [ch =
> > $/
> > > > or:
> > > > > >
> > > > > >> > [ch = $.]]]])
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> ifFalse: [str replaceAll: ch with: $-]].
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> ^str
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >>
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> 2) I needed to upgrade my version of TinyMCE -
> > richEditorInitScript
> > > > > >
> > > > > >> > has changed.
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >>
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> 3) I have a problem with ajax calls. I previously used
> > > > > >
> > > > > >> > 'afterPostUpdate:' which is deprecated. I changed to
> > > > > >
> > > > > >> > 'onChangePostAndUpdate::' but that did not work (no error,
> > simply
> > > > > >
> > > > > >> > nothing happened). I do not yet know why, I will need to do some
> > > > > >
> > > > > >> > debugging this week. I also found that the WebDemo ajax page did
> > not
> > > > > >
> > > > > >> > work properly (the update and popup methods seemed to have no
> > > > effect.
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >>
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> Therefore I am unsure whether the problem lies in my
> > implementation
> > > > or
> > > > > >
> > > > > >> > elsewhere. I reverted to my same app using 6.1 and the WebDemo
> > ajax
> > > > page
> > > > > >
> > > > > >> > worked perfectly. If anyone else could test this and see how the
> > > > demo
> > > > > >
> > > > > >> > app works, that would save me some time.
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >>
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> By the way, I notice that WebApplication >>
> > respondToAjaxRequest:
> > > > is
> > > > > >
> > > > > >> > in the 'private-obsolete' protocol, should that be in
> > > > 'private-ajax'?
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >>
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> Otherwise the new features look great, in particular I am
> > looking
> > > > > >
> > > > > >> > forward to getting to grips with JSON.
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >>
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> Regards
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >>
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >> Nicholas
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >>
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >>
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >> >
> > > > > >
> > > > > >>
> > > > > >
> > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > Nicholas Moore
> > > > Skype: tsr_nicholas
> > > >
> > > > Check out my Blog
> > > >
> > > > "Still Running - that I may die in good health"
> > > > -------------- next part --------------
> > > > An HTML attachment was scrubbed...
> > > > URL:
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/5d913c94/attachment.htm
> > > >
> > > > ------------------------------
> > > >
> > > > _______________________________________________
> > > > Aida mailing list
> > > > [hidden email]
> > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > >
> > > >
> > > > End of Aida Digest, Vol 45, Issue 11
> > > > ************************************
> > > >
> > >
> >
> > --
> > Nicholas Moore
> > Skype: tsr_nicholas
> >
> > Check out my Blog
> >
> > "Still Running - that I may die in good health"
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/b2fbcf0f/attachment.htm
> >
> > ------------------------------
> >
> > _______________________________________________
> > Aida mailing list
> > [hidden email]
> > http://lists.aidaweb.si/mailman/listinfo/aida
> >
> >
> > End of Aida Digest, Vol 45, Issue 13
> > ************************************
> >
>

--
Nicholas Moore
Skype: tsr_nicholas

Check out my Blog

"Still Running - that I may die in good health"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20110216/acbf1bb0/attachment.htm

------------------------------

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida


End of Aida Digest, Vol 45, Issue 15
************************************


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

Nicholas Moore
Ok - a couple of questions to help me help:

Which class is #viewMain defined in?
Can you please paste what you have in viewMain?
How is your object 'book' defined and instantiated? in a workspace or in another method? can you please show me?

N



On Wednesday 16 Feb 2011 17:38:51 Ching de la Serna wrote:

> Hi Nicholas,
>
> What I have is this: *(AIDASite named: 'aidademo') urlResolver defaultURL:
> '/addressbook.html' forObject: book.
>  *which is what the tutorial has and I merely placed in  #viewMain  e
> addImage: 'testimage.jpg' size: 100@200. just to test if a jpeg file can be
> displayed.
>
> Ching
>
> On Thu, Feb 17, 2011 at 12:15 AM, <[hidden email]> wrote:
>
> > Send Aida mailing list submissions to
> >        [hidden email]
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >        http://lists.aidaweb.si/mailman/listinfo/aida
> > or, via email, send a message with subject or body 'help' to
> >        [hidden email]
> >
> > You can reach the person managing the list at
> >        [hidden email]
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Aida digest..."
> >
> >
> > Today's Topics:
> >
> >   1. Re: photos experiment. (Nicholas Moore)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 16 Feb 2011 17:15:26 +0100
> > From: Nicholas Moore <[hidden email]>
> > Subject: Re: [aida] photos experiment.
> > To: "AIDA/Web general discussion list" <[hidden email]>
> > Message-ID: <[hidden email]>
> > Content-Type: text/plain; charset="iso-8859-15"
> >
> > Have you instantiated an object which is the observee for the page you are
> > trying to display and told the site about it?
> >
> > Something like this:
> >
> > (AIDASite named: 'demo')  urlResolver defaultURL: '/test.html  forObject:
> > (AIDASite named: 'demo') test.
> >
> >
> > Nicholas
> >
> > On Wednesday 16 Feb 2011 17:01:55 Ching de la Serna wrote:
> > > Hi Nicholas,
> > >
> > > Thanks for the help. It was stupid of me to send the message to the class
> > > instead of the instance. The good news is that the error and my ignorance
> > > have been corrected. Also, when running the following on the browser,
> > >
> > > http://localhost:8888/testimage.jpg I now get a *404 Not Found Error*.
> > Still
> > > far from success but surely inching closer.
> > >
> > > Ching
> > >
> > > On Wed, Feb 16, 2011 at 11:44 PM, <[hidden email]> wrote:
> > >
> > > > Send Aida mailing list submissions to
> > > >        [hidden email]
> > > >
> > > > To subscribe or unsubscribe via the World Wide Web, visit
> > > >        http://lists.aidaweb.si/mailman/listinfo/aida
> > > > or, via email, send a message with subject or body 'help' to
> > > >        [hidden email]
> > > >
> > > > You can reach the person managing the list at
> > > >        [hidden email]
> > > >
> > > > When replying, please edit your Subject line so it is more specific
> > > > than "Re: Contents of Aida digest..."
> > > >
> > > >
> > > > Today's Topics:
> > > >
> > > >   1. Re: photos experiment (Nicholas Moore)
> > > >
> > > >
> > > > ----------------------------------------------------------------------
> > > >
> > > > Message: 1
> > > > Date: Wed, 16 Feb 2011 16:43:47 +0100
> > > > From: Nicholas Moore <[hidden email]>
> > > > Subject: Re: [aida] photos experiment
> > > > To: "AIDA/Web general discussion list" <[hidden email]>
> > > > Message-ID: <[hidden email]>
> > > > Content-Type: text/plain; charset="iso-8859-15"
> > > >
> > > > Hi Ching,
> > > >
> > > > Where you get this:
> > > >
> > > > AIDASite homeDirectory.: '"
> > > > C:\Documents and Settings\ADMIN\My
> > > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"' and
> > got
> > > > the same error message: doesNotUnderstand: #homeDirectory
> > > >
> > > > It is because you are sending homeDirectory: to the class AIDASite
> > rather
> > > > than an instance,
> > > >
> > > > i.e (AIDASite named: 'mysite') homeDirectory: .....
> > > >
> > > > Nicholas
> > > >
> > > > On Wednesday 16 Feb 2011 16:35:54 Ching de la Serna wrote:
> > > > > Hi Janko
> > > > >
> > > > > Thanks for taking the time. I did as you suggested. The results are
> > > > below:
> > > > >
> > > > > Hi Ching,
> > > > > >
> > > > >
> > > > > I'm trying to find some time to chase your problem, but in the
> > meantime,
> > > > > can you try to open this jpg directly from browser.
> > > > >
> > > > > If you put testimage.jpg on a directory where your image started, can
> > > > > you open it from browser directly:
> > > > >
> > > > >        http://localhost:8888/testimage.jpg ?
> > > > > This does not open the jpeg file.
> > > > >
> > > > > If not, can you open it through File->Open file ?
> > > > > I could open once I *unblocked *the testimage.jpg file. Windows was
> > > > blocking
> > > > > it the first time I tried. After I was able to do this, I tried doing
> > the
> > > > > above  http://localhost:8888/testimage.jpg and it would still not
> > open.
> > > > >
> > > > > Also, how did you start your image, double clicking from OneClick?
> > > > > I loaded from Monticello the three files: *Sport-2.031.mcz ,
> > > > > Swazoo-2.3beta2.1.mcz, Aida6.2-final.1.mcz *which I downloaded
> > separately
> > > > I
> > > > > use Sqeak4.1
> > > > >
> > > > > It could be that default .\ path doesn't point to the right
> > directory,
> > > > > can you change it to absolute path to your images directory:
> > > > >
> > > > >        AIDASite>>homeDirectory: 'c:\absolute path'
> > > > > I evaluated :
> > > > > AIDASite homeDirectory.: '
> > > > > C:\Documents and Settings\ADMIN\My
> > > > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1'
> > > > > and got an error:doesNotUnderstand: #homeDirectory
> > > > >
> > > > > I tried enclosing in ""
> > > > > AIDASite homeDirectory.: '"
> > > > > C:\Documents and Settings\ADMIN\My
> > > > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"'
> > and
> > > > got
> > > > > the same error message: doesNotUnderstand: #homeDirectory
> > > > >
> > > > > Also which version of Windows do you use?
> > > > > I use Windows XP
> > > > >
> > > > > Hope this would help a bit
> > > > > JAnko
> > > > >
> > > > > Ching
> > > > >
> > > > > On Wed, Feb 16, 2011 at 10:17 PM, <[hidden email]> wrote:
> > > > >
> > > > > > Send Aida mailing list submissions to
> > > > > >        [hidden email]
> > > > > >
> > > > > > To subscribe or unsubscribe via the World Wide Web, visit
> > > > > >        http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > or, via email, send a message with subject or body 'help' to
> > > > > >        [hidden email]
> > > > > >
> > > > > > You can reach the person managing the list at
> > > > > >        [hidden email]
> > > > > >
> > > > > > When replying, please edit your Subject line so it is more specific
> > > > > > than "Re: Contents of Aida digest..."
> > > > > >
> > > > > >
> > > > > > Today's Topics:
> > > > > >
> > > > > >   1. Re: photos experiment (Ching de la Serna)
> > > > > >   2. Re: photos experiment (Janko Miv?ek)
> > > > > >   3. Re: 6.2 tests (Nicholas Moore)
> > > > > >
> > > > > >
> > > > > >
> > ----------------------------------------------------------------------
> > > > > >
> > > > > > Message: 1
> > > > > > Date: Wed, 16 Feb 2011 19:27:14 +0800
> > > > > > From: Ching de la Serna <[hidden email]>
> > > > > > Subject: Re: [aida] photos experiment
> > > > > > To: [hidden email]
> > > > > > Message-ID:
> > > > > >        <
> > [hidden email]>
> > > > > > Content-Type: text/plain; charset="iso-8859-1"
> > > > > >
> > > > > > Hi All,
> > > > > >
> > > > > > I am inclined to believe that Nicholas is right about permissions.
> > > > Windows
> > > > > > might be blocking the jpeg file from being displayed. I changed the
> > > > jpeg
> > > > > > properties to "unblock" and restarted my computer. I also
> > downloaded
> > > > Google
> > > > > > Chrome thinking it might be a Firefox problem. Nothing worked. I am
> > > > ready
> > > > > > to
> > > > > > give up unless someone can point me in the right direction.It seems
> > > > kind of
> > > > > > strange though, a jpeg from another website displays with no
> > problem
> > > > while
> > > > > > a
> > > > > > local file is blocked. Strange behavior if indeed it is an OS
> > issue.
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Ching de la Serna
> > > > > >
> > > > > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]> wrote:
> > > > > >
> > > > > > > Send Aida mailing list submissions to
> > > > > > >        [hidden email]
> > > > > > >
> > > > > > > To subscribe or unsubscribe via the World Wide Web, visit
> > > > > > >        http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > > or, via email, send a message with subject or body 'help' to
> > > > > > >        [hidden email]
> > > > > > >
> > > > > > > You can reach the person managing the list at
> > > > > > >        [hidden email]
> > > > > > >
> > > > > > > When replying, please edit your Subject line so it is more
> > specific
> > > > > > > than "Re: Contents of Aida digest..."
> > > > > > >
> > > > > > >
> > > > > > > Today's Topics:
> > > > > > >
> > > > > > >   1. photos experiment (Ching de la Serna)
> > > > > > >   2. Re: photos experiment (Nicholas Moore)
> > > > > > >   3. Re: photos experiment (ching)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > ----------------------------------------------------------------------
> > > > > > >
> > > > > > > Message: 1
> > > > > > > Date: Wed, 16 Feb 2011 09:40:56 +0800
> > > > > > > From: Ching de la Serna <[hidden email]>
> > > > > > > Subject: [aida] photos experiment
> > > > > > > To: [hidden email]
> > > > > > > Message-ID:
> > > > > > >        <
> > [hidden email]
> > > > >
> > > > > > > Content-Type: text/plain; charset="iso-8859-1"
> > > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > Aida is such an amazing web framework but I am finding it
> > difficult
> > > > to
> > > > > > > display photos. After failing to display images from my local
> > disk, I
> > > > > > > started anew with a clean ver6.2 with the hope that it might lead
> > me
> > > > > > > somewhere. Placing a jpeg file in my root directory, I had
> > > > > > >
> > > > > > > e addImage: 'testimage.jpg' size: 100@200.
> > > > > > >
> > > > > > > as it happened many times before, nothing was displayed but the
> > > > browser
> > > > > > > reports "waiting or localhost....". I then changed the code to:
> > > > > > >
> > > > > > > e addImage: '*testimages.jpg*' size: 100@200.
> > > > > > >
> > > > > > > making it *testimages*.jpg which cannot be found in my directory.
> > > > > > Reloading
> > > > > > > the page allowed the browser to finish *without *the "waiting for
> > > > > > > localhost.." There is something going on and I don't know what it
> > is.
> > > > > > > Perhaps someone has an idea?
> > > > > > >
> > > > > > > Thanks in advance.
> > > > > > >
> > > > > > > ching de la serna
> > > > > > > -------------- next part --------------
> > > > > > > An HTML attachment was scrubbed...
> > > > > > > URL:
> > > > > > >
> > > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
> > > > > > >
> > > > > > > ------------------------------
> > > > > > >
> > > > > > > Message: 2
> > > > > > > Date: Wed, 16 Feb 2011 09:40:11 +0100
> > > > > > > From: Nicholas Moore <[hidden email]>
> > > > > > > Subject: Re: [aida] photos experiment
> > > > > > > To: "AIDA/Web general discussion list" <[hidden email]>
> > > > > > > Message-ID: <[hidden email]>
> > > > > > > Content-Type: text/plain; charset="iso-8859-15"
> > > > > > >
> > > > > > > Hi Ching,
> > > > > > >
> > > > > > > Are you using Linux - maybe it is an issue with permissions -
> > does
> > > > the
> > > > > > > httpd user have access to the jpg file?
> > > > > > >
> > > > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > Aida is such an amazing web framework but I am finding it
> > difficult
> > > > to
> > > > > > > > display photos. After failing to display images from my local
> > disk,
> > > > I
> > > > > > > > started anew with a clean ver6.2 with the hope that it might
> > lead
> > > > me
> > > > > > > > somewhere. Placing a jpeg file in my root directory, I had
> > > > > > > >
> > > > > > > > e addImage: 'testimage.jpg' size: 100@200.
> > > > > > > >
> > > > > > > > as it happened many times before, nothing was displayed but the
> > > > browser
> > > > > > > > reports "waiting or localhost....". I then changed the code to:
> > > > > > > >
> > > > > > > > e addImage: '*testimages.jpg*' size: 100@200.
> > > > > > > >
> > > > > > > > making it *testimages*.jpg which cannot be found in my
> > directory.
> > > > > > > Reloading
> > > > > > > > the page allowed the browser to finish *without *the "waiting
> > for
> > > > > > > > localhost.." There is something going on and I don't know what
> > it
> > > > is.
> > > > > > > > Perhaps someone has an idea?
> > > > > > > >
> > > > > > > > Thanks in advance.
> > > > > > > >
> > > > > > > > ching de la serna
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Nicholas Moore
> > > > > > > Skype: tsr_nicholas
> > > > > > >
> > > > > > > Check out my Blog
> > > > > > >
> > > > > > > "Still Running - that I may die in good health"
> > > > > > > -------------- next part --------------
> > > > > > > An HTML attachment was scrubbed...
> > > > > > > URL:
> > > > > > >
> > > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
> > > > > > >
> > > > > > > ------------------------------
> > > > > > >
> > > > > > > Message: 3
> > > > > > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
> > > > > > > From: ching <[hidden email]>
> > > > > > > Subject: Re: [aida] photos experiment
> > > > > > > To: [hidden email]
> > > > > > > Message-ID: <[hidden email]>
> > > > > > > Content-Type: text/plain; charset=us-ascii
> > > > > > >
> > > > > > >
> > > > > > > Hi Nicholas,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Nicholas Moore wrote:
> > > > > > > >
> > > > > > > > Hi Ching,
> > > > > > > >
> > > > > > > > Are you using Linux - maybe it is an issue with permissions -
> > does
> > > > the
> > > > > > > > httpd user have access to the jpg file?
> > > > > > > >
> > > > > > > > I am just using Windows and I'm not sure if I need permissions
> > to
> > > > use
> > > > > > the
> > > > > > > > jpg files in my directory. I remember displaying images using
> > > > Seaside
> > > > > > and
> > > > > > > > I did not really have any problem doing it whether on my local
> > > > machine
> > > > > > or
> > > > > > > > behind Apache. I am thinking of keeping everything in Smalltalk
> > > > > > > > (Swazoo/Aida).
> > > > > > > >
> > > > > > > > Thanks for the response,
> > > > > > > >
> > > > > > > > ching
> > > > > > > >
> > > > > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > > > > > > >> Hi,
> > > > > > > >>
> > > > > > > >> Aida is such an amazing web framework but I am finding it
> > > > difficult to
> > > > > > > >> display photos. After failing to display images from my local
> > > > disk, I
> > > > > > > >> started anew with a clean ver6.2 with the hope that it might
> > lead
> > > > me
> > > > > > > >> somewhere. Placing a jpeg file in my root directory, I had
> > > > > > > >>
> > > > > > > >> e addImage: 'testimage.jpg' size: 100@200.
> > > > > > > >>
> > > > > > > >> as it happened many times before, nothing was displayed but
> > the
> > > > > > browser
> > > > > > > >> reports "waiting or localhost....". I then changed the code
> > to:
> > > > > > > >>
> > > > > > > >> e addImage: '*testimages.jpg*' size: 100@200.
> > > > > > > >>
> > > > > > > >> making it *testimages*.jpg which cannot be found in my
> > directory.
> > > > > > > >> Reloading
> > > > > > > >> the page allowed the browser to finish *without *the "waiting
> > for
> > > > > > > >> localhost.." There is something going on and I don't know what
> > it
> > > > is.
> > > > > > > >> Perhaps someone has an idea?
> > > > > > > >>
> > > > > > > >> Thanks in advance.
> > > > > > > >>
> > > > > > > >> ching de la serna
> > > > > > > >>
> > > > > > > >
> > > > > > > > --
> > > > > > > > Nicholas Moore
> > > > > > > > Skype: tsr_nicholas
> > > > > > > >
> > > > > > > > Check out my Blog
> > > > > > > >
> > > > > > > > "Still Running - that I may die in good health"
> > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > Aida mailing list
> > > > > > > > [hidden email]
> > > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > View this message in context:
> > > > > > > http://forum.world.st/photos-experiment-tp3308053p3308440.html
> > > > > > > Sent from the AIDA/Web mailing list archive at Nabble.com.
> > > > > > >
> > > > > > >
> > > > > > > ------------------------------
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > Aida mailing list
> > > > > > > [hidden email]
> > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > >
> > > > > > >
> > > > > > > End of Aida Digest, Vol 45, Issue 10
> > > > > > > ************************************
> > > > > > >
> > > > > > -------------- next part --------------
> > > > > > An HTML attachment was scrubbed...
> > > > > > URL:
> > > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/6f6c4b7a/attachment-0001.htm
> > > > > >
> > > > > > ------------------------------
> > > > > >
> > > > > > Message: 2
> > > > > > Date: Wed, 16 Feb 2011 12:40:44 +0100
> > > > > > From: Janko Miv?ek <[hidden email]>
> > > > > > Subject: Re: [aida] photos experiment
> > > > > > To: AIDA/Web general discussion list <[hidden email]>
> > > > > > Message-ID: <[hidden email]>
> > > > > > Content-Type: text/plain; charset=UTF-8
> > > > > >
> > > > > > Hi Ching,
> > > > > >
> > > > > > I'm trying to find some time to chase your problem, but in the
> > > > meantime,
> > > > > > can you try to open this jpg directly from browser.
> > > > > >
> > > > > > If you put testimage.jpg on a directory where your image started,
> > can
> > > > > > you open it from browser directly:
> > > > > >
> > > > > >        http://localhost:8888/testimage.jpg ?
> > > > > >
> > > > > > If not, can you open it through File->Open file ?
> > > > > >
> > > > > > Also, how did you start your image, double clicking from OneClick?
> > > > > >
> > > > > > It could be that default .\ path doesn't point to the right
> > directory,
> > > > > > can you change it to absolute path to your images directory:
> > > > > >
> > > > > >        AIDASite>>homeDirectory: 'c:\absolute path'
> > > > > >
> > > > > > Also which version of Windows do you use?
> > > > > >
> > > > > > Hope this would help a bit
> > > > > > JAnko
> > > > > >
> > > > > > On 16. 02. 2011 12:27, Ching de la Serna wrote:
> > > > > > > Hi All,
> > > > > > >
> > > > > > > I am inclined to believe that Nicholas is right about
> > permissions.
> > > > > > > Windows might be blocking the jpeg file from being displayed. I
> > > > changed
> > > > > > > the jpeg properties to "unblock" and restarted my computer. I
> > also
> > > > > > > downloaded Google Chrome thinking it might be a Firefox problem.
> > > > Nothing
> > > > > > > worked. I am ready to give up unless someone can point me in the
> > > > right
> > > > > > > direction.It seems kind of strange though, a jpeg from another
> > > > website
> > > > > > > displays with no problem while a local file is blocked. Strange
> > > > behavior
> > > > > > > if indeed it is an OS issue.
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > Ching de la Serna
> > > > > > >
> > > > > > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]
> > > > > > > <mailto:[hidden email]>> wrote:
> > > > > > >
> > > > > > >     Send Aida mailing list submissions to
> > > > > > >            [hidden email] <mailto:[hidden email]>
> > > > > > >
> > > > > > >     To subscribe or unsubscribe via the World Wide Web, visit
> > > > > > >            http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > >     or, via email, send a message with subject or body 'help' to
> > > > > > >            [hidden email] <mailto:
> > [hidden email]>
> > > > > > >
> > > > > > >     You can reach the person managing the list at
> > > > > > >            [hidden email] <mailto:[hidden email]>
> > > > > > >
> > > > > > >     When replying, please edit your Subject line so it is more
> > > > specific
> > > > > > >     than "Re: Contents of Aida digest..."
> > > > > > >
> > > > > > >
> > > > > > >     Today's Topics:
> > > > > > >
> > > > > > >       1. photos experiment (Ching de la Serna)
> > > > > > >       2. Re: photos experiment (Nicholas Moore)
> > > > > > >       3. Re: photos experiment (ching)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > ----------------------------------------------------------------------
> > > > > > >
> > > > > > >     Message: 1
> > > > > > >     Date: Wed, 16 Feb 2011 09:40:56 +0800
> > > > > > >     From: Ching de la Serna <[hidden email]
> > > > > > >     <mailto:[hidden email]>>
> > > > > > >     Subject: [aida] photos experiment
> > > > > > >     To: [hidden email] <mailto:[hidden email]>
> > > > > > >     Message-ID:
> > > > > > >            <
> > > > [hidden email]
> > > > > > >     <mailto:
> > > > [hidden email]
> > > > > > >>
> > > > > > >     Content-Type: text/plain; charset="iso-8859-1"
> > > > > > >
> > > > > > >     Hi,
> > > > > > >
> > > > > > >     Aida is such an amazing web framework but I am finding it
> > > > difficult
> > > > > > to
> > > > > > >     display photos. After failing to display images from my local
> > > > disk, I
> > > > > > >     started anew with a clean ver6.2 with the hope that it might
> > lead
> > > > me
> > > > > > >     somewhere. Placing a jpeg file in my root directory, I had
> > > > > > >
> > > > > > >     e addImage: 'testimage.jpg' size: 100@200.
> > > > > > >
> > > > > > >     as it happened many times before, nothing was displayed but
> > the
> > > > > > browser
> > > > > > >     reports "waiting or localhost....". I then changed the code
> > to:
> > > > > > >
> > > > > > >     e addImage: '*testimages.jpg*' size: 100@200.
> > > > > > >
> > > > > > >     making it *testimages*.jpg which cannot be found in my
> > directory.
> > > > > > >     Reloading
> > > > > > >     the page allowed the browser to finish *without *the "waiting
> > for
> > > > > > >     localhost.." There is something going on and I don't know
> > what it
> > > > is.
> > > > > > >     Perhaps someone has an idea?
> > > > > > >
> > > > > > >     Thanks in advance.
> > > > > > >
> > > > > > >     ching de la serna
> > > > > > >     -------------- next part --------------
> > > > > > >     An HTML attachment was scrubbed...
> > > > > > >     URL:
> > > > > > >
> > > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
> > > > > > >
> > > > > > >     ------------------------------
> > > > > > >
> > > > > > >     Message: 2
> > > > > > >     Date: Wed, 16 Feb 2011 09:40:11 +0100
> > > > > > >     From: Nicholas Moore <[hidden email]
> > > > > > >     <mailto:[hidden email]>>
> > > > > > >     Subject: Re: [aida] photos experiment
> > > > > > >     To: "AIDA/Web general discussion list" <[hidden email]
> > > > > > >     <mailto:[hidden email]>>
> > > > > > >     Message-ID: <[hidden email]
> > > > > > >     <mailto:[hidden email]>>
> > > > > > >     Content-Type: text/plain; charset="iso-8859-15"
> > > > > > >
> > > > > > >     Hi Ching,
> > > > > > >
> > > > > > >     Are you using Linux - maybe it is an issue with permissions -
> > > > does
> > > > > > >     the httpd user have access to the jpg file?
> > > > > > >
> > > > > > >     On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > > > > > >     > Hi,
> > > > > > >     >
> > > > > > >     > Aida is such an amazing web framework but I am finding it
> > > > difficult
> > > > > > to
> > > > > > >     > display photos. After failing to display images from my
> > local
> > > > disk,
> > > > > > I
> > > > > > >     > started anew with a clean ver6.2 with the hope that it
> > might
> > > > lead
> > > > > > me
> > > > > > >     > somewhere. Placing a jpeg file in my root directory, I had
> > > > > > >     >
> > > > > > >     > e addImage: 'testimage.jpg' size: 100@200.
> > > > > > >     >
> > > > > > >     > as it happened many times before, nothing was displayed but
> > the
> > > > > > >     browser
> > > > > > >     > reports "waiting or localhost....". I then changed the code
> > to:
> > > > > > >     >
> > > > > > >     > e addImage: '*testimages.jpg*' size: 100@200.
> > > > > > >     >
> > > > > > >     > making it *testimages*.jpg which cannot be found in my
> > > > directory.
> > > > > > >     Reloading
> > > > > > >     > the page allowed the browser to finish *without *the
> > "waiting
> > > > for
> > > > > > >     > localhost.." There is something going on and I don't know
> > what
> > > > it
> > > > > > is.
> > > > > > >     > Perhaps someone has an idea?
> > > > > > >     >
> > > > > > >     > Thanks in advance.
> > > > > > >     >
> > > > > > >     > ching de la serna
> > > > > > >     >
> > > > > > >
> > > > > > >     --
> > > > > > >     Nicholas Moore
> > > > > > >     Skype: tsr_nicholas
> > > > > > >
> > > > > > >     Check out my Blog
> > > > > > >
> > > > > > >     "Still Running - that I may die in good health"
> > > > > > >     -------------- next part --------------
> > > > > > >     An HTML attachment was scrubbed...
> > > > > > >     URL:
> > > > > > >
> > > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
> > > > > > >
> > > > > > >     ------------------------------
> > > > > > >
> > > > > > >     Message: 3
> > > > > > >     Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
> > > > > > >     From: ching <[hidden email] <mailto:[hidden email]
> > >>
> > > > > > >     Subject: Re: [aida] photos experiment
> > > > > > >     To: [hidden email] <mailto:[hidden email]>
> > > > > > >     Message-ID: <[hidden email]
> > > > > > >     <mailto:[hidden email]>>
> > > > > > >     Content-Type: text/plain; charset=us-ascii
> > > > > > >
> > > > > > >
> > > > > > >     Hi Nicholas,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >     Nicholas Moore wrote:
> > > > > > >     >
> > > > > > >     > Hi Ching,
> > > > > > >     >
> > > > > > >     > Are you using Linux - maybe it is an issue with permissions
> > -
> > > > does
> > > > > > the
> > > > > > >     > httpd user have access to the jpg file?
> > > > > > >     >
> > > > > > >     > I am just using Windows and I'm not sure if I need
> > permissions
> > > > to
> > > > > > >     use the
> > > > > > >     > jpg files in my directory. I remember displaying images
> > using
> > > > > > >     Seaside and
> > > > > > >     > I did not really have any problem doing it whether on my
> > local
> > > > > > >     machine or
> > > > > > >     > behind Apache. I am thinking of keeping everything in
> > Smalltalk
> > > > > > >     > (Swazoo/Aida).
> > > > > > >     >
> > > > > > >     > Thanks for the response,
> > > > > > >     >
> > > > > > >     > ching
> > > > > > >     >
> > > > > > >     > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > > > > > >     >> Hi,
> > > > > > >     >>
> > > > > > >     >> Aida is such an amazing web framework but I am finding it
> > > > > > >     difficult to
> > > > > > >     >> display photos. After failing to display images from my
> > local
> > > > > > disk, I
> > > > > > >     >> started anew with a clean ver6.2 with the hope that it
> > might
> > > > lead
> > > > > > me
> > > > > > >     >> somewhere. Placing a jpeg file in my root directory, I had
> > > > > > >     >>
> > > > > > >     >> e addImage: 'testimage.jpg' size: 100@200.
> > > > > > >     >>
> > > > > > >     >> as it happened many times before, nothing was displayed
> > but
> > > > the
> > > > > > >     browser
> > > > > > >     >> reports "waiting or localhost....". I then changed the
> > code
> > > > to:
> > > > > > >     >>
> > > > > > >     >> e addImage: '*testimages.jpg*' size: 100@200.
> > > > > > >     >>
> > > > > > >     >> making it *testimages*.jpg which cannot be found in my
> > > > directory.
> > > > > > >     >> Reloading
> > > > > > >     >> the page allowed the browser to finish *without *the
> > "waiting
> > > > for
> > > > > > >     >> localhost.." There is something going on and I don't know
> > what
> > > > it
> > > > > > is.
> > > > > > >     >> Perhaps someone has an idea?
> > > > > > >     >>
> > > > > > >     >> Thanks in advance.
> > > > > > >     >>
> > > > > > >     >> ching de la serna
> > > > > > >     >>
> > > > > > >     >
> > > > > > >     > --
> > > > > > >     > Nicholas Moore
> > > > > > >     > Skype: tsr_nicholas
> > > > > > >     >
> > > > > > >     > Check out my Blog
> > > > > > >     >
> > > > > > >     > "Still Running - that I may die in good health"
> > > > > > >     >
> > > > > > >     > _______________________________________________
> > > > > > >     > Aida mailing list
> > > > > > >     > [hidden email] <mailto:[hidden email]>
> > > > > > >     > http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > >     >
> > > > > > >     >
> > > > > > >
> > > > > > >     --
> > > > > > >     View this message in context:
> > > > > > >
> > http://forum.world.st/photos-experiment-tp3308053p3308440.html
> > > > > > >     Sent from the AIDA/Web mailing list archive at Nabble.com.
> > > > > > >
> > > > > > >
> > > > > > >     ------------------------------
> > > > > > >
> > > > > > >     _______________________________________________
> > > > > > >     Aida mailing list
> > > > > > >     [hidden email] <mailto:[hidden email]>
> > > > > > >     http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > >
> > > > > > >
> > > > > > >     End of Aida Digest, Vol 45, Issue 10
> > > > > > >     ************************************
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > Aida mailing list
> > > > > > > [hidden email]
> > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > >
> > > > > > --
> > > > > > Janko Miv?ek
> > > > > > AIDA/Web
> > > > > > Smalltalk Web Application Server
> > > > > > http://www.aidaweb.si
> > > > > >
> > > > > >
> > > > > > ------------------------------
> > > > > >
> > > > > > Message: 3
> > > > > > Date: Wed, 16 Feb 2011 15:16:42 +0100
> > > > > > From: Nicholas Moore <[hidden email]>
> > > > > > Subject: Re: [aida] 6.2 tests
> > > > > > To: "AIDA/Web general discussion list" <[hidden email]>
> > > > > > Message-ID: <[hidden email]>
> > > > > > Content-Type: text/plain; charset="utf-8"
> > > > > >
> > > > > > I have tested with a vanilla VW and it works as you would expect -
> > good
> > > > > > news. I used several different local variations in my hosts file
> > and
> > > > all
> > > > > > worked okay - returning 'aidasession/ajax'.
> > > > > >
> > > > > > So then I returned to my own image and retested it - but was not
> > able
> > > > to
> > > > > > reproduce the error - it too returned the correct value. There must
> > > > have
> > > > > > been some spurious condition associated with my previous test image
> > and
> > > > > > perhaps earlier exceptions.
> > > > > >
> > > > > > Anyway, all works as expected and my sites are now live with 6.2.
> > > > > >
> > > > > > Nicholas
> > > > > >
> > > > > > On Tuesday 15 Feb 2011 14:28:54 Janko Miv?ek wrote:
> > > > > > >
> > > > > > > On 14. 02. 2011 21:20, Nicholas Moore wrote:
> > > > > > > > Excellent - I had not created the route explicitly to my blog
> > site!
> > > > > > > > However the request subsequently failed here:
> > > > > > > > WebSession >> printHTMLPageOn: aStream for: aRequest on:
> > > > aWebSession
> > > > > > > > aRequest urlString = '/aidasession/ajax' ifTrue:
> > > > > > > > because the actual request urlString is: '
> > > > > > http://mysite/aidasession/ajax'.
> > > > > > > > I have changed that test to:
> > > > > > > > (aRequest urlString containsSubstring: '/aidasession/ajax')
> > > > ifTrue:>
> > > > > > > > and everything works as desired.
> > > > > > >
> > > > > > > This is interesting, from where aRequest urlString works
> > differently
> > > > in
> > > > > > >  your image comparing with fresh install into vanilla VW 7.7 (for
> > > > > > > nistance) image from Public Store. Can you try this too?
> > > > > > >
> > > > > > > Best regards
> > > > > > > Janko
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > > Nicholas
> > > > > > > >
> > > > > > > > On Monday 14 Feb 2011 19:51:06 Janko Miv?ek wrote:
> > > > > > > >
> > > > > > > >> Hi Nicolas,
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> On 14. 02. 2011 19:39, Nicholas Moore wrote:
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> > From the demo.html page for ajax in 6.2, when I click on
> > 'click
> > > > me
> > > > > > for
> > > > > > > >
> > > > > > > >> > popup' I have trapped a SwazooStream. It generates a
> > requestURI
> > > > > > which is
> > > > > > > >
> > > > > > > >> > '/aidasession/ajax'.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> > On the 6.1 version the equivalent requestURI is 'demo.html'
> > (as
> > > > I
> > > > > > would
> > > > > > > >
> > > > > > > >> > expect).
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> > Where does the '/aidasession/ajax URI come from?
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> This is major new behavior on new event framework - all Ajax
> > and
> > > > > > > >
> > > > > > > >> WebSocket JSON messages go to this Url, that is, to your
> > session,
> > > > > > which
> > > > > > > >
> > > > > > > >> then find the right App and pass it the event. This Url is in
> > > > > > JavaScript
> > > > > > > >
> > > > > > > >> code, see WebStyle js13Events. The Url of actual page is
> > included
> > > > in
> > > > > > > >
> > > > > > > >> this message.
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> Inspect the WebRouter (AIDASite default router) if there is a
> > > > route to
> > > > > > > >
> > > > > > > >> the session manager. If you did the upgrade script, it should
> > be
> > > > there
> > > > > > > >
> > > > > > > >> already. If not, rerun that addSessionManagerRoute line.
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> In Firebug's console, do you see any error messages?
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> Hope this helps
> > > > > > > >
> > > > > > > >> JAnko
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> > On Monday 14 Feb 2011 11:35:21 Nicholas Moore wrote:
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> Janko,
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> After running the script that you described prior to
> > upgrade I
> > > > was
> > > > > > > >
> > > > > > > >> > able to install 6.2 cleanly without any problems - good
> > work!
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> During testing (on VW) I came across a couple of snags:
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> 1) The method String >> replaceSpecialCharacters contains
> > > > or:or:
> > > > > > which
> > > > > > > >
> > > > > > > >> > does not work in VW (but is ok in Pharo and Squeak). I
> > changed
> > > > it
> > > > > > to:
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> replaceSpecialCharacters
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> |str|
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> str := self copy.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> str do: [:ch | |ascii|
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> ascii := ch asInteger.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> ((ascii >= 65 and: [ ascii <= 90 ]) or: [
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> ( ascii >= 97 and: [ ascii <= 122 ]) or: [ch isDigit or:
> > [ch =
> > > > $/
> > > > > > or:
> > > > > > > >
> > > > > > > >> > [ch = $.]]]])
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> ifFalse: [str replaceAll: ch with: $-]].
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> ^str
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> 2) I needed to upgrade my version of TinyMCE -
> > > > richEditorInitScript
> > > > > > > >
> > > > > > > >> > has changed.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> 3) I have a problem with ajax calls. I previously used
> > > > > > > >
> > > > > > > >> > 'afterPostUpdate:' which is deprecated. I changed to
> > > > > > > >
> > > > > > > >> > 'onChangePostAndUpdate::' but that did not work (no error,
> > > > simply
> > > > > > > >
> > > > > > > >> > nothing happened). I do not yet know why, I will need to do
> > some
> > > > > > > >
> > > > > > > >> > debugging this week. I also found that the WebDemo ajax page
> > did
> > > > not
> > > > > > > >
> > > > > > > >> > work properly (the update and popup methods seemed to have
> > no
> > > > > > effect.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> Therefore I am unsure whether the problem lies in my
> > > > implementation
> > > > > > or
> > > > > > > >
> > > > > > > >> > elsewhere. I reverted to my same app using 6.1 and the
> > WebDemo
> > > > ajax
> > > > > > page
> > > > > > > >
> > > > > > > >> > worked perfectly. If anyone else could test this and see how
> > the
> > > > > > demo
> > > > > > > >
> > > > > > > >> > app works, that would save me some time.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> By the way, I notice that WebApplication >>
> > > > respondToAjaxRequest:
> > > > > > is
> > > > > > > >
> > > > > > > >> > in the 'private-obsolete' protocol, should that be in
> > > > > > 'private-ajax'?
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> Otherwise the new features look great, in particular I am
> > > > looking
> > > > > > > >
> > > > > > > >> > forward to getting to grips with JSON.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> Regards
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> Nicholas
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Nicholas Moore
> > > > > > Skype: tsr_nicholas
> > > > > >
> > > > > > Check out my Blog
> > > > > >
> > > > > > "Still Running - that I may die in good health"
> > > > > > -------------- next part --------------
> > > > > > An HTML attachment was scrubbed...
> > > > > > URL:
> > > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/5d913c94/attachment.htm
> > > > > >
> > > > > > ------------------------------
> > > > > >
> > > > > > _______________________________________________
> > > > > > Aida mailing list
> > > > > > [hidden email]
> > > > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > >
> > > > > >
> > > > > > End of Aida Digest, Vol 45, Issue 11
> > > > > > ************************************
> > > > > >
> > > > >
> > > >
> > > > --
> > > > Nicholas Moore
> > > > Skype: tsr_nicholas
> > > >
> > > > Check out my Blog
> > > >
> > > > "Still Running - that I may die in good health"
> > > > -------------- next part --------------
> > > > An HTML attachment was scrubbed...
> > > > URL:
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/b2fbcf0f/attachment.htm
> > > >
> > > > ------------------------------
> > > >
> > > > _______________________________________________
> > > > Aida mailing list
> > > > [hidden email]
> > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > >
> > > >
> > > > End of Aida Digest, Vol 45, Issue 13
> > > > ************************************
> > > >
> > >
> >
> > --
> > Nicholas Moore
> > Skype: tsr_nicholas
> >
> > Check out my Blog
> >
> > "Still Running - that I may die in good health"
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/acbf1bb0/attachment.htm
> >
> > ------------------------------
> >
> > _______________________________________________
> > Aida mailing list
> > [hidden email]
> > http://lists.aidaweb.si/mailman/listinfo/aida
> >
> >
> > End of Aida Digest, Vol 45, Issue 15
> > ************************************
> >
>
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

ching
In reply to this post by ching
Hi Nicholas.

This is what I have:

WebApplication subclass: #ADemoAddressBookApp
viewMain
        | e |
        e := WebElement new.
        e addTextH1: 'Address book'.
        e addImage: 'testimage.jpg' size: 100@200.
        self style pageFrameWith: e title: 'Address book'

In a workspace I evaluated this: book _ ADemoAddressBook new.

Ching

On Thu, Feb 17, 2011 at 1:17 AM, <[hidden email]> wrote:
Send Aida mailing list submissions to
       [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.aidaweb.si/mailman/listinfo/aida
or, via email, send a message with subject or body 'help' to
       [hidden email]

You can reach the person managing the list at
       [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Aida digest..."


Today's Topics:

  1. Re: photos experiment (Nicholas Moore)


----------------------------------------------------------------------

Message: 1
Date: Wed, 16 Feb 2011 18:17:21 +0100
From: Nicholas Moore <[hidden email]>
Subject: Re: [aida] photos experiment
To: "AIDA/Web general discussion list" <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: Text/Plain;  charset="iso-8859-15"

Ok - a couple of questions to help me help:

Which class is #viewMain defined in?
Can you please paste what you have in viewMain?
How is your object 'book' defined and instantiated? in a workspace or in another method? can you please show me?

N



On Wednesday 16 Feb 2011 17:38:51 Ching de la Serna wrote:
> Hi Nicholas,
>
> What I have is this: *(AIDASite named: 'aidademo') urlResolver defaultURL:
> '/addressbook.html' forObject: book.
>  *which is what the tutorial has and I merely placed in  #viewMain  e
> addImage: 'testimage.jpg' size: 100@200. just to test if a jpeg file can be
> displayed.
>
> Ching
>
> On Thu, Feb 17, 2011 at 12:15 AM, <[hidden email]> wrote:
>
> > Send Aida mailing list submissions to
> >        [hidden email]
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >        http://lists.aidaweb.si/mailman/listinfo/aida
> > or, via email, send a message with subject or body 'help' to
> >        [hidden email]
> >
> > You can reach the person managing the list at
> >        [hidden email]
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Aida digest..."
> >
> >
> > Today's Topics:
> >
> >   1. Re: photos experiment. (Nicholas Moore)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 16 Feb 2011 17:15:26 +0100
> > From: Nicholas Moore <[hidden email]>
> > Subject: Re: [aida] photos experiment.
> > To: "AIDA/Web general discussion list" <[hidden email]>
> > Message-ID: <[hidden email]>
> > Content-Type: text/plain; charset="iso-8859-15"
> >
> > Have you instantiated an object which is the observee for the page you are
> > trying to display and told the site about it?
> >
> > Something like this:
> >
> > (AIDASite named: 'demo')  urlResolver defaultURL: '/test.html  forObject:
> > (AIDASite named: 'demo') test.
> >
> >
> > Nicholas
> >
> > On Wednesday 16 Feb 2011 17:01:55 Ching de la Serna wrote:
> > > Hi Nicholas,
> > >
> > > Thanks for the help. It was stupid of me to send the message to the class
> > > instead of the instance. The good news is that the error and my ignorance
> > > have been corrected. Also, when running the following on the browser,
> > >
> > > http://localhost:8888/testimage.jpg I now get a *404 Not Found Error*.
> > Still
> > > far from success but surely inching closer.
> > >
> > > Ching
> > >
> > > On Wed, Feb 16, 2011 at 11:44 PM, <[hidden email]> wrote:
> > >
> > > > Send Aida mailing list submissions to
> > > >        [hidden email]
> > > >
> > > > To subscribe or unsubscribe via the World Wide Web, visit
> > > >        http://lists.aidaweb.si/mailman/listinfo/aida
> > > > or, via email, send a message with subject or body 'help' to
> > > >        [hidden email]
> > > >
> > > > You can reach the person managing the list at
> > > >        [hidden email]
> > > >
> > > > When replying, please edit your Subject line so it is more specific
> > > > than "Re: Contents of Aida digest..."
> > > >
> > > >
> > > > Today's Topics:
> > > >
> > > >   1. Re: photos experiment (Nicholas Moore)
> > > >
> > > >
> > > > ----------------------------------------------------------------------
> > > >
> > > > Message: 1
> > > > Date: Wed, 16 Feb 2011 16:43:47 +0100
> > > > From: Nicholas Moore <[hidden email]>
> > > > Subject: Re: [aida] photos experiment
> > > > To: "AIDA/Web general discussion list" <[hidden email]>
> > > > Message-ID: <[hidden email]>
> > > > Content-Type: text/plain; charset="iso-8859-15"
> > > >
> > > > Hi Ching,
> > > >
> > > > Where you get this:
> > > >
> > > > AIDASite homeDirectory.: '"
> > > > C:\Documents and Settings\ADMIN\My
> > > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"' and
> > got
> > > > the same error message: doesNotUnderstand: #homeDirectory
> > > >
> > > > It is because you are sending homeDirectory: to the class AIDASite
> > rather
> > > > than an instance,
> > > >
> > > > i.e (AIDASite named: 'mysite') homeDirectory: .....
> > > >
> > > > Nicholas
> > > >
> > > > On Wednesday 16 Feb 2011 16:35:54 Ching de la Serna wrote:
> > > > > Hi Janko
> > > > >
> > > > > Thanks for taking the time. I did as you suggested. The results are
> > > > below:
> > > > >
> > > > > Hi Ching,
> > > > > >
> > > > >
> > > > > I'm trying to find some time to chase your problem, but in the
> > meantime,
> > > > > can you try to open this jpg directly from browser.
> > > > >
> > > > > If you put testimage.jpg on a directory where your image started, can
> > > > > you open it from browser directly:
> > > > >
> > > > >        http://localhost:8888/testimage.jpg ?
> > > > > This does not open the jpeg file.
> > > > >
> > > > > If not, can you open it through File->Open file ?
> > > > > I could open once I *unblocked *the testimage.jpg file. Windows was
> > > > blocking
> > > > > it the first time I tried. After I was able to do this, I tried doing
> > the
> > > > > above  http://localhost:8888/testimage.jpg and it would still not
> > open.
> > > > >
> > > > > Also, how did you start your image, double clicking from OneClick?
> > > > > I loaded from Monticello the three files: *Sport-2.031.mcz ,
> > > > > Swazoo-2.3beta2.1.mcz, Aida6.2-final.1.mcz *which I downloaded
> > separately
> > > > I
> > > > > use Sqeak4.1
> > > > >
> > > > > It could be that default .\ path doesn't point to the right
> > directory,
> > > > > can you change it to absolute path to your images directory:
> > > > >
> > > > >        AIDASite>>homeDirectory: 'c:\absolute path'
> > > > > I evaluated :
> > > > > AIDASite homeDirectory.: '
> > > > > C:\Documents and Settings\ADMIN\My
> > > > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1'
> > > > > and got an error:doesNotUnderstand: #homeDirectory
> > > > >
> > > > > I tried enclosing in ""
> > > > > AIDASite homeDirectory.: '"
> > > > > C:\Documents and Settings\ADMIN\My
> > > > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"'
> > and
> > > > got
> > > > > the same error message: doesNotUnderstand: #homeDirectory
> > > > >
> > > > > Also which version of Windows do you use?
> > > > > I use Windows XP
> > > > >
> > > > > Hope this would help a bit
> > > > > JAnko
> > > > >
> > > > > Ching
> > > > >
> > > > > On Wed, Feb 16, 2011 at 10:17 PM, <[hidden email]> wrote:
> > > > >
> > > > > > Send Aida mailing list submissions to
> > > > > >        [hidden email]
> > > > > >
> > > > > > To subscribe or unsubscribe via the World Wide Web, visit
> > > > > >        http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > or, via email, send a message with subject or body 'help' to
> > > > > >        [hidden email]
> > > > > >
> > > > > > You can reach the person managing the list at
> > > > > >        [hidden email]
> > > > > >
> > > > > > When replying, please edit your Subject line so it is more specific
> > > > > > than "Re: Contents of Aida digest..."
> > > > > >
> > > > > >
> > > > > > Today's Topics:
> > > > > >
> > > > > >   1. Re: photos experiment (Ching de la Serna)
> > > > > >   2. Re: photos experiment (Janko Miv?ek)
> > > > > >   3. Re: 6.2 tests (Nicholas Moore)
> > > > > >
> > > > > >
> > > > > >
> > ----------------------------------------------------------------------
> > > > > >
> > > > > > Message: 1
> > > > > > Date: Wed, 16 Feb 2011 19:27:14 +0800
> > > > > > From: Ching de la Serna <[hidden email]>
> > > > > > Subject: Re: [aida] photos experiment
> > > > > > To: [hidden email]
> > > > > > Message-ID:
> > > > > >        <
> > [hidden email]>
> > > > > > Content-Type: text/plain; charset="iso-8859-1"
> > > > > >
> > > > > > Hi All,
> > > > > >
> > > > > > I am inclined to believe that Nicholas is right about permissions.
> > > > Windows
> > > > > > might be blocking the jpeg file from being displayed. I changed the
> > > > jpeg
> > > > > > properties to "unblock" and restarted my computer. I also
> > downloaded
> > > > Google
> > > > > > Chrome thinking it might be a Firefox problem. Nothing worked. I am
> > > > ready
> > > > > > to
> > > > > > give up unless someone can point me in the right direction.It seems
> > > > kind of
> > > > > > strange though, a jpeg from another website displays with no
> > problem
> > > > while
> > > > > > a
> > > > > > local file is blocked. Strange behavior if indeed it is an OS
> > issue.
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Ching de la Serna
> > > > > >
> > > > > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]> wrote:
> > > > > >
> > > > > > > Send Aida mailing list submissions to
> > > > > > >        [hidden email]
> > > > > > >
> > > > > > > To subscribe or unsubscribe via the World Wide Web, visit
> > > > > > >        http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > > or, via email, send a message with subject or body 'help' to
> > > > > > >        [hidden email]
> > > > > > >
> > > > > > > You can reach the person managing the list at
> > > > > > >        [hidden email]
> > > > > > >
> > > > > > > When replying, please edit your Subject line so it is more
> > specific
> > > > > > > than "Re: Contents of Aida digest..."
> > > > > > >
> > > > > > >
> > > > > > > Today's Topics:
> > > > > > >
> > > > > > >   1. photos experiment (Ching de la Serna)
> > > > > > >   2. Re: photos experiment (Nicholas Moore)
> > > > > > >   3. Re: photos experiment (ching)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > ----------------------------------------------------------------------
> > > > > > >
> > > > > > > Message: 1
> > > > > > > Date: Wed, 16 Feb 2011 09:40:56 +0800
> > > > > > > From: Ching de la Serna <[hidden email]>
> > > > > > > Subject: [aida] photos experiment
> > > > > > > To: [hidden email]
> > > > > > > Message-ID:
> > > > > > >        <
> > [hidden email]
> > > > >
> > > > > > > Content-Type: text/plain; charset="iso-8859-1"
> > > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > Aida is such an amazing web framework but I am finding it
> > difficult
> > > > to
> > > > > > > display photos. After failing to display images from my local
> > disk, I
> > > > > > > started anew with a clean ver6.2 with the hope that it might lead
> > me
> > > > > > > somewhere. Placing a jpeg file in my root directory, I had
> > > > > > >
> > > > > > > e addImage: 'testimage.jpg' size: 100@200.
> > > > > > >
> > > > > > > as it happened many times before, nothing was displayed but the
> > > > browser
> > > > > > > reports "waiting or localhost....". I then changed the code to:
> > > > > > >
> > > > > > > e addImage: '*testimages.jpg*' size: 100@200.
> > > > > > >
> > > > > > > making it *testimages*.jpg which cannot be found in my directory.
> > > > > > Reloading
> > > > > > > the page allowed the browser to finish *without *the "waiting for
> > > > > > > localhost.." There is something going on and I don't know what it
> > is.
> > > > > > > Perhaps someone has an idea?
> > > > > > >
> > > > > > > Thanks in advance.
> > > > > > >
> > > > > > > ching de la serna
> > > > > > > -------------- next part --------------
> > > > > > > An HTML attachment was scrubbed...
> > > > > > > URL:
> > > > > > >
> > > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
> > > > > > >
> > > > > > > ------------------------------
> > > > > > >
> > > > > > > Message: 2
> > > > > > > Date: Wed, 16 Feb 2011 09:40:11 +0100
> > > > > > > From: Nicholas Moore <[hidden email]>
> > > > > > > Subject: Re: [aida] photos experiment
> > > > > > > To: "AIDA/Web general discussion list" <[hidden email]>
> > > > > > > Message-ID: <[hidden email]>
> > > > > > > Content-Type: text/plain; charset="iso-8859-15"
> > > > > > >
> > > > > > > Hi Ching,
> > > > > > >
> > > > > > > Are you using Linux - maybe it is an issue with permissions -
> > does
> > > > the
> > > > > > > httpd user have access to the jpg file?
> > > > > > >
> > > > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > Aida is such an amazing web framework but I am finding it
> > difficult
> > > > to
> > > > > > > > display photos. After failing to display images from my local
> > disk,
> > > > I
> > > > > > > > started anew with a clean ver6.2 with the hope that it might
> > lead
> > > > me
> > > > > > > > somewhere. Placing a jpeg file in my root directory, I had
> > > > > > > >
> > > > > > > > e addImage: 'testimage.jpg' size: 100@200.
> > > > > > > >
> > > > > > > > as it happened many times before, nothing was displayed but the
> > > > browser
> > > > > > > > reports "waiting or localhost....". I then changed the code to:
> > > > > > > >
> > > > > > > > e addImage: '*testimages.jpg*' size: 100@200.
> > > > > > > >
> > > > > > > > making it *testimages*.jpg which cannot be found in my
> > directory.
> > > > > > > Reloading
> > > > > > > > the page allowed the browser to finish *without *the "waiting
> > for
> > > > > > > > localhost.." There is something going on and I don't know what
> > it
> > > > is.
> > > > > > > > Perhaps someone has an idea?
> > > > > > > >
> > > > > > > > Thanks in advance.
> > > > > > > >
> > > > > > > > ching de la serna
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Nicholas Moore
> > > > > > > Skype: tsr_nicholas
> > > > > > >
> > > > > > > Check out my Blog
> > > > > > >
> > > > > > > "Still Running - that I may die in good health"
> > > > > > > -------------- next part --------------
> > > > > > > An HTML attachment was scrubbed...
> > > > > > > URL:
> > > > > > >
> > > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
> > > > > > >
> > > > > > > ------------------------------
> > > > > > >
> > > > > > > Message: 3
> > > > > > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
> > > > > > > From: ching <[hidden email]>
> > > > > > > Subject: Re: [aida] photos experiment
> > > > > > > To: [hidden email]
> > > > > > > Message-ID: <[hidden email]>
> > > > > > > Content-Type: text/plain; charset=us-ascii
> > > > > > >
> > > > > > >
> > > > > > > Hi Nicholas,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Nicholas Moore wrote:
> > > > > > > >
> > > > > > > > Hi Ching,
> > > > > > > >
> > > > > > > > Are you using Linux - maybe it is an issue with permissions -
> > does
> > > > the
> > > > > > > > httpd user have access to the jpg file?
> > > > > > > >
> > > > > > > > I am just using Windows and I'm not sure if I need permissions
> > to
> > > > use
> > > > > > the
> > > > > > > > jpg files in my directory. I remember displaying images using
> > > > Seaside
> > > > > > and
> > > > > > > > I did not really have any problem doing it whether on my local
> > > > machine
> > > > > > or
> > > > > > > > behind Apache. I am thinking of keeping everything in Smalltalk
> > > > > > > > (Swazoo/Aida).
> > > > > > > >
> > > > > > > > Thanks for the response,
> > > > > > > >
> > > > > > > > ching
> > > > > > > >
> > > > > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > > > > > > >> Hi,
> > > > > > > >>
> > > > > > > >> Aida is such an amazing web framework but I am finding it
> > > > difficult to
> > > > > > > >> display photos. After failing to display images from my local
> > > > disk, I
> > > > > > > >> started anew with a clean ver6.2 with the hope that it might
> > lead
> > > > me
> > > > > > > >> somewhere. Placing a jpeg file in my root directory, I had
> > > > > > > >>
> > > > > > > >> e addImage: 'testimage.jpg' size: 100@200.
> > > > > > > >>
> > > > > > > >> as it happened many times before, nothing was displayed but
> > the
> > > > > > browser
> > > > > > > >> reports "waiting or localhost....". I then changed the code
> > to:
> > > > > > > >>
> > > > > > > >> e addImage: '*testimages.jpg*' size: 100@200.
> > > > > > > >>
> > > > > > > >> making it *testimages*.jpg which cannot be found in my
> > directory.
> > > > > > > >> Reloading
> > > > > > > >> the page allowed the browser to finish *without *the "waiting
> > for
> > > > > > > >> localhost.." There is something going on and I don't know what
> > it
> > > > is.
> > > > > > > >> Perhaps someone has an idea?
> > > > > > > >>
> > > > > > > >> Thanks in advance.
> > > > > > > >>
> > > > > > > >> ching de la serna
> > > > > > > >>
> > > > > > > >
> > > > > > > > --
> > > > > > > > Nicholas Moore
> > > > > > > > Skype: tsr_nicholas
> > > > > > > >
> > > > > > > > Check out my Blog
> > > > > > > >
> > > > > > > > "Still Running - that I may die in good health"
> > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > Aida mailing list
> > > > > > > > [hidden email]
> > > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > View this message in context:
> > > > > > > http://forum.world.st/photos-experiment-tp3308053p3308440.html
> > > > > > > Sent from the AIDA/Web mailing list archive at Nabble.com.
> > > > > > >
> > > > > > >
> > > > > > > ------------------------------
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > Aida mailing list
> > > > > > > [hidden email]
> > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > >
> > > > > > >
> > > > > > > End of Aida Digest, Vol 45, Issue 10
> > > > > > > ************************************
> > > > > > >
> > > > > > -------------- next part --------------
> > > > > > An HTML attachment was scrubbed...
> > > > > > URL:
> > > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/6f6c4b7a/attachment-0001.htm
> > > > > >
> > > > > > ------------------------------
> > > > > >
> > > > > > Message: 2
> > > > > > Date: Wed, 16 Feb 2011 12:40:44 +0100
> > > > > > From: Janko Miv?ek <[hidden email]>
> > > > > > Subject: Re: [aida] photos experiment
> > > > > > To: AIDA/Web general discussion list <[hidden email]>
> > > > > > Message-ID: <[hidden email]>
> > > > > > Content-Type: text/plain; charset=UTF-8
> > > > > >
> > > > > > Hi Ching,
> > > > > >
> > > > > > I'm trying to find some time to chase your problem, but in the
> > > > meantime,
> > > > > > can you try to open this jpg directly from browser.
> > > > > >
> > > > > > If you put testimage.jpg on a directory where your image started,
> > can
> > > > > > you open it from browser directly:
> > > > > >
> > > > > >        http://localhost:8888/testimage.jpg ?
> > > > > >
> > > > > > If not, can you open it through File->Open file ?
> > > > > >
> > > > > > Also, how did you start your image, double clicking from OneClick?
> > > > > >
> > > > > > It could be that default .\ path doesn't point to the right
> > directory,
> > > > > > can you change it to absolute path to your images directory:
> > > > > >
> > > > > >        AIDASite>>homeDirectory: 'c:\absolute path'
> > > > > >
> > > > > > Also which version of Windows do you use?
> > > > > >
> > > > > > Hope this would help a bit
> > > > > > JAnko
> > > > > >
> > > > > > On 16. 02. 2011 12:27, Ching de la Serna wrote:
> > > > > > > Hi All,
> > > > > > >
> > > > > > > I am inclined to believe that Nicholas is right about
> > permissions.
> > > > > > > Windows might be blocking the jpeg file from being displayed. I
> > > > changed
> > > > > > > the jpeg properties to "unblock" and restarted my computer. I
> > also
> > > > > > > downloaded Google Chrome thinking it might be a Firefox problem.
> > > > Nothing
> > > > > > > worked. I am ready to give up unless someone can point me in the
> > > > right
> > > > > > > direction.It seems kind of strange though, a jpeg from another
> > > > website
> > > > > > > displays with no problem while a local file is blocked. Strange
> > > > behavior
> > > > > > > if indeed it is an OS issue.
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > Ching de la Serna
> > > > > > >
> > > > > > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]
> > > > > > > <mailto:[hidden email]>> wrote:
> > > > > > >
> > > > > > >     Send Aida mailing list submissions to
> > > > > > >            [hidden email] <mailto:[hidden email]>
> > > > > > >
> > > > > > >     To subscribe or unsubscribe via the World Wide Web, visit
> > > > > > >            http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > >     or, via email, send a message with subject or body 'help' to
> > > > > > >            [hidden email] <mailto:
> > [hidden email]>
> > > > > > >
> > > > > > >     You can reach the person managing the list at
> > > > > > >            [hidden email] <mailto:[hidden email]>
> > > > > > >
> > > > > > >     When replying, please edit your Subject line so it is more
> > > > specific
> > > > > > >     than "Re: Contents of Aida digest..."
> > > > > > >
> > > > > > >
> > > > > > >     Today's Topics:
> > > > > > >
> > > > > > >       1. photos experiment (Ching de la Serna)
> > > > > > >       2. Re: photos experiment (Nicholas Moore)
> > > > > > >       3. Re: photos experiment (ching)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > ----------------------------------------------------------------------
> > > > > > >
> > > > > > >     Message: 1
> > > > > > >     Date: Wed, 16 Feb 2011 09:40:56 +0800
> > > > > > >     From: Ching de la Serna <[hidden email]
> > > > > > >     <mailto:[hidden email]>>
> > > > > > >     Subject: [aida] photos experiment
> > > > > > >     To: [hidden email] <mailto:[hidden email]>
> > > > > > >     Message-ID:
> > > > > > >            <
> > > > [hidden email]
> > > > > > >     <mailto:
> > > > [hidden email]
> > > > > > >>
> > > > > > >     Content-Type: text/plain; charset="iso-8859-1"
> > > > > > >
> > > > > > >     Hi,
> > > > > > >
> > > > > > >     Aida is such an amazing web framework but I am finding it
> > > > difficult
> > > > > > to
> > > > > > >     display photos. After failing to display images from my local
> > > > disk, I
> > > > > > >     started anew with a clean ver6.2 with the hope that it might
> > lead
> > > > me
> > > > > > >     somewhere. Placing a jpeg file in my root directory, I had
> > > > > > >
> > > > > > >     e addImage: 'testimage.jpg' size: 100@200.
> > > > > > >
> > > > > > >     as it happened many times before, nothing was displayed but
> > the
> > > > > > browser
> > > > > > >     reports "waiting or localhost....". I then changed the code
> > to:
> > > > > > >
> > > > > > >     e addImage: '*testimages.jpg*' size: 100@200.
> > > > > > >
> > > > > > >     making it *testimages*.jpg which cannot be found in my
> > directory.
> > > > > > >     Reloading
> > > > > > >     the page allowed the browser to finish *without *the "waiting
> > for
> > > > > > >     localhost.." There is something going on and I don't know
> > what it
> > > > is.
> > > > > > >     Perhaps someone has an idea?
> > > > > > >
> > > > > > >     Thanks in advance.
> > > > > > >
> > > > > > >     ching de la serna
> > > > > > >     -------------- next part --------------
> > > > > > >     An HTML attachment was scrubbed...
> > > > > > >     URL:
> > > > > > >
> > > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
> > > > > > >
> > > > > > >     ------------------------------
> > > > > > >
> > > > > > >     Message: 2
> > > > > > >     Date: Wed, 16 Feb 2011 09:40:11 +0100
> > > > > > >     From: Nicholas Moore <[hidden email]
> > > > > > >     <mailto:[hidden email]>>
> > > > > > >     Subject: Re: [aida] photos experiment
> > > > > > >     To: "AIDA/Web general discussion list" <[hidden email]
> > > > > > >     <mailto:[hidden email]>>
> > > > > > >     Message-ID: <[hidden email]
> > > > > > >     <mailto:[hidden email]>>
> > > > > > >     Content-Type: text/plain; charset="iso-8859-15"
> > > > > > >
> > > > > > >     Hi Ching,
> > > > > > >
> > > > > > >     Are you using Linux - maybe it is an issue with permissions -
> > > > does
> > > > > > >     the httpd user have access to the jpg file?
> > > > > > >
> > > > > > >     On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > > > > > >     > Hi,
> > > > > > >     >
> > > > > > >     > Aida is such an amazing web framework but I am finding it
> > > > difficult
> > > > > > to
> > > > > > >     > display photos. After failing to display images from my
> > local
> > > > disk,
> > > > > > I
> > > > > > >     > started anew with a clean ver6.2 with the hope that it
> > might
> > > > lead
> > > > > > me
> > > > > > >     > somewhere. Placing a jpeg file in my root directory, I had
> > > > > > >     >
> > > > > > >     > e addImage: 'testimage.jpg' size: 100@200.
> > > > > > >     >
> > > > > > >     > as it happened many times before, nothing was displayed but
> > the
> > > > > > >     browser
> > > > > > >     > reports "waiting or localhost....". I then changed the code
> > to:
> > > > > > >     >
> > > > > > >     > e addImage: '*testimages.jpg*' size: 100@200.
> > > > > > >     >
> > > > > > >     > making it *testimages*.jpg which cannot be found in my
> > > > directory.
> > > > > > >     Reloading
> > > > > > >     > the page allowed the browser to finish *without *the
> > "waiting
> > > > for
> > > > > > >     > localhost.." There is something going on and I don't know
> > what
> > > > it
> > > > > > is.
> > > > > > >     > Perhaps someone has an idea?
> > > > > > >     >
> > > > > > >     > Thanks in advance.
> > > > > > >     >
> > > > > > >     > ching de la serna
> > > > > > >     >
> > > > > > >
> > > > > > >     --
> > > > > > >     Nicholas Moore
> > > > > > >     Skype: tsr_nicholas
> > > > > > >
> > > > > > >     Check out my Blog
> > > > > > >
> > > > > > >     "Still Running - that I may die in good health"
> > > > > > >     -------------- next part --------------
> > > > > > >     An HTML attachment was scrubbed...
> > > > > > >     URL:
> > > > > > >
> > > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
> > > > > > >
> > > > > > >     ------------------------------
> > > > > > >
> > > > > > >     Message: 3
> > > > > > >     Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
> > > > > > >     From: ching <[hidden email] <mailto:[hidden email]
> > >>
> > > > > > >     Subject: Re: [aida] photos experiment
> > > > > > >     To: [hidden email] <mailto:[hidden email]>
> > > > > > >     Message-ID: <[hidden email]
> > > > > > >     <mailto:[hidden email]>>
> > > > > > >     Content-Type: text/plain; charset=us-ascii
> > > > > > >
> > > > > > >
> > > > > > >     Hi Nicholas,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >     Nicholas Moore wrote:
> > > > > > >     >
> > > > > > >     > Hi Ching,
> > > > > > >     >
> > > > > > >     > Are you using Linux - maybe it is an issue with permissions
> > -
> > > > does
> > > > > > the
> > > > > > >     > httpd user have access to the jpg file?
> > > > > > >     >
> > > > > > >     > I am just using Windows and I'm not sure if I need
> > permissions
> > > > to
> > > > > > >     use the
> > > > > > >     > jpg files in my directory. I remember displaying images
> > using
> > > > > > >     Seaside and
> > > > > > >     > I did not really have any problem doing it whether on my
> > local
> > > > > > >     machine or
> > > > > > >     > behind Apache. I am thinking of keeping everything in
> > Smalltalk
> > > > > > >     > (Swazoo/Aida).
> > > > > > >     >
> > > > > > >     > Thanks for the response,
> > > > > > >     >
> > > > > > >     > ching
> > > > > > >     >
> > > > > > >     > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > > > > > >     >> Hi,
> > > > > > >     >>
> > > > > > >     >> Aida is such an amazing web framework but I am finding it
> > > > > > >     difficult to
> > > > > > >     >> display photos. After failing to display images from my
> > local
> > > > > > disk, I
> > > > > > >     >> started anew with a clean ver6.2 with the hope that it
> > might
> > > > lead
> > > > > > me
> > > > > > >     >> somewhere. Placing a jpeg file in my root directory, I had
> > > > > > >     >>
> > > > > > >     >> e addImage: 'testimage.jpg' size: 100@200.
> > > > > > >     >>
> > > > > > >     >> as it happened many times before, nothing was displayed
> > but
> > > > the
> > > > > > >     browser
> > > > > > >     >> reports "waiting or localhost....". I then changed the
> > code
> > > > to:
> > > > > > >     >>
> > > > > > >     >> e addImage: '*testimages.jpg*' size: 100@200.
> > > > > > >     >>
> > > > > > >     >> making it *testimages*.jpg which cannot be found in my
> > > > directory.
> > > > > > >     >> Reloading
> > > > > > >     >> the page allowed the browser to finish *without *the
> > "waiting
> > > > for
> > > > > > >     >> localhost.." There is something going on and I don't know
> > what
> > > > it
> > > > > > is.
> > > > > > >     >> Perhaps someone has an idea?
> > > > > > >     >>
> > > > > > >     >> Thanks in advance.
> > > > > > >     >>
> > > > > > >     >> ching de la serna
> > > > > > >     >>
> > > > > > >     >
> > > > > > >     > --
> > > > > > >     > Nicholas Moore
> > > > > > >     > Skype: tsr_nicholas
> > > > > > >     >
> > > > > > >     > Check out my Blog
> > > > > > >     >
> > > > > > >     > "Still Running - that I may die in good health"
> > > > > > >     >
> > > > > > >     > _______________________________________________
> > > > > > >     > Aida mailing list
> > > > > > >     > [hidden email] <mailto:[hidden email]>
> > > > > > >     > http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > >     >
> > > > > > >     >
> > > > > > >
> > > > > > >     --
> > > > > > >     View this message in context:
> > > > > > >
> > http://forum.world.st/photos-experiment-tp3308053p3308440.html
> > > > > > >     Sent from the AIDA/Web mailing list archive at Nabble.com.
> > > > > > >
> > > > > > >
> > > > > > >     ------------------------------
> > > > > > >
> > > > > > >     _______________________________________________
> > > > > > >     Aida mailing list
> > > > > > >     [hidden email] <mailto:[hidden email]>
> > > > > > >     http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > > >
> > > > > > >
> > > > > > >     End of Aida Digest, Vol 45, Issue 10
> > > > > > >     ************************************
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > Aida mailing list
> > > > > > > [hidden email]
> > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > >
> > > > > > --
> > > > > > Janko Miv?ek
> > > > > > AIDA/Web
> > > > > > Smalltalk Web Application Server
> > > > > > http://www.aidaweb.si
> > > > > >
> > > > > >
> > > > > > ------------------------------
> > > > > >
> > > > > > Message: 3
> > > > > > Date: Wed, 16 Feb 2011 15:16:42 +0100
> > > > > > From: Nicholas Moore <[hidden email]>
> > > > > > Subject: Re: [aida] 6.2 tests
> > > > > > To: "AIDA/Web general discussion list" <[hidden email]>
> > > > > > Message-ID: <[hidden email]>
> > > > > > Content-Type: text/plain; charset="utf-8"
> > > > > >
> > > > > > I have tested with a vanilla VW and it works as you would expect -
> > good
> > > > > > news. I used several different local variations in my hosts file
> > and
> > > > all
> > > > > > worked okay - returning 'aidasession/ajax'.
> > > > > >
> > > > > > So then I returned to my own image and retested it - but was not
> > able
> > > > to
> > > > > > reproduce the error - it too returned the correct value. There must
> > > > have
> > > > > > been some spurious condition associated with my previous test image
> > and
> > > > > > perhaps earlier exceptions.
> > > > > >
> > > > > > Anyway, all works as expected and my sites are now live with 6.2.
> > > > > >
> > > > > > Nicholas
> > > > > >
> > > > > > On Tuesday 15 Feb 2011 14:28:54 Janko Miv?ek wrote:
> > > > > > >
> > > > > > > On 14. 02. 2011 21:20, Nicholas Moore wrote:
> > > > > > > > Excellent - I had not created the route explicitly to my blog
> > site!
> > > > > > > > However the request subsequently failed here:
> > > > > > > > WebSession >> printHTMLPageOn: aStream for: aRequest on:
> > > > aWebSession
> > > > > > > > aRequest urlString = '/aidasession/ajax' ifTrue:
> > > > > > > > because the actual request urlString is: '
> > > > > > http://mysite/aidasession/ajax'.
> > > > > > > > I have changed that test to:
> > > > > > > > (aRequest urlString containsSubstring: '/aidasession/ajax')
> > > > ifTrue:>
> > > > > > > > and everything works as desired.
> > > > > > >
> > > > > > > This is interesting, from where aRequest urlString works
> > differently
> > > > in
> > > > > > >  your image comparing with fresh install into vanilla VW 7.7 (for
> > > > > > > nistance) image from Public Store. Can you try this too?
> > > > > > >
> > > > > > > Best regards
> > > > > > > Janko
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > > Nicholas
> > > > > > > >
> > > > > > > > On Monday 14 Feb 2011 19:51:06 Janko Miv?ek wrote:
> > > > > > > >
> > > > > > > >> Hi Nicolas,
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> On 14. 02. 2011 19:39, Nicholas Moore wrote:
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> > From the demo.html page for ajax in 6.2, when I click on
> > 'click
> > > > me
> > > > > > for
> > > > > > > >
> > > > > > > >> > popup' I have trapped a SwazooStream. It generates a
> > requestURI
> > > > > > which is
> > > > > > > >
> > > > > > > >> > '/aidasession/ajax'.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> > On the 6.1 version the equivalent requestURI is 'demo.html'
> > (as
> > > > I
> > > > > > would
> > > > > > > >
> > > > > > > >> > expect).
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> > Where does the '/aidasession/ajax URI come from?
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> This is major new behavior on new event framework - all Ajax
> > and
> > > > > > > >
> > > > > > > >> WebSocket JSON messages go to this Url, that is, to your
> > session,
> > > > > > which
> > > > > > > >
> > > > > > > >> then find the right App and pass it the event. This Url is in
> > > > > > JavaScript
> > > > > > > >
> > > > > > > >> code, see WebStyle js13Events. The Url of actual page is
> > included
> > > > in
> > > > > > > >
> > > > > > > >> this message.
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> Inspect the WebRouter (AIDASite default router) if there is a
> > > > route to
> > > > > > > >
> > > > > > > >> the session manager. If you did the upgrade script, it should
> > be
> > > > there
> > > > > > > >
> > > > > > > >> already. If not, rerun that addSessionManagerRoute line.
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> In Firebug's console, do you see any error messages?
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> Hope this helps
> > > > > > > >
> > > > > > > >> JAnko
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> > On Monday 14 Feb 2011 11:35:21 Nicholas Moore wrote:
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> Janko,
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> After running the script that you described prior to
> > upgrade I
> > > > was
> > > > > > > >
> > > > > > > >> > able to install 6.2 cleanly without any problems - good
> > work!
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> During testing (on VW) I came across a couple of snags:
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> 1) The method String >> replaceSpecialCharacters contains
> > > > or:or:
> > > > > > which
> > > > > > > >
> > > > > > > >> > does not work in VW (but is ok in Pharo and Squeak). I
> > changed
> > > > it
> > > > > > to:
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> replaceSpecialCharacters
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> |str|
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> str := self copy.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> str do: [:ch | |ascii|
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> ascii := ch asInteger.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> ((ascii >= 65 and: [ ascii <= 90 ]) or: [
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> ( ascii >= 97 and: [ ascii <= 122 ]) or: [ch isDigit or:
> > [ch =
> > > > $/
> > > > > > or:
> > > > > > > >
> > > > > > > >> > [ch = $.]]]])
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> ifFalse: [str replaceAll: ch with: $-]].
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> ^str
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> 2) I needed to upgrade my version of TinyMCE -
> > > > richEditorInitScript
> > > > > > > >
> > > > > > > >> > has changed.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> 3) I have a problem with ajax calls. I previously used
> > > > > > > >
> > > > > > > >> > 'afterPostUpdate:' which is deprecated. I changed to
> > > > > > > >
> > > > > > > >> > 'onChangePostAndUpdate::' but that did not work (no error,
> > > > simply
> > > > > > > >
> > > > > > > >> > nothing happened). I do not yet know why, I will need to do
> > some
> > > > > > > >
> > > > > > > >> > debugging this week. I also found that the WebDemo ajax page
> > did
> > > > not
> > > > > > > >
> > > > > > > >> > work properly (the update and popup methods seemed to have
> > no
> > > > > > effect.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> Therefore I am unsure whether the problem lies in my
> > > > implementation
> > > > > > or
> > > > > > > >
> > > > > > > >> > elsewhere. I reverted to my same app using 6.1 and the
> > WebDemo
> > > > ajax
> > > > > > page
> > > > > > > >
> > > > > > > >> > worked perfectly. If anyone else could test this and see how
> > the
> > > > > > demo
> > > > > > > >
> > > > > > > >> > app works, that would save me some time.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> By the way, I notice that WebApplication >>
> > > > respondToAjaxRequest:
> > > > > > is
> > > > > > > >
> > > > > > > >> > in the 'private-obsolete' protocol, should that be in
> > > > > > 'private-ajax'?
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> Otherwise the new features look great, in particular I am
> > > > looking
> > > > > > > >
> > > > > > > >> > forward to getting to grips with JSON.
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> Regards
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >> Nicholas
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >>
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >> >
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Nicholas Moore
> > > > > > Skype: tsr_nicholas
> > > > > >
> > > > > > Check out my Blog
> > > > > >
> > > > > > "Still Running - that I may die in good health"
> > > > > > -------------- next part --------------
> > > > > > An HTML attachment was scrubbed...
> > > > > > URL:
> > > > > >
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/5d913c94/attachment.htm
> > > > > >
> > > > > > ------------------------------
> > > > > >
> > > > > > _______________________________________________
> > > > > > Aida mailing list
> > > > > > [hidden email]
> > > > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > > > >
> > > > > >
> > > > > > End of Aida Digest, Vol 45, Issue 11
> > > > > > ************************************
> > > > > >
> > > > >
> > > >
> > > > --
> > > > Nicholas Moore
> > > > Skype: tsr_nicholas
> > > >
> > > > Check out my Blog
> > > >
> > > > "Still Running - that I may die in good health"
> > > > -------------- next part --------------
> > > > An HTML attachment was scrubbed...
> > > > URL:
> > > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/b2fbcf0f/attachment.htm
> > > >
> > > > ------------------------------
> > > >
> > > > _______________________________________________
> > > > Aida mailing list
> > > > [hidden email]
> > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > > >
> > > >
> > > > End of Aida Digest, Vol 45, Issue 13
> > > > ************************************
> > > >
> > >
> >
> > --
> > Nicholas Moore
> > Skype: tsr_nicholas
> >
> > Check out my Blog
> >
> > "Still Running - that I may die in good health"
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/acbf1bb0/attachment.htm
> >
> > ------------------------------
> >
> > _______________________________________________
> > Aida mailing list
> > [hidden email]
> > http://lists.aidaweb.si/mailman/listinfo/aida
> >
> >
> > End of Aida Digest, Vol 45, Issue 15
> > ************************************
> >
>


------------------------------

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida


End of Aida Digest, Vol 45, Issue 17
************************************


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

Nicholas Moore

Ching,

That all looks good. I have replicated what you have shown me in a vanilla vw and aida image and it works as expected, showing an image on the addressbook.html page.

So to my mind that suggests the solution is in either an OS setting or in the jpeg properties. Unfortunately I do not have a Windows test environment available at the moment. But I may do next week if the problem is still unsolved.

Nicholas

On Wednesday 16 Feb 2011 18:35:52 Ching de la Serna wrote:

> Hi Nicholas.

>

> This is what I have:

>

> WebApplication subclass: #ADemoAddressBookApp

> viewMain

> | e |

> e := WebElement new.

> e addTextH1: 'Address book'.

> * e addImage: 'testimage.jpg' size: 100@200.*

> self style pageFrameWith: e title: 'Address book'

>

> In a workspace I evaluated this: book _ ADemoAddressBook new.

>

> Ching

>

> On Thu, Feb 17, 2011 at 1:17 AM, <[hidden email]> wrote:

>

> > Send Aida mailing list submissions to

> > [hidden email]

> >

> > To subscribe or unsubscribe via the World Wide Web, visit

> > http://lists.aidaweb.si/mailman/listinfo/aida

> > or, via email, send a message with subject or body 'help' to

> > [hidden email]

> >

> > You can reach the person managing the list at

> > [hidden email]

> >

> > When replying, please edit your Subject line so it is more specific

> > than "Re: Contents of Aida digest..."

> >

> >

> > Today's Topics:

> >

> > 1. Re: photos experiment (Nicholas Moore)

> >

> >

> > ----------------------------------------------------------------------

> >

> > Message: 1

> > Date: Wed, 16 Feb 2011 18:17:21 +0100

> > From: Nicholas Moore <[hidden email]>

> > Subject: Re: [aida] photos experiment

> > To: "AIDA/Web general discussion list" <[hidden email]>

> > Message-ID: <[hidden email]>

> > Content-Type: Text/Plain; charset="iso-8859-15"

> >

> > Ok - a couple of questions to help me help:

> >

> > Which class is #viewMain defined in?

> > Can you please paste what you have in viewMain?

> > How is your object 'book' defined and instantiated? in a workspace or in

> > another method? can you please show me?

> >

> > N

> >

> >

> >

> > On Wednesday 16 Feb 2011 17:38:51 Ching de la Serna wrote:

> > > Hi Nicholas,

> > >

> > > What I have is this: *(AIDASite named: 'aidademo') urlResolver

> > defaultURL:

> > > '/addressbook.html' forObject: book.

> > > *which is what the tutorial has and I merely placed in #viewMain e

> > > addImage: 'testimage.jpg' size: 100@200. just to test if a jpeg file can

> > be

> > > displayed.

> > >

> > > Ching

> > >

> > > On Thu, Feb 17, 2011 at 12:15 AM, <[hidden email]> wrote:

> > >

> > > > Send Aida mailing list submissions to

> > > > [hidden email]

> > > >

> > > > To subscribe or unsubscribe via the World Wide Web, visit

> > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > or, via email, send a message with subject or body 'help' to

> > > > [hidden email]

> > > >

> > > > You can reach the person managing the list at

> > > > [hidden email]

> > > >

> > > > When replying, please edit your Subject line so it is more specific

> > > > than "Re: Contents of Aida digest..."

> > > >

> > > >

> > > > Today's Topics:

> > > >

> > > > 1. Re: photos experiment. (Nicholas Moore)

> > > >

> > > >

> > > > ----------------------------------------------------------------------

> > > >

> > > > Message: 1

> > > > Date: Wed, 16 Feb 2011 17:15:26 +0100

> > > > From: Nicholas Moore <[hidden email]>

> > > > Subject: Re: [aida] photos experiment.

> > > > To: "AIDA/Web general discussion list" <[hidden email]>

> > > > Message-ID: <[hidden email]>

> > > > Content-Type: text/plain; charset="iso-8859-15"

> > > >

> > > > Have you instantiated an object which is the observee for the page you

> > are

> > > > trying to display and told the site about it?

> > > >

> > > > Something like this:

> > > >

> > > > (AIDASite named: 'demo') urlResolver defaultURL: '/test.html

> > forObject:

> > > > (AIDASite named: 'demo') test.

> > > >

> > > >

> > > > Nicholas

> > > >

> > > > On Wednesday 16 Feb 2011 17:01:55 Ching de la Serna wrote:

> > > > > Hi Nicholas,

> > > > >

> > > > > Thanks for the help. It was stupid of me to send the message to the

> > class

> > > > > instead of the instance. The good news is that the error and my

> > ignorance

> > > > > have been corrected. Also, when running the following on the browser,

> > > > >

> > > > > http://localhost:8888/testimage.jpg I now get a *404 Not Found

> > Error*.

> > > > Still

> > > > > far from success but surely inching closer.

> > > > >

> > > > > Ching

> > > > >

> > > > > On Wed, Feb 16, 2011 at 11:44 PM, <[hidden email]> wrote:

> > > > >

> > > > > > Send Aida mailing list submissions to

> > > > > > [hidden email]

> > > > > >

> > > > > > To subscribe or unsubscribe via the World Wide Web, visit

> > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > or, via email, send a message with subject or body 'help' to

> > > > > > [hidden email]

> > > > > >

> > > > > > You can reach the person managing the list at

> > > > > > [hidden email]

> > > > > >

> > > > > > When replying, please edit your Subject line so it is more specific

> > > > > > than "Re: Contents of Aida digest..."

> > > > > >

> > > > > >

> > > > > > Today's Topics:

> > > > > >

> > > > > > 1. Re: photos experiment (Nicholas Moore)

> > > > > >

> > > > > >

> > > > > >

> > ----------------------------------------------------------------------

> > > > > >

> > > > > > Message: 1

> > > > > > Date: Wed, 16 Feb 2011 16:43:47 +0100

> > > > > > From: Nicholas Moore <[hidden email]>

> > > > > > Subject: Re: [aida] photos experiment

> > > > > > To: "AIDA/Web general discussion list" <[hidden email]>

> > > > > > Message-ID: <[hidden email]>

> > > > > > Content-Type: text/plain; charset="iso-8859-15"

> > > > > >

> > > > > > Hi Ching,

> > > > > >

> > > > > > Where you get this:

> > > > > >

> > > > > > AIDASite homeDirectory.: '"

> > > > > > C:\Documents and Settings\ADMIN\My

> > > > > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"'

> > and

> > > > got

> > > > > > the same error message: doesNotUnderstand: #homeDirectory

> > > > > >

> > > > > > It is because you are sending homeDirectory: to the class AIDASite

> > > > rather

> > > > > > than an instance,

> > > > > >

> > > > > > i.e (AIDASite named: 'mysite') homeDirectory: .....

> > > > > >

> > > > > > Nicholas

> > > > > >

> > > > > > On Wednesday 16 Feb 2011 16:35:54 Ching de la Serna wrote:

> > > > > > > Hi Janko

> > > > > > >

> > > > > > > Thanks for taking the time. I did as you suggested. The results

> > are

> > > > > > below:

> > > > > > >

> > > > > > > Hi Ching,

> > > > > > > >

> > > > > > >

> > > > > > > I'm trying to find some time to chase your problem, but in the

> > > > meantime,

> > > > > > > can you try to open this jpg directly from browser.

> > > > > > >

> > > > > > > If you put testimage.jpg on a directory where your image started,

> > can

> > > > > > > you open it from browser directly:

> > > > > > >

> > > > > > > http://localhost:8888/testimage.jpg ?

> > > > > > > This does not open the jpeg file.

> > > > > > >

> > > > > > > If not, can you open it through File->Open file ?

> > > > > > > I could open once I *unblocked *the testimage.jpg file. Windows

> > was

> > > > > > blocking

> > > > > > > it the first time I tried. After I was able to do this, I tried

> > doing

> > > > the

> > > > > > > above http://localhost:8888/testimage.jpg and it would still

> > not

> > > > open.

> > > > > > >

> > > > > > > Also, how did you start your image, double clicking from

> > OneClick?

> > > > > > > I loaded from Monticello the three files: *Sport-2.031.mcz ,

> > > > > > > Swazoo-2.3beta2.1.mcz, Aida6.2-final.1.mcz *which I downloaded

> > > > separately

> > > > > > I

> > > > > > > use Sqeak4.1

> > > > > > >

> > > > > > > It could be that default .\ path doesn't point to the right

> > > > directory,

> > > > > > > can you change it to absolute path to your images directory:

> > > > > > >

> > > > > > > AIDASite>>homeDirectory: 'c:\absolute path'

> > > > > > > I evaluated :

> > > > > > > AIDASite homeDirectory.: '

> > > > > > > C:\Documents and Settings\ADMIN\My

> > > > > > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1'

> > > > > > > and got an error:doesNotUnderstand: #homeDirectory

> > > > > > >

> > > > > > > I tried enclosing in ""

> > > > > > > AIDASite homeDirectory.: '"

> > > > > > > C:\Documents and Settings\ADMIN\My

> > > > > > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak

> > 4.1"'

> > > > and

> > > > > > got

> > > > > > > the same error message: doesNotUnderstand: #homeDirectory

> > > > > > >

> > > > > > > Also which version of Windows do you use?

> > > > > > > I use Windows XP

> > > > > > >

> > > > > > > Hope this would help a bit

> > > > > > > JAnko

> > > > > > >

> > > > > > > Ching

> > > > > > >

> > > > > > > On Wed, Feb 16, 2011 at 10:17 PM, <[hidden email]>

> > wrote:

> > > > > > >

> > > > > > > > Send Aida mailing list submissions to

> > > > > > > > [hidden email]

> > > > > > > >

> > > > > > > > To subscribe or unsubscribe via the World Wide Web, visit

> > > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > > > or, via email, send a message with subject or body 'help' to

> > > > > > > > [hidden email]

> > > > > > > >

> > > > > > > > You can reach the person managing the list at

> > > > > > > > [hidden email]

> > > > > > > >

> > > > > > > > When replying, please edit your Subject line so it is more

> > specific

> > > > > > > > than "Re: Contents of Aida digest..."

> > > > > > > >

> > > > > > > >

> > > > > > > > Today's Topics:

> > > > > > > >

> > > > > > > > 1. Re: photos experiment (Ching de la Serna)

> > > > > > > > 2. Re: photos experiment (Janko Miv?ek)

> > > > > > > > 3. Re: 6.2 tests (Nicholas Moore)

> > > > > > > >

> > > > > > > >

> > > > > > > >

> > > > ----------------------------------------------------------------------

> > > > > > > >

> > > > > > > > Message: 1

> > > > > > > > Date: Wed, 16 Feb 2011 19:27:14 +0800

> > > > > > > > From: Ching de la Serna <[hidden email]>

> > > > > > > > Subject: Re: [aida] photos experiment

> > > > > > > > To: [hidden email]

> > > > > > > > Message-ID:

> > > > > > > > <

> > > > [hidden email]>

> > > > > > > > Content-Type: text/plain; charset="iso-8859-1"

> > > > > > > >

> > > > > > > > Hi All,

> > > > > > > >

> > > > > > > > I am inclined to believe that Nicholas is right about

> > permissions.

> > > > > > Windows

> > > > > > > > might be blocking the jpeg file from being displayed. I changed

> > the

> > > > > > jpeg

> > > > > > > > properties to "unblock" and restarted my computer. I also

> > > > downloaded

> > > > > > Google

> > > > > > > > Chrome thinking it might be a Firefox problem. Nothing worked.

> > I am

> > > > > > ready

> > > > > > > > to

> > > > > > > > give up unless someone can point me in the right direction.It

> > seems

> > > > > > kind of

> > > > > > > > strange though, a jpeg from another website displays with no

> > > > problem

> > > > > > while

> > > > > > > > a

> > > > > > > > local file is blocked. Strange behavior if indeed it is an OS

> > > > issue.

> > > > > > > >

> > > > > > > > Thanks,

> > > > > > > >

> > > > > > > > Ching de la Serna

> > > > > > > >

> > > > > > > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]>

> > wrote:

> > > > > > > >

> > > > > > > > > Send Aida mailing list submissions to

> > > > > > > > > [hidden email]

> > > > > > > > >

> > > > > > > > > To subscribe or unsubscribe via the World Wide Web, visit

> > > > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > > > > or, via email, send a message with subject or body 'help' to

> > > > > > > > > [hidden email]

> > > > > > > > >

> > > > > > > > > You can reach the person managing the list at

> > > > > > > > > [hidden email]

> > > > > > > > >

> > > > > > > > > When replying, please edit your Subject line so it is more

> > > > specific

> > > > > > > > > than "Re: Contents of Aida digest..."

> > > > > > > > >

> > > > > > > > >

> > > > > > > > > Today's Topics:

> > > > > > > > >

> > > > > > > > > 1. photos experiment (Ching de la Serna)

> > > > > > > > > 2. Re: photos experiment (Nicholas Moore)

> > > > > > > > > 3. Re: photos experiment (ching)

> > > > > > > > >

> > > > > > > > >

> > > > > > > > >

> > > > > >

> > ----------------------------------------------------------------------

> > > > > > > > >

> > > > > > > > > Message: 1

> > > > > > > > > Date: Wed, 16 Feb 2011 09:40:56 +0800

> > > > > > > > > From: Ching de la Serna <[hidden email]>

> > > > > > > > > Subject: [aida] photos experiment

> > > > > > > > > To: [hidden email]

> > > > > > > > > Message-ID:

> > > > > > > > > <

> > > > [hidden email]

> > > > > > >

> > > > > > > > > Content-Type: text/plain; charset="iso-8859-1"

> > > > > > > > >

> > > > > > > > > Hi,

> > > > > > > > >

> > > > > > > > > Aida is such an amazing web framework but I am finding it

> > > > difficult

> > > > > > to

> > > > > > > > > display photos. After failing to display images from my local

> > > > disk, I

> > > > > > > > > started anew with a clean ver6.2 with the hope that it might

> > lead

> > > > me

> > > > > > > > > somewhere. Placing a jpeg file in my root directory, I had

> > > > > > > > >

> > > > > > > > > e addImage: 'testimage.jpg' size: 100@200.

> > > > > > > > >

> > > > > > > > > as it happened many times before, nothing was displayed but

> > the

> > > > > > browser

> > > > > > > > > reports "waiting or localhost....". I then changed the code

> > to:

> > > > > > > > >

> > > > > > > > > e addImage: '*testimages.jpg*' size: 100@200.

> > > > > > > > >

> > > > > > > > > making it *testimages*.jpg which cannot be found in my

> > directory.

> > > > > > > > Reloading

> > > > > > > > > the page allowed the browser to finish *without *the "waiting

> > for

> > > > > > > > > localhost.." There is something going on and I don't know

> > what it

> > > > is.

> > > > > > > > > Perhaps someone has an idea?

> > > > > > > > >

> > > > > > > > > Thanks in advance.

> > > > > > > > >

> > > > > > > > > ching de la serna

> > > > > > > > > -------------- next part --------------

> > > > > > > > > An HTML attachment was scrubbed...

> > > > > > > > > URL:

> > > > > > > > >

> > > > > > > >

> > > > > >

> > > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html

> > > > > > > > >

> > > > > > > > > ------------------------------

> > > > > > > > >

> > > > > > > > > Message: 2

> > > > > > > > > Date: Wed, 16 Feb 2011 09:40:11 +0100

> > > > > > > > > From: Nicholas Moore <[hidden email]>

> > > > > > > > > Subject: Re: [aida] photos experiment

> > > > > > > > > To: "AIDA/Web general discussion list" <[hidden email]>

> > > > > > > > > Message-ID: <[hidden email]>

> > > > > > > > > Content-Type: text/plain; charset="iso-8859-15"

> > > > > > > > >

> > > > > > > > > Hi Ching,

> > > > > > > > >

> > > > > > > > > Are you using Linux - maybe it is an issue with permissions -

> > > > does

> > > > > > the

> > > > > > > > > httpd user have access to the jpg file?

> > > > > > > > >

> > > > > > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:

> > > > > > > > > > Hi,

> > > > > > > > > >

> > > > > > > > > > Aida is such an amazing web framework but I am finding it

> > > > difficult

> > > > > > to

> > > > > > > > > > display photos. After failing to display images from my

> > local

> > > > disk,

> > > > > > I

> > > > > > > > > > started anew with a clean ver6.2 with the hope that it

> > might

> > > > lead

> > > > > > me

> > > > > > > > > > somewhere. Placing a jpeg file in my root directory, I had

> > > > > > > > > >

> > > > > > > > > > e addImage: 'testimage.jpg' size: 100@200.

> > > > > > > > > >

> > > > > > > > > > as it happened many times before, nothing was displayed but

> > the

> > > > > > browser

> > > > > > > > > > reports "waiting or localhost....". I then changed the code

> > to:

> > > > > > > > > >

> > > > > > > > > > e addImage: '*testimages.jpg*' size: 100@200.

> > > > > > > > > >

> > > > > > > > > > making it *testimages*.jpg which cannot be found in my

> > > > directory.

> > > > > > > > > Reloading

> > > > > > > > > > the page allowed the browser to finish *without *the

> > "waiting

> > > > for

> > > > > > > > > > localhost.." There is something going on and I don't know

> > what

> > > > it

> > > > > > is.

> > > > > > > > > > Perhaps someone has an idea?

> > > > > > > > > >

> > > > > > > > > > Thanks in advance.

> > > > > > > > > >

> > > > > > > > > > ching de la serna

> > > > > > > > > >

> > > > > > > > >

> > > > > > > > > --

> > > > > > > > > Nicholas Moore

> > > > > > > > > Skype: tsr_nicholas

> > > > > > > > >

> > > > > > > > > Check out my Blog

> > > > > > > > >

> > > > > > > > > "Still Running - that I may die in good health"

> > > > > > > > > -------------- next part --------------

> > > > > > > > > An HTML attachment was scrubbed...

> > > > > > > > > URL:

> > > > > > > > >

> > > > > > > >

> > > > > >

> > > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm

> > > > > > > > >

> > > > > > > > > ------------------------------

> > > > > > > > >

> > > > > > > > > Message: 3

> > > > > > > > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)

> > > > > > > > > From: ching <[hidden email]>

> > > > > > > > > Subject: Re: [aida] photos experiment

> > > > > > > > > To: [hidden email]

> > > > > > > > > Message-ID: <[hidden email]>

> > > > > > > > > Content-Type: text/plain; charset=us-ascii

> > > > > > > > >

> > > > > > > > >

> > > > > > > > > Hi Nicholas,

> > > > > > > > >

> > > > > > > > >

> > > > > > > > >

> > > > > > > > > Nicholas Moore wrote:

> > > > > > > > > >

> > > > > > > > > > Hi Ching,

> > > > > > > > > >

> > > > > > > > > > Are you using Linux - maybe it is an issue with permissions

> > -

> > > > does

> > > > > > the

> > > > > > > > > > httpd user have access to the jpg file?

> > > > > > > > > >

> > > > > > > > > > I am just using Windows and I'm not sure if I need

> > permissions

> > > > to

> > > > > > use

> > > > > > > > the

> > > > > > > > > > jpg files in my directory. I remember displaying images

> > using

> > > > > > Seaside

> > > > > > > > and

> > > > > > > > > > I did not really have any problem doing it whether on my

> > local

> > > > > > machine

> > > > > > > > or

> > > > > > > > > > behind Apache. I am thinking of keeping everything in

> > Smalltalk

> > > > > > > > > > (Swazoo/Aida).

> > > > > > > > > >

> > > > > > > > > > Thanks for the response,

> > > > > > > > > >

> > > > > > > > > > ching

> > > > > > > > > >

> > > > > > > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:

> > > > > > > > > >> Hi,

> > > > > > > > > >>

> > > > > > > > > >> Aida is such an amazing web framework but I am finding it

> > > > > > difficult to

> > > > > > > > > >> display photos. After failing to display images from my

> > local

> > > > > > disk, I

> > > > > > > > > >> started anew with a clean ver6.2 with the hope that it

> > might

> > > > lead

> > > > > > me

> > > > > > > > > >> somewhere. Placing a jpeg file in my root directory, I had

> > > > > > > > > >>

> > > > > > > > > >> e addImage: 'testimage.jpg' size: 100@200.

> > > > > > > > > >>

> > > > > > > > > >> as it happened many times before, nothing was displayed

> > but

> > > > the

> > > > > > > > browser

> > > > > > > > > >> reports "waiting or localhost....". I then changed the

> > code

> > > > to:

> > > > > > > > > >>

> > > > > > > > > >> e addImage: '*testimages.jpg*' size: 100@200.

> > > > > > > > > >>

> > > > > > > > > >> making it *testimages*.jpg which cannot be found in my

> > > > directory.

> > > > > > > > > >> Reloading

> > > > > > > > > >> the page allowed the browser to finish *without *the

> > "waiting

> > > > for

> > > > > > > > > >> localhost.." There is something going on and I don't know

> > what

> > > > it

> > > > > > is.

> > > > > > > > > >> Perhaps someone has an idea?

> > > > > > > > > >>

> > > > > > > > > >> Thanks in advance.

> > > > > > > > > >>

> > > > > > > > > >> ching de la serna

> > > > > > > > > >>

> > > > > > > > > >

> > > > > > > > > > --

> > > > > > > > > > Nicholas Moore

> > > > > > > > > > Skype: tsr_nicholas

> > > > > > > > > >

> > > > > > > > > > Check out my Blog

> > > > > > > > > >

> > > > > > > > > > "Still Running - that I may die in good health"

> > > > > > > > > >

> > > > > > > > > > _______________________________________________

> > > > > > > > > > Aida mailing list

> > > > > > > > > > [hidden email]

> > > > > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > > > > >

> > > > > > > > > >

> > > > > > > > >

> > > > > > > > > --

> > > > > > > > > View this message in context:

> > > > > > > > >

> > http://forum.world.st/photos-experiment-tp3308053p3308440.html

> > > > > > > > > Sent from the AIDA/Web mailing list archive at Nabble.com.

> > > > > > > > >

> > > > > > > > >

> > > > > > > > > ------------------------------

> > > > > > > > >

> > > > > > > > > _______________________________________________

> > > > > > > > > Aida mailing list

> > > > > > > > > [hidden email]

> > > > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > > > >

> > > > > > > > >

> > > > > > > > > End of Aida Digest, Vol 45, Issue 10

> > > > > > > > > ************************************

> > > > > > > > >

> > > > > > > > -------------- next part --------------

> > > > > > > > An HTML attachment was scrubbed...

> > > > > > > > URL:

> > > > > > > >

> > > > > >

> > > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/6f6c4b7a/attachment-0001.htm

> > > > > > > >

> > > > > > > > ------------------------------

> > > > > > > >

> > > > > > > > Message: 2

> > > > > > > > Date: Wed, 16 Feb 2011 12:40:44 +0100

> > > > > > > > From: Janko Miv?ek <[hidden email]>

> > > > > > > > Subject: Re: [aida] photos experiment

> > > > > > > > To: AIDA/Web general discussion list <[hidden email]>

> > > > > > > > Message-ID: <[hidden email]>

> > > > > > > > Content-Type: text/plain; charset=UTF-8

> > > > > > > >

> > > > > > > > Hi Ching,

> > > > > > > >

> > > > > > > > I'm trying to find some time to chase your problem, but in the

> > > > > > meantime,

> > > > > > > > can you try to open this jpg directly from browser.

> > > > > > > >

> > > > > > > > If you put testimage.jpg on a directory where your image

> > started,

> > > > can

> > > > > > > > you open it from browser directly:

> > > > > > > >

> > > > > > > > http://localhost:8888/testimage.jpg ?

> > > > > > > >

> > > > > > > > If not, can you open it through File->Open file ?

> > > > > > > >

> > > > > > > > Also, how did you start your image, double clicking from

> > OneClick?

> > > > > > > >

> > > > > > > > It could be that default .\ path doesn't point to the right

> > > > directory,

> > > > > > > > can you change it to absolute path to your images directory:

> > > > > > > >

> > > > > > > > AIDASite>>homeDirectory: 'c:\absolute path'

> > > > > > > >

> > > > > > > > Also which version of Windows do you use?

> > > > > > > >

> > > > > > > > Hope this would help a bit

> > > > > > > > JAnko

> > > > > > > >

> > > > > > > > On 16. 02. 2011 12:27, Ching de la Serna wrote:

> > > > > > > > > Hi All,

> > > > > > > > >

> > > > > > > > > I am inclined to believe that Nicholas is right about

> > > > permissions.

> > > > > > > > > Windows might be blocking the jpeg file from being displayed.

> > I

> > > > > > changed

> > > > > > > > > the jpeg properties to "unblock" and restarted my computer. I

> > > > also

> > > > > > > > > downloaded Google Chrome thinking it might be a Firefox

> > problem.

> > > > > > Nothing

> > > > > > > > > worked. I am ready to give up unless someone can point me in

> > the

> > > > > > right

> > > > > > > > > direction.It seems kind of strange though, a jpeg from

> > another

> > > > > > website

> > > > > > > > > displays with no problem while a local file is blocked.

> > Strange

> > > > > > behavior

> > > > > > > > > if indeed it is an OS issue.

> > > > > > > > >

> > > > > > > > > Thanks,

> > > > > > > > >

> > > > > > > > > Ching de la Serna

> > > > > > > > >

> > > > > > > > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]

> > > > > > > > > <mailto:[hidden email]>> wrote:

> > > > > > > > >

> > > > > > > > > Send Aida mailing list submissions to

> > > > > > > > > [hidden email] <mailto:[hidden email]>

> > > > > > > > >

> > > > > > > > > To subscribe or unsubscribe via the World Wide Web, visit

> > > > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > > > > or, via email, send a message with subject or body 'help'

> > to

> > > > > > > > > [hidden email] <mailto:

> > > > [hidden email]>

> > > > > > > > >

> > > > > > > > > You can reach the person managing the list at

> > > > > > > > > [hidden email] <mailto:

> > [hidden email]>

> > > > > > > > >

> > > > > > > > > When replying, please edit your Subject line so it is

> > more

> > > > > > specific

> > > > > > > > > than "Re: Contents of Aida digest..."

> > > > > > > > >

> > > > > > > > >

> > > > > > > > > Today's Topics:

> > > > > > > > >

> > > > > > > > > 1. photos experiment (Ching de la Serna)

> > > > > > > > > 2. Re: photos experiment (Nicholas Moore)

> > > > > > > > > 3. Re: photos experiment (ching)

> > > > > > > > >

> > > > > > > > >

> > > > > > > > >

> > > > > > > >

> > > > ----------------------------------------------------------------------

> > > > > > > > >

> > > > > > > > > Message: 1

> > > > > > > > > Date: Wed, 16 Feb 2011 09:40:56 +0800

> > > > > > > > > From: Ching de la Serna <[hidden email]

> > > > > > > > > <mailto:[hidden email]>>

> > > > > > > > > Subject: [aida] photos experiment

> > > > > > > > > To: [hidden email] <mailto:[hidden email]>

> > > > > > > > > Message-ID:

> > > > > > > > > <

> > > > > > [hidden email]

> > > > > > > > > <mailto:

> > > > > > [hidden email]

> > > > > > > > >>

> > > > > > > > > Content-Type: text/plain; charset="iso-8859-1"

> > > > > > > > >

> > > > > > > > > Hi,

> > > > > > > > >

> > > > > > > > > Aida is such an amazing web framework but I am finding it

> > > > > > difficult

> > > > > > > > to

> > > > > > > > > display photos. After failing to display images from my

> > local

> > > > > > disk, I

> > > > > > > > > started anew with a clean ver6.2 with the hope that it

> > might

> > > > lead

> > > > > > me

> > > > > > > > > somewhere. Placing a jpeg file in my root directory, I

> > had

> > > > > > > > >

> > > > > > > > > e addImage: 'testimage.jpg' size: 100@200.

> > > > > > > > >

> > > > > > > > > as it happened many times before, nothing was displayed

> > but

> > > > the

> > > > > > > > browser

> > > > > > > > > reports "waiting or localhost....". I then changed the

> > code

> > > > to:

> > > > > > > > >

> > > > > > > > > e addImage: '*testimages.jpg*' size: 100@200.

> > > > > > > > >

> > > > > > > > > making it *testimages*.jpg which cannot be found in my

> > > > directory.

> > > > > > > > > Reloading

> > > > > > > > > the page allowed the browser to finish *without *the

> > "waiting

> > > > for

> > > > > > > > > localhost.." There is something going on and I don't know

> > > > what it

> > > > > > is.

> > > > > > > > > Perhaps someone has an idea?

> > > > > > > > >

> > > > > > > > > Thanks in advance.

> > > > > > > > >

> > > > > > > > > ching de la serna

> > > > > > > > > -------------- next part --------------

> > > > > > > > > An HTML attachment was scrubbed...

> > > > > > > > > URL:

> > > > > > > > >

> > > > > > > >

> > > > > >

> > > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html

> > > > > > > > >

> > > > > > > > > ------------------------------

> > > > > > > > >

> > > > > > > > > Message: 2

> > > > > > > > > Date: Wed, 16 Feb 2011 09:40:11 +0100

> > > > > > > > > From: Nicholas Moore <[hidden email]

> > > > > > > > > <mailto:[hidden email]>>

> > > > > > > > > Subject: Re: [aida] photos experiment

> > > > > > > > > To: "AIDA/Web general discussion list" <[hidden email]

> > > > > > > > > <mailto:[hidden email]>>

> > > > > > > > > Message-ID: <[hidden email]

> > > > > > > > > <mailto:[hidden email]>>

> > > > > > > > > Content-Type: text/plain; charset="iso-8859-15"

> > > > > > > > >

> > > > > > > > > Hi Ching,

> > > > > > > > >

> > > > > > > > > Are you using Linux - maybe it is an issue with

> > permissions -

> > > > > > does

> > > > > > > > > the httpd user have access to the jpg file?

> > > > > > > > >

> > > > > > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna

> > wrote:

> > > > > > > > > > Hi,

> > > > > > > > > >

> > > > > > > > > > Aida is such an amazing web framework but I am finding

> > it

> > > > > > difficult

> > > > > > > > to

> > > > > > > > > > display photos. After failing to display images from my

> > > > local

> > > > > > disk,

> > > > > > > > I

> > > > > > > > > > started anew with a clean ver6.2 with the hope that it

> > > > might

> > > > > > lead

> > > > > > > > me

> > > > > > > > > > somewhere. Placing a jpeg file in my root directory, I

> > had

> > > > > > > > > >

> > > > > > > > > > e addImage: 'testimage.jpg' size: 100@200.

> > > > > > > > > >

> > > > > > > > > > as it happened many times before, nothing was displayed

> > but

> > > > the

> > > > > > > > > browser

> > > > > > > > > > reports "waiting or localhost....". I then changed the

> > code

> > > > to:

> > > > > > > > > >

> > > > > > > > > > e addImage: '*testimages.jpg*' size: 100@200.

> > > > > > > > > >

> > > > > > > > > > making it *testimages*.jpg which cannot be found in my

> > > > > > directory.

> > > > > > > > > Reloading

> > > > > > > > > > the page allowed the browser to finish *without *the

> > > > "waiting

> > > > > > for

> > > > > > > > > > localhost.." There is something going on and I don't

> > know

> > > > what

> > > > > > it

> > > > > > > > is.

> > > > > > > > > > Perhaps someone has an idea?

> > > > > > > > > >

> > > > > > > > > > Thanks in advance.

> > > > > > > > > >

> > > > > > > > > > ching de la serna

> > > > > > > > > >

> > > > > > > > >

> > > > > > > > > --

> > > > > > > > > Nicholas Moore

> > > > > > > > > Skype: tsr_nicholas

> > > > > > > > >

> > > > > > > > > Check out my Blog

> > > > > > > > >

> > > > > > > > > "Still Running - that I may die in good health"

> > > > > > > > > -------------- next part --------------

> > > > > > > > > An HTML attachment was scrubbed...

> > > > > > > > > URL:

> > > > > > > > >

> > > > > > > >

> > > > > >

> > > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm

> > > > > > > > >

> > > > > > > > > ------------------------------

> > > > > > > > >

> > > > > > > > > Message: 3

> > > > > > > > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)

> > > > > > > > > From: ching <[hidden email] <mailto:

> > [hidden email]

> > > > >>

> > > > > > > > > Subject: Re: [aida] photos experiment

> > > > > > > > > To: [hidden email] <mailto:[hidden email]>

> > > > > > > > > Message-ID: <[hidden email]

> > > > > > > > > <mailto:[hidden email]>>

> > > > > > > > > Content-Type: text/plain; charset=us-ascii

> > > > > > > > >

> > > > > > > > >

> > > > > > > > > Hi Nicholas,

> > > > > > > > >

> > > > > > > > >

> > > > > > > > >

> > > > > > > > > Nicholas Moore wrote:

> > > > > > > > > >

> > > > > > > > > > Hi Ching,

> > > > > > > > > >

> > > > > > > > > > Are you using Linux - maybe it is an issue with

> > permissions

> > > > -

> > > > > > does

> > > > > > > > the

> > > > > > > > > > httpd user have access to the jpg file?

> > > > > > > > > >

> > > > > > > > > > I am just using Windows and I'm not sure if I need

> > > > permissions

> > > > > > to

> > > > > > > > > use the

> > > > > > > > > > jpg files in my directory. I remember displaying images

> > > > using

> > > > > > > > > Seaside and

> > > > > > > > > > I did not really have any problem doing it whether on

> > my

> > > > local

> > > > > > > > > machine or

> > > > > > > > > > behind Apache. I am thinking of keeping everything in

> > > > Smalltalk

> > > > > > > > > > (Swazoo/Aida).

> > > > > > > > > >

> > > > > > > > > > Thanks for the response,

> > > > > > > > > >

> > > > > > > > > > ching

> > > > > > > > > >

> > > > > > > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna

> > wrote:

> > > > > > > > > >> Hi,

> > > > > > > > > >>

> > > > > > > > > >> Aida is such an amazing web framework but I am finding

> > it

> > > > > > > > > difficult to

> > > > > > > > > >> display photos. After failing to display images from

> > my

> > > > local

> > > > > > > > disk, I

> > > > > > > > > >> started anew with a clean ver6.2 with the hope that it

> > > > might

> > > > > > lead

> > > > > > > > me

> > > > > > > > > >> somewhere. Placing a jpeg file in my root directory, I

> > had

> > > > > > > > > >>

> > > > > > > > > >> e addImage: 'testimage.jpg' size: 100@200.

> > > > > > > > > >>

> > > > > > > > > >> as it happened many times before, nothing was

> > displayed

> > > > but

> > > > > > the

> > > > > > > > > browser

> > > > > > > > > >> reports "waiting or localhost....". I then changed the

> > > > code

> > > > > > to:

> > > > > > > > > >>

> > > > > > > > > >> e addImage: '*testimages.jpg*' size: 100@200.

> > > > > > > > > >>

> > > > > > > > > >> making it *testimages*.jpg which cannot be found in my

> > > > > > directory.

> > > > > > > > > >> Reloading

> > > > > > > > > >> the page allowed the browser to finish *without *the

> > > > "waiting

> > > > > > for

> > > > > > > > > >> localhost.." There is something going on and I don't

> > know

> > > > what

> > > > > > it

> > > > > > > > is.

> > > > > > > > > >> Perhaps someone has an idea?

> > > > > > > > > >>

> > > > > > > > > >> Thanks in advance.

> > > > > > > > > >>

> > > > > > > > > >> ching de la serna

> > > > > > > > > >>

> > > > > > > > > >

> > > > > > > > > > --

> > > > > > > > > > Nicholas Moore

> > > > > > > > > > Skype: tsr_nicholas

> > > > > > > > > >

> > > > > > > > > > Check out my Blog

> > > > > > > > > >

> > > > > > > > > > "Still Running - that I may die in good health"

> > > > > > > > > >

> > > > > > > > > > _______________________________________________

> > > > > > > > > > Aida mailing list

> > > > > > > > > > [hidden email] <mailto:[hidden email]>

> > > > > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > > > > >

> > > > > > > > > >

> > > > > > > > >

> > > > > > > > > --

> > > > > > > > > View this message in context:

> > > > > > > > >

> > > > http://forum.world.st/photos-experiment-tp3308053p3308440.html

> > > > > > > > > Sent from the AIDA/Web mailing list archive at

> > Nabble.com.

> > > > > > > > >

> > > > > > > > >

> > > > > > > > > ------------------------------

> > > > > > > > >

> > > > > > > > > _______________________________________________

> > > > > > > > > Aida mailing list

> > > > > > > > > [hidden email] <mailto:[hidden email]>

> > > > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > > > >

> > > > > > > > >

> > > > > > > > > End of Aida Digest, Vol 45, Issue 10

> > > > > > > > > ************************************

> > > > > > > > >

> > > > > > > > >

> > > > > > > > >

> > > > > > > > >

> > > > > > > > > _______________________________________________

> > > > > > > > > Aida mailing list

> > > > > > > > > [hidden email]

> > > > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > > >

> > > > > > > > --

> > > > > > > > Janko Miv?ek

> > > > > > > > AIDA/Web

> > > > > > > > Smalltalk Web Application Server

> > > > > > > > http://www.aidaweb.si

> > > > > > > >

> > > > > > > >

> > > > > > > > ------------------------------

> > > > > > > >

> > > > > > > > Message: 3

> > > > > > > > Date: Wed, 16 Feb 2011 15:16:42 +0100

> > > > > > > > From: Nicholas Moore <[hidden email]>

> > > > > > > > Subject: Re: [aida] 6.2 tests

> > > > > > > > To: "AIDA/Web general discussion list" <[hidden email]>

> > > > > > > > Message-ID: <[hidden email]>

> > > > > > > > Content-Type: text/plain; charset="utf-8"

> > > > > > > >

> > > > > > > > I have tested with a vanilla VW and it works as you would

> > expect -

> > > > good

> > > > > > > > news. I used several different local variations in my hosts

> > file

> > > > and

> > > > > > all

> > > > > > > > worked okay - returning 'aidasession/ajax'.

> > > > > > > >

> > > > > > > > So then I returned to my own image and retested it - but was

> > not

> > > > able

> > > > > > to

> > > > > > > > reproduce the error - it too returned the correct value. There

> > must

> > > > > > have

> > > > > > > > been some spurious condition associated with my previous test

> > image

> > > > and

> > > > > > > > perhaps earlier exceptions.

> > > > > > > >

> > > > > > > > Anyway, all works as expected and my sites are now live with

> > 6.2.

> > > > > > > >

> > > > > > > > Nicholas

> > > > > > > >

> > > > > > > > On Tuesday 15 Feb 2011 14:28:54 Janko Miv?ek wrote:

> > > > > > > > >

> > > > > > > > > On 14. 02. 2011 21:20, Nicholas Moore wrote:

> > > > > > > > > > Excellent - I had not created the route explicitly to my

> > blog

> > > > site!

> > > > > > > > > > However the request subsequently failed here:

> > > > > > > > > > WebSession >> printHTMLPageOn: aStream for: aRequest on:

> > > > > > aWebSession

> > > > > > > > > > aRequest urlString = '/aidasession/ajax' ifTrue:

> > > > > > > > > > because the actual request urlString is: '

> > > > > > > > http://mysite/aidasession/ajax'.

> > > > > > > > > > I have changed that test to:

> > > > > > > > > > (aRequest urlString containsSubstring: '/aidasession/ajax')

> > > > > > ifTrue:>

> > > > > > > > > > and everything works as desired.

> > > > > > > > >

> > > > > > > > > This is interesting, from where aRequest urlString works

> > > > differently

> > > > > > in

> > > > > > > > > your image comparing with fresh install into vanilla VW 7.7

> > (for

> > > > > > > > > nistance) image from Public Store. Can you try this too?

> > > > > > > > >

> > > > > > > > > Best regards

> > > > > > > > > Janko

> > > > > > > > >

> > > > > > > > >

> > > > > > > > >

> > > > > > > > > > Nicholas

> > > > > > > > > >

> > > > > > > > > > On Monday 14 Feb 2011 19:51:06 Janko Miv?ek wrote:

> > > > > > > > > >

> > > > > > > > > >> Hi Nicolas,

> > > > > > > > > >

> > > > > > > > > >>

> > > > > > > > > >

> > > > > > > > > >> On 14. 02. 2011 19:39, Nicholas Moore wrote:

> > > > > > > > > >

> > > > > > > > > >>

> > > > > > > > > >

> > > > > > > > > >> > From the demo.html page for ajax in 6.2, when I click on

> > > > 'click

> > > > > > me

> > > > > > > > for

> > > > > > > > > >

> > > > > > > > > >> > popup' I have trapped a SwazooStream. It generates a

> > > > requestURI

> > > > > > > > which is

> > > > > > > > > >

> > > > > > > > > >> > '/aidasession/ajax'.

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> > On the 6.1 version the equivalent requestURI is

> > 'demo.html'

> > > > (as

> > > > > > I

> > > > > > > > would

> > > > > > > > > >

> > > > > > > > > >> > expect).

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> > Where does the '/aidasession/ajax URI come from?

> > > > > > > > > >

> > > > > > > > > >>

> > > > > > > > > >

> > > > > > > > > >> This is major new behavior on new event framework - all

> > Ajax

> > > > and

> > > > > > > > > >

> > > > > > > > > >> WebSocket JSON messages go to this Url, that is, to your

> > > > session,

> > > > > > > > which

> > > > > > > > > >

> > > > > > > > > >> then find the right App and pass it the event. This Url is

> > in

> > > > > > > > JavaScript

> > > > > > > > > >

> > > > > > > > > >> code, see WebStyle js13Events. The Url of actual page is

> > > > included

> > > > > > in

> > > > > > > > > >

> > > > > > > > > >> this message.

> > > > > > > > > >

> > > > > > > > > >>

> > > > > > > > > >

> > > > > > > > > >> Inspect the WebRouter (AIDASite default router) if there

> > is a

> > > > > > route to

> > > > > > > > > >

> > > > > > > > > >> the session manager. If you did the upgrade script, it

> > should

> > > > be

> > > > > > there

> > > > > > > > > >

> > > > > > > > > >> already. If not, rerun that addSessionManagerRoute line.

> > > > > > > > > >

> > > > > > > > > >>

> > > > > > > > > >

> > > > > > > > > >> In Firebug's console, do you see any error messages?

> > > > > > > > > >

> > > > > > > > > >>

> > > > > > > > > >

> > > > > > > > > >> Hope this helps

> > > > > > > > > >

> > > > > > > > > >> JAnko

> > > > > > > > > >

> > > > > > > > > >>

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> > On Monday 14 Feb 2011 11:35:21 Nicholas Moore wrote:

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> Janko,

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >>

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> After running the script that you described prior to

> > > > upgrade I

> > > > > > was

> > > > > > > > > >

> > > > > > > > > >> > able to install 6.2 cleanly without any problems - good

> > > > work!

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >>

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> During testing (on VW) I came across a couple of snags:

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >>

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> 1) The method String >> replaceSpecialCharacters

> > contains

> > > > > > or:or:

> > > > > > > > which

> > > > > > > > > >

> > > > > > > > > >> > does not work in VW (but is ok in Pharo and Squeak). I

> > > > changed

> > > > > > it

> > > > > > > > to:

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> replaceSpecialCharacters

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> |str|

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> str := self copy.

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> str do: [:ch | |ascii|

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> ascii := ch asInteger.

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> ((ascii >= 65 and: [ ascii <= 90 ]) or: [

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> ( ascii >= 97 and: [ ascii <= 122 ]) or: [ch isDigit

> > or:

> > > > [ch =

> > > > > > $/

> > > > > > > > or:

> > > > > > > > > >

> > > > > > > > > >> > [ch = $.]]]])

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> ifFalse: [str replaceAll: ch with: $-]].

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> ^str

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >>

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> 2) I needed to upgrade my version of TinyMCE -

> > > > > > richEditorInitScript

> > > > > > > > > >

> > > > > > > > > >> > has changed.

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >>

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> 3) I have a problem with ajax calls. I previously used

> > > > > > > > > >

> > > > > > > > > >> > 'afterPostUpdate:' which is deprecated. I changed to

> > > > > > > > > >

> > > > > > > > > >> > 'onChangePostAndUpdate::' but that did not work (no

> > error,

> > > > > > simply

> > > > > > > > > >

> > > > > > > > > >> > nothing happened). I do not yet know why, I will need to

> > do

> > > > some

> > > > > > > > > >

> > > > > > > > > >> > debugging this week. I also found that the WebDemo ajax

> > page

> > > > did

> > > > > > not

> > > > > > > > > >

> > > > > > > > > >> > work properly (the update and popup methods seemed to

> > have

> > > > no

> > > > > > > > effect.

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >>

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> Therefore I am unsure whether the problem lies in my

> > > > > > implementation

> > > > > > > > or

> > > > > > > > > >

> > > > > > > > > >> > elsewhere. I reverted to my same app using 6.1 and the

> > > > WebDemo

> > > > > > ajax

> > > > > > > > page

> > > > > > > > > >

> > > > > > > > > >> > worked perfectly. If anyone else could test this and see

> > how

> > > > the

> > > > > > > > demo

> > > > > > > > > >

> > > > > > > > > >> > app works, that would save me some time.

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >>

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> By the way, I notice that WebApplication >>

> > > > > > respondToAjaxRequest:

> > > > > > > > is

> > > > > > > > > >

> > > > > > > > > >> > in the 'private-obsolete' protocol, should that be in

> > > > > > > > 'private-ajax'?

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >>

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> Otherwise the new features look great, in particular I

> > am

> > > > > > looking

> > > > > > > > > >

> > > > > > > > > >> > forward to getting to grips with JSON.

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >>

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> Regards

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >>

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >> Nicholas

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >>

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >>

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >> >

> > > > > > > > > >

> > > > > > > > > >>

> > > > > > > > > >

> > > > > > > > > >>

> > > > > > > > > >

> > > > > > > > > >

> > > > > > > > >

> > > > > > > > >

> > > > > > > >

> > > > > > > > --

> > > > > > > > Nicholas Moore

> > > > > > > > Skype: tsr_nicholas

> > > > > > > >

> > > > > > > > Check out my Blog

> > > > > > > >

> > > > > > > > "Still Running - that I may die in good health"

> > > > > > > > -------------- next part --------------

> > > > > > > > An HTML attachment was scrubbed...

> > > > > > > > URL:

> > > > > > > >

> > > > > >

> > > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/5d913c94/attachment.htm

> > > > > > > >

> > > > > > > > ------------------------------

> > > > > > > >

> > > > > > > > _______________________________________________

> > > > > > > > Aida mailing list

> > > > > > > > [hidden email]

> > > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > > >

> > > > > > > >

> > > > > > > > End of Aida Digest, Vol 45, Issue 11

> > > > > > > > ************************************

> > > > > > > >

> > > > > > >

> > > > > >

> > > > > > --

> > > > > > Nicholas Moore

> > > > > > Skype: tsr_nicholas

> > > > > >

> > > > > > Check out my Blog

> > > > > >

> > > > > > "Still Running - that I may die in good health"

> > > > > > -------------- next part --------------

> > > > > > An HTML attachment was scrubbed...

> > > > > > URL:

> > > > > >

> > > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/b2fbcf0f/attachment.htm

> > > > > >

> > > > > > ------------------------------

> > > > > >

> > > > > > _______________________________________________

> > > > > > Aida mailing list

> > > > > > [hidden email]

> > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > >

> > > > > >

> > > > > > End of Aida Digest, Vol 45, Issue 13

> > > > > > ************************************

> > > > > >

> > > > >

> > > >

> > > > --

> > > > Nicholas Moore

> > > > Skype: tsr_nicholas

> > > >

> > > > Check out my Blog

> > > >

> > > > "Still Running - that I may die in good health"

> > > > -------------- next part --------------

> > > > An HTML attachment was scrubbed...

> > > > URL:

> > > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/acbf1bb0/attachment.htm

> > > >

> > > > ------------------------------

> > > >

> > > > _______________________________________________

> > > > Aida mailing list

> > > > [hidden email]

> > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > >

> > > >

> > > > End of Aida Digest, Vol 45, Issue 15

> > > > ************************************

> > > >

> > >

> >

> >

> > ------------------------------

> >

> > _______________________________________________

> > Aida mailing list

> > [hidden email]

> > http://lists.aidaweb.si/mailman/listinfo/aida

> >

> >

> > End of Aida Digest, Vol 45, Issue 17

> > ************************************

> >

>


--

Nicholas Moore

Skype: tsr_nicholas

Check out my Blog

"Still Running - that I may die in good health"


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

ching
In reply to this post by ching
Hi Janko, Nicholas,

Thanks for all the help. I will do as you both suggest and maybe even try the OneClick download. I am really excited to use Aida as I think it is very well-thought out.

Ching

On Thu, Feb 17, 2011 at 2:21 AM, <[hidden email]> wrote:
Send Aida mailing list submissions to
       [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.aidaweb.si/mailman/listinfo/aida
or, via email, send a message with subject or body 'help' to
       [hidden email]

You can reach the person managing the list at
       [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Aida digest..."


Today's Topics:

  1. Re: photos experiment. (Janko Miv?ek)


----------------------------------------------------------------------

Message: 1
Date: Wed, 16 Feb 2011 19:21:35 +0100
From: Janko Miv?ek <[hidden email]>
Subject: Re: [aida] photos experiment.
To: AIDA/Web general discussion list <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=UTF-8

Hi Ching,

Getting http://localhost:8888/testimage.jpg to show this image is the
first thing you need to achieve. This is the test that Aida is set-up
right. So let we try to do this first.

 1. Move your image in a more simple directory, the best simply on
    c:\aida
 2. (AIDASite named:'mysite) homeDirectory: 'c:\aida\'
    ( try both with backslash \ at the end and without)
 3. put testimage.jpg in c:\aida
 4. open http://localhost:8888/testimage.jpg

Janko

On 16. 02. 2011 17:01, Ching de la Serna wrote:
> Hi Nicholas,
>
> Thanks for the help. It was stupid of me to send the message to the
> class instead of the instance. The good news is that the error and my
> ignorance have been corrected. Also, when running the following on the
> browser,
>
> http://localhost:8888/testimage.jpg I now get a *404 Not Found Error*.
> Still far from success but surely inching closer.
>
> Ching
>
> On Wed, Feb 16, 2011 at 11:44 PM, <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Send Aida mailing list submissions to
>            [hidden email] <mailto:[hidden email]>
>
>     To subscribe or unsubscribe via the World Wide Web, visit
>            http://lists.aidaweb.si/mailman/listinfo/aida
>     or, via email, send a message with subject or body 'help' to
>            [hidden email] <mailto:[hidden email]>
>
>     You can reach the person managing the list at
>            [hidden email] <mailto:[hidden email]>
>
>     When replying, please edit your Subject line so it is more specific
>     than "Re: Contents of Aida digest..."
>
>
>     Today's Topics:
>
>       1. Re: photos experiment (Nicholas Moore)
>
>
>     ----------------------------------------------------------------------
>
>     Message: 1
>     Date: Wed, 16 Feb 2011 16:43:47 +0100
>     From: Nicholas Moore <[hidden email]
>     <mailto:[hidden email]>>
>     Subject: Re: [aida] photos experiment
>     To: "AIDA/Web general discussion list" <[hidden email]
>     <mailto:[hidden email]>>
>     Message-ID: <[hidden email]
>     <mailto:[hidden email]>>
>     Content-Type: text/plain; charset="iso-8859-15"
>
>     Hi Ching,
>
>     Where you get this:
>
>     AIDASite homeDirectory.: '"
>     C:\Documents and Settings\ADMIN\My
>     Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"'
>     and got the same error message: doesNotUnderstand: #homeDirectory
>
>     It is because you are sending homeDirectory: to the class AIDASite
>     rather than an instance,
>
>     i.e (AIDASite named: 'mysite') homeDirectory: .....
>
>     Nicholas
>
>     On Wednesday 16 Feb 2011 16:35:54 Ching de la Serna wrote:
>     > Hi Janko
>     >
>     > Thanks for taking the time. I did as you suggested. The results
>     are below:
>     >
>     > Hi Ching,
>     > >
>     >
>     > I'm trying to find some time to chase your problem, but in the
>     meantime,
>     > can you try to open this jpg directly from browser.
>     >
>     > If you put testimage.jpg on a directory where your image started, can
>     > you open it from browser directly:
>     >
>     >        http://localhost:8888/testimage.jpg ?
>     > This does not open the jpeg file.
>     >
>     > If not, can you open it through File->Open file ?
>     > I could open once I *unblocked *the testimage.jpg file. Windows
>     was blocking
>     > it the first time I tried. After I was able to do this, I tried
>     doing the
>     > above  http://localhost:8888/testimage.jpg and it would still not
>     open.
>     >
>     > Also, how did you start your image, double clicking from OneClick?
>     > I loaded from Monticello the three files: *Sport-2.031.mcz ,
>     > Swazoo-2.3beta2.1.mcz, Aida6.2-final.1.mcz *which I downloaded
>     separately I
>     > use Sqeak4.1
>     >
>     > It could be that default .\ path doesn't point to the right directory,
>     > can you change it to absolute path to your images directory:
>     >
>     >        AIDASite>>homeDirectory: 'c:\absolute path'
>     > I evaluated :
>     > AIDASite homeDirectory.: '
>     > C:\Documents and Settings\ADMIN\My
>     > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1'
>     > and got an error:doesNotUnderstand: #homeDirectory
>     >
>     > I tried enclosing in ""
>     > AIDASite homeDirectory.: '"
>     > C:\Documents and Settings\ADMIN\My
>     > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"'
>     and got
>     > the same error message: doesNotUnderstand: #homeDirectory
>     >
>     > Also which version of Windows do you use?
>     > I use Windows XP
>     >
>     > Hope this would help a bit
>     > JAnko
>     >
>     > Ching
>     >
>     > On Wed, Feb 16, 2011 at 10:17 PM, <[hidden email]
>     <mailto:[hidden email]>> wrote:
>     >
>     > > Send Aida mailing list submissions to
>     > >        [hidden email] <mailto:[hidden email]>
>     > >
>     > > To subscribe or unsubscribe via the World Wide Web, visit
>     > >        http://lists.aidaweb.si/mailman/listinfo/aida
>     > > or, via email, send a message with subject or body 'help' to
>     > >        [hidden email] <mailto:[hidden email]>
>     > >
>     > > You can reach the person managing the list at
>     > >        [hidden email] <mailto:[hidden email]>
>     > >
>     > > When replying, please edit your Subject line so it is more specific
>     > > than "Re: Contents of Aida digest..."
>     > >
>     > >
>     > > Today's Topics:
>     > >
>     > >   1. Re: photos experiment (Ching de la Serna)
>     > >   2. Re: photos experiment (Janko Miv?ek)
>     > >   3. Re: 6.2 tests (Nicholas Moore)
>     > >
>     > >
>     > >
>     ----------------------------------------------------------------------
>     > >
>     > > Message: 1
>     > > Date: Wed, 16 Feb 2011 19:27:14 +0800
>     > > From: Ching de la Serna <[hidden email]
>     <mailto:[hidden email]>>
>     > > Subject: Re: [aida] photos experiment
>     > > To: [hidden email] <mailto:[hidden email]>
>     > > Message-ID:
>     > >
>      <[hidden email]
>     <mailto:[hidden email]>>
>     > > Content-Type: text/plain; charset="iso-8859-1"
>     > >
>     > > Hi All,
>     > >
>     > > I am inclined to believe that Nicholas is right about
>     permissions. Windows
>     > > might be blocking the jpeg file from being displayed. I changed
>     the jpeg
>     > > properties to "unblock" and restarted my computer. I also
>     downloaded Google
>     > > Chrome thinking it might be a Firefox problem. Nothing worked. I
>     am ready
>     > > to
>     > > give up unless someone can point me in the right direction.It
>     seems kind of
>     > > strange though, a jpeg from another website displays with no
>     problem while
>     > > a
>     > > local file is blocked. Strange behavior if indeed it is an OS issue.
>     > >
>     > > Thanks,
>     > >
>     > > Ching de la Serna
>     > >
>     > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]
>     <mailto:[hidden email]>> wrote:
>     > >
>     > > > Send Aida mailing list submissions to
>     > > >        [hidden email] <mailto:[hidden email]>
>     > > >
>     > > > To subscribe or unsubscribe via the World Wide Web, visit
>     > > >        http://lists.aidaweb.si/mailman/listinfo/aida
>     > > > or, via email, send a message with subject or body 'help' to
>     > > >        [hidden email] <mailto:[hidden email]>
>     > > >
>     > > > You can reach the person managing the list at
>     > > >        [hidden email] <mailto:[hidden email]>
>     > > >
>     > > > When replying, please edit your Subject line so it is more
>     specific
>     > > > than "Re: Contents of Aida digest..."
>     > > >
>     > > >
>     > > > Today's Topics:
>     > > >
>     > > >   1. photos experiment (Ching de la Serna)
>     > > >   2. Re: photos experiment (Nicholas Moore)
>     > > >   3. Re: photos experiment (ching)
>     > > >
>     > > >
>     > > >
>     ----------------------------------------------------------------------
>     > > >
>     > > > Message: 1
>     > > > Date: Wed, 16 Feb 2011 09:40:56 +0800
>     > > > From: Ching de la Serna <[hidden email]
>     <mailto:[hidden email]>>
>     > > > Subject: [aida] photos experiment
>     > > > To: [hidden email] <mailto:[hidden email]>
>     > > > Message-ID:
>     > > >
>      <[hidden email]
>     <mailto:[hidden email]>>
>     > > > Content-Type: text/plain; charset="iso-8859-1"
>     > > >
>     > > > Hi,
>     > > >
>     > > > Aida is such an amazing web framework but I am finding it
>     difficult to
>     > > > display photos. After failing to display images from my local
>     disk, I
>     > > > started anew with a clean ver6.2 with the hope that it might
>     lead me
>     > > > somewhere. Placing a jpeg file in my root directory, I had
>     > > >
>     > > > e addImage: 'testimage.jpg' size: 100@200.
>     > > >
>     > > > as it happened many times before, nothing was displayed but
>     the browser
>     > > > reports "waiting or localhost....". I then changed the code to:
>     > > >
>     > > > e addImage: '*testimages.jpg*' size: 100@200.
>     > > >
>     > > > making it *testimages*.jpg which cannot be found in my directory.
>     > > Reloading
>     > > > the page allowed the browser to finish *without *the "waiting for
>     > > > localhost.." There is something going on and I don't know what
>     it is.
>     > > > Perhaps someone has an idea?
>     > > >
>     > > > Thanks in advance.
>     > > >
>     > > > ching de la serna
>     > > > -------------- next part --------------
>     > > > An HTML attachment was scrubbed...
>     > > > URL:
>     > > >
>     > >
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
>     > > >
>     > > > ------------------------------
>     > > >
>     > > > Message: 2
>     > > > Date: Wed, 16 Feb 2011 09:40:11 +0100
>     > > > From: Nicholas Moore <[hidden email]
>     <mailto:[hidden email]>>
>     > > > Subject: Re: [aida] photos experiment
>     > > > To: "AIDA/Web general discussion list" <[hidden email]
>     <mailto:[hidden email]>>
>     > > > Message-ID: <[hidden email]
>     <mailto:[hidden email]>>
>     > > > Content-Type: text/plain; charset="iso-8859-15"
>     > > >
>     > > > Hi Ching,
>     > > >
>     > > > Are you using Linux - maybe it is an issue with permissions -
>     does the
>     > > > httpd user have access to the jpg file?
>     > > >
>     > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>     > > > > Hi,
>     > > > >
>     > > > > Aida is such an amazing web framework but I am finding it
>     difficult to
>     > > > > display photos. After failing to display images from my
>     local disk, I
>     > > > > started anew with a clean ver6.2 with the hope that it might
>     lead me
>     > > > > somewhere. Placing a jpeg file in my root directory, I had
>     > > > >
>     > > > > e addImage: 'testimage.jpg' size: 100@200.
>     > > > >
>     > > > > as it happened many times before, nothing was displayed but
>     the browser
>     > > > > reports "waiting or localhost....". I then changed the code to:
>     > > > >
>     > > > > e addImage: '*testimages.jpg*' size: 100@200.
>     > > > >
>     > > > > making it *testimages*.jpg which cannot be found in my
>     directory.
>     > > > Reloading
>     > > > > the page allowed the browser to finish *without *the
>     "waiting for
>     > > > > localhost.." There is something going on and I don't know
>     what it is.
>     > > > > Perhaps someone has an idea?
>     > > > >
>     > > > > Thanks in advance.
>     > > > >
>     > > > > ching de la serna
>     > > > >
>     > > >
>     > > > --
>     > > > Nicholas Moore
>     > > > Skype: tsr_nicholas
>     > > >
>     > > > Check out my Blog
>     > > >
>     > > > "Still Running - that I may die in good health"
>     > > > -------------- next part --------------
>     > > > An HTML attachment was scrubbed...
>     > > > URL:
>     > > >
>     > >
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
>     > > >
>     > > > ------------------------------
>     > > >
>     > > > Message: 3
>     > > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
>     > > > From: ching <[hidden email] <mailto:[hidden email]>>
>     > > > Subject: Re: [aida] photos experiment
>     > > > To: [hidden email] <mailto:[hidden email]>
>     > > > Message-ID: <[hidden email]
>     <mailto:[hidden email]>>
>     > > > Content-Type: text/plain; charset=us-ascii
>     > > >
>     > > >
>     > > > Hi Nicholas,
>     > > >
>     > > >
>     > > >
>     > > > Nicholas Moore wrote:
>     > > > >
>     > > > > Hi Ching,
>     > > > >
>     > > > > Are you using Linux - maybe it is an issue with permissions
>     - does the
>     > > > > httpd user have access to the jpg file?
>     > > > >
>     > > > > I am just using Windows and I'm not sure if I need
>     permissions to use
>     > > the
>     > > > > jpg files in my directory. I remember displaying images
>     using Seaside
>     > > and
>     > > > > I did not really have any problem doing it whether on my
>     local machine
>     > > or
>     > > > > behind Apache. I am thinking of keeping everything in Smalltalk
>     > > > > (Swazoo/Aida).
>     > > > >
>     > > > > Thanks for the response,
>     > > > >
>     > > > > ching
>     > > > >
>     > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>     > > > >> Hi,
>     > > > >>
>     > > > >> Aida is such an amazing web framework but I am finding it
>     difficult to
>     > > > >> display photos. After failing to display images from my
>     local disk, I
>     > > > >> started anew with a clean ver6.2 with the hope that it
>     might lead me
>     > > > >> somewhere. Placing a jpeg file in my root directory, I had
>     > > > >>
>     > > > >> e addImage: 'testimage.jpg' size: 100@200.
>     > > > >>
>     > > > >> as it happened many times before, nothing was displayed but the
>     > > browser
>     > > > >> reports "waiting or localhost....". I then changed the code to:
>     > > > >>
>     > > > >> e addImage: '*testimages.jpg*' size: 100@200.
>     > > > >>
>     > > > >> making it *testimages*.jpg which cannot be found in my
>     directory.
>     > > > >> Reloading
>     > > > >> the page allowed the browser to finish *without *the
>     "waiting for
>     > > > >> localhost.." There is something going on and I don't know
>     what it is.
>     > > > >> Perhaps someone has an idea?
>     > > > >>
>     > > > >> Thanks in advance.
>     > > > >>
>     > > > >> ching de la serna
>     > > > >>
>     > > > >
>     > > > > --
>     > > > > Nicholas Moore
>     > > > > Skype: tsr_nicholas
>     > > > >
>     > > > > Check out my Blog
>     > > > >
>     > > > > "Still Running - that I may die in good health"
>     > > > >
>     > > > > _______________________________________________
>     > > > > Aida mailing list
>     > > > > [hidden email] <mailto:[hidden email]>
>     > > > > http://lists.aidaweb.si/mailman/listinfo/aida
>     > > > >
>     > > > >
>     > > >
>     > > > --
>     > > > View this message in context:
>     > > > http://forum.world.st/photos-experiment-tp3308053p3308440.html
>     > > > Sent from the AIDA/Web mailing list archive at Nabble.com.
>     > > >
>     > > >
>     > > > ------------------------------
>     > > >
>     > > > _______________________________________________
>     > > > Aida mailing list
>     > > > [hidden email] <mailto:[hidden email]>
>     > > > http://lists.aidaweb.si/mailman/listinfo/aida
>     > > >
>     > > >
>     > > > End of Aida Digest, Vol 45, Issue 10
>     > > > ************************************
>     > > >
>     > > -------------- next part --------------
>     > > An HTML attachment was scrubbed...
>     > > URL:
>     > >
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/6f6c4b7a/attachment-0001.htm
>     > >
>     > > ------------------------------
>     > >
>     > > Message: 2
>     > > Date: Wed, 16 Feb 2011 12:40:44 +0100
>     > > From: Janko Miv?ek <[hidden email]
>     <mailto:[hidden email]>>
>     > > Subject: Re: [aida] photos experiment
>     > > To: AIDA/Web general discussion list <[hidden email]
>     <mailto:[hidden email]>>
>     > > Message-ID: <[hidden email]
>     <mailto:[hidden email]>>
>     > > Content-Type: text/plain; charset=UTF-8
>     > >
>     > > Hi Ching,
>     > >
>     > > I'm trying to find some time to chase your problem, but in the
>     meantime,
>     > > can you try to open this jpg directly from browser.
>     > >
>     > > If you put testimage.jpg on a directory where your image
>     started, can
>     > > you open it from browser directly:
>     > >
>     > >        http://localhost:8888/testimage.jpg ?
>     > >
>     > > If not, can you open it through File->Open file ?
>     > >
>     > > Also, how did you start your image, double clicking from OneClick?
>     > >
>     > > It could be that default .\ path doesn't point to the right
>     directory,
>     > > can you change it to absolute path to your images directory:
>     > >
>     > >        AIDASite>>homeDirectory: 'c:\absolute path'
>     > >
>     > > Also which version of Windows do you use?
>     > >
>     > > Hope this would help a bit
>     > > JAnko
>     > >
>     > > On 16. 02. 2011 12:27, Ching de la Serna wrote:
>     > > > Hi All,
>     > > >
>     > > > I am inclined to believe that Nicholas is right about permissions.
>     > > > Windows might be blocking the jpeg file from being displayed.
>     I changed
>     > > > the jpeg properties to "unblock" and restarted my computer. I also
>     > > > downloaded Google Chrome thinking it might be a Firefox
>     problem. Nothing
>     > > > worked. I am ready to give up unless someone can point me in
>     the right
>     > > > direction.It seems kind of strange though, a jpeg from another
>     website
>     > > > displays with no problem while a local file is blocked.
>     Strange behavior
>     > > > if indeed it is an OS issue.
>     > > >
>     > > > Thanks,
>     > > >
>     > > > Ching de la Serna
>     > > >
>     > > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]
>     <mailto:[hidden email]>
>     > > > <mailto:[hidden email]
>     <mailto:[hidden email]>>> wrote:
>     > > >
>     > > >     Send Aida mailing list submissions to
>     > > >            [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     > > >
>     > > >     To subscribe or unsubscribe via the World Wide Web, visit
>     > > >            http://lists.aidaweb.si/mailman/listinfo/aida
>     > > >     or, via email, send a message with subject or body 'help' to
>     > > >            [hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     > > >
>     > > >     You can reach the person managing the list at
>     > > >            [hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     > > >
>     > > >     When replying, please edit your Subject line so it is more
>     specific
>     > > >     than "Re: Contents of Aida digest..."
>     > > >
>     > > >
>     > > >     Today's Topics:
>     > > >
>     > > >       1. photos experiment (Ching de la Serna)
>     > > >       2. Re: photos experiment (Nicholas Moore)
>     > > >       3. Re: photos experiment (ching)
>     > > >
>     > > >
>     > > >
>     > >
>     ----------------------------------------------------------------------
>     > > >
>     > > >     Message: 1
>     > > >     Date: Wed, 16 Feb 2011 09:40:56 +0800
>     > > >     From: Ching de la Serna <[hidden email]
>     <mailto:[hidden email]>
>     > > >     <mailto:[hidden email] <mailto:[hidden email]>>>
>     > > >     Subject: [aida] photos experiment
>     > > >     To: [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     > > >     Message-ID:
>     > > >
>      <[hidden email]
>     <mailto:[hidden email]>
>     > > >
>     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     > > >>
>     > > >     Content-Type: text/plain; charset="iso-8859-1"
>     > > >
>     > > >     Hi,
>     > > >
>     > > >     Aida is such an amazing web framework but I am finding it
>     difficult
>     > > to
>     > > >     display photos. After failing to display images from my
>     local disk, I
>     > > >     started anew with a clean ver6.2 with the hope that it
>     might lead me
>     > > >     somewhere. Placing a jpeg file in my root directory, I had
>     > > >
>     > > >     e addImage: 'testimage.jpg' size: 100@200.
>     > > >
>     > > >     as it happened many times before, nothing was displayed
>     but the
>     > > browser
>     > > >     reports "waiting or localhost....". I then changed the
>     code to:
>     > > >
>     > > >     e addImage: '*testimages.jpg*' size: 100@200.
>     > > >
>     > > >     making it *testimages*.jpg which cannot be found in my
>     directory.
>     > > >     Reloading
>     > > >     the page allowed the browser to finish *without *the
>     "waiting for
>     > > >     localhost.." There is something going on and I don't know
>     what it is.
>     > > >     Perhaps someone has an idea?
>     > > >
>     > > >     Thanks in advance.
>     > > >
>     > > >     ching de la serna
>     > > >     -------------- next part --------------
>     > > >     An HTML attachment was scrubbed...
>     > > >     URL:
>     > > >
>     > >
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
>     > > >
>     > > >     ------------------------------
>     > > >
>     > > >     Message: 2
>     > > >     Date: Wed, 16 Feb 2011 09:40:11 +0100
>     > > >     From: Nicholas Moore <[hidden email]
>     <mailto:[hidden email]>
>     > > >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     > > >     Subject: Re: [aida] photos experiment
>     > > >     To: "AIDA/Web general discussion list" <[hidden email]
>     <mailto:[hidden email]>
>     > > >     <mailto:[hidden email] <mailto:[hidden email]>>>
>     > > >     Message-ID: <[hidden email]
>     <mailto:[hidden email]>
>     > > >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     > > >     Content-Type: text/plain; charset="iso-8859-15"
>     > > >
>     > > >     Hi Ching,
>     > > >
>     > > >     Are you using Linux - maybe it is an issue with
>     permissions - does
>     > > >     the httpd user have access to the jpg file?
>     > > >
>     > > >     On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>     > > >     > Hi,
>     > > >     >
>     > > >     > Aida is such an amazing web framework but I am finding
>     it difficult
>     > > to
>     > > >     > display photos. After failing to display images from my
>     local disk,
>     > > I
>     > > >     > started anew with a clean ver6.2 with the hope that it
>     might lead
>     > > me
>     > > >     > somewhere. Placing a jpeg file in my root directory, I had
>     > > >     >
>     > > >     > e addImage: 'testimage.jpg' size: 100@200.
>     > > >     >
>     > > >     > as it happened many times before, nothing was displayed
>     but the
>     > > >     browser
>     > > >     > reports "waiting or localhost....". I then changed the
>     code to:
>     > > >     >
>     > > >     > e addImage: '*testimages.jpg*' size: 100@200.
>     > > >     >
>     > > >     > making it *testimages*.jpg which cannot be found in my
>     directory.
>     > > >     Reloading
>     > > >     > the page allowed the browser to finish *without *the
>     "waiting for
>     > > >     > localhost.." There is something going on and I don't
>     know what it
>     > > is.
>     > > >     > Perhaps someone has an idea?
>     > > >     >
>     > > >     > Thanks in advance.
>     > > >     >
>     > > >     > ching de la serna
>     > > >     >
>     > > >
>     > > >     --
>     > > >     Nicholas Moore
>     > > >     Skype: tsr_nicholas
>     > > >
>     > > >     Check out my Blog
>     > > >
>     > > >     "Still Running - that I may die in good health"
>     > > >     -------------- next part --------------
>     > > >     An HTML attachment was scrubbed...
>     > > >     URL:
>     > > >
>     > >
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
>     > > >
>     > > >     ------------------------------
>     > > >
>     > > >     Message: 3
>     > > >     Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
>     > > >     From: ching <[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     > > >     Subject: Re: [aida] photos experiment
>     > > >     To: [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     > > >     Message-ID: <[hidden email]
>     <mailto:[hidden email]>
>     > > >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     > > >     Content-Type: text/plain; charset=us-ascii
>     > > >
>     > > >
>     > > >     Hi Nicholas,
>     > > >
>     > > >
>     > > >
>     > > >     Nicholas Moore wrote:
>     > > >     >
>     > > >     > Hi Ching,
>     > > >     >
>     > > >     > Are you using Linux - maybe it is an issue with
>     permissions - does
>     > > the
>     > > >     > httpd user have access to the jpg file?
>     > > >     >
>     > > >     > I am just using Windows and I'm not sure if I need
>     permissions to
>     > > >     use the
>     > > >     > jpg files in my directory. I remember displaying images
>     using
>     > > >     Seaside and
>     > > >     > I did not really have any problem doing it whether on my
>     local
>     > > >     machine or
>     > > >     > behind Apache. I am thinking of keeping everything in
>     Smalltalk
>     > > >     > (Swazoo/Aida).
>     > > >     >
>     > > >     > Thanks for the response,
>     > > >     >
>     > > >     > ching
>     > > >     >
>     > > >     > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>     > > >     >> Hi,
>     > > >     >>
>     > > >     >> Aida is such an amazing web framework but I am finding it
>     > > >     difficult to
>     > > >     >> display photos. After failing to display images from my
>     local
>     > > disk, I
>     > > >     >> started anew with a clean ver6.2 with the hope that it
>     might lead
>     > > me
>     > > >     >> somewhere. Placing a jpeg file in my root directory, I had
>     > > >     >>
>     > > >     >> e addImage: 'testimage.jpg' size: 100@200.
>     > > >     >>
>     > > >     >> as it happened many times before, nothing was displayed
>     but the
>     > > >     browser
>     > > >     >> reports "waiting or localhost....". I then changed the
>     code to:
>     > > >     >>
>     > > >     >> e addImage: '*testimages.jpg*' size: 100@200.
>     > > >     >>
>     > > >     >> making it *testimages*.jpg which cannot be found in my
>     directory.
>     > > >     >> Reloading
>     > > >     >> the page allowed the browser to finish *without *the
>     "waiting for
>     > > >     >> localhost.." There is something going on and I don't
>     know what it
>     > > is.
>     > > >     >> Perhaps someone has an idea?
>     > > >     >>
>     > > >     >> Thanks in advance.
>     > > >     >>
>     > > >     >> ching de la serna
>     > > >     >>
>     > > >     >
>     > > >     > --
>     > > >     > Nicholas Moore
>     > > >     > Skype: tsr_nicholas
>     > > >     >
>     > > >     > Check out my Blog
>     > > >     >
>     > > >     > "Still Running - that I may die in good health"
>     > > >     >
>     > > >     > _______________________________________________
>     > > >     > Aida mailing list
>     > > >     > [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     > > >     > http://lists.aidaweb.si/mailman/listinfo/aida
>     > > >     >
>     > > >     >
>     > > >
>     > > >     --
>     > > >     View this message in context:
>     > > >     http://forum.world.st/photos-experiment-tp3308053p3308440.html
>     > > >     Sent from the AIDA/Web mailing list archive at Nabble.com.
>     > > >
>     > > >
>     > > >     ------------------------------
>     > > >
>     > > >     _______________________________________________
>     > > >     Aida mailing list
>     > > >     [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     > > >     http://lists.aidaweb.si/mailman/listinfo/aida
>     > > >
>     > > >
>     > > >     End of Aida Digest, Vol 45, Issue 10
>     > > >     ************************************
>     > > >
>     > > >
>     > > >
>     > > >
>     > > > _______________________________________________
>     > > > Aida mailing list
>     > > > [hidden email] <mailto:[hidden email]>
>     > > > http://lists.aidaweb.si/mailman/listinfo/aida
>     > >
>     > > --
>     > > Janko Miv?ek
>     > > AIDA/Web
>     > > Smalltalk Web Application Server
>     > > http://www.aidaweb.si
>     > >
>     > >
>     > > ------------------------------
>     > >
>     > > Message: 3
>     > > Date: Wed, 16 Feb 2011 15:16:42 +0100
>     > > From: Nicholas Moore <[hidden email]
>     <mailto:[hidden email]>>
>     > > Subject: Re: [aida] 6.2 tests
>     > > To: "AIDA/Web general discussion list" <[hidden email]
>     <mailto:[hidden email]>>
>     > > Message-ID: <[hidden email]
>     <mailto:[hidden email]>>
>     > > Content-Type: text/plain; charset="utf-8"
>     > >
>     > > I have tested with a vanilla VW and it works as you would expect
>     - good
>     > > news. I used several different local variations in my hosts file
>     and all
>     > > worked okay - returning 'aidasession/ajax'.
>     > >
>     > > So then I returned to my own image and retested it - but was not
>     able to
>     > > reproduce the error - it too returned the correct value. There
>     must have
>     > > been some spurious condition associated with my previous test
>     image and
>     > > perhaps earlier exceptions.
>     > >
>     > > Anyway, all works as expected and my sites are now live with 6.2.
>     > >
>     > > Nicholas
>     > >
>     > > On Tuesday 15 Feb 2011 14:28:54 Janko Miv?ek wrote:
>     > > >
>     > > > On 14. 02. 2011 21:20, Nicholas Moore wrote:
>     > > > > Excellent - I had not created the route explicitly to my
>     blog site!
>     > > > > However the request subsequently failed here:
>     > > > > WebSession >> printHTMLPageOn: aStream for: aRequest on:
>     aWebSession
>     > > > > aRequest urlString = '/aidasession/ajax' ifTrue:
>     > > > > because the actual request urlString is: '
>     > > http://mysite/aidasession/ajax'.
>     > > > > I have changed that test to:
>     > > > > (aRequest urlString containsSubstring: '/aidasession/ajax')
>     ifTrue:>
>     > > > > and everything works as desired.
>     > > >
>     > > > This is interesting, from where aRequest urlString works
>     differently in
>     > > >  your image comparing with fresh install into vanilla VW 7.7 (for
>     > > > nistance) image from Public Store. Can you try this too?
>     > > >
>     > > > Best regards
>     > > > Janko
>     > > >
>     > > >
>     > > >
>     > > > > Nicholas
>     > > > >
>     > > > > On Monday 14 Feb 2011 19:51:06 Janko Miv?ek wrote:
>     > > > >
>     > > > >> Hi Nicolas,
>     > > > >
>     > > > >>
>     > > > >
>     > > > >> On 14. 02. 2011 19:39, Nicholas Moore wrote:
>     > > > >
>     > > > >>
>     > > > >
>     > > > >> > From the demo.html page for ajax in 6.2, when I click on
>     'click me
>     > > for
>     > > > >
>     > > > >> > popup' I have trapped a SwazooStream. It generates a
>     requestURI
>     > > which is
>     > > > >
>     > > > >> > '/aidasession/ajax'.
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> > On the 6.1 version the equivalent requestURI is
>     'demo.html' (as I
>     > > would
>     > > > >
>     > > > >> > expect).
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> > Where does the '/aidasession/ajax URI come from?
>     > > > >
>     > > > >>
>     > > > >
>     > > > >> This is major new behavior on new event framework - all
>     Ajax and
>     > > > >
>     > > > >> WebSocket JSON messages go to this Url, that is, to your
>     session,
>     > > which
>     > > > >
>     > > > >> then find the right App and pass it the event. This Url is in
>     > > JavaScript
>     > > > >
>     > > > >> code, see WebStyle js13Events. The Url of actual page is
>     included in
>     > > > >
>     > > > >> this message.
>     > > > >
>     > > > >>
>     > > > >
>     > > > >> Inspect the WebRouter (AIDASite default router) if there is
>     a route to
>     > > > >
>     > > > >> the session manager. If you did the upgrade script, it
>     should be there
>     > > > >
>     > > > >> already. If not, rerun that addSessionManagerRoute line.
>     > > > >
>     > > > >>
>     > > > >
>     > > > >> In Firebug's console, do you see any error messages?
>     > > > >
>     > > > >>
>     > > > >
>     > > > >> Hope this helps
>     > > > >
>     > > > >> JAnko
>     > > > >
>     > > > >>
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> > On Monday 14 Feb 2011 11:35:21 Nicholas Moore wrote:
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> Janko,
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >>
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> After running the script that you described prior to
>     upgrade I was
>     > > > >
>     > > > >> > able to install 6.2 cleanly without any problems - good work!
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >>
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> During testing (on VW) I came across a couple of snags:
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >>
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> 1) The method String >> replaceSpecialCharacters
>     contains or:or:
>     > > which
>     > > > >
>     > > > >> > does not work in VW (but is ok in Pharo and Squeak). I
>     changed it
>     > > to:
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> replaceSpecialCharacters
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> |str|
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> str := self copy.
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> str do: [:ch | |ascii|
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> ascii := ch asInteger.
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> ((ascii >= 65 and: [ ascii <= 90 ]) or: [
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> ( ascii >= 97 and: [ ascii <= 122 ]) or: [ch isDigit or:
>     [ch = $/
>     > > or:
>     > > > >
>     > > > >> > [ch = $.]]]])
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> ifFalse: [str replaceAll: ch with: $-]].
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> ^str
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >>
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> 2) I needed to upgrade my version of TinyMCE -
>     richEditorInitScript
>     > > > >
>     > > > >> > has changed.
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >>
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> 3) I have a problem with ajax calls. I previously used
>     > > > >
>     > > > >> > 'afterPostUpdate:' which is deprecated. I changed to
>     > > > >
>     > > > >> > 'onChangePostAndUpdate::' but that did not work (no
>     error, simply
>     > > > >
>     > > > >> > nothing happened). I do not yet know why, I will need to
>     do some
>     > > > >
>     > > > >> > debugging this week. I also found that the WebDemo ajax
>     page did not
>     > > > >
>     > > > >> > work properly (the update and popup methods seemed to have no
>     > > effect.
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >>
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> Therefore I am unsure whether the problem lies in my
>     implementation
>     > > or
>     > > > >
>     > > > >> > elsewhere. I reverted to my same app using 6.1 and the
>     WebDemo ajax
>     > > page
>     > > > >
>     > > > >> > worked perfectly. If anyone else could test this and see
>     how the
>     > > demo
>     > > > >
>     > > > >> > app works, that would save me some time.
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >>
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> By the way, I notice that WebApplication >>
>     respondToAjaxRequest:
>     > > is
>     > > > >
>     > > > >> > in the 'private-obsolete' protocol, should that be in
>     > > 'private-ajax'?
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >>
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> Otherwise the new features look great, in particular I
>     am looking
>     > > > >
>     > > > >> > forward to getting to grips with JSON.
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >>
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> Regards
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >>
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >> Nicholas
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >>
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >>
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >> >
>     > > > >
>     > > > >>
>     > > > >
>     > > > >>
>     > > > >
>     > > > >
>     > > >
>     > > >
>     > >
>     > > --
>     > > Nicholas Moore
>     > > Skype: tsr_nicholas
>     > >
>     > > Check out my Blog
>     > >
>     > > "Still Running - that I may die in good health"
>     > > -------------- next part --------------
>     > > An HTML attachment was scrubbed...
>     > > URL:
>     > >
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/5d913c94/attachment.htm
>     > >
>     > > ------------------------------
>     > >
>     > > _______________________________________________
>     > > Aida mailing list
>     > > [hidden email] <mailto:[hidden email]>
>     > > http://lists.aidaweb.si/mailman/listinfo/aida
>     > >
>     > >
>     > > End of Aida Digest, Vol 45, Issue 11
>     > > ************************************
>     > >
>     >
>
>     --
>     Nicholas Moore
>     Skype: tsr_nicholas
>
>     Check out my Blog
>
>     "Still Running - that I may die in good health"
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/b2fbcf0f/attachment.htm
>
>     ------------------------------
>
>     _______________________________________________
>     Aida mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.aidaweb.si/mailman/listinfo/aida
>
>
>     End of Aida Digest, Vol 45, Issue 13
>     ************************************
>
>
>
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida

--
Janko Miv?ek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


------------------------------

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida


End of Aida Digest, Vol 45, Issue 20
************************************


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

Janko Mivšek
On 16. 02. 2011 19:30, Ching de la Serna wrote:
> Hi Janko, Nicholas,
>
> Thanks for all the help. I will do as you both suggest and maybe even
> try the OneClick download. I am really excited to use Aida as I think it
> is very well-thought out.

Thanks for nice words about Aida and let me know you that I'm just
trying OneClick on WinXP by myself. So, wait please few minutes for
results instead.

Best regards
Janko

>
> Ching
>
> On Thu, Feb 17, 2011 at 2:21 AM, <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Send Aida mailing list submissions to
>            [hidden email] <mailto:[hidden email]>
>
>     To subscribe or unsubscribe via the World Wide Web, visit
>            http://lists.aidaweb.si/mailman/listinfo/aida
>     or, via email, send a message with subject or body 'help' to
>            [hidden email] <mailto:[hidden email]>
>
>     You can reach the person managing the list at
>            [hidden email] <mailto:[hidden email]>
>
>     When replying, please edit your Subject line so it is more specific
>     than "Re: Contents of Aida digest..."
>
>
>     Today's Topics:
>
>       1. Re: photos experiment. (Janko Miv?ek)
>
>
>     ----------------------------------------------------------------------
>
>     Message: 1
>     Date: Wed, 16 Feb 2011 19:21:35 +0100
>     From: Janko Miv?ek <[hidden email]
>     <mailto:[hidden email]>>
>     Subject: Re: [aida] photos experiment.
>     To: AIDA/Web general discussion list <[hidden email]
>     <mailto:[hidden email]>>
>     Message-ID: <[hidden email]
>     <mailto:[hidden email]>>
>     Content-Type: text/plain; charset=UTF-8
>
>     Hi Ching,
>
>     Getting http://localhost:8888/testimage.jpg to show this image is the
>     first thing you need to achieve. This is the test that Aida is set-up
>     right. So let we try to do this first.
>
>      1. Move your image in a more simple directory, the best simply on
>         c:\aida
>      2. (AIDASite named:'mysite) homeDirectory: 'c:\aida\'
>         ( try both with backslash \ at the end and without)
>      3. put testimage.jpg in c:\aida
>      4. open http://localhost:8888/testimage.jpg
>
>     Janko
>
>     On 16. 02. 2011 17:01, Ching de la Serna wrote:
>     > Hi Nicholas,
>     >
>     > Thanks for the help. It was stupid of me to send the message to the
>     > class instead of the instance. The good news is that the error and my
>     > ignorance have been corrected. Also, when running the following on the
>     > browser,
>     >
>     > http://localhost:8888/testimage.jpg I now get a *404 Not Found Error*.
>     > Still far from success but surely inching closer.
>     >
>     > Ching
>     >
>     > On Wed, Feb 16, 2011 at 11:44 PM, <[hidden email]
>     <mailto:[hidden email]>
>     > <mailto:[hidden email] <mailto:[hidden email]>>>
>     wrote:
>     >
>     >     Send Aida mailing list submissions to
>     >            [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >
>     >     To subscribe or unsubscribe via the World Wide Web, visit
>     >            http://lists.aidaweb.si/mailman/listinfo/aida
>     >     or, via email, send a message with subject or body 'help' to
>     >            [hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >
>     >     You can reach the person managing the list at
>     >            [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >
>     >     When replying, please edit your Subject line so it is more
>     specific
>     >     than "Re: Contents of Aida digest..."
>     >
>     >
>     >     Today's Topics:
>     >
>     >       1. Re: photos experiment (Nicholas Moore)
>     >
>     >
>     >    
>     ----------------------------------------------------------------------
>     >
>     >     Message: 1
>     >     Date: Wed, 16 Feb 2011 16:43:47 +0100
>     >     From: Nicholas Moore <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >     Subject: Re: [aida] photos experiment
>     >     To: "AIDA/Web general discussion list" <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     Message-ID: <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >     Content-Type: text/plain; charset="iso-8859-15"
>     >
>     >     Hi Ching,
>     >
>     >     Where you get this:
>     >
>     >     AIDASite homeDirectory.: '"
>     >     C:\Documents and Settings\ADMIN\My
>     >     Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"'
>     >     and got the same error message: doesNotUnderstand: #homeDirectory
>     >
>     >     It is because you are sending homeDirectory: to the class AIDASite
>     >     rather than an instance,
>     >
>     >     i.e (AIDASite named: 'mysite') homeDirectory: .....
>     >
>     >     Nicholas
>     >
>     >     On Wednesday 16 Feb 2011 16:35:54 Ching de la Serna wrote:
>     >     > Hi Janko
>     >     >
>     >     > Thanks for taking the time. I did as you suggested. The results
>     >     are below:
>     >     >
>     >     > Hi Ching,
>     >     > >
>     >     >
>     >     > I'm trying to find some time to chase your problem, but in the
>     >     meantime,
>     >     > can you try to open this jpg directly from browser.
>     >     >
>     >     > If you put testimage.jpg on a directory where your image
>     started, can
>     >     > you open it from browser directly:
>     >     >
>     >     >        http://localhost:8888/testimage.jpg ?
>     >     > This does not open the jpeg file.
>     >     >
>     >     > If not, can you open it through File->Open file ?
>     >     > I could open once I *unblocked *the testimage.jpg file. Windows
>     >     was blocking
>     >     > it the first time I tried. After I was able to do this, I tried
>     >     doing the
>     >     > above  http://localhost:8888/testimage.jpg and it would
>     still not
>     >     open.
>     >     >
>     >     > Also, how did you start your image, double clicking from
>     OneClick?
>     >     > I loaded from Monticello the three files: *Sport-2.031.mcz ,
>     >     > Swazoo-2.3beta2.1.mcz, Aida6.2-final.1.mcz *which I downloaded
>     >     separately I
>     >     > use Sqeak4.1
>     >     >
>     >     > It could be that default .\ path doesn't point to the right
>     directory,
>     >     > can you change it to absolute path to your images directory:
>     >     >
>     >     >        AIDASite>>homeDirectory: 'c:\absolute path'
>     >     > I evaluated :
>     >     > AIDASite homeDirectory.: '
>     >     > C:\Documents and Settings\ADMIN\My
>     >     > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak
>     4.1'
>     >     > and got an error:doesNotUnderstand: #homeDirectory
>     >     >
>     >     > I tried enclosing in ""
>     >     > AIDASite homeDirectory.: '"
>     >     > C:\Documents and Settings\ADMIN\My
>     >     > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak
>     4.1"'
>     >     and got
>     >     > the same error message: doesNotUnderstand: #homeDirectory
>     >     >
>     >     > Also which version of Windows do you use?
>     >     > I use Windows XP
>     >     >
>     >     > Hope this would help a bit
>     >     > JAnko
>     >     >
>     >     > Ching
>     >     >
>     >     > On Wed, Feb 16, 2011 at 10:17 PM, <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>> wrote:
>     >     >
>     >     > > Send Aida mailing list submissions to
>     >     > >        [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     > >
>     >     > > To subscribe or unsubscribe via the World Wide Web, visit
>     >     > >        http://lists.aidaweb.si/mailman/listinfo/aida
>     >     > > or, via email, send a message with subject or body 'help' to
>     >     > >        [hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >     > >
>     >     > > You can reach the person managing the list at
>     >     > >        [hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >     > >
>     >     > > When replying, please edit your Subject line so it is more
>     specific
>     >     > > than "Re: Contents of Aida digest..."
>     >     > >
>     >     > >
>     >     > > Today's Topics:
>     >     > >
>     >     > >   1. Re: photos experiment (Ching de la Serna)
>     >     > >   2. Re: photos experiment (Janko Miv?ek)
>     >     > >   3. Re: 6.2 tests (Nicholas Moore)
>     >     > >
>     >     > >
>     >     > >
>     >    
>     ----------------------------------------------------------------------
>     >     > >
>     >     > > Message: 1
>     >     > > Date: Wed, 16 Feb 2011 19:27:14 +0800
>     >     > > From: Ching de la Serna <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     > > Subject: Re: [aida] photos experiment
>     >     > > To: [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     > > Message-ID:
>     >     > >
>     >      <[hidden email]
>     <mailto:AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]>
>     >    
>     <mailto:AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]
>     <mailto:AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]>>>
>     >     > > Content-Type: text/plain; charset="iso-8859-1"
>     >     > >
>     >     > > Hi All,
>     >     > >
>     >     > > I am inclined to believe that Nicholas is right about
>     >     permissions. Windows
>     >     > > might be blocking the jpeg file from being displayed. I
>     changed
>     >     the jpeg
>     >     > > properties to "unblock" and restarted my computer. I also
>     >     downloaded Google
>     >     > > Chrome thinking it might be a Firefox problem. Nothing
>     worked. I
>     >     am ready
>     >     > > to
>     >     > > give up unless someone can point me in the right direction.It
>     >     seems kind of
>     >     > > strange though, a jpeg from another website displays with no
>     >     problem while
>     >     > > a
>     >     > > local file is blocked. Strange behavior if indeed it is an
>     OS issue.
>     >     > >
>     >     > > Thanks,
>     >     > >
>     >     > > Ching de la Serna
>     >     > >
>     >     > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>> wrote:
>     >     > >
>     >     > > > Send Aida mailing list submissions to
>     >     > > >        [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     > > >
>     >     > > > To subscribe or unsubscribe via the World Wide Web, visit
>     >     > > >        http://lists.aidaweb.si/mailman/listinfo/aida
>     >     > > > or, via email, send a message with subject or body 'help' to
>     >     > > >        [hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >     > > >
>     >     > > > You can reach the person managing the list at
>     >     > > >        [hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >     > > >
>     >     > > > When replying, please edit your Subject line so it is more
>     >     specific
>     >     > > > than "Re: Contents of Aida digest..."
>     >     > > >
>     >     > > >
>     >     > > > Today's Topics:
>     >     > > >
>     >     > > >   1. photos experiment (Ching de la Serna)
>     >     > > >   2. Re: photos experiment (Nicholas Moore)
>     >     > > >   3. Re: photos experiment (ching)
>     >     > > >
>     >     > > >
>     >     > > >
>     >    
>     ----------------------------------------------------------------------
>     >     > > >
>     >     > > > Message: 1
>     >     > > > Date: Wed, 16 Feb 2011 09:40:56 +0800
>     >     > > > From: Ching de la Serna <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     > > > Subject: [aida] photos experiment
>     >     > > > To: [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     > > > Message-ID:
>     >     > > >
>     >      <[hidden email]
>     <mailto:[hidden email]>
>     >    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >     > > > Content-Type: text/plain; charset="iso-8859-1"
>     >     > > >
>     >     > > > Hi,
>     >     > > >
>     >     > > > Aida is such an amazing web framework but I am finding it
>     >     difficult to
>     >     > > > display photos. After failing to display images from my
>     local
>     >     disk, I
>     >     > > > started anew with a clean ver6.2 with the hope that it might
>     >     lead me
>     >     > > > somewhere. Placing a jpeg file in my root directory, I had
>     >     > > >
>     >     > > > e addImage: 'testimage.jpg' size: 100@200.
>     >     > > >
>     >     > > > as it happened many times before, nothing was displayed but
>     >     the browser
>     >     > > > reports "waiting or localhost....". I then changed the
>     code to:
>     >     > > >
>     >     > > > e addImage: '*testimages.jpg*' size: 100@200.
>     >     > > >
>     >     > > > making it *testimages*.jpg which cannot be found in my
>     directory.
>     >     > > Reloading
>     >     > > > the page allowed the browser to finish *without *the
>     "waiting for
>     >     > > > localhost.." There is something going on and I don't
>     know what
>     >     it is.
>     >     > > > Perhaps someone has an idea?
>     >     > > >
>     >     > > > Thanks in advance.
>     >     > > >
>     >     > > > ching de la serna
>     >     > > > -------------- next part --------------
>     >     > > > An HTML attachment was scrubbed...
>     >     > > > URL:
>     >     > > >
>     >     > >
>     >    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
>     >     > > >
>     >     > > > ------------------------------
>     >     > > >
>     >     > > > Message: 2
>     >     > > > Date: Wed, 16 Feb 2011 09:40:11 +0100
>     >     > > > From: Nicholas Moore <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >     > > > Subject: Re: [aida] photos experiment
>     >     > > > To: "AIDA/Web general discussion list" <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     > > > Message-ID: <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >     > > > Content-Type: text/plain; charset="iso-8859-15"
>     >     > > >
>     >     > > > Hi Ching,
>     >     > > >
>     >     > > > Are you using Linux - maybe it is an issue with
>     permissions -
>     >     does the
>     >     > > > httpd user have access to the jpg file?
>     >     > > >
>     >     > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>     >     > > > > Hi,
>     >     > > > >
>     >     > > > > Aida is such an amazing web framework but I am finding it
>     >     difficult to
>     >     > > > > display photos. After failing to display images from my
>     >     local disk, I
>     >     > > > > started anew with a clean ver6.2 with the hope that it
>     might
>     >     lead me
>     >     > > > > somewhere. Placing a jpeg file in my root directory, I had
>     >     > > > >
>     >     > > > > e addImage: 'testimage.jpg' size: 100@200.
>     >     > > > >
>     >     > > > > as it happened many times before, nothing was
>     displayed but
>     >     the browser
>     >     > > > > reports "waiting or localhost....". I then changed the
>     code to:
>     >     > > > >
>     >     > > > > e addImage: '*testimages.jpg*' size: 100@200.
>     >     > > > >
>     >     > > > > making it *testimages*.jpg which cannot be found in my
>     >     directory.
>     >     > > > Reloading
>     >     > > > > the page allowed the browser to finish *without *the
>     >     "waiting for
>     >     > > > > localhost.." There is something going on and I don't know
>     >     what it is.
>     >     > > > > Perhaps someone has an idea?
>     >     > > > >
>     >     > > > > Thanks in advance.
>     >     > > > >
>     >     > > > > ching de la serna
>     >     > > > >
>     >     > > >
>     >     > > > --
>     >     > > > Nicholas Moore
>     >     > > > Skype: tsr_nicholas
>     >     > > >
>     >     > > > Check out my Blog
>     >     > > >
>     >     > > > "Still Running - that I may die in good health"
>     >     > > > -------------- next part --------------
>     >     > > > An HTML attachment was scrubbed...
>     >     > > > URL:
>     >     > > >
>     >     > >
>     >    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
>     >     > > >
>     >     > > > ------------------------------
>     >     > > >
>     >     > > > Message: 3
>     >     > > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
>     >     > > > From: ching <[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >     > > > Subject: Re: [aida] photos experiment
>     >     > > > To: [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     > > > Message-ID: <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >     > > > Content-Type: text/plain; charset=us-ascii
>     >     > > >
>     >     > > >
>     >     > > > Hi Nicholas,
>     >     > > >
>     >     > > >
>     >     > > >
>     >     > > > Nicholas Moore wrote:
>     >     > > > >
>     >     > > > > Hi Ching,
>     >     > > > >
>     >     > > > > Are you using Linux - maybe it is an issue with
>     permissions
>     >     - does the
>     >     > > > > httpd user have access to the jpg file?
>     >     > > > >
>     >     > > > > I am just using Windows and I'm not sure if I need
>     >     permissions to use
>     >     > > the
>     >     > > > > jpg files in my directory. I remember displaying images
>     >     using Seaside
>     >     > > and
>     >     > > > > I did not really have any problem doing it whether on my
>     >     local machine
>     >     > > or
>     >     > > > > behind Apache. I am thinking of keeping everything in
>     Smalltalk
>     >     > > > > (Swazoo/Aida).
>     >     > > > >
>     >     > > > > Thanks for the response,
>     >     > > > >
>     >     > > > > ching
>     >     > > > >
>     >     > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>     >     > > > >> Hi,
>     >     > > > >>
>     >     > > > >> Aida is such an amazing web framework but I am finding it
>     >     difficult to
>     >     > > > >> display photos. After failing to display images from my
>     >     local disk, I
>     >     > > > >> started anew with a clean ver6.2 with the hope that it
>     >     might lead me
>     >     > > > >> somewhere. Placing a jpeg file in my root directory,
>     I had
>     >     > > > >>
>     >     > > > >> e addImage: 'testimage.jpg' size: 100@200.
>     >     > > > >>
>     >     > > > >> as it happened many times before, nothing was
>     displayed but the
>     >     > > browser
>     >     > > > >> reports "waiting or localhost....". I then changed
>     the code to:
>     >     > > > >>
>     >     > > > >> e addImage: '*testimages.jpg*' size: 100@200.
>     >     > > > >>
>     >     > > > >> making it *testimages*.jpg which cannot be found in my
>     >     directory.
>     >     > > > >> Reloading
>     >     > > > >> the page allowed the browser to finish *without *the
>     >     "waiting for
>     >     > > > >> localhost.." There is something going on and I don't know
>     >     what it is.
>     >     > > > >> Perhaps someone has an idea?
>     >     > > > >>
>     >     > > > >> Thanks in advance.
>     >     > > > >>
>     >     > > > >> ching de la serna
>     >     > > > >>
>     >     > > > >
>     >     > > > > --
>     >     > > > > Nicholas Moore
>     >     > > > > Skype: tsr_nicholas
>     >     > > > >
>     >     > > > > Check out my Blog
>     >     > > > >
>     >     > > > > "Still Running - that I may die in good health"
>     >     > > > >
>     >     > > > > _______________________________________________
>     >     > > > > Aida mailing list
>     >     > > > > [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     > > > > http://lists.aidaweb.si/mailman/listinfo/aida
>     >     > > > >
>     >     > > > >
>     >     > > >
>     >     > > > --
>     >     > > > View this message in context:
>     >     > > >
>     http://forum.world.st/photos-experiment-tp3308053p3308440.html
>     >     > > > Sent from the AIDA/Web mailing list archive at Nabble.com.
>     >     > > >
>     >     > > >
>     >     > > > ------------------------------
>     >     > > >
>     >     > > > _______________________________________________
>     >     > > > Aida mailing list
>     >     > > > [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     > > > http://lists.aidaweb.si/mailman/listinfo/aida
>     >     > > >
>     >     > > >
>     >     > > > End of Aida Digest, Vol 45, Issue 10
>     >     > > > ************************************
>     >     > > >
>     >     > > -------------- next part --------------
>     >     > > An HTML attachment was scrubbed...
>     >     > > URL:
>     >     > >
>     >    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/6f6c4b7a/attachment-0001.htm
>     >     > >
>     >     > > ------------------------------
>     >     > >
>     >     > > Message: 2
>     >     > > Date: Wed, 16 Feb 2011 12:40:44 +0100
>     >     > > From: Janko Miv?ek <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     > > Subject: Re: [aida] photos experiment
>     >     > > To: AIDA/Web general discussion list <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     > > Message-ID: <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >     > > Content-Type: text/plain; charset=UTF-8
>     >     > >
>     >     > > Hi Ching,
>     >     > >
>     >     > > I'm trying to find some time to chase your problem, but in the
>     >     meantime,
>     >     > > can you try to open this jpg directly from browser.
>     >     > >
>     >     > > If you put testimage.jpg on a directory where your image
>     >     started, can
>     >     > > you open it from browser directly:
>     >     > >
>     >     > >        http://localhost:8888/testimage.jpg ?
>     >     > >
>     >     > > If not, can you open it through File->Open file ?
>     >     > >
>     >     > > Also, how did you start your image, double clicking from
>     OneClick?
>     >     > >
>     >     > > It could be that default .\ path doesn't point to the right
>     >     directory,
>     >     > > can you change it to absolute path to your images directory:
>     >     > >
>     >     > >        AIDASite>>homeDirectory: 'c:\absolute path'
>     >     > >
>     >     > > Also which version of Windows do you use?
>     >     > >
>     >     > > Hope this would help a bit
>     >     > > JAnko
>     >     > >
>     >     > > On 16. 02. 2011 12:27, Ching de la Serna wrote:
>     >     > > > Hi All,
>     >     > > >
>     >     > > > I am inclined to believe that Nicholas is right about
>     permissions.
>     >     > > > Windows might be blocking the jpeg file from being
>     displayed.
>     >     I changed
>     >     > > > the jpeg properties to "unblock" and restarted my
>     computer. I also
>     >     > > > downloaded Google Chrome thinking it might be a Firefox
>     >     problem. Nothing
>     >     > > > worked. I am ready to give up unless someone can point me in
>     >     the right
>     >     > > > direction.It seems kind of strange though, a jpeg from
>     another
>     >     website
>     >     > > > displays with no problem while a local file is blocked.
>     >     Strange behavior
>     >     > > > if indeed it is an OS issue.
>     >     > > >
>     >     > > > Thanks,
>     >     > > >
>     >     > > > Ching de la Serna
>     >     > > >
>     >     > > > On Wed, Feb 16, 2011 at 7:00 PM,
>     <[hidden email] <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     > > > <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>> wrote:
>     >     > > >
>     >     > > >     Send Aida mailing list submissions to
>     >     > > >            [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     > > >
>     >     > > >     To subscribe or unsubscribe via the World Wide Web,
>     visit
>     >     > > >            http://lists.aidaweb.si/mailman/listinfo/aida
>     >     > > >     or, via email, send a message with subject or body
>     'help' to
>     >     > > >            [hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>> <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     > > >
>     >     > > >     You can reach the person managing the list at
>     >     > > >            [hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>     <mailto:[hidden email] <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     > > >
>     >     > > >     When replying, please edit your Subject line so it
>     is more
>     >     specific
>     >     > > >     than "Re: Contents of Aida digest..."
>     >     > > >
>     >     > > >
>     >     > > >     Today's Topics:
>     >     > > >
>     >     > > >       1. photos experiment (Ching de la Serna)
>     >     > > >       2. Re: photos experiment (Nicholas Moore)
>     >     > > >       3. Re: photos experiment (ching)
>     >     > > >
>     >     > > >
>     >     > > >
>     >     > >
>     >    
>     ----------------------------------------------------------------------
>     >     > > >
>     >     > > >     Message: 1
>     >     > > >     Date: Wed, 16 Feb 2011 09:40:56 +0800
>     >     > > >     From: Ching de la Serna <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     > > >     <mailto:[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >     > > >     Subject: [aida] photos experiment
>     >     > > >     To: [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     > > >     Message-ID:
>     >     > > >
>     >      <[hidden email]
>     <mailto:[hidden email]>
>     >    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >     > > >
>     >    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >     > > >>
>     >     > > >     Content-Type: text/plain; charset="iso-8859-1"
>     >     > > >
>     >     > > >     Hi,
>     >     > > >
>     >     > > >     Aida is such an amazing web framework but I am
>     finding it
>     >     difficult
>     >     > > to
>     >     > > >     display photos. After failing to display images from my
>     >     local disk, I
>     >     > > >     started anew with a clean ver6.2 with the hope that it
>     >     might lead me
>     >     > > >     somewhere. Placing a jpeg file in my root directory,
>     I had
>     >     > > >
>     >     > > >     e addImage: 'testimage.jpg' size: 100@200.
>     >     > > >
>     >     > > >     as it happened many times before, nothing was displayed
>     >     but the
>     >     > > browser
>     >     > > >     reports "waiting or localhost....". I then changed the
>     >     code to:
>     >     > > >
>     >     > > >     e addImage: '*testimages.jpg*' size: 100@200.
>     >     > > >
>     >     > > >     making it *testimages*.jpg which cannot be found in my
>     >     directory.
>     >     > > >     Reloading
>     >     > > >     the page allowed the browser to finish *without *the
>     >     "waiting for
>     >     > > >     localhost.." There is something going on and I don't
>     know
>     >     what it is.
>     >     > > >     Perhaps someone has an idea?
>     >     > > >
>     >     > > >     Thanks in advance.
>     >     > > >
>     >     > > >     ching de la serna
>     >     > > >     -------------- next part --------------
>     >     > > >     An HTML attachment was scrubbed...
>     >     > > >     URL:
>     >     > > >
>     >     > >
>     >    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
>     >     > > >
>     >     > > >     ------------------------------
>     >     > > >
>     >     > > >     Message: 2
>     >     > > >     Date: Wed, 16 Feb 2011 09:40:11 +0100
>     >     > > >     From: Nicholas Moore <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >     > > >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >     > > >     Subject: Re: [aida] photos experiment
>     >     > > >     To: "AIDA/Web general discussion list"
>     <[hidden email] <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     > > >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>>
>     >     > > >     Message-ID:
>     <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >     > > >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >     > > >     Content-Type: text/plain; charset="iso-8859-15"
>     >     > > >
>     >     > > >     Hi Ching,
>     >     > > >
>     >     > > >     Are you using Linux - maybe it is an issue with
>     >     permissions - does
>     >     > > >     the httpd user have access to the jpg file?
>     >     > > >
>     >     > > >     On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna
>     wrote:
>     >     > > >     > Hi,
>     >     > > >     >
>     >     > > >     > Aida is such an amazing web framework but I am finding
>     >     it difficult
>     >     > > to
>     >     > > >     > display photos. After failing to display images
>     from my
>     >     local disk,
>     >     > > I
>     >     > > >     > started anew with a clean ver6.2 with the hope that it
>     >     might lead
>     >     > > me
>     >     > > >     > somewhere. Placing a jpeg file in my root
>     directory, I had
>     >     > > >     >
>     >     > > >     > e addImage: 'testimage.jpg' size: 100@200.
>     >     > > >     >
>     >     > > >     > as it happened many times before, nothing was
>     displayed
>     >     but the
>     >     > > >     browser
>     >     > > >     > reports "waiting or localhost....". I then changed the
>     >     code to:
>     >     > > >     >
>     >     > > >     > e addImage: '*testimages.jpg*' size: 100@200.
>     >     > > >     >
>     >     > > >     > making it *testimages*.jpg which cannot be found in my
>     >     directory.
>     >     > > >     Reloading
>     >     > > >     > the page allowed the browser to finish *without *the
>     >     "waiting for
>     >     > > >     > localhost.." There is something going on and I don't
>     >     know what it
>     >     > > is.
>     >     > > >     > Perhaps someone has an idea?
>     >     > > >     >
>     >     > > >     > Thanks in advance.
>     >     > > >     >
>     >     > > >     > ching de la serna
>     >     > > >     >
>     >     > > >
>     >     > > >     --
>     >     > > >     Nicholas Moore
>     >     > > >     Skype: tsr_nicholas
>     >     > > >
>     >     > > >     Check out my Blog
>     >     > > >
>     >     > > >     "Still Running - that I may die in good health"
>     >     > > >     -------------- next part --------------
>     >     > > >     An HTML attachment was scrubbed...
>     >     > > >     URL:
>     >     > > >
>     >     > >
>     >    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
>     >     > > >
>     >     > > >     ------------------------------
>     >     > > >
>     >     > > >     Message: 3
>     >     > > >     Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
>     >     > > >     From: ching <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>     <mailto:[hidden email] <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>>>
>     >     > > >     Subject: Re: [aida] photos experiment
>     >     > > >     To: [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     > > >     Message-ID:
>     <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >     > > >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >     > > >     Content-Type: text/plain; charset=us-ascii
>     >     > > >
>     >     > > >
>     >     > > >     Hi Nicholas,
>     >     > > >
>     >     > > >
>     >     > > >
>     >     > > >     Nicholas Moore wrote:
>     >     > > >     >
>     >     > > >     > Hi Ching,
>     >     > > >     >
>     >     > > >     > Are you using Linux - maybe it is an issue with
>     >     permissions - does
>     >     > > the
>     >     > > >     > httpd user have access to the jpg file?
>     >     > > >     >
>     >     > > >     > I am just using Windows and I'm not sure if I need
>     >     permissions to
>     >     > > >     use the
>     >     > > >     > jpg files in my directory. I remember displaying
>     images
>     >     using
>     >     > > >     Seaside and
>     >     > > >     > I did not really have any problem doing it whether
>     on my
>     >     local
>     >     > > >     machine or
>     >     > > >     > behind Apache. I am thinking of keeping everything in
>     >     Smalltalk
>     >     > > >     > (Swazoo/Aida).
>     >     > > >     >
>     >     > > >     > Thanks for the response,
>     >     > > >     >
>     >     > > >     > ching
>     >     > > >     >
>     >     > > >     > On Wednesday 16 Feb 2011 02:40:56 Ching de la
>     Serna wrote:
>     >     > > >     >> Hi,
>     >     > > >     >>
>     >     > > >     >> Aida is such an amazing web framework but I am
>     finding it
>     >     > > >     difficult to
>     >     > > >     >> display photos. After failing to display images
>     from my
>     >     local
>     >     > > disk, I
>     >     > > >     >> started anew with a clean ver6.2 with the hope
>     that it
>     >     might lead
>     >     > > me
>     >     > > >     >> somewhere. Placing a jpeg file in my root
>     directory, I had
>     >     > > >     >>
>     >     > > >     >> e addImage: 'testimage.jpg' size: 100@200.
>     >     > > >     >>
>     >     > > >     >> as it happened many times before, nothing was
>     displayed
>     >     but the
>     >     > > >     browser
>     >     > > >     >> reports "waiting or localhost....". I then
>     changed the
>     >     code to:
>     >     > > >     >>
>     >     > > >     >> e addImage: '*testimages.jpg*' size: 100@200.
>     >     > > >     >>
>     >     > > >     >> making it *testimages*.jpg which cannot be found
>     in my
>     >     directory.
>     >     > > >     >> Reloading
>     >     > > >     >> the page allowed the browser to finish *without *the
>     >     "waiting for
>     >     > > >     >> localhost.." There is something going on and I don't
>     >     know what it
>     >     > > is.
>     >     > > >     >> Perhaps someone has an idea?
>     >     > > >     >>
>     >     > > >     >> Thanks in advance.
>     >     > > >     >>
>     >     > > >     >> ching de la serna
>     >     > > >     >>
>     >     > > >     >
>     >     > > >     > --
>     >     > > >     > Nicholas Moore
>     >     > > >     > Skype: tsr_nicholas
>     >     > > >     >
>     >     > > >     > Check out my Blog
>     >     > > >     >
>     >     > > >     > "Still Running - that I may die in good health"
>     >     > > >     >
>     >     > > >     > _______________________________________________
>     >     > > >     > Aida mailing list
>     >     > > >     > [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     > > >     > http://lists.aidaweb.si/mailman/listinfo/aida
>     >     > > >     >
>     >     > > >     >
>     >     > > >
>     >     > > >     --
>     >     > > >     View this message in context:
>     >     > > >    
>     http://forum.world.st/photos-experiment-tp3308053p3308440.html
>     >     > > >     Sent from the AIDA/Web mailing list archive at
>     Nabble.com.
>     >     > > >
>     >     > > >
>     >     > > >     ------------------------------
>     >     > > >
>     >     > > >     _______________________________________________
>     >     > > >     Aida mailing list
>     >     > > >     [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     > > >     http://lists.aidaweb.si/mailman/listinfo/aida
>     >     > > >
>     >     > > >
>     >     > > >     End of Aida Digest, Vol 45, Issue 10
>     >     > > >     ************************************
>     >     > > >
>     >     > > >
>     >     > > >
>     >     > > >
>     >     > > > _______________________________________________
>     >     > > > Aida mailing list
>     >     > > > [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     > > > http://lists.aidaweb.si/mailman/listinfo/aida
>     >     > >
>     >     > > --
>     >     > > Janko Miv?ek
>     >     > > AIDA/Web
>     >     > > Smalltalk Web Application Server
>     >     > > http://www.aidaweb.si
>     >     > >
>     >     > >
>     >     > > ------------------------------
>     >     > >
>     >     > > Message: 3
>     >     > > Date: Wed, 16 Feb 2011 15:16:42 +0100
>     >     > > From: Nicholas Moore <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >     > > Subject: Re: [aida] 6.2 tests
>     >     > > To: "AIDA/Web general discussion list" <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >     > > Message-ID: <[hidden email]
>     <mailto:[hidden email]>
>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >     > > Content-Type: text/plain; charset="utf-8"
>     >     > >
>     >     > > I have tested with a vanilla VW and it works as you would
>     expect
>     >     - good
>     >     > > news. I used several different local variations in my
>     hosts file
>     >     and all
>     >     > > worked okay - returning 'aidasession/ajax'.
>     >     > >
>     >     > > So then I returned to my own image and retested it - but
>     was not
>     >     able to
>     >     > > reproduce the error - it too returned the correct value. There
>     >     must have
>     >     > > been some spurious condition associated with my previous test
>     >     image and
>     >     > > perhaps earlier exceptions.
>     >     > >
>     >     > > Anyway, all works as expected and my sites are now live
>     with 6.2.
>     >     > >
>     >     > > Nicholas
>     >     > >
>     >     > > On Tuesday 15 Feb 2011 14:28:54 Janko Miv?ek wrote:
>     >     > > >
>     >     > > > On 14. 02. 2011 21:20, Nicholas Moore wrote:
>     >     > > > > Excellent - I had not created the route explicitly to my
>     >     blog site!
>     >     > > > > However the request subsequently failed here:
>     >     > > > > WebSession >> printHTMLPageOn: aStream for: aRequest on:
>     >     aWebSession
>     >     > > > > aRequest urlString = '/aidasession/ajax' ifTrue:
>     >     > > > > because the actual request urlString is: '
>     >     > > http://mysite/aidasession/ajax'.
>     >     > > > > I have changed that test to:
>     >     > > > > (aRequest urlString containsSubstring:
>     '/aidasession/ajax')
>     >     ifTrue:>
>     >     > > > > and everything works as desired.
>     >     > > >
>     >     > > > This is interesting, from where aRequest urlString works
>     >     differently in
>     >     > > >  your image comparing with fresh install into vanilla VW
>     7.7 (for
>     >     > > > nistance) image from Public Store. Can you try this too?
>     >     > > >
>     >     > > > Best regards
>     >     > > > Janko
>     >     > > >
>     >     > > >
>     >     > > >
>     >     > > > > Nicholas
>     >     > > > >
>     >     > > > > On Monday 14 Feb 2011 19:51:06 Janko Miv?ek wrote:
>     >     > > > >
>     >     > > > >> Hi Nicolas,
>     >     > > > >
>     >     > > > >>
>     >     > > > >
>     >     > > > >> On 14. 02. 2011 19:39, Nicholas Moore wrote:
>     >     > > > >
>     >     > > > >>
>     >     > > > >
>     >     > > > >> > From the demo.html page for ajax in 6.2, when I
>     click on
>     >     'click me
>     >     > > for
>     >     > > > >
>     >     > > > >> > popup' I have trapped a SwazooStream. It generates a
>     >     requestURI
>     >     > > which is
>     >     > > > >
>     >     > > > >> > '/aidasession/ajax'.
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> > On the 6.1 version the equivalent requestURI is
>     >     'demo.html' (as I
>     >     > > would
>     >     > > > >
>     >     > > > >> > expect).
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> > Where does the '/aidasession/ajax URI come from?
>     >     > > > >
>     >     > > > >>
>     >     > > > >
>     >     > > > >> This is major new behavior on new event framework - all
>     >     Ajax and
>     >     > > > >
>     >     > > > >> WebSocket JSON messages go to this Url, that is, to your
>     >     session,
>     >     > > which
>     >     > > > >
>     >     > > > >> then find the right App and pass it the event. This
>     Url is in
>     >     > > JavaScript
>     >     > > > >
>     >     > > > >> code, see WebStyle js13Events. The Url of actual page is
>     >     included in
>     >     > > > >
>     >     > > > >> this message.
>     >     > > > >
>     >     > > > >>
>     >     > > > >
>     >     > > > >> Inspect the WebRouter (AIDASite default router) if
>     there is
>     >     a route to
>     >     > > > >
>     >     > > > >> the session manager. If you did the upgrade script, it
>     >     should be there
>     >     > > > >
>     >     > > > >> already. If not, rerun that addSessionManagerRoute line.
>     >     > > > >
>     >     > > > >>
>     >     > > > >
>     >     > > > >> In Firebug's console, do you see any error messages?
>     >     > > > >
>     >     > > > >>
>     >     > > > >
>     >     > > > >> Hope this helps
>     >     > > > >
>     >     > > > >> JAnko
>     >     > > > >
>     >     > > > >>
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> > On Monday 14 Feb 2011 11:35:21 Nicholas Moore wrote:
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> Janko,
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >>
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> After running the script that you described prior to
>     >     upgrade I was
>     >     > > > >
>     >     > > > >> > able to install 6.2 cleanly without any problems -
>     good work!
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >>
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> During testing (on VW) I came across a couple of
>     snags:
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >>
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> 1) The method String >> replaceSpecialCharacters
>     >     contains or:or:
>     >     > > which
>     >     > > > >
>     >     > > > >> > does not work in VW (but is ok in Pharo and Squeak). I
>     >     changed it
>     >     > > to:
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> replaceSpecialCharacters
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> |str|
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> str := self copy.
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> str do: [:ch | |ascii|
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> ascii := ch asInteger.
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> ((ascii >= 65 and: [ ascii <= 90 ]) or: [
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> ( ascii >= 97 and: [ ascii <= 122 ]) or: [ch
>     isDigit or:
>     >     [ch = $/
>     >     > > or:
>     >     > > > >
>     >     > > > >> > [ch = $.]]]])
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> ifFalse: [str replaceAll: ch with: $-]].
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> ^str
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >>
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> 2) I needed to upgrade my version of TinyMCE -
>     >     richEditorInitScript
>     >     > > > >
>     >     > > > >> > has changed.
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >>
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> 3) I have a problem with ajax calls. I previously used
>     >     > > > >
>     >     > > > >> > 'afterPostUpdate:' which is deprecated. I changed to
>     >     > > > >
>     >     > > > >> > 'onChangePostAndUpdate::' but that did not work (no
>     >     error, simply
>     >     > > > >
>     >     > > > >> > nothing happened). I do not yet know why, I will
>     need to
>     >     do some
>     >     > > > >
>     >     > > > >> > debugging this week. I also found that the WebDemo ajax
>     >     page did not
>     >     > > > >
>     >     > > > >> > work properly (the update and popup methods seemed
>     to have no
>     >     > > effect.
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >>
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> Therefore I am unsure whether the problem lies in my
>     >     implementation
>     >     > > or
>     >     > > > >
>     >     > > > >> > elsewhere. I reverted to my same app using 6.1 and the
>     >     WebDemo ajax
>     >     > > page
>     >     > > > >
>     >     > > > >> > worked perfectly. If anyone else could test this
>     and see
>     >     how the
>     >     > > demo
>     >     > > > >
>     >     > > > >> > app works, that would save me some time.
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >>
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> By the way, I notice that WebApplication >>
>     >     respondToAjaxRequest:
>     >     > > is
>     >     > > > >
>     >     > > > >> > in the 'private-obsolete' protocol, should that be in
>     >     > > 'private-ajax'?
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >>
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> Otherwise the new features look great, in particular I
>     >     am looking
>     >     > > > >
>     >     > > > >> > forward to getting to grips with JSON.
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >>
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> Regards
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >>
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >> Nicholas
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >>
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >>
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >> >
>     >     > > > >
>     >     > > > >>
>     >     > > > >
>     >     > > > >>
>     >     > > > >
>     >     > > > >
>     >     > > >
>     >     > > >
>     >     > >
>     >     > > --
>     >     > > Nicholas Moore
>     >     > > Skype: tsr_nicholas
>     >     > >
>     >     > > Check out my Blog
>     >     > >
>     >     > > "Still Running - that I may die in good health"
>     >     > > -------------- next part --------------
>     >     > > An HTML attachment was scrubbed...
>     >     > > URL:
>     >     > >
>     >    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/5d913c94/attachment.htm
>     >     > >
>     >     > > ------------------------------
>     >     > >
>     >     > > _______________________________________________
>     >     > > Aida mailing list
>     >     > > [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     > > http://lists.aidaweb.si/mailman/listinfo/aida
>     >     > >
>     >     > >
>     >     > > End of Aida Digest, Vol 45, Issue 11
>     >     > > ************************************
>     >     > >
>     >     >
>     >
>     >     --
>     >     Nicholas Moore
>     >     Skype: tsr_nicholas
>     >
>     >     Check out my Blog
>     >
>     >     "Still Running - that I may die in good health"
>     >     -------------- next part --------------
>     >     An HTML attachment was scrubbed...
>     >     URL:
>     >    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/b2fbcf0f/attachment.htm
>     >
>     >     ------------------------------
>     >
>     >     _______________________________________________
>     >     Aida mailing list
>     >     [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >     http://lists.aidaweb.si/mailman/listinfo/aida
>     >
>     >
>     >     End of Aida Digest, Vol 45, Issue 13
>     >     ************************************
>     >
>     >
>     >
>     >
>     > _______________________________________________
>     > Aida mailing list
>     > [hidden email] <mailto:[hidden email]>
>     > http://lists.aidaweb.si/mailman/listinfo/aida
>
>     --
>     Janko Miv?ek
>     AIDA/Web
>     Smalltalk Web Application Server
>     http://www.aidaweb.si
>
>
>     ------------------------------
>
>     _______________________________________________
>     Aida mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.aidaweb.si/mailman/listinfo/aida
>
>
>     End of Aida Digest, Vol 45, Issue 20
>     ************************************
>
>
>
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida

--
Janko Mivšek
Svetovalec za informatiko
Eranova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

Nicholas Moore
In reply to this post by ching

Just a final thought, I think it is significant that when you changed the name of the file to testimages.jpg, which did not exist, you got a different result. This suggests that the browser is going to the correct directory and implies that there is some other problem.

A final thought (for today) is that you might evaluate: ADemoAddressBook allInstances just to make sure that you still have an instance of ADemoAddressBook in your image.

On Wednesday 16 Feb 2011 19:30:42 Ching de la Serna wrote:

> Hi Janko, Nicholas,

>

> Thanks for all the help. I will do as you both suggest and maybe even try

> the OneClick download. I am really excited to use Aida as I think it is very

> well-thought out.

>

> Ching

>

> On Thu, Feb 17, 2011 at 2:21 AM, <[hidden email]> wrote:

>

> > Send Aida mailing list submissions to

> > [hidden email]

> >

> > To subscribe or unsubscribe via the World Wide Web, visit

> > http://lists.aidaweb.si/mailman/listinfo/aida

> > or, via email, send a message with subject or body 'help' to

> > [hidden email]

> >

> > You can reach the person managing the list at

> > [hidden email]

> >

> > When replying, please edit your Subject line so it is more specific

> > than "Re: Contents of Aida digest..."

> >

> >

> > Today's Topics:

> >

> > 1. Re: photos experiment. (Janko Miv?ek)

> >

> >

> > ----------------------------------------------------------------------

> >

> > Message: 1

> > Date: Wed, 16 Feb 2011 19:21:35 +0100

> > From: Janko Miv?ek <[hidden email]>

> > Subject: Re: [aida] photos experiment.

> > To: AIDA/Web general discussion list <[hidden email]>

> > Message-ID: <[hidden email]>

> > Content-Type: text/plain; charset=UTF-8

> >

> > Hi Ching,

> >

> > Getting http://localhost:8888/testimage.jpg to show this image is the

> > first thing you need to achieve. This is the test that Aida is set-up

> > right. So let we try to do this first.

> >

> > 1. Move your image in a more simple directory, the best simply on

> > c:\aida

> > 2. (AIDASite named:'mysite) homeDirectory: 'c:\aida\'

> > ( try both with backslash \ at the end and without)

> > 3. put testimage.jpg in c:\aida

> > 4. open http://localhost:8888/testimage.jpg

> >

> > Janko

> >

> > On 16. 02. 2011 17:01, Ching de la Serna wrote:

> > > Hi Nicholas,

> > >

> > > Thanks for the help. It was stupid of me to send the message to the

> > > class instead of the instance. The good news is that the error and my

> > > ignorance have been corrected. Also, when running the following on the

> > > browser,

> > >

> > > http://localhost:8888/testimage.jpg I now get a *404 Not Found Error*.

> > > Still far from success but surely inching closer.

> > >

> > > Ching

> > >

> > > On Wed, Feb 16, 2011 at 11:44 PM, <[hidden email]

> > > <mailto:[hidden email]>> wrote:

> > >

> > > Send Aida mailing list submissions to

> > > [hidden email] <mailto:[hidden email]>

> > >

> > > To subscribe or unsubscribe via the World Wide Web, visit

> > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > or, via email, send a message with subject or body 'help' to

> > > [hidden email] <mailto:[hidden email]>

> > >

> > > You can reach the person managing the list at

> > > [hidden email] <mailto:[hidden email]>

> > >

> > > When replying, please edit your Subject line so it is more specific

> > > than "Re: Contents of Aida digest..."

> > >

> > >

> > > Today's Topics:

> > >

> > > 1. Re: photos experiment (Nicholas Moore)

> > >

> > >

> > >

> > ----------------------------------------------------------------------

> > >

> > > Message: 1

> > > Date: Wed, 16 Feb 2011 16:43:47 +0100

> > > From: Nicholas Moore <[hidden email]

> > > <mailto:[hidden email]>>

> > > Subject: Re: [aida] photos experiment

> > > To: "AIDA/Web general discussion list" <[hidden email]

> > > <mailto:[hidden email]>>

> > > Message-ID: <[hidden email]

> > > <mailto:[hidden email]>>

> > > Content-Type: text/plain; charset="iso-8859-15"

> > >

> > > Hi Ching,

> > >

> > > Where you get this:

> > >

> > > AIDASite homeDirectory.: '"

> > > C:\Documents and Settings\ADMIN\My

> > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"'

> > > and got the same error message: doesNotUnderstand: #homeDirectory

> > >

> > > It is because you are sending homeDirectory: to the class AIDASite

> > > rather than an instance,

> > >

> > > i.e (AIDASite named: 'mysite') homeDirectory: .....

> > >

> > > Nicholas

> > >

> > > On Wednesday 16 Feb 2011 16:35:54 Ching de la Serna wrote:

> > > > Hi Janko

> > > >

> > > > Thanks for taking the time. I did as you suggested. The results

> > > are below:

> > > >

> > > > Hi Ching,

> > > > >

> > > >

> > > > I'm trying to find some time to chase your problem, but in the

> > > meantime,

> > > > can you try to open this jpg directly from browser.

> > > >

> > > > If you put testimage.jpg on a directory where your image started,

> > can

> > > > you open it from browser directly:

> > > >

> > > > http://localhost:8888/testimage.jpg ?

> > > > This does not open the jpeg file.

> > > >

> > > > If not, can you open it through File->Open file ?

> > > > I could open once I *unblocked *the testimage.jpg file. Windows

> > > was blocking

> > > > it the first time I tried. After I was able to do this, I tried

> > > doing the

> > > > above http://localhost:8888/testimage.jpg and it would still not

> > > open.

> > > >

> > > > Also, how did you start your image, double clicking from OneClick?

> > > > I loaded from Monticello the three files: *Sport-2.031.mcz ,

> > > > Swazoo-2.3beta2.1.mcz, Aida6.2-final.1.mcz *which I downloaded

> > > separately I

> > > > use Sqeak4.1

> > > >

> > > > It could be that default .\ path doesn't point to the right

> > directory,

> > > > can you change it to absolute path to your images directory:

> > > >

> > > > AIDASite>>homeDirectory: 'c:\absolute path'

> > > > I evaluated :

> > > > AIDASite homeDirectory.: '

> > > > C:\Documents and Settings\ADMIN\My

> > > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1'

> > > > and got an error:doesNotUnderstand: #homeDirectory

> > > >

> > > > I tried enclosing in ""

> > > > AIDASite homeDirectory.: '"

> > > > C:\Documents and Settings\ADMIN\My

> > > > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"'

> > > and got

> > > > the same error message: doesNotUnderstand: #homeDirectory

> > > >

> > > > Also which version of Windows do you use?

> > > > I use Windows XP

> > > >

> > > > Hope this would help a bit

> > > > JAnko

> > > >

> > > > Ching

> > > >

> > > > On Wed, Feb 16, 2011 at 10:17 PM, <[hidden email]

> > > <mailto:[hidden email]>> wrote:

> > > >

> > > > > Send Aida mailing list submissions to

> > > > > [hidden email] <mailto:[hidden email]>

> > > > >

> > > > > To subscribe or unsubscribe via the World Wide Web, visit

> > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > or, via email, send a message with subject or body 'help' to

> > > > > [hidden email] <mailto:[hidden email]>

> > > > >

> > > > > You can reach the person managing the list at

> > > > > [hidden email] <mailto:[hidden email]>

> > > > >

> > > > > When replying, please edit your Subject line so it is more

> > specific

> > > > > than "Re: Contents of Aida digest..."

> > > > >

> > > > >

> > > > > Today's Topics:

> > > > >

> > > > > 1. Re: photos experiment (Ching de la Serna)

> > > > > 2. Re: photos experiment (Janko Miv?ek)

> > > > > 3. Re: 6.2 tests (Nicholas Moore)

> > > > >

> > > > >

> > > > >

> > >

> > ----------------------------------------------------------------------

> > > > >

> > > > > Message: 1

> > > > > Date: Wed, 16 Feb 2011 19:27:14 +0800

> > > > > From: Ching de la Serna <[hidden email]

> > > <mailto:[hidden email]>>

> > > > > Subject: Re: [aida] photos experiment

> > > > > To: [hidden email] <mailto:[hidden email]>

> > > > > Message-ID:

> > > > >

> > > <[hidden email]

> > > <mailto:

> > AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]>>

> > > > > Content-Type: text/plain; charset="iso-8859-1"

> > > > >

> > > > > Hi All,

> > > > >

> > > > > I am inclined to believe that Nicholas is right about

> > > permissions. Windows

> > > > > might be blocking the jpeg file from being displayed. I changed

> > > the jpeg

> > > > > properties to "unblock" and restarted my computer. I also

> > > downloaded Google

> > > > > Chrome thinking it might be a Firefox problem. Nothing worked. I

> > > am ready

> > > > > to

> > > > > give up unless someone can point me in the right direction.It

> > > seems kind of

> > > > > strange though, a jpeg from another website displays with no

> > > problem while

> > > > > a

> > > > > local file is blocked. Strange behavior if indeed it is an OS

> > issue.

> > > > >

> > > > > Thanks,

> > > > >

> > > > > Ching de la Serna

> > > > >

> > > > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]

> > > <mailto:[hidden email]>> wrote:

> > > > >

> > > > > > Send Aida mailing list submissions to

> > > > > > [hidden email] <mailto:[hidden email]>

> > > > > >

> > > > > > To subscribe or unsubscribe via the World Wide Web, visit

> > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > or, via email, send a message with subject or body 'help' to

> > > > > > [hidden email] <mailto:[hidden email]

> > >

> > > > > >

> > > > > > You can reach the person managing the list at

> > > > > > [hidden email] <mailto:[hidden email]>

> > > > > >

> > > > > > When replying, please edit your Subject line so it is more

> > > specific

> > > > > > than "Re: Contents of Aida digest..."

> > > > > >

> > > > > >

> > > > > > Today's Topics:

> > > > > >

> > > > > > 1. photos experiment (Ching de la Serna)

> > > > > > 2. Re: photos experiment (Nicholas Moore)

> > > > > > 3. Re: photos experiment (ching)

> > > > > >

> > > > > >

> > > > > >

> > >

> > ----------------------------------------------------------------------

> > > > > >

> > > > > > Message: 1

> > > > > > Date: Wed, 16 Feb 2011 09:40:56 +0800

> > > > > > From: Ching de la Serna <[hidden email]

> > > <mailto:[hidden email]>>

> > > > > > Subject: [aida] photos experiment

> > > > > > To: [hidden email] <mailto:[hidden email]>

> > > > > > Message-ID:

> > > > > >

> > > <[hidden email]

> > > <mailto:[hidden email]

> > >>

> > > > > > Content-Type: text/plain; charset="iso-8859-1"

> > > > > >

> > > > > > Hi,

> > > > > >

> > > > > > Aida is such an amazing web framework but I am finding it

> > > difficult to

> > > > > > display photos. After failing to display images from my local

> > > disk, I

> > > > > > started anew with a clean ver6.2 with the hope that it might

> > > lead me

> > > > > > somewhere. Placing a jpeg file in my root directory, I had

> > > > > >

> > > > > > e addImage: 'testimage.jpg' size: 100@200.

> > > > > >

> > > > > > as it happened many times before, nothing was displayed but

> > > the browser

> > > > > > reports "waiting or localhost....". I then changed the code to:

> > > > > >

> > > > > > e addImage: '*testimages.jpg*' size: 100@200.

> > > > > >

> > > > > > making it *testimages*.jpg which cannot be found in my

> > directory.

> > > > > Reloading

> > > > > > the page allowed the browser to finish *without *the "waiting

> > for

> > > > > > localhost.." There is something going on and I don't know what

> > > it is.

> > > > > > Perhaps someone has an idea?

> > > > > >

> > > > > > Thanks in advance.

> > > > > >

> > > > > > ching de la serna

> > > > > > -------------- next part --------------

> > > > > > An HTML attachment was scrubbed...

> > > > > > URL:

> > > > > >

> > > > >

> > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html

> > > > > >

> > > > > > ------------------------------

> > > > > >

> > > > > > Message: 2

> > > > > > Date: Wed, 16 Feb 2011 09:40:11 +0100

> > > > > > From: Nicholas Moore <[hidden email]

> > > <mailto:[hidden email]>>

> > > > > > Subject: Re: [aida] photos experiment

> > > > > > To: "AIDA/Web general discussion list" <[hidden email]

> > > <mailto:[hidden email]>>

> > > > > > Message-ID: <[hidden email]

> > > <mailto:[hidden email]>>

> > > > > > Content-Type: text/plain; charset="iso-8859-15"

> > > > > >

> > > > > > Hi Ching,

> > > > > >

> > > > > > Are you using Linux - maybe it is an issue with permissions -

> > > does the

> > > > > > httpd user have access to the jpg file?

> > > > > >

> > > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:

> > > > > > > Hi,

> > > > > > >

> > > > > > > Aida is such an amazing web framework but I am finding it

> > > difficult to

> > > > > > > display photos. After failing to display images from my

> > > local disk, I

> > > > > > > started anew with a clean ver6.2 with the hope that it might

> > > lead me

> > > > > > > somewhere. Placing a jpeg file in my root directory, I had

> > > > > > >

> > > > > > > e addImage: 'testimage.jpg' size: 100@200.

> > > > > > >

> > > > > > > as it happened many times before, nothing was displayed but

> > > the browser

> > > > > > > reports "waiting or localhost....". I then changed the code

> > to:

> > > > > > >

> > > > > > > e addImage: '*testimages.jpg*' size: 100@200.

> > > > > > >

> > > > > > > making it *testimages*.jpg which cannot be found in my

> > > directory.

> > > > > > Reloading

> > > > > > > the page allowed the browser to finish *without *the

> > > "waiting for

> > > > > > > localhost.." There is something going on and I don't know

> > > what it is.

> > > > > > > Perhaps someone has an idea?

> > > > > > >

> > > > > > > Thanks in advance.

> > > > > > >

> > > > > > > ching de la serna

> > > > > > >

> > > > > >

> > > > > > --

> > > > > > Nicholas Moore

> > > > > > Skype: tsr_nicholas

> > > > > >

> > > > > > Check out my Blog

> > > > > >

> > > > > > "Still Running - that I may die in good health"

> > > > > > -------------- next part --------------

> > > > > > An HTML attachment was scrubbed...

> > > > > > URL:

> > > > > >

> > > > >

> > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm

> > > > > >

> > > > > > ------------------------------

> > > > > >

> > > > > > Message: 3

> > > > > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)

> > > > > > From: ching <[hidden email] <mailto:[hidden email]>>

> > > > > > Subject: Re: [aida] photos experiment

> > > > > > To: [hidden email] <mailto:[hidden email]>

> > > > > > Message-ID: <[hidden email]

> > > <mailto:[hidden email]>>

> > > > > > Content-Type: text/plain; charset=us-ascii

> > > > > >

> > > > > >

> > > > > > Hi Nicholas,

> > > > > >

> > > > > >

> > > > > >

> > > > > > Nicholas Moore wrote:

> > > > > > >

> > > > > > > Hi Ching,

> > > > > > >

> > > > > > > Are you using Linux - maybe it is an issue with permissions

> > > - does the

> > > > > > > httpd user have access to the jpg file?

> > > > > > >

> > > > > > > I am just using Windows and I'm not sure if I need

> > > permissions to use

> > > > > the

> > > > > > > jpg files in my directory. I remember displaying images

> > > using Seaside

> > > > > and

> > > > > > > I did not really have any problem doing it whether on my

> > > local machine

> > > > > or

> > > > > > > behind Apache. I am thinking of keeping everything in

> > Smalltalk

> > > > > > > (Swazoo/Aida).

> > > > > > >

> > > > > > > Thanks for the response,

> > > > > > >

> > > > > > > ching

> > > > > > >

> > > > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:

> > > > > > >> Hi,

> > > > > > >>

> > > > > > >> Aida is such an amazing web framework but I am finding it

> > > difficult to

> > > > > > >> display photos. After failing to display images from my

> > > local disk, I

> > > > > > >> started anew with a clean ver6.2 with the hope that it

> > > might lead me

> > > > > > >> somewhere. Placing a jpeg file in my root directory, I had

> > > > > > >>

> > > > > > >> e addImage: 'testimage.jpg' size: 100@200.

> > > > > > >>

> > > > > > >> as it happened many times before, nothing was displayed but

> > the

> > > > > browser

> > > > > > >> reports "waiting or localhost....". I then changed the code

> > to:

> > > > > > >>

> > > > > > >> e addImage: '*testimages.jpg*' size: 100@200.

> > > > > > >>

> > > > > > >> making it *testimages*.jpg which cannot be found in my

> > > directory.

> > > > > > >> Reloading

> > > > > > >> the page allowed the browser to finish *without *the

> > > "waiting for

> > > > > > >> localhost.." There is something going on and I don't know

> > > what it is.

> > > > > > >> Perhaps someone has an idea?

> > > > > > >>

> > > > > > >> Thanks in advance.

> > > > > > >>

> > > > > > >> ching de la serna

> > > > > > >>

> > > > > > >

> > > > > > > --

> > > > > > > Nicholas Moore

> > > > > > > Skype: tsr_nicholas

> > > > > > >

> > > > > > > Check out my Blog

> > > > > > >

> > > > > > > "Still Running - that I may die in good health"

> > > > > > >

> > > > > > > _______________________________________________

> > > > > > > Aida mailing list

> > > > > > > [hidden email] <mailto:[hidden email]>

> > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > >

> > > > > > >

> > > > > >

> > > > > > --

> > > > > > View this message in context:

> > > > > > http://forum.world.st/photos-experiment-tp3308053p3308440.html

> > > > > > Sent from the AIDA/Web mailing list archive at Nabble.com.

> > > > > >

> > > > > >

> > > > > > ------------------------------

> > > > > >

> > > > > > _______________________________________________

> > > > > > Aida mailing list

> > > > > > [hidden email] <mailto:[hidden email]>

> > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > >

> > > > > >

> > > > > > End of Aida Digest, Vol 45, Issue 10

> > > > > > ************************************

> > > > > >

> > > > > -------------- next part --------------

> > > > > An HTML attachment was scrubbed...

> > > > > URL:

> > > > >

> > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/6f6c4b7a/attachment-0001.htm

> > > > >

> > > > > ------------------------------

> > > > >

> > > > > Message: 2

> > > > > Date: Wed, 16 Feb 2011 12:40:44 +0100

> > > > > From: Janko Miv?ek <[hidden email]

> > > <mailto:[hidden email]>>

> > > > > Subject: Re: [aida] photos experiment

> > > > > To: AIDA/Web general discussion list <[hidden email]

> > > <mailto:[hidden email]>>

> > > > > Message-ID: <[hidden email]

> > > <mailto:[hidden email]>>

> > > > > Content-Type: text/plain; charset=UTF-8

> > > > >

> > > > > Hi Ching,

> > > > >

> > > > > I'm trying to find some time to chase your problem, but in the

> > > meantime,

> > > > > can you try to open this jpg directly from browser.

> > > > >

> > > > > If you put testimage.jpg on a directory where your image

> > > started, can

> > > > > you open it from browser directly:

> > > > >

> > > > > http://localhost:8888/testimage.jpg ?

> > > > >

> > > > > If not, can you open it through File->Open file ?

> > > > >

> > > > > Also, how did you start your image, double clicking from

> > OneClick?

> > > > >

> > > > > It could be that default .\ path doesn't point to the right

> > > directory,

> > > > > can you change it to absolute path to your images directory:

> > > > >

> > > > > AIDASite>>homeDirectory: 'c:\absolute path'

> > > > >

> > > > > Also which version of Windows do you use?

> > > > >

> > > > > Hope this would help a bit

> > > > > JAnko

> > > > >

> > > > > On 16. 02. 2011 12:27, Ching de la Serna wrote:

> > > > > > Hi All,

> > > > > >

> > > > > > I am inclined to believe that Nicholas is right about

> > permissions.

> > > > > > Windows might be blocking the jpeg file from being displayed.

> > > I changed

> > > > > > the jpeg properties to "unblock" and restarted my computer. I

> > also

> > > > > > downloaded Google Chrome thinking it might be a Firefox

> > > problem. Nothing

> > > > > > worked. I am ready to give up unless someone can point me in

> > > the right

> > > > > > direction.It seems kind of strange though, a jpeg from another

> > > website

> > > > > > displays with no problem while a local file is blocked.

> > > Strange behavior

> > > > > > if indeed it is an OS issue.

> > > > > >

> > > > > > Thanks,

> > > > > >

> > > > > > Ching de la Serna

> > > > > >

> > > > > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]

> > > <mailto:[hidden email]>

> > > > > > <mailto:[hidden email]

> > > <mailto:[hidden email]>>> wrote:

> > > > > >

> > > > > > Send Aida mailing list submissions to

> > > > > > [hidden email] <mailto:[hidden email]>

> > > <mailto:[hidden email] <mailto:[hidden email]>>

> > > > > >

> > > > > > To subscribe or unsubscribe via the World Wide Web, visit

> > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > or, via email, send a message with subject or body 'help'

> > to

> > > > > > [hidden email]

> > > <mailto:[hidden email]> <mailto:[hidden email]

> > > <mailto:[hidden email]>>

> > > > > >

> > > > > > You can reach the person managing the list at

> > > > > > [hidden email]

> > > <mailto:[hidden email]> <mailto:[hidden email]

> > > <mailto:[hidden email]>>

> > > > > >

> > > > > > When replying, please edit your Subject line so it is more

> > > specific

> > > > > > than "Re: Contents of Aida digest..."

> > > > > >

> > > > > >

> > > > > > Today's Topics:

> > > > > >

> > > > > > 1. photos experiment (Ching de la Serna)

> > > > > > 2. Re: photos experiment (Nicholas Moore)

> > > > > > 3. Re: photos experiment (ching)

> > > > > >

> > > > > >

> > > > > >

> > > > >

> > >

> > ----------------------------------------------------------------------

> > > > > >

> > > > > > Message: 1

> > > > > > Date: Wed, 16 Feb 2011 09:40:56 +0800

> > > > > > From: Ching de la Serna <[hidden email]

> > > <mailto:[hidden email]>

> > > > > > <mailto:[hidden email] <mailto:[hidden email]>>>

> > > > > > Subject: [aida] photos experiment

> > > > > > To: [hidden email] <mailto:[hidden email]>

> > > <mailto:[hidden email] <mailto:[hidden email]>>

> > > > > > Message-ID:

> > > > > >

> > > <[hidden email]

> > > <mailto:[hidden email]

> > >

> > > > > >

> > > <mailto:[hidden email]

> > > <mailto:[hidden email]

> > >

> > > > > >>

> > > > > > Content-Type: text/plain; charset="iso-8859-1"

> > > > > >

> > > > > > Hi,

> > > > > >

> > > > > > Aida is such an amazing web framework but I am finding it

> > > difficult

> > > > > to

> > > > > > display photos. After failing to display images from my

> > > local disk, I

> > > > > > started anew with a clean ver6.2 with the hope that it

> > > might lead me

> > > > > > somewhere. Placing a jpeg file in my root directory, I had

> > > > > >

> > > > > > e addImage: 'testimage.jpg' size: 100@200.

> > > > > >

> > > > > > as it happened many times before, nothing was displayed

> > > but the

> > > > > browser

> > > > > > reports "waiting or localhost....". I then changed the

> > > code to:

> > > > > >

> > > > > > e addImage: '*testimages.jpg*' size: 100@200.

> > > > > >

> > > > > > making it *testimages*.jpg which cannot be found in my

> > > directory.

> > > > > > Reloading

> > > > > > the page allowed the browser to finish *without *the

> > > "waiting for

> > > > > > localhost.." There is something going on and I don't know

> > > what it is.

> > > > > > Perhaps someone has an idea?

> > > > > >

> > > > > > Thanks in advance.

> > > > > >

> > > > > > ching de la serna

> > > > > > -------------- next part --------------

> > > > > > An HTML attachment was scrubbed...

> > > > > > URL:

> > > > > >

> > > > >

> > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html

> > > > > >

> > > > > > ------------------------------

> > > > > >

> > > > > > Message: 2

> > > > > > Date: Wed, 16 Feb 2011 09:40:11 +0100

> > > > > > From: Nicholas Moore <[hidden email]

> > > <mailto:[hidden email]>

> > > > > > <mailto:[hidden email]

> > > <mailto:[hidden email]>>>

> > > > > > Subject: Re: [aida] photos experiment

> > > > > > To: "AIDA/Web general discussion list" <[hidden email]

> > > <mailto:[hidden email]>

> > > > > > <mailto:[hidden email] <mailto:[hidden email]>>>

> > > > > > Message-ID: <[hidden email]

> > > <mailto:[hidden email]>

> > > > > > <mailto:[hidden email]

> > > <mailto:[hidden email]>>>

> > > > > > Content-Type: text/plain; charset="iso-8859-15"

> > > > > >

> > > > > > Hi Ching,

> > > > > >

> > > > > > Are you using Linux - maybe it is an issue with

> > > permissions - does

> > > > > > the httpd user have access to the jpg file?

> > > > > >

> > > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:

> > > > > > > Hi,

> > > > > > >

> > > > > > > Aida is such an amazing web framework but I am finding

> > > it difficult

> > > > > to

> > > > > > > display photos. After failing to display images from my

> > > local disk,

> > > > > I

> > > > > > > started anew with a clean ver6.2 with the hope that it

> > > might lead

> > > > > me

> > > > > > > somewhere. Placing a jpeg file in my root directory, I

> > had

> > > > > > >

> > > > > > > e addImage: 'testimage.jpg' size: 100@200.

> > > > > > >

> > > > > > > as it happened many times before, nothing was displayed

> > > but the

> > > > > > browser

> > > > > > > reports "waiting or localhost....". I then changed the

> > > code to:

> > > > > > >

> > > > > > > e addImage: '*testimages.jpg*' size: 100@200.

> > > > > > >

> > > > > > > making it *testimages*.jpg which cannot be found in my

> > > directory.

> > > > > > Reloading

> > > > > > > the page allowed the browser to finish *without *the

> > > "waiting for

> > > > > > > localhost.." There is something going on and I don't

> > > know what it

> > > > > is.

> > > > > > > Perhaps someone has an idea?

> > > > > > >

> > > > > > > Thanks in advance.

> > > > > > >

> > > > > > > ching de la serna

> > > > > > >

> > > > > >

> > > > > > --

> > > > > > Nicholas Moore

> > > > > > Skype: tsr_nicholas

> > > > > >

> > > > > > Check out my Blog

> > > > > >

> > > > > > "Still Running - that I may die in good health"

> > > > > > -------------- next part --------------

> > > > > > An HTML attachment was scrubbed...

> > > > > > URL:

> > > > > >

> > > > >

> > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm

> > > > > >

> > > > > > ------------------------------

> > > > > >

> > > > > > Message: 3

> > > > > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)

> > > > > > From: ching <[hidden email]

> > > <mailto:[hidden email]> <mailto:[hidden email]

> > > <mailto:[hidden email]>>>

> > > > > > Subject: Re: [aida] photos experiment

> > > > > > To: [hidden email] <mailto:[hidden email]>

> > > <mailto:[hidden email] <mailto:[hidden email]>>

> > > > > > Message-ID: <[hidden email]

> > > <mailto:[hidden email]>

> > > > > > <mailto:[hidden email]

> > > <mailto:[hidden email]>>>

> > > > > > Content-Type: text/plain; charset=us-ascii

> > > > > >

> > > > > >

> > > > > > Hi Nicholas,

> > > > > >

> > > > > >

> > > > > >

> > > > > > Nicholas Moore wrote:

> > > > > > >

> > > > > > > Hi Ching,

> > > > > > >

> > > > > > > Are you using Linux - maybe it is an issue with

> > > permissions - does

> > > > > the

> > > > > > > httpd user have access to the jpg file?

> > > > > > >

> > > > > > > I am just using Windows and I'm not sure if I need

> > > permissions to

> > > > > > use the

> > > > > > > jpg files in my directory. I remember displaying images

> > > using

> > > > > > Seaside and

> > > > > > > I did not really have any problem doing it whether on my

> > > local

> > > > > > machine or

> > > > > > > behind Apache. I am thinking of keeping everything in

> > > Smalltalk

> > > > > > > (Swazoo/Aida).

> > > > > > >

> > > > > > > Thanks for the response,

> > > > > > >

> > > > > > > ching

> > > > > > >

> > > > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna

> > wrote:

> > > > > > >> Hi,

> > > > > > >>

> > > > > > >> Aida is such an amazing web framework but I am finding

> > it

> > > > > > difficult to

> > > > > > >> display photos. After failing to display images from my

> > > local

> > > > > disk, I

> > > > > > >> started anew with a clean ver6.2 with the hope that it

> > > might lead

> > > > > me

> > > > > > >> somewhere. Placing a jpeg file in my root directory, I

> > had

> > > > > > >>

> > > > > > >> e addImage: 'testimage.jpg' size: 100@200.

> > > > > > >>

> > > > > > >> as it happened many times before, nothing was displayed

> > > but the

> > > > > > browser

> > > > > > >> reports "waiting or localhost....". I then changed the

> > > code to:

> > > > > > >>

> > > > > > >> e addImage: '*testimages.jpg*' size: 100@200.

> > > > > > >>

> > > > > > >> making it *testimages*.jpg which cannot be found in my

> > > directory.

> > > > > > >> Reloading

> > > > > > >> the page allowed the browser to finish *without *the

> > > "waiting for

> > > > > > >> localhost.." There is something going on and I don't

> > > know what it

> > > > > is.

> > > > > > >> Perhaps someone has an idea?

> > > > > > >>

> > > > > > >> Thanks in advance.

> > > > > > >>

> > > > > > >> ching de la serna

> > > > > > >>

> > > > > > >

> > > > > > > --

> > > > > > > Nicholas Moore

> > > > > > > Skype: tsr_nicholas

> > > > > > >

> > > > > > > Check out my Blog

> > > > > > >

> > > > > > > "Still Running - that I may die in good health"

> > > > > > >

> > > > > > > _______________________________________________

> > > > > > > Aida mailing list

> > > > > > > [hidden email] <mailto:[hidden email]>

> > > <mailto:[hidden email] <mailto:[hidden email]>>

> > > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > > >

> > > > > > >

> > > > > >

> > > > > > --

> > > > > > View this message in context:

> > > > > >

> > http://forum.world.st/photos-experiment-tp3308053p3308440.html

> > > > > > Sent from the AIDA/Web mailing list archive at Nabble.com.

> > > > > >

> > > > > >

> > > > > > ------------------------------

> > > > > >

> > > > > > _______________________________________________

> > > > > > Aida mailing list

> > > > > > [hidden email] <mailto:[hidden email]>

> > > <mailto:[hidden email] <mailto:[hidden email]>>

> > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > > >

> > > > > >

> > > > > > End of Aida Digest, Vol 45, Issue 10

> > > > > > ************************************

> > > > > >

> > > > > >

> > > > > >

> > > > > >

> > > > > > _______________________________________________

> > > > > > Aida mailing list

> > > > > > [hidden email] <mailto:[hidden email]>

> > > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > >

> > > > > --

> > > > > Janko Miv?ek

> > > > > AIDA/Web

> > > > > Smalltalk Web Application Server

> > > > > http://www.aidaweb.si

> > > > >

> > > > >

> > > > > ------------------------------

> > > > >

> > > > > Message: 3

> > > > > Date: Wed, 16 Feb 2011 15:16:42 +0100

> > > > > From: Nicholas Moore <[hidden email]

> > > <mailto:[hidden email]>>

> > > > > Subject: Re: [aida] 6.2 tests

> > > > > To: "AIDA/Web general discussion list" <[hidden email]

> > > <mailto:[hidden email]>>

> > > > > Message-ID: <[hidden email]

> > > <mailto:[hidden email]>>

> > > > > Content-Type: text/plain; charset="utf-8"

> > > > >

> > > > > I have tested with a vanilla VW and it works as you would expect

> > > - good

> > > > > news. I used several different local variations in my hosts file

> > > and all

> > > > > worked okay - returning 'aidasession/ajax'.

> > > > >

> > > > > So then I returned to my own image and retested it - but was not

> > > able to

> > > > > reproduce the error - it too returned the correct value. There

> > > must have

> > > > > been some spurious condition associated with my previous test

> > > image and

> > > > > perhaps earlier exceptions.

> > > > >

> > > > > Anyway, all works as expected and my sites are now live with 6.2.

> > > > >

> > > > > Nicholas

> > > > >

> > > > > On Tuesday 15 Feb 2011 14:28:54 Janko Miv?ek wrote:

> > > > > >

> > > > > > On 14. 02. 2011 21:20, Nicholas Moore wrote:

> > > > > > > Excellent - I had not created the route explicitly to my

> > > blog site!

> > > > > > > However the request subsequently failed here:

> > > > > > > WebSession >> printHTMLPageOn: aStream for: aRequest on:

> > > aWebSession

> > > > > > > aRequest urlString = '/aidasession/ajax' ifTrue:

> > > > > > > because the actual request urlString is: '

> > > > > http://mysite/aidasession/ajax'.

> > > > > > > I have changed that test to:

> > > > > > > (aRequest urlString containsSubstring: '/aidasession/ajax')

> > > ifTrue:>

> > > > > > > and everything works as desired.

> > > > > >

> > > > > > This is interesting, from where aRequest urlString works

> > > differently in

> > > > > > your image comparing with fresh install into vanilla VW 7.7

> > (for

> > > > > > nistance) image from Public Store. Can you try this too?

> > > > > >

> > > > > > Best regards

> > > > > > Janko

> > > > > >

> > > > > >

> > > > > >

> > > > > > > Nicholas

> > > > > > >

> > > > > > > On Monday 14 Feb 2011 19:51:06 Janko Miv?ek wrote:

> > > > > > >

> > > > > > >> Hi Nicolas,

> > > > > > >

> > > > > > >>

> > > > > > >

> > > > > > >> On 14. 02. 2011 19:39, Nicholas Moore wrote:

> > > > > > >

> > > > > > >>

> > > > > > >

> > > > > > >> > From the demo.html page for ajax in 6.2, when I click on

> > > 'click me

> > > > > for

> > > > > > >

> > > > > > >> > popup' I have trapped a SwazooStream. It generates a

> > > requestURI

> > > > > which is

> > > > > > >

> > > > > > >> > '/aidasession/ajax'.

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> > On the 6.1 version the equivalent requestURI is

> > > 'demo.html' (as I

> > > > > would

> > > > > > >

> > > > > > >> > expect).

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> > Where does the '/aidasession/ajax URI come from?

> > > > > > >

> > > > > > >>

> > > > > > >

> > > > > > >> This is major new behavior on new event framework - all

> > > Ajax and

> > > > > > >

> > > > > > >> WebSocket JSON messages go to this Url, that is, to your

> > > session,

> > > > > which

> > > > > > >

> > > > > > >> then find the right App and pass it the event. This Url is

> > in

> > > > > JavaScript

> > > > > > >

> > > > > > >> code, see WebStyle js13Events. The Url of actual page is

> > > included in

> > > > > > >

> > > > > > >> this message.

> > > > > > >

> > > > > > >>

> > > > > > >

> > > > > > >> Inspect the WebRouter (AIDASite default router) if there is

> > > a route to

> > > > > > >

> > > > > > >> the session manager. If you did the upgrade script, it

> > > should be there

> > > > > > >

> > > > > > >> already. If not, rerun that addSessionManagerRoute line.

> > > > > > >

> > > > > > >>

> > > > > > >

> > > > > > >> In Firebug's console, do you see any error messages?

> > > > > > >

> > > > > > >>

> > > > > > >

> > > > > > >> Hope this helps

> > > > > > >

> > > > > > >> JAnko

> > > > > > >

> > > > > > >>

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> > On Monday 14 Feb 2011 11:35:21 Nicholas Moore wrote:

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> Janko,

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >>

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> After running the script that you described prior to

> > > upgrade I was

> > > > > > >

> > > > > > >> > able to install 6.2 cleanly without any problems - good

> > work!

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >>

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> During testing (on VW) I came across a couple of snags:

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >>

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> 1) The method String >> replaceSpecialCharacters

> > > contains or:or:

> > > > > which

> > > > > > >

> > > > > > >> > does not work in VW (but is ok in Pharo and Squeak). I

> > > changed it

> > > > > to:

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> replaceSpecialCharacters

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> |str|

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> str := self copy.

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> str do: [:ch | |ascii|

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> ascii := ch asInteger.

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> ((ascii >= 65 and: [ ascii <= 90 ]) or: [

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> ( ascii >= 97 and: [ ascii <= 122 ]) or: [ch isDigit or:

> > > [ch = $/

> > > > > or:

> > > > > > >

> > > > > > >> > [ch = $.]]]])

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> ifFalse: [str replaceAll: ch with: $-]].

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> ^str

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >>

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> 2) I needed to upgrade my version of TinyMCE -

> > > richEditorInitScript

> > > > > > >

> > > > > > >> > has changed.

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >>

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> 3) I have a problem with ajax calls. I previously used

> > > > > > >

> > > > > > >> > 'afterPostUpdate:' which is deprecated. I changed to

> > > > > > >

> > > > > > >> > 'onChangePostAndUpdate::' but that did not work (no

> > > error, simply

> > > > > > >

> > > > > > >> > nothing happened). I do not yet know why, I will need to

> > > do some

> > > > > > >

> > > > > > >> > debugging this week. I also found that the WebDemo ajax

> > > page did not

> > > > > > >

> > > > > > >> > work properly (the update and popup methods seemed to have

> > no

> > > > > effect.

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >>

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> Therefore I am unsure whether the problem lies in my

> > > implementation

> > > > > or

> > > > > > >

> > > > > > >> > elsewhere. I reverted to my same app using 6.1 and the

> > > WebDemo ajax

> > > > > page

> > > > > > >

> > > > > > >> > worked perfectly. If anyone else could test this and see

> > > how the

> > > > > demo

> > > > > > >

> > > > > > >> > app works, that would save me some time.

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >>

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> By the way, I notice that WebApplication >>

> > > respondToAjaxRequest:

> > > > > is

> > > > > > >

> > > > > > >> > in the 'private-obsolete' protocol, should that be in

> > > > > 'private-ajax'?

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >>

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> Otherwise the new features look great, in particular I

> > > am looking

> > > > > > >

> > > > > > >> > forward to getting to grips with JSON.

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >>

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> Regards

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >>

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >> Nicholas

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >>

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >>

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >> >

> > > > > > >

> > > > > > >>

> > > > > > >

> > > > > > >>

> > > > > > >

> > > > > > >

> > > > > >

> > > > > >

> > > > >

> > > > > --

> > > > > Nicholas Moore

> > > > > Skype: tsr_nicholas

> > > > >

> > > > > Check out my Blog

> > > > >

> > > > > "Still Running - that I may die in good health"

> > > > > -------------- next part --------------

> > > > > An HTML attachment was scrubbed...

> > > > > URL:

> > > > >

> > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/5d913c94/attachment.htm

> > > > >

> > > > > ------------------------------

> > > > >

> > > > > _______________________________________________

> > > > > Aida mailing list

> > > > > [hidden email] <mailto:[hidden email]>

> > > > > http://lists.aidaweb.si/mailman/listinfo/aida

> > > > >

> > > > >

> > > > > End of Aida Digest, Vol 45, Issue 11

> > > > > ************************************

> > > > >

> > > >

> > >

> > > --

> > > Nicholas Moore

> > > Skype: tsr_nicholas

> > >

> > > Check out my Blog

> > >

> > > "Still Running - that I may die in good health"

> > > -------------- next part --------------

> > > An HTML attachment was scrubbed...

> > > URL:

> > >

> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/b2fbcf0f/attachment.htm

> > >

> > > ------------------------------

> > >

> > > _______________________________________________

> > > Aida mailing list

> > > [hidden email] <mailto:[hidden email]>

> > > http://lists.aidaweb.si/mailman/listinfo/aida

> > >

> > >

> > > End of Aida Digest, Vol 45, Issue 13

> > > ************************************

> > >

> > >

> > >

> > >

> > > _______________________________________________

> > > Aida mailing list

> > > [hidden email]

> > > http://lists.aidaweb.si/mailman/listinfo/aida

> >

> > --

> > Janko Miv?ek

> > AIDA/Web

> > Smalltalk Web Application Server

> > http://www.aidaweb.si

> >

> >

> > ------------------------------

> >

> > _______________________________________________

> > Aida mailing list

> > [hidden email]

> > http://lists.aidaweb.si/mailman/listinfo/aida

> >

> >

> > End of Aida Digest, Vol 45, Issue 20

> > ************************************

> >

>


--

Nicholas Moore

Skype: tsr_nicholas

Check out my Blog

"Still Running - that I may die in good health"


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

Janko Mivšek
In reply to this post by Janko Mivšek
Ching, I actually got the same problem and you! Even more, opening such
image causes Firefox to eat 100% CPU and grows in memory indefinitely.
So, now let me found out the reason...

On 16. 02. 2011 19:37, Janko Mivšek wrote:

> On 16. 02. 2011 19:30, Ching de la Serna wrote:
>> Hi Janko, Nicholas,
>>
>> Thanks for all the help. I will do as you both suggest and maybe even
>> try the OneClick download. I am really excited to use Aida as I think it
>> is very well-thought out.
>
> Thanks for nice words about Aida and let me know you that I'm just
> trying OneClick on WinXP by myself. So, wait please few minutes for
> results instead.
>
> Best regards
> Janko
>
>>
>> Ching
>>
>> On Thu, Feb 17, 2011 at 2:21 AM, <[hidden email]
>> <mailto:[hidden email]>> wrote:
>>
>>     Send Aida mailing list submissions to
>>            [hidden email] <mailto:[hidden email]>
>>
>>     To subscribe or unsubscribe via the World Wide Web, visit
>>            http://lists.aidaweb.si/mailman/listinfo/aida
>>     or, via email, send a message with subject or body 'help' to
>>            [hidden email] <mailto:[hidden email]>
>>
>>     You can reach the person managing the list at
>>            [hidden email] <mailto:[hidden email]>
>>
>>     When replying, please edit your Subject line so it is more specific
>>     than "Re: Contents of Aida digest..."
>>
>>
>>     Today's Topics:
>>
>>       1. Re: photos experiment. (Janko Miv?ek)
>>
>>
>>     ----------------------------------------------------------------------
>>
>>     Message: 1
>>     Date: Wed, 16 Feb 2011 19:21:35 +0100
>>     From: Janko Miv?ek <[hidden email]
>>     <mailto:[hidden email]>>
>>     Subject: Re: [aida] photos experiment.
>>     To: AIDA/Web general discussion list <[hidden email]
>>     <mailto:[hidden email]>>
>>     Message-ID: <[hidden email]
>>     <mailto:[hidden email]>>
>>     Content-Type: text/plain; charset=UTF-8
>>
>>     Hi Ching,
>>
>>     Getting http://localhost:8888/testimage.jpg to show this image is the
>>     first thing you need to achieve. This is the test that Aida is set-up
>>     right. So let we try to do this first.
>>
>>      1. Move your image in a more simple directory, the best simply on
>>         c:\aida
>>      2. (AIDASite named:'mysite) homeDirectory: 'c:\aida\'
>>         ( try both with backslash \ at the end and without)
>>      3. put testimage.jpg in c:\aida
>>      4. open http://localhost:8888/testimage.jpg
>>
>>     Janko
>>
>>     On 16. 02. 2011 17:01, Ching de la Serna wrote:
>>     > Hi Nicholas,
>>     >
>>     > Thanks for the help. It was stupid of me to send the message to the
>>     > class instead of the instance. The good news is that the error and my
>>     > ignorance have been corrected. Also, when running the following on the
>>     > browser,
>>     >
>>     > http://localhost:8888/testimage.jpg I now get a *404 Not Found Error*.
>>     > Still far from success but surely inching closer.
>>     >
>>     > Ching
>>     >
>>     > On Wed, Feb 16, 2011 at 11:44 PM, <[hidden email]
>>     <mailto:[hidden email]>
>>     > <mailto:[hidden email] <mailto:[hidden email]>>>
>>     wrote:
>>     >
>>     >     Send Aida mailing list submissions to
>>     >            [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >
>>     >     To subscribe or unsubscribe via the World Wide Web, visit
>>     >            http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     or, via email, send a message with subject or body 'help' to
>>     >            [hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >
>>     >     You can reach the person managing the list at
>>     >            [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >
>>     >     When replying, please edit your Subject line so it is more
>>     specific
>>     >     than "Re: Contents of Aida digest..."
>>     >
>>     >
>>     >     Today's Topics:
>>     >
>>     >       1. Re: photos experiment (Nicholas Moore)
>>     >
>>     >
>>     >    
>>     ----------------------------------------------------------------------
>>     >
>>     >     Message: 1
>>     >     Date: Wed, 16 Feb 2011 16:43:47 +0100
>>     >     From: Nicholas Moore <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     Subject: Re: [aida] photos experiment
>>     >     To: "AIDA/Web general discussion list" <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     Message-ID: <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     Content-Type: text/plain; charset="iso-8859-15"
>>     >
>>     >     Hi Ching,
>>     >
>>     >     Where you get this:
>>     >
>>     >     AIDASite homeDirectory.: '"
>>     >     C:\Documents and Settings\ADMIN\My
>>     >     Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"'
>>     >     and got the same error message: doesNotUnderstand: #homeDirectory
>>     >
>>     >     It is because you are sending homeDirectory: to the class AIDASite
>>     >     rather than an instance,
>>     >
>>     >     i.e (AIDASite named: 'mysite') homeDirectory: .....
>>     >
>>     >     Nicholas
>>     >
>>     >     On Wednesday 16 Feb 2011 16:35:54 Ching de la Serna wrote:
>>     >     > Hi Janko
>>     >     >
>>     >     > Thanks for taking the time. I did as you suggested. The results
>>     >     are below:
>>     >     >
>>     >     > Hi Ching,
>>     >     > >
>>     >     >
>>     >     > I'm trying to find some time to chase your problem, but in the
>>     >     meantime,
>>     >     > can you try to open this jpg directly from browser.
>>     >     >
>>     >     > If you put testimage.jpg on a directory where your image
>>     started, can
>>     >     > you open it from browser directly:
>>     >     >
>>     >     >        http://localhost:8888/testimage.jpg ?
>>     >     > This does not open the jpeg file.
>>     >     >
>>     >     > If not, can you open it through File->Open file ?
>>     >     > I could open once I *unblocked *the testimage.jpg file. Windows
>>     >     was blocking
>>     >     > it the first time I tried. After I was able to do this, I tried
>>     >     doing the
>>     >     > above  http://localhost:8888/testimage.jpg and it would
>>     still not
>>     >     open.
>>     >     >
>>     >     > Also, how did you start your image, double clicking from
>>     OneClick?
>>     >     > I loaded from Monticello the three files: *Sport-2.031.mcz ,
>>     >     > Swazoo-2.3beta2.1.mcz, Aida6.2-final.1.mcz *which I downloaded
>>     >     separately I
>>     >     > use Sqeak4.1
>>     >     >
>>     >     > It could be that default .\ path doesn't point to the right
>>     directory,
>>     >     > can you change it to absolute path to your images directory:
>>     >     >
>>     >     >        AIDASite>>homeDirectory: 'c:\absolute path'
>>     >     > I evaluated :
>>     >     > AIDASite homeDirectory.: '
>>     >     > C:\Documents and Settings\ADMIN\My
>>     >     > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak
>>     4.1'
>>     >     > and got an error:doesNotUnderstand: #homeDirectory
>>     >     >
>>     >     > I tried enclosing in ""
>>     >     > AIDASite homeDirectory.: '"
>>     >     > C:\Documents and Settings\ADMIN\My
>>     >     > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak
>>     4.1"'
>>     >     and got
>>     >     > the same error message: doesNotUnderstand: #homeDirectory
>>     >     >
>>     >     > Also which version of Windows do you use?
>>     >     > I use Windows XP
>>     >     >
>>     >     > Hope this would help a bit
>>     >     > JAnko
>>     >     >
>>     >     > Ching
>>     >     >
>>     >     > On Wed, Feb 16, 2011 at 10:17 PM, <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>> wrote:
>>     >     >
>>     >     > > Send Aida mailing list submissions to
>>     >     > >        [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > >
>>     >     > > To subscribe or unsubscribe via the World Wide Web, visit
>>     >     > >        http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > or, via email, send a message with subject or body 'help' to
>>     >     > >        [hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > >
>>     >     > > You can reach the person managing the list at
>>     >     > >        [hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > >
>>     >     > > When replying, please edit your Subject line so it is more
>>     specific
>>     >     > > than "Re: Contents of Aida digest..."
>>     >     > >
>>     >     > >
>>     >     > > Today's Topics:
>>     >     > >
>>     >     > >   1. Re: photos experiment (Ching de la Serna)
>>     >     > >   2. Re: photos experiment (Janko Miv?ek)
>>     >     > >   3. Re: 6.2 tests (Nicholas Moore)
>>     >     > >
>>     >     > >
>>     >     > >
>>     >    
>>     ----------------------------------------------------------------------
>>     >     > >
>>     >     > > Message: 1
>>     >     > > Date: Wed, 16 Feb 2011 19:27:14 +0800
>>     >     > > From: Ching de la Serna <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > Subject: Re: [aida] photos experiment
>>     >     > > To: [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > Message-ID:
>>     >     > >
>>     >      <[hidden email]
>>     <mailto:AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]>
>>     >    
>>     <mailto:AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]
>>     <mailto:AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]>>>
>>     >     > > Content-Type: text/plain; charset="iso-8859-1"
>>     >     > >
>>     >     > > Hi All,
>>     >     > >
>>     >     > > I am inclined to believe that Nicholas is right about
>>     >     permissions. Windows
>>     >     > > might be blocking the jpeg file from being displayed. I
>>     changed
>>     >     the jpeg
>>     >     > > properties to "unblock" and restarted my computer. I also
>>     >     downloaded Google
>>     >     > > Chrome thinking it might be a Firefox problem. Nothing
>>     worked. I
>>     >     am ready
>>     >     > > to
>>     >     > > give up unless someone can point me in the right direction.It
>>     >     seems kind of
>>     >     > > strange though, a jpeg from another website displays with no
>>     >     problem while
>>     >     > > a
>>     >     > > local file is blocked. Strange behavior if indeed it is an
>>     OS issue.
>>     >     > >
>>     >     > > Thanks,
>>     >     > >
>>     >     > > Ching de la Serna
>>     >     > >
>>     >     > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>> wrote:
>>     >     > >
>>     >     > > > Send Aida mailing list submissions to
>>     >     > > >        [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > >
>>     >     > > > To subscribe or unsubscribe via the World Wide Web, visit
>>     >     > > >        http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > > or, via email, send a message with subject or body 'help' to
>>     >     > > >        [hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >
>>     >     > > > You can reach the person managing the list at
>>     >     > > >        [hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >
>>     >     > > > When replying, please edit your Subject line so it is more
>>     >     specific
>>     >     > > > than "Re: Contents of Aida digest..."
>>     >     > > >
>>     >     > > >
>>     >     > > > Today's Topics:
>>     >     > > >
>>     >     > > >   1. photos experiment (Ching de la Serna)
>>     >     > > >   2. Re: photos experiment (Nicholas Moore)
>>     >     > > >   3. Re: photos experiment (ching)
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >    
>>     ----------------------------------------------------------------------
>>     >     > > >
>>     >     > > > Message: 1
>>     >     > > > Date: Wed, 16 Feb 2011 09:40:56 +0800
>>     >     > > > From: Ching de la Serna <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > > Subject: [aida] photos experiment
>>     >     > > > To: [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > > Message-ID:
>>     >     > > >
>>     >      <[hidden email]
>>     <mailto:[hidden email]>
>>     >    
>>     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > > Content-Type: text/plain; charset="iso-8859-1"
>>     >     > > >
>>     >     > > > Hi,
>>     >     > > >
>>     >     > > > Aida is such an amazing web framework but I am finding it
>>     >     difficult to
>>     >     > > > display photos. After failing to display images from my
>>     local
>>     >     disk, I
>>     >     > > > started anew with a clean ver6.2 with the hope that it might
>>     >     lead me
>>     >     > > > somewhere. Placing a jpeg file in my root directory, I had
>>     >     > > >
>>     >     > > > e addImage: 'testimage.jpg' size: 100@200.
>>     >     > > >
>>     >     > > > as it happened many times before, nothing was displayed but
>>     >     the browser
>>     >     > > > reports "waiting or localhost....". I then changed the
>>     code to:
>>     >     > > >
>>     >     > > > e addImage: '*testimages.jpg*' size: 100@200.
>>     >     > > >
>>     >     > > > making it *testimages*.jpg which cannot be found in my
>>     directory.
>>     >     > > Reloading
>>     >     > > > the page allowed the browser to finish *without *the
>>     "waiting for
>>     >     > > > localhost.." There is something going on and I don't
>>     know what
>>     >     it is.
>>     >     > > > Perhaps someone has an idea?
>>     >     > > >
>>     >     > > > Thanks in advance.
>>     >     > > >
>>     >     > > > ching de la serna
>>     >     > > > -------------- next part --------------
>>     >     > > > An HTML attachment was scrubbed...
>>     >     > > > URL:
>>     >     > > >
>>     >     > >
>>     >    
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
>>     >     > > >
>>     >     > > > ------------------------------
>>     >     > > >
>>     >     > > > Message: 2
>>     >     > > > Date: Wed, 16 Feb 2011 09:40:11 +0100
>>     >     > > > From: Nicholas Moore <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > > Subject: Re: [aida] photos experiment
>>     >     > > > To: "AIDA/Web general discussion list" <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > > Message-ID: <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > > Content-Type: text/plain; charset="iso-8859-15"
>>     >     > > >
>>     >     > > > Hi Ching,
>>     >     > > >
>>     >     > > > Are you using Linux - maybe it is an issue with
>>     permissions -
>>     >     does the
>>     >     > > > httpd user have access to the jpg file?
>>     >     > > >
>>     >     > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>>     >     > > > > Hi,
>>     >     > > > >
>>     >     > > > > Aida is such an amazing web framework but I am finding it
>>     >     difficult to
>>     >     > > > > display photos. After failing to display images from my
>>     >     local disk, I
>>     >     > > > > started anew with a clean ver6.2 with the hope that it
>>     might
>>     >     lead me
>>     >     > > > > somewhere. Placing a jpeg file in my root directory, I had
>>     >     > > > >
>>     >     > > > > e addImage: 'testimage.jpg' size: 100@200.
>>     >     > > > >
>>     >     > > > > as it happened many times before, nothing was
>>     displayed but
>>     >     the browser
>>     >     > > > > reports "waiting or localhost....". I then changed the
>>     code to:
>>     >     > > > >
>>     >     > > > > e addImage: '*testimages.jpg*' size: 100@200.
>>     >     > > > >
>>     >     > > > > making it *testimages*.jpg which cannot be found in my
>>     >     directory.
>>     >     > > > Reloading
>>     >     > > > > the page allowed the browser to finish *without *the
>>     >     "waiting for
>>     >     > > > > localhost.." There is something going on and I don't know
>>     >     what it is.
>>     >     > > > > Perhaps someone has an idea?
>>     >     > > > >
>>     >     > > > > Thanks in advance.
>>     >     > > > >
>>     >     > > > > ching de la serna
>>     >     > > > >
>>     >     > > >
>>     >     > > > --
>>     >     > > > Nicholas Moore
>>     >     > > > Skype: tsr_nicholas
>>     >     > > >
>>     >     > > > Check out my Blog
>>     >     > > >
>>     >     > > > "Still Running - that I may die in good health"
>>     >     > > > -------------- next part --------------
>>     >     > > > An HTML attachment was scrubbed...
>>     >     > > > URL:
>>     >     > > >
>>     >     > >
>>     >    
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
>>     >     > > >
>>     >     > > > ------------------------------
>>     >     > > >
>>     >     > > > Message: 3
>>     >     > > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
>>     >     > > > From: ching <[hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > > Subject: Re: [aida] photos experiment
>>     >     > > > To: [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > > Message-ID: <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > > Content-Type: text/plain; charset=us-ascii
>>     >     > > >
>>     >     > > >
>>     >     > > > Hi Nicholas,
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >     > > > Nicholas Moore wrote:
>>     >     > > > >
>>     >     > > > > Hi Ching,
>>     >     > > > >
>>     >     > > > > Are you using Linux - maybe it is an issue with
>>     permissions
>>     >     - does the
>>     >     > > > > httpd user have access to the jpg file?
>>     >     > > > >
>>     >     > > > > I am just using Windows and I'm not sure if I need
>>     >     permissions to use
>>     >     > > the
>>     >     > > > > jpg files in my directory. I remember displaying images
>>     >     using Seaside
>>     >     > > and
>>     >     > > > > I did not really have any problem doing it whether on my
>>     >     local machine
>>     >     > > or
>>     >     > > > > behind Apache. I am thinking of keeping everything in
>>     Smalltalk
>>     >     > > > > (Swazoo/Aida).
>>     >     > > > >
>>     >     > > > > Thanks for the response,
>>     >     > > > >
>>     >     > > > > ching
>>     >     > > > >
>>     >     > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>>     >     > > > >> Hi,
>>     >     > > > >>
>>     >     > > > >> Aida is such an amazing web framework but I am finding it
>>     >     difficult to
>>     >     > > > >> display photos. After failing to display images from my
>>     >     local disk, I
>>     >     > > > >> started anew with a clean ver6.2 with the hope that it
>>     >     might lead me
>>     >     > > > >> somewhere. Placing a jpeg file in my root directory,
>>     I had
>>     >     > > > >>
>>     >     > > > >> e addImage: 'testimage.jpg' size: 100@200.
>>     >     > > > >>
>>     >     > > > >> as it happened many times before, nothing was
>>     displayed but the
>>     >     > > browser
>>     >     > > > >> reports "waiting or localhost....". I then changed
>>     the code to:
>>     >     > > > >>
>>     >     > > > >> e addImage: '*testimages.jpg*' size: 100@200.
>>     >     > > > >>
>>     >     > > > >> making it *testimages*.jpg which cannot be found in my
>>     >     directory.
>>     >     > > > >> Reloading
>>     >     > > > >> the page allowed the browser to finish *without *the
>>     >     "waiting for
>>     >     > > > >> localhost.." There is something going on and I don't know
>>     >     what it is.
>>     >     > > > >> Perhaps someone has an idea?
>>     >     > > > >>
>>     >     > > > >> Thanks in advance.
>>     >     > > > >>
>>     >     > > > >> ching de la serna
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > > --
>>     >     > > > > Nicholas Moore
>>     >     > > > > Skype: tsr_nicholas
>>     >     > > > >
>>     >     > > > > Check out my Blog
>>     >     > > > >
>>     >     > > > > "Still Running - that I may die in good health"
>>     >     > > > >
>>     >     > > > > _______________________________________________
>>     >     > > > > Aida mailing list
>>     >     > > > > [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > > > http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > > >
>>     >     > > > >
>>     >     > > >
>>     >     > > > --
>>     >     > > > View this message in context:
>>     >     > > >
>>     http://forum.world.st/photos-experiment-tp3308053p3308440.html
>>     >     > > > Sent from the AIDA/Web mailing list archive at Nabble.com.
>>     >     > > >
>>     >     > > >
>>     >     > > > ------------------------------
>>     >     > > >
>>     >     > > > _______________________________________________
>>     >     > > > Aida mailing list
>>     >     > > > [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > > http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > >
>>     >     > > >
>>     >     > > > End of Aida Digest, Vol 45, Issue 10
>>     >     > > > ************************************
>>     >     > > >
>>     >     > > -------------- next part --------------
>>     >     > > An HTML attachment was scrubbed...
>>     >     > > URL:
>>     >     > >
>>     >    
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/6f6c4b7a/attachment-0001.htm
>>     >     > >
>>     >     > > ------------------------------
>>     >     > >
>>     >     > > Message: 2
>>     >     > > Date: Wed, 16 Feb 2011 12:40:44 +0100
>>     >     > > From: Janko Miv?ek <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > Subject: Re: [aida] photos experiment
>>     >     > > To: AIDA/Web general discussion list <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > Message-ID: <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > Content-Type: text/plain; charset=UTF-8
>>     >     > >
>>     >     > > Hi Ching,
>>     >     > >
>>     >     > > I'm trying to find some time to chase your problem, but in the
>>     >     meantime,
>>     >     > > can you try to open this jpg directly from browser.
>>     >     > >
>>     >     > > If you put testimage.jpg on a directory where your image
>>     >     started, can
>>     >     > > you open it from browser directly:
>>     >     > >
>>     >     > >        http://localhost:8888/testimage.jpg ?
>>     >     > >
>>     >     > > If not, can you open it through File->Open file ?
>>     >     > >
>>     >     > > Also, how did you start your image, double clicking from
>>     OneClick?
>>     >     > >
>>     >     > > It could be that default .\ path doesn't point to the right
>>     >     directory,
>>     >     > > can you change it to absolute path to your images directory:
>>     >     > >
>>     >     > >        AIDASite>>homeDirectory: 'c:\absolute path'
>>     >     > >
>>     >     > > Also which version of Windows do you use?
>>     >     > >
>>     >     > > Hope this would help a bit
>>     >     > > JAnko
>>     >     > >
>>     >     > > On 16. 02. 2011 12:27, Ching de la Serna wrote:
>>     >     > > > Hi All,
>>     >     > > >
>>     >     > > > I am inclined to believe that Nicholas is right about
>>     permissions.
>>     >     > > > Windows might be blocking the jpeg file from being
>>     displayed.
>>     >     I changed
>>     >     > > > the jpeg properties to "unblock" and restarted my
>>     computer. I also
>>     >     > > > downloaded Google Chrome thinking it might be a Firefox
>>     >     problem. Nothing
>>     >     > > > worked. I am ready to give up unless someone can point me in
>>     >     the right
>>     >     > > > direction.It seems kind of strange though, a jpeg from
>>     another
>>     >     website
>>     >     > > > displays with no problem while a local file is blocked.
>>     >     Strange behavior
>>     >     > > > if indeed it is an OS issue.
>>     >     > > >
>>     >     > > > Thanks,
>>     >     > > >
>>     >     > > > Ching de la Serna
>>     >     > > >
>>     >     > > > On Wed, Feb 16, 2011 at 7:00 PM,
>>     <[hidden email] <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > > <mailto:[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>> wrote:
>>     >     > > >
>>     >     > > >     Send Aida mailing list submissions to
>>     >     > > >            [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >
>>     >     > > >     To subscribe or unsubscribe via the World Wide Web,
>>     visit
>>     >     > > >            http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > >     or, via email, send a message with subject or body
>>     'help' to
>>     >     > > >            [hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>> <mailto:[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >
>>     >     > > >     You can reach the person managing the list at
>>     >     > > >            [hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>>     <mailto:[hidden email] <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >
>>     >     > > >     When replying, please edit your Subject line so it
>>     is more
>>     >     specific
>>     >     > > >     than "Re: Contents of Aida digest..."
>>     >     > > >
>>     >     > > >
>>     >     > > >     Today's Topics:
>>     >     > > >
>>     >     > > >       1. photos experiment (Ching de la Serna)
>>     >     > > >       2. Re: photos experiment (Nicholas Moore)
>>     >     > > >       3. Re: photos experiment (ching)
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >     > >
>>     >    
>>     ----------------------------------------------------------------------
>>     >     > > >
>>     >     > > >     Message: 1
>>     >     > > >     Date: Wed, 16 Feb 2011 09:40:56 +0800
>>     >     > > >     From: Ching de la Serna <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > >     <mailto:[hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>>>
>>     >     > > >     Subject: [aida] photos experiment
>>     >     > > >     To: [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >     Message-ID:
>>     >     > > >
>>     >      <[hidden email]
>>     <mailto:[hidden email]>
>>     >    
>>     <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >
>>     >    
>>     <mailto:[hidden email]
>>     <mailto:[hidden email]>
>>     >    
>>     <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >>
>>     >     > > >     Content-Type: text/plain; charset="iso-8859-1"
>>     >     > > >
>>     >     > > >     Hi,
>>     >     > > >
>>     >     > > >     Aida is such an amazing web framework but I am
>>     finding it
>>     >     difficult
>>     >     > > to
>>     >     > > >     display photos. After failing to display images from my
>>     >     local disk, I
>>     >     > > >     started anew with a clean ver6.2 with the hope that it
>>     >     might lead me
>>     >     > > >     somewhere. Placing a jpeg file in my root directory,
>>     I had
>>     >     > > >
>>     >     > > >     e addImage: 'testimage.jpg' size: 100@200.
>>     >     > > >
>>     >     > > >     as it happened many times before, nothing was displayed
>>     >     but the
>>     >     > > browser
>>     >     > > >     reports "waiting or localhost....". I then changed the
>>     >     code to:
>>     >     > > >
>>     >     > > >     e addImage: '*testimages.jpg*' size: 100@200.
>>     >     > > >
>>     >     > > >     making it *testimages*.jpg which cannot be found in my
>>     >     directory.
>>     >     > > >     Reloading
>>     >     > > >     the page allowed the browser to finish *without *the
>>     >     "waiting for
>>     >     > > >     localhost.." There is something going on and I don't
>>     know
>>     >     what it is.
>>     >     > > >     Perhaps someone has an idea?
>>     >     > > >
>>     >     > > >     Thanks in advance.
>>     >     > > >
>>     >     > > >     ching de la serna
>>     >     > > >     -------------- next part --------------
>>     >     > > >     An HTML attachment was scrubbed...
>>     >     > > >     URL:
>>     >     > > >
>>     >     > >
>>     >    
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
>>     >     > > >
>>     >     > > >     ------------------------------
>>     >     > > >
>>     >     > > >     Message: 2
>>     >     > > >     Date: Wed, 16 Feb 2011 09:40:11 +0100
>>     >     > > >     From: Nicholas Moore <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >     <mailto:[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>>
>>     >     > > >     Subject: Re: [aida] photos experiment
>>     >     > > >     To: "AIDA/Web general discussion list"
>>     <[hidden email] <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > >     <mailto:[hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>>>
>>     >     > > >     Message-ID:
>>     <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >     <mailto:[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>>
>>     >     > > >     Content-Type: text/plain; charset="iso-8859-15"
>>     >     > > >
>>     >     > > >     Hi Ching,
>>     >     > > >
>>     >     > > >     Are you using Linux - maybe it is an issue with
>>     >     permissions - does
>>     >     > > >     the httpd user have access to the jpg file?
>>     >     > > >
>>     >     > > >     On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna
>>     wrote:
>>     >     > > >     > Hi,
>>     >     > > >     >
>>     >     > > >     > Aida is such an amazing web framework but I am finding
>>     >     it difficult
>>     >     > > to
>>     >     > > >     > display photos. After failing to display images
>>     from my
>>     >     local disk,
>>     >     > > I
>>     >     > > >     > started anew with a clean ver6.2 with the hope that it
>>     >     might lead
>>     >     > > me
>>     >     > > >     > somewhere. Placing a jpeg file in my root
>>     directory, I had
>>     >     > > >     >
>>     >     > > >     > e addImage: 'testimage.jpg' size: 100@200.
>>     >     > > >     >
>>     >     > > >     > as it happened many times before, nothing was
>>     displayed
>>     >     but the
>>     >     > > >     browser
>>     >     > > >     > reports "waiting or localhost....". I then changed the
>>     >     code to:
>>     >     > > >     >
>>     >     > > >     > e addImage: '*testimages.jpg*' size: 100@200.
>>     >     > > >     >
>>     >     > > >     > making it *testimages*.jpg which cannot be found in my
>>     >     directory.
>>     >     > > >     Reloading
>>     >     > > >     > the page allowed the browser to finish *without *the
>>     >     "waiting for
>>     >     > > >     > localhost.." There is something going on and I don't
>>     >     know what it
>>     >     > > is.
>>     >     > > >     > Perhaps someone has an idea?
>>     >     > > >     >
>>     >     > > >     > Thanks in advance.
>>     >     > > >     >
>>     >     > > >     > ching de la serna
>>     >     > > >     >
>>     >     > > >
>>     >     > > >     --
>>     >     > > >     Nicholas Moore
>>     >     > > >     Skype: tsr_nicholas
>>     >     > > >
>>     >     > > >     Check out my Blog
>>     >     > > >
>>     >     > > >     "Still Running - that I may die in good health"
>>     >     > > >     -------------- next part --------------
>>     >     > > >     An HTML attachment was scrubbed...
>>     >     > > >     URL:
>>     >     > > >
>>     >     > >
>>     >    
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
>>     >     > > >
>>     >     > > >     ------------------------------
>>     >     > > >
>>     >     > > >     Message: 3
>>     >     > > >     Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
>>     >     > > >     From: ching <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>>     <mailto:[hidden email] <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>>
>>     >     > > >     Subject: Re: [aida] photos experiment
>>     >     > > >     To: [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >     Message-ID:
>>     <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >     <mailto:[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>>
>>     >     > > >     Content-Type: text/plain; charset=us-ascii
>>     >     > > >
>>     >     > > >
>>     >     > > >     Hi Nicholas,
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >     > > >     Nicholas Moore wrote:
>>     >     > > >     >
>>     >     > > >     > Hi Ching,
>>     >     > > >     >
>>     >     > > >     > Are you using Linux - maybe it is an issue with
>>     >     permissions - does
>>     >     > > the
>>     >     > > >     > httpd user have access to the jpg file?
>>     >     > > >     >
>>     >     > > >     > I am just using Windows and I'm not sure if I need
>>     >     permissions to
>>     >     > > >     use the
>>     >     > > >     > jpg files in my directory. I remember displaying
>>     images
>>     >     using
>>     >     > > >     Seaside and
>>     >     > > >     > I did not really have any problem doing it whether
>>     on my
>>     >     local
>>     >     > > >     machine or
>>     >     > > >     > behind Apache. I am thinking of keeping everything in
>>     >     Smalltalk
>>     >     > > >     > (Swazoo/Aida).
>>     >     > > >     >
>>     >     > > >     > Thanks for the response,
>>     >     > > >     >
>>     >     > > >     > ching
>>     >     > > >     >
>>     >     > > >     > On Wednesday 16 Feb 2011 02:40:56 Ching de la
>>     Serna wrote:
>>     >     > > >     >> Hi,
>>     >     > > >     >>
>>     >     > > >     >> Aida is such an amazing web framework but I am
>>     finding it
>>     >     > > >     difficult to
>>     >     > > >     >> display photos. After failing to display images
>>     from my
>>     >     local
>>     >     > > disk, I
>>     >     > > >     >> started anew with a clean ver6.2 with the hope
>>     that it
>>     >     might lead
>>     >     > > me
>>     >     > > >     >> somewhere. Placing a jpeg file in my root
>>     directory, I had
>>     >     > > >     >>
>>     >     > > >     >> e addImage: 'testimage.jpg' size: 100@200.
>>     >     > > >     >>
>>     >     > > >     >> as it happened many times before, nothing was
>>     displayed
>>     >     but the
>>     >     > > >     browser
>>     >     > > >     >> reports "waiting or localhost....". I then
>>     changed the
>>     >     code to:
>>     >     > > >     >>
>>     >     > > >     >> e addImage: '*testimages.jpg*' size: 100@200.
>>     >     > > >     >>
>>     >     > > >     >> making it *testimages*.jpg which cannot be found
>>     in my
>>     >     directory.
>>     >     > > >     >> Reloading
>>     >     > > >     >> the page allowed the browser to finish *without *the
>>     >     "waiting for
>>     >     > > >     >> localhost.." There is something going on and I don't
>>     >     know what it
>>     >     > > is.
>>     >     > > >     >> Perhaps someone has an idea?
>>     >     > > >     >>
>>     >     > > >     >> Thanks in advance.
>>     >     > > >     >>
>>     >     > > >     >> ching de la serna
>>     >     > > >     >>
>>     >     > > >     >
>>     >     > > >     > --
>>     >     > > >     > Nicholas Moore
>>     >     > > >     > Skype: tsr_nicholas
>>     >     > > >     >
>>     >     > > >     > Check out my Blog
>>     >     > > >     >
>>     >     > > >     > "Still Running - that I may die in good health"
>>     >     > > >     >
>>     >     > > >     > _______________________________________________
>>     >     > > >     > Aida mailing list
>>     >     > > >     > [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >     > http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > >     >
>>     >     > > >     >
>>     >     > > >
>>     >     > > >     --
>>     >     > > >     View this message in context:
>>     >     > > >    
>>     http://forum.world.st/photos-experiment-tp3308053p3308440.html
>>     >     > > >     Sent from the AIDA/Web mailing list archive at
>>     Nabble.com.
>>     >     > > >
>>     >     > > >
>>     >     > > >     ------------------------------
>>     >     > > >
>>     >     > > >     _______________________________________________
>>     >     > > >     Aida mailing list
>>     >     > > >     [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >     http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > >
>>     >     > > >
>>     >     > > >     End of Aida Digest, Vol 45, Issue 10
>>     >     > > >     ************************************
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >     > > > _______________________________________________
>>     >     > > > Aida mailing list
>>     >     > > > [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > > http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > >
>>     >     > > --
>>     >     > > Janko Miv?ek
>>     >     > > AIDA/Web
>>     >     > > Smalltalk Web Application Server
>>     >     > > http://www.aidaweb.si
>>     >     > >
>>     >     > >
>>     >     > > ------------------------------
>>     >     > >
>>     >     > > Message: 3
>>     >     > > Date: Wed, 16 Feb 2011 15:16:42 +0100
>>     >     > > From: Nicholas Moore <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > Subject: Re: [aida] 6.2 tests
>>     >     > > To: "AIDA/Web general discussion list" <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > Message-ID: <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > Content-Type: text/plain; charset="utf-8"
>>     >     > >
>>     >     > > I have tested with a vanilla VW and it works as you would
>>     expect
>>     >     - good
>>     >     > > news. I used several different local variations in my
>>     hosts file
>>     >     and all
>>     >     > > worked okay - returning 'aidasession/ajax'.
>>     >     > >
>>     >     > > So then I returned to my own image and retested it - but
>>     was not
>>     >     able to
>>     >     > > reproduce the error - it too returned the correct value. There
>>     >     must have
>>     >     > > been some spurious condition associated with my previous test
>>     >     image and
>>     >     > > perhaps earlier exceptions.
>>     >     > >
>>     >     > > Anyway, all works as expected and my sites are now live
>>     with 6.2.
>>     >     > >
>>     >     > > Nicholas
>>     >     > >
>>     >     > > On Tuesday 15 Feb 2011 14:28:54 Janko Miv?ek wrote:
>>     >     > > >
>>     >     > > > On 14. 02. 2011 21:20, Nicholas Moore wrote:
>>     >     > > > > Excellent - I had not created the route explicitly to my
>>     >     blog site!
>>     >     > > > > However the request subsequently failed here:
>>     >     > > > > WebSession >> printHTMLPageOn: aStream for: aRequest on:
>>     >     aWebSession
>>     >     > > > > aRequest urlString = '/aidasession/ajax' ifTrue:
>>     >     > > > > because the actual request urlString is: '
>>     >     > > http://mysite/aidasession/ajax'.
>>     >     > > > > I have changed that test to:
>>     >     > > > > (aRequest urlString containsSubstring:
>>     '/aidasession/ajax')
>>     >     ifTrue:>
>>     >     > > > > and everything works as desired.
>>     >     > > >
>>     >     > > > This is interesting, from where aRequest urlString works
>>     >     differently in
>>     >     > > >  your image comparing with fresh install into vanilla VW
>>     7.7 (for
>>     >     > > > nistance) image from Public Store. Can you try this too?
>>     >     > > >
>>     >     > > > Best regards
>>     >     > > > Janko
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >     > > > > Nicholas
>>     >     > > > >
>>     >     > > > > On Monday 14 Feb 2011 19:51:06 Janko Miv?ek wrote:
>>     >     > > > >
>>     >     > > > >> Hi Nicolas,
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> On 14. 02. 2011 19:39, Nicholas Moore wrote:
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> > From the demo.html page for ajax in 6.2, when I
>>     click on
>>     >     'click me
>>     >     > > for
>>     >     > > > >
>>     >     > > > >> > popup' I have trapped a SwazooStream. It generates a
>>     >     requestURI
>>     >     > > which is
>>     >     > > > >
>>     >     > > > >> > '/aidasession/ajax'.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> > On the 6.1 version the equivalent requestURI is
>>     >     'demo.html' (as I
>>     >     > > would
>>     >     > > > >
>>     >     > > > >> > expect).
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> > Where does the '/aidasession/ajax URI come from?
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> This is major new behavior on new event framework - all
>>     >     Ajax and
>>     >     > > > >
>>     >     > > > >> WebSocket JSON messages go to this Url, that is, to your
>>     >     session,
>>     >     > > which
>>     >     > > > >
>>     >     > > > >> then find the right App and pass it the event. This
>>     Url is in
>>     >     > > JavaScript
>>     >     > > > >
>>     >     > > > >> code, see WebStyle js13Events. The Url of actual page is
>>     >     included in
>>     >     > > > >
>>     >     > > > >> this message.
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> Inspect the WebRouter (AIDASite default router) if
>>     there is
>>     >     a route to
>>     >     > > > >
>>     >     > > > >> the session manager. If you did the upgrade script, it
>>     >     should be there
>>     >     > > > >
>>     >     > > > >> already. If not, rerun that addSessionManagerRoute line.
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> In Firebug's console, do you see any error messages?
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> Hope this helps
>>     >     > > > >
>>     >     > > > >> JAnko
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> > On Monday 14 Feb 2011 11:35:21 Nicholas Moore wrote:
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> Janko,
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> After running the script that you described prior to
>>     >     upgrade I was
>>     >     > > > >
>>     >     > > > >> > able to install 6.2 cleanly without any problems -
>>     good work!
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> During testing (on VW) I came across a couple of
>>     snags:
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> 1) The method String >> replaceSpecialCharacters
>>     >     contains or:or:
>>     >     > > which
>>     >     > > > >
>>     >     > > > >> > does not work in VW (but is ok in Pharo and Squeak). I
>>     >     changed it
>>     >     > > to:
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> replaceSpecialCharacters
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> |str|
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> str := self copy.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> str do: [:ch | |ascii|
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> ascii := ch asInteger.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> ((ascii >= 65 and: [ ascii <= 90 ]) or: [
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> ( ascii >= 97 and: [ ascii <= 122 ]) or: [ch
>>     isDigit or:
>>     >     [ch = $/
>>     >     > > or:
>>     >     > > > >
>>     >     > > > >> > [ch = $.]]]])
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> ifFalse: [str replaceAll: ch with: $-]].
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> ^str
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> 2) I needed to upgrade my version of TinyMCE -
>>     >     richEditorInitScript
>>     >     > > > >
>>     >     > > > >> > has changed.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> 3) I have a problem with ajax calls. I previously used
>>     >     > > > >
>>     >     > > > >> > 'afterPostUpdate:' which is deprecated. I changed to
>>     >     > > > >
>>     >     > > > >> > 'onChangePostAndUpdate::' but that did not work (no
>>     >     error, simply
>>     >     > > > >
>>     >     > > > >> > nothing happened). I do not yet know why, I will
>>     need to
>>     >     do some
>>     >     > > > >
>>     >     > > > >> > debugging this week. I also found that the WebDemo ajax
>>     >     page did not
>>     >     > > > >
>>     >     > > > >> > work properly (the update and popup methods seemed
>>     to have no
>>     >     > > effect.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> Therefore I am unsure whether the problem lies in my
>>     >     implementation
>>     >     > > or
>>     >     > > > >
>>     >     > > > >> > elsewhere. I reverted to my same app using 6.1 and the
>>     >     WebDemo ajax
>>     >     > > page
>>     >     > > > >
>>     >     > > > >> > worked perfectly. If anyone else could test this
>>     and see
>>     >     how the
>>     >     > > demo
>>     >     > > > >
>>     >     > > > >> > app works, that would save me some time.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> By the way, I notice that WebApplication >>
>>     >     respondToAjaxRequest:
>>     >     > > is
>>     >     > > > >
>>     >     > > > >> > in the 'private-obsolete' protocol, should that be in
>>     >     > > 'private-ajax'?
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> Otherwise the new features look great, in particular I
>>     >     am looking
>>     >     > > > >
>>     >     > > > >> > forward to getting to grips with JSON.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> Regards
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> Nicholas
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >
>>     >     > > >
>>     >     > > >
>>     >     > >
>>     >     > > --
>>     >     > > Nicholas Moore
>>     >     > > Skype: tsr_nicholas
>>     >     > >
>>     >     > > Check out my Blog
>>     >     > >
>>     >     > > "Still Running - that I may die in good health"
>>     >     > > -------------- next part --------------
>>     >     > > An HTML attachment was scrubbed...
>>     >     > > URL:
>>     >     > >
>>     >    
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/5d913c94/attachment.htm
>>     >     > >
>>     >     > > ------------------------------
>>     >     > >
>>     >     > > _______________________________________________
>>     >     > > Aida mailing list
>>     >     > > [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > >
>>     >     > >
>>     >     > > End of Aida Digest, Vol 45, Issue 11
>>     >     > > ************************************
>>     >     > >
>>     >     >
>>     >
>>     >     --
>>     >     Nicholas Moore
>>     >     Skype: tsr_nicholas
>>     >
>>     >     Check out my Blog
>>     >
>>     >     "Still Running - that I may die in good health"
>>     >     -------------- next part --------------
>>     >     An HTML attachment was scrubbed...
>>     >     URL:
>>     >    
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/b2fbcf0f/attachment.htm
>>     >
>>     >     ------------------------------
>>     >
>>     >     _______________________________________________
>>     >     Aida mailing list
>>     >     [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     http://lists.aidaweb.si/mailman/listinfo/aida
>>     >
>>     >
>>     >     End of Aida Digest, Vol 45, Issue 13
>>     >     ************************************
>>     >
>>     >
>>     >
>>     >
>>     > _______________________________________________
>>     > Aida mailing list
>>     > [hidden email] <mailto:[hidden email]>
>>     > http://lists.aidaweb.si/mailman/listinfo/aida
>>
>>     --
>>     Janko Miv?ek
>>     AIDA/Web
>>     Smalltalk Web Application Server
>>     http://www.aidaweb.si
>>
>>
>>     ------------------------------
>>
>>     _______________________________________________
>>     Aida mailing list
>>     [hidden email] <mailto:[hidden email]>
>>     http://lists.aidaweb.si/mailman/listinfo/aida
>>
>>
>>     End of Aida Digest, Vol 45, Issue 20
>>     ************************************
>>
>>
>>
>>
>> _______________________________________________
>> Aida mailing list
>> [hidden email]
>> http://lists.aidaweb.si/mailman/listinfo/aida
>

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

ching
In reply to this post by ching
Hi Nicholas,

I evaluated ADemoAddressBook allInstances and  {an ADemoAddressBook} is still in the image. It's now 3:00am where I am, I think I'll turn in and see what solutions tomorrow brings. Thanks for all the help.

Ching

On Thu, Feb 17, 2011 at 2:52 AM, <[hidden email]> wrote:
Send Aida mailing list submissions to
       [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.aidaweb.si/mailman/listinfo/aida
or, via email, send a message with subject or body 'help' to
       [hidden email]

You can reach the person managing the list at
       [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Aida digest..."


Today's Topics:

  1. Re: photos experiment (Nicholas Moore)


----------------------------------------------------------------------

Message: 1
Date: Wed, 16 Feb 2011 19:52:18 +0100
From: Nicholas Moore <[hidden email]>
Subject: Re: [aida] photos experiment
To: "AIDA/Web general discussion list" <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="iso-8859-15"

Just a final thought, I think it is significant that when you changed the name of the file to testimages.jpg, which did not exist, you got a different result. This suggests that the browser is going to the correct directory and implies that there is some other problem.

A final thought (for today) is that you might evaluate: ADemoAddressBook allInstances just to make sure that you still have an instance of ADemoAddressBook in your image.

On Wednesday 16 Feb 2011 19:30:42 Ching de la Serna wrote:
> Hi Janko, Nicholas,
>
> Thanks for all the help. I will do as you both suggest and maybe even try
> the OneClick download. I am really excited to use Aida as I think it is very
> well-thought out.
>
> Ching
>
> On Thu, Feb 17, 2011 at 2:21 AM, <[hidden email]> wrote:
>
> > Send Aida mailing list submissions to
> >        [hidden email]
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >        http://lists.aidaweb.si/mailman/listinfo/aida
> > or, via email, send a message with subject or body 'help' to
> >        [hidden email]
> >
> > You can reach the person managing the list at
> >        [hidden email]
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Aida digest..."
> >
> >
> > Today's Topics:
> >
> >   1. Re: photos experiment. (Janko Miv?ek)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 16 Feb 2011 19:21:35 +0100
> > From: Janko Miv?ek <[hidden email]>
> > Subject: Re: [aida] photos experiment.
> > To: AIDA/Web general discussion list <[hidden email]>
> > Message-ID: <[hidden email]>
> > Content-Type: text/plain; charset=UTF-8
> >
> > Hi Ching,
> >
> > Getting http://localhost:8888/testimage.jpg to show this image is the
> > first thing you need to achieve. This is the test that Aida is set-up
> > right. So let we try to do this first.
> >
> >  1. Move your image in a more simple directory, the best simply on
> >     c:\aida
> >  2. (AIDASite named:'mysite) homeDirectory: 'c:\aida\'
> >     ( try both with backslash \ at the end and without)
> >  3. put testimage.jpg in c:\aida
> >  4. open http://localhost:8888/testimage.jpg
> >
> > Janko
> >
> > On 16. 02. 2011 17:01, Ching de la Serna wrote:
> > > Hi Nicholas,
> > >
> > > Thanks for the help. It was stupid of me to send the message to the
> > > class instead of the instance. The good news is that the error and my
> > > ignorance have been corrected. Also, when running the following on the
> > > browser,
> > >
> > > http://localhost:8888/testimage.jpg I now get a *404 Not Found Error*.
> > > Still far from success but surely inching closer.
> > >
> > > Ching
> > >
> > > On Wed, Feb 16, 2011 at 11:44 PM, <[hidden email]
> > > <mailto:[hidden email]>> wrote:
> > >
> > >     Send Aida mailing list submissions to
> > >            [hidden email] <mailto:[hidden email]>
> > >
> > >     To subscribe or unsubscribe via the World Wide Web, visit
> > >            http://lists.aidaweb.si/mailman/listinfo/aida
> > >     or, via email, send a message with subject or body 'help' to
> > >            [hidden email] <mailto:[hidden email]>
> > >
> > >     You can reach the person managing the list at
> > >            [hidden email] <mailto:[hidden email]>
> > >
> > >     When replying, please edit your Subject line so it is more specific
> > >     than "Re: Contents of Aida digest..."
> > >
> > >
> > >     Today's Topics:
> > >
> > >       1. Re: photos experiment (Nicholas Moore)
> > >
> > >
> > >
> > ----------------------------------------------------------------------
> > >
> > >     Message: 1
> > >     Date: Wed, 16 Feb 2011 16:43:47 +0100
> > >     From: Nicholas Moore <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     Subject: Re: [aida] photos experiment
> > >     To: "AIDA/Web general discussion list" <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     Message-ID: <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     Content-Type: text/plain; charset="iso-8859-15"
> > >
> > >     Hi Ching,
> > >
> > >     Where you get this:
> > >
> > >     AIDASite homeDirectory.: '"
> > >     C:\Documents and Settings\ADMIN\My
> > >     Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"'
> > >     and got the same error message: doesNotUnderstand: #homeDirectory
> > >
> > >     It is because you are sending homeDirectory: to the class AIDASite
> > >     rather than an instance,
> > >
> > >     i.e (AIDASite named: 'mysite') homeDirectory: .....
> > >
> > >     Nicholas
> > >
> > >     On Wednesday 16 Feb 2011 16:35:54 Ching de la Serna wrote:
> > >     > Hi Janko
> > >     >
> > >     > Thanks for taking the time. I did as you suggested. The results
> > >     are below:
> > >     >
> > >     > Hi Ching,
> > >     > >
> > >     >
> > >     > I'm trying to find some time to chase your problem, but in the
> > >     meantime,
> > >     > can you try to open this jpg directly from browser.
> > >     >
> > >     > If you put testimage.jpg on a directory where your image started,
> > can
> > >     > you open it from browser directly:
> > >     >
> > >     >        http://localhost:8888/testimage.jpg ?
> > >     > This does not open the jpeg file.
> > >     >
> > >     > If not, can you open it through File->Open file ?
> > >     > I could open once I *unblocked *the testimage.jpg file. Windows
> > >     was blocking
> > >     > it the first time I tried. After I was able to do this, I tried
> > >     doing the
> > >     > above  http://localhost:8888/testimage.jpg and it would still not
> > >     open.
> > >     >
> > >     > Also, how did you start your image, double clicking from OneClick?
> > >     > I loaded from Monticello the three files: *Sport-2.031.mcz ,
> > >     > Swazoo-2.3beta2.1.mcz, Aida6.2-final.1.mcz *which I downloaded
> > >     separately I
> > >     > use Sqeak4.1
> > >     >
> > >     > It could be that default .\ path doesn't point to the right
> > directory,
> > >     > can you change it to absolute path to your images directory:
> > >     >
> > >     >        AIDASite>>homeDirectory: 'c:\absolute path'
> > >     > I evaluated :
> > >     > AIDASite homeDirectory.: '
> > >     > C:\Documents and Settings\ADMIN\My
> > >     > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1'
> > >     > and got an error:doesNotUnderstand: #homeDirectory
> > >     >
> > >     > I tried enclosing in ""
> > >     > AIDASite homeDirectory.: '"
> > >     > C:\Documents and Settings\ADMIN\My
> > >     > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"'
> > >     and got
> > >     > the same error message: doesNotUnderstand: #homeDirectory
> > >     >
> > >     > Also which version of Windows do you use?
> > >     > I use Windows XP
> > >     >
> > >     > Hope this would help a bit
> > >     > JAnko
> > >     >
> > >     > Ching
> > >     >
> > >     > On Wed, Feb 16, 2011 at 10:17 PM, <[hidden email]
> > >     <mailto:[hidden email]>> wrote:
> > >     >
> > >     > > Send Aida mailing list submissions to
> > >     > >        [hidden email] <mailto:[hidden email]>
> > >     > >
> > >     > > To subscribe or unsubscribe via the World Wide Web, visit
> > >     > >        http://lists.aidaweb.si/mailman/listinfo/aida
> > >     > > or, via email, send a message with subject or body 'help' to
> > >     > >        [hidden email] <mailto:[hidden email]>
> > >     > >
> > >     > > You can reach the person managing the list at
> > >     > >        [hidden email] <mailto:[hidden email]>
> > >     > >
> > >     > > When replying, please edit your Subject line so it is more
> > specific
> > >     > > than "Re: Contents of Aida digest..."
> > >     > >
> > >     > >
> > >     > > Today's Topics:
> > >     > >
> > >     > >   1. Re: photos experiment (Ching de la Serna)
> > >     > >   2. Re: photos experiment (Janko Miv?ek)
> > >     > >   3. Re: 6.2 tests (Nicholas Moore)
> > >     > >
> > >     > >
> > >     > >
> > >
> > ----------------------------------------------------------------------
> > >     > >
> > >     > > Message: 1
> > >     > > Date: Wed, 16 Feb 2011 19:27:14 +0800
> > >     > > From: Ching de la Serna <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > Subject: Re: [aida] photos experiment
> > >     > > To: [hidden email] <mailto:[hidden email]>
> > >     > > Message-ID:
> > >     > >
> > >      <[hidden email]
> > >     <mailto:
> > [hidden email]>>
> > >     > > Content-Type: text/plain; charset="iso-8859-1"
> > >     > >
> > >     > > Hi All,
> > >     > >
> > >     > > I am inclined to believe that Nicholas is right about
> > >     permissions. Windows
> > >     > > might be blocking the jpeg file from being displayed. I changed
> > >     the jpeg
> > >     > > properties to "unblock" and restarted my computer. I also
> > >     downloaded Google
> > >     > > Chrome thinking it might be a Firefox problem. Nothing worked. I
> > >     am ready
> > >     > > to
> > >     > > give up unless someone can point me in the right direction.It
> > >     seems kind of
> > >     > > strange though, a jpeg from another website displays with no
> > >     problem while
> > >     > > a
> > >     > > local file is blocked. Strange behavior if indeed it is an OS
> > issue.
> > >     > >
> > >     > > Thanks,
> > >     > >
> > >     > > Ching de la Serna
> > >     > >
> > >     > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]
> > >     <mailto:[hidden email]>> wrote:
> > >     > >
> > >     > > > Send Aida mailing list submissions to
> > >     > > >        [hidden email] <mailto:[hidden email]>
> > >     > > >
> > >     > > > To subscribe or unsubscribe via the World Wide Web, visit
> > >     > > >        http://lists.aidaweb.si/mailman/listinfo/aida
> > >     > > > or, via email, send a message with subject or body 'help' to
> > >     > > >        [hidden email] <mailto:[hidden email]
> > >
> > >     > > >
> > >     > > > You can reach the person managing the list at
> > >     > > >        [hidden email] <mailto:[hidden email]>
> > >     > > >
> > >     > > > When replying, please edit your Subject line so it is more
> > >     specific
> > >     > > > than "Re: Contents of Aida digest..."
> > >     > > >
> > >     > > >
> > >     > > > Today's Topics:
> > >     > > >
> > >     > > >   1. photos experiment (Ching de la Serna)
> > >     > > >   2. Re: photos experiment (Nicholas Moore)
> > >     > > >   3. Re: photos experiment (ching)
> > >     > > >
> > >     > > >
> > >     > > >
> > >
> > ----------------------------------------------------------------------
> > >     > > >
> > >     > > > Message: 1
> > >     > > > Date: Wed, 16 Feb 2011 09:40:56 +0800
> > >     > > > From: Ching de la Serna <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > > Subject: [aida] photos experiment
> > >     > > > To: [hidden email] <mailto:[hidden email]>
> > >     > > > Message-ID:
> > >     > > >
> > >      <[hidden email]
> > >     <mailto:[hidden email]
> > >>
> > >     > > > Content-Type: text/plain; charset="iso-8859-1"
> > >     > > >
> > >     > > > Hi,
> > >     > > >
> > >     > > > Aida is such an amazing web framework but I am finding it
> > >     difficult to
> > >     > > > display photos. After failing to display images from my local
> > >     disk, I
> > >     > > > started anew with a clean ver6.2 with the hope that it might
> > >     lead me
> > >     > > > somewhere. Placing a jpeg file in my root directory, I had
> > >     > > >
> > >     > > > e addImage: 'testimage.jpg' size: 100@200.
> > >     > > >
> > >     > > > as it happened many times before, nothing was displayed but
> > >     the browser
> > >     > > > reports "waiting or localhost....". I then changed the code to:
> > >     > > >
> > >     > > > e addImage: '*testimages.jpg*' size: 100@200.
> > >     > > >
> > >     > > > making it *testimages*.jpg which cannot be found in my
> > directory.
> > >     > > Reloading
> > >     > > > the page allowed the browser to finish *without *the "waiting
> > for
> > >     > > > localhost.." There is something going on and I don't know what
> > >     it is.
> > >     > > > Perhaps someone has an idea?
> > >     > > >
> > >     > > > Thanks in advance.
> > >     > > >
> > >     > > > ching de la serna
> > >     > > > -------------- next part --------------
> > >     > > > An HTML attachment was scrubbed...
> > >     > > > URL:
> > >     > > >
> > >     > >
> > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
> > >     > > >
> > >     > > > ------------------------------
> > >     > > >
> > >     > > > Message: 2
> > >     > > > Date: Wed, 16 Feb 2011 09:40:11 +0100
> > >     > > > From: Nicholas Moore <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > > Subject: Re: [aida] photos experiment
> > >     > > > To: "AIDA/Web general discussion list" <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > > Message-ID: <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > > Content-Type: text/plain; charset="iso-8859-15"
> > >     > > >
> > >     > > > Hi Ching,
> > >     > > >
> > >     > > > Are you using Linux - maybe it is an issue with permissions -
> > >     does the
> > >     > > > httpd user have access to the jpg file?
> > >     > > >
> > >     > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > >     > > > > Hi,
> > >     > > > >
> > >     > > > > Aida is such an amazing web framework but I am finding it
> > >     difficult to
> > >     > > > > display photos. After failing to display images from my
> > >     local disk, I
> > >     > > > > started anew with a clean ver6.2 with the hope that it might
> > >     lead me
> > >     > > > > somewhere. Placing a jpeg file in my root directory, I had
> > >     > > > >
> > >     > > > > e addImage: 'testimage.jpg' size: 100@200.
> > >     > > > >
> > >     > > > > as it happened many times before, nothing was displayed but
> > >     the browser
> > >     > > > > reports "waiting or localhost....". I then changed the code
> > to:
> > >     > > > >
> > >     > > > > e addImage: '*testimages.jpg*' size: 100@200.
> > >     > > > >
> > >     > > > > making it *testimages*.jpg which cannot be found in my
> > >     directory.
> > >     > > > Reloading
> > >     > > > > the page allowed the browser to finish *without *the
> > >     "waiting for
> > >     > > > > localhost.." There is something going on and I don't know
> > >     what it is.
> > >     > > > > Perhaps someone has an idea?
> > >     > > > >
> > >     > > > > Thanks in advance.
> > >     > > > >
> > >     > > > > ching de la serna
> > >     > > > >
> > >     > > >
> > >     > > > --
> > >     > > > Nicholas Moore
> > >     > > > Skype: tsr_nicholas
> > >     > > >
> > >     > > > Check out my Blog
> > >     > > >
> > >     > > > "Still Running - that I may die in good health"
> > >     > > > -------------- next part --------------
> > >     > > > An HTML attachment was scrubbed...
> > >     > > > URL:
> > >     > > >
> > >     > >
> > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
> > >     > > >
> > >     > > > ------------------------------
> > >     > > >
> > >     > > > Message: 3
> > >     > > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
> > >     > > > From: ching <[hidden email] <mailto:[hidden email]>>
> > >     > > > Subject: Re: [aida] photos experiment
> > >     > > > To: [hidden email] <mailto:[hidden email]>
> > >     > > > Message-ID: <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > > Content-Type: text/plain; charset=us-ascii
> > >     > > >
> > >     > > >
> > >     > > > Hi Nicholas,
> > >     > > >
> > >     > > >
> > >     > > >
> > >     > > > Nicholas Moore wrote:
> > >     > > > >
> > >     > > > > Hi Ching,
> > >     > > > >
> > >     > > > > Are you using Linux - maybe it is an issue with permissions
> > >     - does the
> > >     > > > > httpd user have access to the jpg file?
> > >     > > > >
> > >     > > > > I am just using Windows and I'm not sure if I need
> > >     permissions to use
> > >     > > the
> > >     > > > > jpg files in my directory. I remember displaying images
> > >     using Seaside
> > >     > > and
> > >     > > > > I did not really have any problem doing it whether on my
> > >     local machine
> > >     > > or
> > >     > > > > behind Apache. I am thinking of keeping everything in
> > Smalltalk
> > >     > > > > (Swazoo/Aida).
> > >     > > > >
> > >     > > > > Thanks for the response,
> > >     > > > >
> > >     > > > > ching
> > >     > > > >
> > >     > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > >     > > > >> Hi,
> > >     > > > >>
> > >     > > > >> Aida is such an amazing web framework but I am finding it
> > >     difficult to
> > >     > > > >> display photos. After failing to display images from my
> > >     local disk, I
> > >     > > > >> started anew with a clean ver6.2 with the hope that it
> > >     might lead me
> > >     > > > >> somewhere. Placing a jpeg file in my root directory, I had
> > >     > > > >>
> > >     > > > >> e addImage: 'testimage.jpg' size: 100@200.
> > >     > > > >>
> > >     > > > >> as it happened many times before, nothing was displayed but
> > the
> > >     > > browser
> > >     > > > >> reports "waiting or localhost....". I then changed the code
> > to:
> > >     > > > >>
> > >     > > > >> e addImage: '*testimages.jpg*' size: 100@200.
> > >     > > > >>
> > >     > > > >> making it *testimages*.jpg which cannot be found in my
> > >     directory.
> > >     > > > >> Reloading
> > >     > > > >> the page allowed the browser to finish *without *the
> > >     "waiting for
> > >     > > > >> localhost.." There is something going on and I don't know
> > >     what it is.
> > >     > > > >> Perhaps someone has an idea?
> > >     > > > >>
> > >     > > > >> Thanks in advance.
> > >     > > > >>
> > >     > > > >> ching de la serna
> > >     > > > >>
> > >     > > > >
> > >     > > > > --
> > >     > > > > Nicholas Moore
> > >     > > > > Skype: tsr_nicholas
> > >     > > > >
> > >     > > > > Check out my Blog
> > >     > > > >
> > >     > > > > "Still Running - that I may die in good health"
> > >     > > > >
> > >     > > > > _______________________________________________
> > >     > > > > Aida mailing list
> > >     > > > > [hidden email] <mailto:[hidden email]>
> > >     > > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > >     > > > >
> > >     > > > >
> > >     > > >
> > >     > > > --
> > >     > > > View this message in context:
> > >     > > > http://forum.world.st/photos-experiment-tp3308053p3308440.html
> > >     > > > Sent from the AIDA/Web mailing list archive at Nabble.com.
> > >     > > >
> > >     > > >
> > >     > > > ------------------------------
> > >     > > >
> > >     > > > _______________________________________________
> > >     > > > Aida mailing list
> > >     > > > [hidden email] <mailto:[hidden email]>
> > >     > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > >     > > >
> > >     > > >
> > >     > > > End of Aida Digest, Vol 45, Issue 10
> > >     > > > ************************************
> > >     > > >
> > >     > > -------------- next part --------------
> > >     > > An HTML attachment was scrubbed...
> > >     > > URL:
> > >     > >
> > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/6f6c4b7a/attachment-0001.htm
> > >     > >
> > >     > > ------------------------------
> > >     > >
> > >     > > Message: 2
> > >     > > Date: Wed, 16 Feb 2011 12:40:44 +0100
> > >     > > From: Janko Miv?ek <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > Subject: Re: [aida] photos experiment
> > >     > > To: AIDA/Web general discussion list <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > Message-ID: <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > Content-Type: text/plain; charset=UTF-8
> > >     > >
> > >     > > Hi Ching,
> > >     > >
> > >     > > I'm trying to find some time to chase your problem, but in the
> > >     meantime,
> > >     > > can you try to open this jpg directly from browser.
> > >     > >
> > >     > > If you put testimage.jpg on a directory where your image
> > >     started, can
> > >     > > you open it from browser directly:
> > >     > >
> > >     > >        http://localhost:8888/testimage.jpg ?
> > >     > >
> > >     > > If not, can you open it through File->Open file ?
> > >     > >
> > >     > > Also, how did you start your image, double clicking from
> > OneClick?
> > >     > >
> > >     > > It could be that default .\ path doesn't point to the right
> > >     directory,
> > >     > > can you change it to absolute path to your images directory:
> > >     > >
> > >     > >        AIDASite>>homeDirectory: 'c:\absolute path'
> > >     > >
> > >     > > Also which version of Windows do you use?
> > >     > >
> > >     > > Hope this would help a bit
> > >     > > JAnko
> > >     > >
> > >     > > On 16. 02. 2011 12:27, Ching de la Serna wrote:
> > >     > > > Hi All,
> > >     > > >
> > >     > > > I am inclined to believe that Nicholas is right about
> > permissions.
> > >     > > > Windows might be blocking the jpeg file from being displayed.
> > >     I changed
> > >     > > > the jpeg properties to "unblock" and restarted my computer. I
> > also
> > >     > > > downloaded Google Chrome thinking it might be a Firefox
> > >     problem. Nothing
> > >     > > > worked. I am ready to give up unless someone can point me in
> > >     the right
> > >     > > > direction.It seems kind of strange though, a jpeg from another
> > >     website
> > >     > > > displays with no problem while a local file is blocked.
> > >     Strange behavior
> > >     > > > if indeed it is an OS issue.
> > >     > > >
> > >     > > > Thanks,
> > >     > > >
> > >     > > > Ching de la Serna
> > >     > > >
> > >     > > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]
> > >     <mailto:[hidden email]>
> > >     > > > <mailto:[hidden email]
> > >     <mailto:[hidden email]>>> wrote:
> > >     > > >
> > >     > > >     Send Aida mailing list submissions to
> > >     > > >            [hidden email] <mailto:[hidden email]>
> > >     <mailto:[hidden email] <mailto:[hidden email]>>
> > >     > > >
> > >     > > >     To subscribe or unsubscribe via the World Wide Web, visit
> > >     > > >            http://lists.aidaweb.si/mailman/listinfo/aida
> > >     > > >     or, via email, send a message with subject or body 'help'
> > to
> > >     > > >            [hidden email]
> > >     <mailto:[hidden email]> <mailto:[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > >
> > >     > > >     You can reach the person managing the list at
> > >     > > >            [hidden email]
> > >     <mailto:[hidden email]> <mailto:[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > >
> > >     > > >     When replying, please edit your Subject line so it is more
> > >     specific
> > >     > > >     than "Re: Contents of Aida digest..."
> > >     > > >
> > >     > > >
> > >     > > >     Today's Topics:
> > >     > > >
> > >     > > >       1. photos experiment (Ching de la Serna)
> > >     > > >       2. Re: photos experiment (Nicholas Moore)
> > >     > > >       3. Re: photos experiment (ching)
> > >     > > >
> > >     > > >
> > >     > > >
> > >     > >
> > >
> > ----------------------------------------------------------------------
> > >     > > >
> > >     > > >     Message: 1
> > >     > > >     Date: Wed, 16 Feb 2011 09:40:56 +0800
> > >     > > >     From: Ching de la Serna <[hidden email]
> > >     <mailto:[hidden email]>
> > >     > > >     <mailto:[hidden email] <mailto:[hidden email]>>>
> > >     > > >     Subject: [aida] photos experiment
> > >     > > >     To: [hidden email] <mailto:[hidden email]>
> > >     <mailto:[hidden email] <mailto:[hidden email]>>
> > >     > > >     Message-ID:
> > >     > > >
> > >      <[hidden email]
> > >     <mailto:[hidden email]
> > >
> > >     > > >
> > >     <mailto:[hidden email]
> > >     <mailto:[hidden email]
> > >
> > >     > > >>
> > >     > > >     Content-Type: text/plain; charset="iso-8859-1"
> > >     > > >
> > >     > > >     Hi,
> > >     > > >
> > >     > > >     Aida is such an amazing web framework but I am finding it
> > >     difficult
> > >     > > to
> > >     > > >     display photos. After failing to display images from my
> > >     local disk, I
> > >     > > >     started anew with a clean ver6.2 with the hope that it
> > >     might lead me
> > >     > > >     somewhere. Placing a jpeg file in my root directory, I had
> > >     > > >
> > >     > > >     e addImage: 'testimage.jpg' size: 100@200.
> > >     > > >
> > >     > > >     as it happened many times before, nothing was displayed
> > >     but the
> > >     > > browser
> > >     > > >     reports "waiting or localhost....". I then changed the
> > >     code to:
> > >     > > >
> > >     > > >     e addImage: '*testimages.jpg*' size: 100@200.
> > >     > > >
> > >     > > >     making it *testimages*.jpg which cannot be found in my
> > >     directory.
> > >     > > >     Reloading
> > >     > > >     the page allowed the browser to finish *without *the
> > >     "waiting for
> > >     > > >     localhost.." There is something going on and I don't know
> > >     what it is.
> > >     > > >     Perhaps someone has an idea?
> > >     > > >
> > >     > > >     Thanks in advance.
> > >     > > >
> > >     > > >     ching de la serna
> > >     > > >     -------------- next part --------------
> > >     > > >     An HTML attachment was scrubbed...
> > >     > > >     URL:
> > >     > > >
> > >     > >
> > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
> > >     > > >
> > >     > > >     ------------------------------
> > >     > > >
> > >     > > >     Message: 2
> > >     > > >     Date: Wed, 16 Feb 2011 09:40:11 +0100
> > >     > > >     From: Nicholas Moore <[hidden email]
> > >     <mailto:[hidden email]>
> > >     > > >     <mailto:[hidden email]
> > >     <mailto:[hidden email]>>>
> > >     > > >     Subject: Re: [aida] photos experiment
> > >     > > >     To: "AIDA/Web general discussion list" <[hidden email]
> > >     <mailto:[hidden email]>
> > >     > > >     <mailto:[hidden email] <mailto:[hidden email]>>>
> > >     > > >     Message-ID: <[hidden email]
> > >     <mailto:[hidden email]>
> > >     > > >     <mailto:[hidden email]
> > >     <mailto:[hidden email]>>>
> > >     > > >     Content-Type: text/plain; charset="iso-8859-15"
> > >     > > >
> > >     > > >     Hi Ching,
> > >     > > >
> > >     > > >     Are you using Linux - maybe it is an issue with
> > >     permissions - does
> > >     > > >     the httpd user have access to the jpg file?
> > >     > > >
> > >     > > >     On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
> > >     > > >     > Hi,
> > >     > > >     >
> > >     > > >     > Aida is such an amazing web framework but I am finding
> > >     it difficult
> > >     > > to
> > >     > > >     > display photos. After failing to display images from my
> > >     local disk,
> > >     > > I
> > >     > > >     > started anew with a clean ver6.2 with the hope that it
> > >     might lead
> > >     > > me
> > >     > > >     > somewhere. Placing a jpeg file in my root directory, I
> > had
> > >     > > >     >
> > >     > > >     > e addImage: 'testimage.jpg' size: 100@200.
> > >     > > >     >
> > >     > > >     > as it happened many times before, nothing was displayed
> > >     but the
> > >     > > >     browser
> > >     > > >     > reports "waiting or localhost....". I then changed the
> > >     code to:
> > >     > > >     >
> > >     > > >     > e addImage: '*testimages.jpg*' size: 100@200.
> > >     > > >     >
> > >     > > >     > making it *testimages*.jpg which cannot be found in my
> > >     directory.
> > >     > > >     Reloading
> > >     > > >     > the page allowed the browser to finish *without *the
> > >     "waiting for
> > >     > > >     > localhost.." There is something going on and I don't
> > >     know what it
> > >     > > is.
> > >     > > >     > Perhaps someone has an idea?
> > >     > > >     >
> > >     > > >     > Thanks in advance.
> > >     > > >     >
> > >     > > >     > ching de la serna
> > >     > > >     >
> > >     > > >
> > >     > > >     --
> > >     > > >     Nicholas Moore
> > >     > > >     Skype: tsr_nicholas
> > >     > > >
> > >     > > >     Check out my Blog
> > >     > > >
> > >     > > >     "Still Running - that I may die in good health"
> > >     > > >     -------------- next part --------------
> > >     > > >     An HTML attachment was scrubbed...
> > >     > > >     URL:
> > >     > > >
> > >     > >
> > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
> > >     > > >
> > >     > > >     ------------------------------
> > >     > > >
> > >     > > >     Message: 3
> > >     > > >     Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
> > >     > > >     From: ching <[hidden email]
> > >     <mailto:[hidden email]> <mailto:[hidden email]
> > >     <mailto:[hidden email]>>>
> > >     > > >     Subject: Re: [aida] photos experiment
> > >     > > >     To: [hidden email] <mailto:[hidden email]>
> > >     <mailto:[hidden email] <mailto:[hidden email]>>
> > >     > > >     Message-ID: <[hidden email]
> > >     <mailto:[hidden email]>
> > >     > > >     <mailto:[hidden email]
> > >     <mailto:[hidden email]>>>
> > >     > > >     Content-Type: text/plain; charset=us-ascii
> > >     > > >
> > >     > > >
> > >     > > >     Hi Nicholas,
> > >     > > >
> > >     > > >
> > >     > > >
> > >     > > >     Nicholas Moore wrote:
> > >     > > >     >
> > >     > > >     > Hi Ching,
> > >     > > >     >
> > >     > > >     > Are you using Linux - maybe it is an issue with
> > >     permissions - does
> > >     > > the
> > >     > > >     > httpd user have access to the jpg file?
> > >     > > >     >
> > >     > > >     > I am just using Windows and I'm not sure if I need
> > >     permissions to
> > >     > > >     use the
> > >     > > >     > jpg files in my directory. I remember displaying images
> > >     using
> > >     > > >     Seaside and
> > >     > > >     > I did not really have any problem doing it whether on my
> > >     local
> > >     > > >     machine or
> > >     > > >     > behind Apache. I am thinking of keeping everything in
> > >     Smalltalk
> > >     > > >     > (Swazoo/Aida).
> > >     > > >     >
> > >     > > >     > Thanks for the response,
> > >     > > >     >
> > >     > > >     > ching
> > >     > > >     >
> > >     > > >     > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna
> > wrote:
> > >     > > >     >> Hi,
> > >     > > >     >>
> > >     > > >     >> Aida is such an amazing web framework but I am finding
> > it
> > >     > > >     difficult to
> > >     > > >     >> display photos. After failing to display images from my
> > >     local
> > >     > > disk, I
> > >     > > >     >> started anew with a clean ver6.2 with the hope that it
> > >     might lead
> > >     > > me
> > >     > > >     >> somewhere. Placing a jpeg file in my root directory, I
> > had
> > >     > > >     >>
> > >     > > >     >> e addImage: 'testimage.jpg' size: 100@200.
> > >     > > >     >>
> > >     > > >     >> as it happened many times before, nothing was displayed
> > >     but the
> > >     > > >     browser
> > >     > > >     >> reports "waiting or localhost....". I then changed the
> > >     code to:
> > >     > > >     >>
> > >     > > >     >> e addImage: '*testimages.jpg*' size: 100@200.
> > >     > > >     >>
> > >     > > >     >> making it *testimages*.jpg which cannot be found in my
> > >     directory.
> > >     > > >     >> Reloading
> > >     > > >     >> the page allowed the browser to finish *without *the
> > >     "waiting for
> > >     > > >     >> localhost.." There is something going on and I don't
> > >     know what it
> > >     > > is.
> > >     > > >     >> Perhaps someone has an idea?
> > >     > > >     >>
> > >     > > >     >> Thanks in advance.
> > >     > > >     >>
> > >     > > >     >> ching de la serna
> > >     > > >     >>
> > >     > > >     >
> > >     > > >     > --
> > >     > > >     > Nicholas Moore
> > >     > > >     > Skype: tsr_nicholas
> > >     > > >     >
> > >     > > >     > Check out my Blog
> > >     > > >     >
> > >     > > >     > "Still Running - that I may die in good health"
> > >     > > >     >
> > >     > > >     > _______________________________________________
> > >     > > >     > Aida mailing list
> > >     > > >     > [hidden email] <mailto:[hidden email]>
> > >     <mailto:[hidden email] <mailto:[hidden email]>>
> > >     > > >     > http://lists.aidaweb.si/mailman/listinfo/aida
> > >     > > >     >
> > >     > > >     >
> > >     > > >
> > >     > > >     --
> > >     > > >     View this message in context:
> > >     > > >
> > http://forum.world.st/photos-experiment-tp3308053p3308440.html
> > >     > > >     Sent from the AIDA/Web mailing list archive at Nabble.com.
> > >     > > >
> > >     > > >
> > >     > > >     ------------------------------
> > >     > > >
> > >     > > >     _______________________________________________
> > >     > > >     Aida mailing list
> > >     > > >     [hidden email] <mailto:[hidden email]>
> > >     <mailto:[hidden email] <mailto:[hidden email]>>
> > >     > > >     http://lists.aidaweb.si/mailman/listinfo/aida
> > >     > > >
> > >     > > >
> > >     > > >     End of Aida Digest, Vol 45, Issue 10
> > >     > > >     ************************************
> > >     > > >
> > >     > > >
> > >     > > >
> > >     > > >
> > >     > > > _______________________________________________
> > >     > > > Aida mailing list
> > >     > > > [hidden email] <mailto:[hidden email]>
> > >     > > > http://lists.aidaweb.si/mailman/listinfo/aida
> > >     > >
> > >     > > --
> > >     > > Janko Miv?ek
> > >     > > AIDA/Web
> > >     > > Smalltalk Web Application Server
> > >     > > http://www.aidaweb.si
> > >     > >
> > >     > >
> > >     > > ------------------------------
> > >     > >
> > >     > > Message: 3
> > >     > > Date: Wed, 16 Feb 2011 15:16:42 +0100
> > >     > > From: Nicholas Moore <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > Subject: Re: [aida] 6.2 tests
> > >     > > To: "AIDA/Web general discussion list" <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > Message-ID: <[hidden email]
> > >     <mailto:[hidden email]>>
> > >     > > Content-Type: text/plain; charset="utf-8"
> > >     > >
> > >     > > I have tested with a vanilla VW and it works as you would expect
> > >     - good
> > >     > > news. I used several different local variations in my hosts file
> > >     and all
> > >     > > worked okay - returning 'aidasession/ajax'.
> > >     > >
> > >     > > So then I returned to my own image and retested it - but was not
> > >     able to
> > >     > > reproduce the error - it too returned the correct value. There
> > >     must have
> > >     > > been some spurious condition associated with my previous test
> > >     image and
> > >     > > perhaps earlier exceptions.
> > >     > >
> > >     > > Anyway, all works as expected and my sites are now live with 6.2.
> > >     > >
> > >     > > Nicholas
> > >     > >
> > >     > > On Tuesday 15 Feb 2011 14:28:54 Janko Miv?ek wrote:
> > >     > > >
> > >     > > > On 14. 02. 2011 21:20, Nicholas Moore wrote:
> > >     > > > > Excellent - I had not created the route explicitly to my
> > >     blog site!
> > >     > > > > However the request subsequently failed here:
> > >     > > > > WebSession >> printHTMLPageOn: aStream for: aRequest on:
> > >     aWebSession
> > >     > > > > aRequest urlString = '/aidasession/ajax' ifTrue:
> > >     > > > > because the actual request urlString is: '
> > >     > > http://mysite/aidasession/ajax'.
> > >     > > > > I have changed that test to:
> > >     > > > > (aRequest urlString containsSubstring: '/aidasession/ajax')
> > >     ifTrue:>
> > >     > > > > and everything works as desired.
> > >     > > >
> > >     > > > This is interesting, from where aRequest urlString works
> > >     differently in
> > >     > > >  your image comparing with fresh install into vanilla VW 7.7
> > (for
> > >     > > > nistance) image from Public Store. Can you try this too?
> > >     > > >
> > >     > > > Best regards
> > >     > > > Janko
> > >     > > >
> > >     > > >
> > >     > > >
> > >     > > > > Nicholas
> > >     > > > >
> > >     > > > > On Monday 14 Feb 2011 19:51:06 Janko Miv?ek wrote:
> > >     > > > >
> > >     > > > >> Hi Nicolas,
> > >     > > > >
> > >     > > > >>
> > >     > > > >
> > >     > > > >> On 14. 02. 2011 19:39, Nicholas Moore wrote:
> > >     > > > >
> > >     > > > >>
> > >     > > > >
> > >     > > > >> > From the demo.html page for ajax in 6.2, when I click on
> > >     'click me
> > >     > > for
> > >     > > > >
> > >     > > > >> > popup' I have trapped a SwazooStream. It generates a
> > >     requestURI
> > >     > > which is
> > >     > > > >
> > >     > > > >> > '/aidasession/ajax'.
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> > On the 6.1 version the equivalent requestURI is
> > >     'demo.html' (as I
> > >     > > would
> > >     > > > >
> > >     > > > >> > expect).
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> > Where does the '/aidasession/ajax URI come from?
> > >     > > > >
> > >     > > > >>
> > >     > > > >
> > >     > > > >> This is major new behavior on new event framework - all
> > >     Ajax and
> > >     > > > >
> > >     > > > >> WebSocket JSON messages go to this Url, that is, to your
> > >     session,
> > >     > > which
> > >     > > > >
> > >     > > > >> then find the right App and pass it the event. This Url is
> > in
> > >     > > JavaScript
> > >     > > > >
> > >     > > > >> code, see WebStyle js13Events. The Url of actual page is
> > >     included in
> > >     > > > >
> > >     > > > >> this message.
> > >     > > > >
> > >     > > > >>
> > >     > > > >
> > >     > > > >> Inspect the WebRouter (AIDASite default router) if there is
> > >     a route to
> > >     > > > >
> > >     > > > >> the session manager. If you did the upgrade script, it
> > >     should be there
> > >     > > > >
> > >     > > > >> already. If not, rerun that addSessionManagerRoute line.
> > >     > > > >
> > >     > > > >>
> > >     > > > >
> > >     > > > >> In Firebug's console, do you see any error messages?
> > >     > > > >
> > >     > > > >>
> > >     > > > >
> > >     > > > >> Hope this helps
> > >     > > > >
> > >     > > > >> JAnko
> > >     > > > >
> > >     > > > >>
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> > On Monday 14 Feb 2011 11:35:21 Nicholas Moore wrote:
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> Janko,
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >>
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> After running the script that you described prior to
> > >     upgrade I was
> > >     > > > >
> > >     > > > >> > able to install 6.2 cleanly without any problems - good
> > work!
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >>
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> During testing (on VW) I came across a couple of snags:
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >>
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> 1) The method String >> replaceSpecialCharacters
> > >     contains or:or:
> > >     > > which
> > >     > > > >
> > >     > > > >> > does not work in VW (but is ok in Pharo and Squeak). I
> > >     changed it
> > >     > > to:
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> replaceSpecialCharacters
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> |str|
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> str := self copy.
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> str do: [:ch | |ascii|
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> ascii := ch asInteger.
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> ((ascii >= 65 and: [ ascii <= 90 ]) or: [
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> ( ascii >= 97 and: [ ascii <= 122 ]) or: [ch isDigit or:
> > >     [ch = $/
> > >     > > or:
> > >     > > > >
> > >     > > > >> > [ch = $.]]]])
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> ifFalse: [str replaceAll: ch with: $-]].
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> ^str
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >>
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> 2) I needed to upgrade my version of TinyMCE -
> > >     richEditorInitScript
> > >     > > > >
> > >     > > > >> > has changed.
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >>
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> 3) I have a problem with ajax calls. I previously used
> > >     > > > >
> > >     > > > >> > 'afterPostUpdate:' which is deprecated. I changed to
> > >     > > > >
> > >     > > > >> > 'onChangePostAndUpdate::' but that did not work (no
> > >     error, simply
> > >     > > > >
> > >     > > > >> > nothing happened). I do not yet know why, I will need to
> > >     do some
> > >     > > > >
> > >     > > > >> > debugging this week. I also found that the WebDemo ajax
> > >     page did not
> > >     > > > >
> > >     > > > >> > work properly (the update and popup methods seemed to have
> > no
> > >     > > effect.
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >>
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> Therefore I am unsure whether the problem lies in my
> > >     implementation
> > >     > > or
> > >     > > > >
> > >     > > > >> > elsewhere. I reverted to my same app using 6.1 and the
> > >     WebDemo ajax
> > >     > > page
> > >     > > > >
> > >     > > > >> > worked perfectly. If anyone else could test this and see
> > >     how the
> > >     > > demo
> > >     > > > >
> > >     > > > >> > app works, that would save me some time.
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >>
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> By the way, I notice that WebApplication >>
> > >     respondToAjaxRequest:
> > >     > > is
> > >     > > > >
> > >     > > > >> > in the 'private-obsolete' protocol, should that be in
> > >     > > 'private-ajax'?
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >>
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> Otherwise the new features look great, in particular I
> > >     am looking
> > >     > > > >
> > >     > > > >> > forward to getting to grips with JSON.
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >>
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> Regards
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >>
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >> Nicholas
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >>
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >>
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >> >
> > >     > > > >
> > >     > > > >>
> > >     > > > >
> > >     > > > >>
> > >     > > > >
> > >     > > > >
> > >     > > >
> > >     > > >
> > >     > >
> > >     > > --
> > >     > > Nicholas Moore
> > >     > > Skype: tsr_nicholas
> > >     > >
> > >     > > Check out my Blog
> > >     > >
> > >     > > "Still Running - that I may die in good health"
> > >     > > -------------- next part --------------
> > >     > > An HTML attachment was scrubbed...
> > >     > > URL:
> > >     > >
> > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/5d913c94/attachment.htm
> > >     > >
> > >     > > ------------------------------
> > >     > >
> > >     > > _______________________________________________
> > >     > > Aida mailing list
> > >     > > [hidden email] <mailto:[hidden email]>
> > >     > > http://lists.aidaweb.si/mailman/listinfo/aida
> > >     > >
> > >     > >
> > >     > > End of Aida Digest, Vol 45, Issue 11
> > >     > > ************************************
> > >     > >
> > >     >
> > >
> > >     --
> > >     Nicholas Moore
> > >     Skype: tsr_nicholas
> > >
> > >     Check out my Blog
> > >
> > >     "Still Running - that I may die in good health"
> > >     -------------- next part --------------
> > >     An HTML attachment was scrubbed...
> > >     URL:
> > >
> > http://lists.aidaweb.si/pipermail/aida/attachments/20110216/b2fbcf0f/attachment.htm
> > >
> > >     ------------------------------
> > >
> > >     _______________________________________________
> > >     Aida mailing list
> > >     [hidden email] <mailto:[hidden email]>
> > >     http://lists.aidaweb.si/mailman/listinfo/aida
> > >
> > >
> > >     End of Aida Digest, Vol 45, Issue 13
> > >     ************************************
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Aida mailing list
> > > [hidden email]
> > > http://lists.aidaweb.si/mailman/listinfo/aida
> >
> > --
> > Janko Miv?ek
> > AIDA/Web
> > Smalltalk Web Application Server
> > http://www.aidaweb.si
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > Aida mailing list
> > [hidden email]
> > http://lists.aidaweb.si/mailman/listinfo/aida
> >
> >
> > End of Aida Digest, Vol 45, Issue 20
> > ************************************
> >
>

--
Nicholas Moore
Skype: tsr_nicholas

Check out my Blog

"Still Running - that I may die in good health"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20110216/2abed959/attachment.htm

------------------------------

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida


End of Aida Digest, Vol 45, Issue 23
************************************


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

ching
In reply to this post by ching
Hi Janko,

This is good news! Discovering what makes this happen and fixing it will only make Aida/Swazoo more robust. Thanks for the help. I think that's all for me for today.

Cheers,

Ching

On Thu, Feb 17, 2011 at 3:07 AM, <[hidden email]> wrote:
Send Aida mailing list submissions to
       [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.aidaweb.si/mailman/listinfo/aida
or, via email, send a message with subject or body 'help' to
       [hidden email]

You can reach the person managing the list at
       [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Aida digest..."


Today's Topics:

  1. Re: photos experiment (Janko Miv?ek)


----------------------------------------------------------------------

Message: 1
Date: Wed, 16 Feb 2011 20:07:30 +0100
From: Janko Miv?ek <[hidden email]>
Subject: Re: [aida] photos experiment
To: AIDA/Web general discussion list <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=UTF-8

Ching, I actually got the same problem and you! Even more, opening such
image causes Firefox to eat 100% CPU and grows in memory indefinitely.
So, now let me found out the reason...

On 16. 02. 2011 19:37, Janko Miv?ek wrote:
> On 16. 02. 2011 19:30, Ching de la Serna wrote:
>> Hi Janko, Nicholas,
>>
>> Thanks for all the help. I will do as you both suggest and maybe even
>> try the OneClick download. I am really excited to use Aida as I think it
>> is very well-thought out.
>
> Thanks for nice words about Aida and let me know you that I'm just
> trying OneClick on WinXP by myself. So, wait please few minutes for
> results instead.
>
> Best regards
> Janko
>
>>
>> Ching
>>
>> On Thu, Feb 17, 2011 at 2:21 AM, <[hidden email]
>> <mailto:[hidden email]>> wrote:
>>
>>     Send Aida mailing list submissions to
>>            [hidden email] <mailto:[hidden email]>
>>
>>     To subscribe or unsubscribe via the World Wide Web, visit
>>            http://lists.aidaweb.si/mailman/listinfo/aida
>>     or, via email, send a message with subject or body 'help' to
>>            [hidden email] <mailto:[hidden email]>
>>
>>     You can reach the person managing the list at
>>            [hidden email] <mailto:[hidden email]>
>>
>>     When replying, please edit your Subject line so it is more specific
>>     than "Re: Contents of Aida digest..."
>>
>>
>>     Today's Topics:
>>
>>       1. Re: photos experiment. (Janko Miv?ek)
>>
>>
>>     ----------------------------------------------------------------------
>>
>>     Message: 1
>>     Date: Wed, 16 Feb 2011 19:21:35 +0100
>>     From: Janko Miv?ek <[hidden email]
>>     <mailto:[hidden email]>>
>>     Subject: Re: [aida] photos experiment.
>>     To: AIDA/Web general discussion list <[hidden email]
>>     <mailto:[hidden email]>>
>>     Message-ID: <[hidden email]
>>     <mailto:[hidden email]>>
>>     Content-Type: text/plain; charset=UTF-8
>>
>>     Hi Ching,
>>
>>     Getting http://localhost:8888/testimage.jpg to show this image is the
>>     first thing you need to achieve. This is the test that Aida is set-up
>>     right. So let we try to do this first.
>>
>>      1. Move your image in a more simple directory, the best simply on
>>         c:\aida
>>      2. (AIDASite named:'mysite) homeDirectory: 'c:\aida\'
>>         ( try both with backslash \ at the end and without)
>>      3. put testimage.jpg in c:\aida
>>      4. open http://localhost:8888/testimage.jpg
>>
>>     Janko
>>
>>     On 16. 02. 2011 17:01, Ching de la Serna wrote:
>>     > Hi Nicholas,
>>     >
>>     > Thanks for the help. It was stupid of me to send the message to the
>>     > class instead of the instance. The good news is that the error and my
>>     > ignorance have been corrected. Also, when running the following on the
>>     > browser,
>>     >
>>     > http://localhost:8888/testimage.jpg I now get a *404 Not Found Error*.
>>     > Still far from success but surely inching closer.
>>     >
>>     > Ching
>>     >
>>     > On Wed, Feb 16, 2011 at 11:44 PM, <[hidden email]
>>     <mailto:[hidden email]>
>>     > <mailto:[hidden email] <mailto:[hidden email]>>>
>>     wrote:
>>     >
>>     >     Send Aida mailing list submissions to
>>     >            [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >
>>     >     To subscribe or unsubscribe via the World Wide Web, visit
>>     >            http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     or, via email, send a message with subject or body 'help' to
>>     >            [hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >
>>     >     You can reach the person managing the list at
>>     >            [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >
>>     >     When replying, please edit your Subject line so it is more
>>     specific
>>     >     than "Re: Contents of Aida digest..."
>>     >
>>     >
>>     >     Today's Topics:
>>     >
>>     >       1. Re: photos experiment (Nicholas Moore)
>>     >
>>     >
>>     >
>>     ----------------------------------------------------------------------
>>     >
>>     >     Message: 1
>>     >     Date: Wed, 16 Feb 2011 16:43:47 +0100
>>     >     From: Nicholas Moore <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     Subject: Re: [aida] photos experiment
>>     >     To: "AIDA/Web general discussion list" <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     Message-ID: <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     Content-Type: text/plain; charset="iso-8859-15"
>>     >
>>     >     Hi Ching,
>>     >
>>     >     Where you get this:
>>     >
>>     >     AIDASite homeDirectory.: '"
>>     >     C:\Documents and Settings\ADMIN\My
>>     >     Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"'
>>     >     and got the same error message: doesNotUnderstand: #homeDirectory
>>     >
>>     >     It is because you are sending homeDirectory: to the class AIDASite
>>     >     rather than an instance,
>>     >
>>     >     i.e (AIDASite named: 'mysite') homeDirectory: .....
>>     >
>>     >     Nicholas
>>     >
>>     >     On Wednesday 16 Feb 2011 16:35:54 Ching de la Serna wrote:
>>     >     > Hi Janko
>>     >     >
>>     >     > Thanks for taking the time. I did as you suggested. The results
>>     >     are below:
>>     >     >
>>     >     > Hi Ching,
>>     >     > >
>>     >     >
>>     >     > I'm trying to find some time to chase your problem, but in the
>>     >     meantime,
>>     >     > can you try to open this jpg directly from browser.
>>     >     >
>>     >     > If you put testimage.jpg on a directory where your image
>>     started, can
>>     >     > you open it from browser directly:
>>     >     >
>>     >     >        http://localhost:8888/testimage.jpg ?
>>     >     > This does not open the jpeg file.
>>     >     >
>>     >     > If not, can you open it through File->Open file ?
>>     >     > I could open once I *unblocked *the testimage.jpg file. Windows
>>     >     was blocking
>>     >     > it the first time I tried. After I was able to do this, I tried
>>     >     doing the
>>     >     > above  http://localhost:8888/testimage.jpg and it would
>>     still not
>>     >     open.
>>     >     >
>>     >     > Also, how did you start your image, double clicking from
>>     OneClick?
>>     >     > I loaded from Monticello the three files: *Sport-2.031.mcz ,
>>     >     > Swazoo-2.3beta2.1.mcz, Aida6.2-final.1.mcz *which I downloaded
>>     >     separately I
>>     >     > use Sqeak4.1
>>     >     >
>>     >     > It could be that default .\ path doesn't point to the right
>>     directory,
>>     >     > can you change it to absolute path to your images directory:
>>     >     >
>>     >     >        AIDASite>>homeDirectory: 'c:\absolute path'
>>     >     > I evaluated :
>>     >     > AIDASite homeDirectory.: '
>>     >     > C:\Documents and Settings\ADMIN\My
>>     >     > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak
>>     4.1'
>>     >     > and got an error:doesNotUnderstand: #homeDirectory
>>     >     >
>>     >     > I tried enclosing in ""
>>     >     > AIDASite homeDirectory.: '"
>>     >     > C:\Documents and Settings\ADMIN\My
>>     >     > Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak
>>     4.1"'
>>     >     and got
>>     >     > the same error message: doesNotUnderstand: #homeDirectory
>>     >     >
>>     >     > Also which version of Windows do you use?
>>     >     > I use Windows XP
>>     >     >
>>     >     > Hope this would help a bit
>>     >     > JAnko
>>     >     >
>>     >     > Ching
>>     >     >
>>     >     > On Wed, Feb 16, 2011 at 10:17 PM, <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>> wrote:
>>     >     >
>>     >     > > Send Aida mailing list submissions to
>>     >     > >        [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > >
>>     >     > > To subscribe or unsubscribe via the World Wide Web, visit
>>     >     > >        http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > or, via email, send a message with subject or body 'help' to
>>     >     > >        [hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > >
>>     >     > > You can reach the person managing the list at
>>     >     > >        [hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > >
>>     >     > > When replying, please edit your Subject line so it is more
>>     specific
>>     >     > > than "Re: Contents of Aida digest..."
>>     >     > >
>>     >     > >
>>     >     > > Today's Topics:
>>     >     > >
>>     >     > >   1. Re: photos experiment (Ching de la Serna)
>>     >     > >   2. Re: photos experiment (Janko Miv?ek)
>>     >     > >   3. Re: 6.2 tests (Nicholas Moore)
>>     >     > >
>>     >     > >
>>     >     > >
>>     >
>>     ----------------------------------------------------------------------
>>     >     > >
>>     >     > > Message: 1
>>     >     > > Date: Wed, 16 Feb 2011 19:27:14 +0800
>>     >     > > From: Ching de la Serna <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > Subject: Re: [aida] photos experiment
>>     >     > > To: [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > Message-ID:
>>     >     > >
>>     >      <[hidden email]
>>     <mailto:[hidden email]>
>>     >
>>     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > Content-Type: text/plain; charset="iso-8859-1"
>>     >     > >
>>     >     > > Hi All,
>>     >     > >
>>     >     > > I am inclined to believe that Nicholas is right about
>>     >     permissions. Windows
>>     >     > > might be blocking the jpeg file from being displayed. I
>>     changed
>>     >     the jpeg
>>     >     > > properties to "unblock" and restarted my computer. I also
>>     >     downloaded Google
>>     >     > > Chrome thinking it might be a Firefox problem. Nothing
>>     worked. I
>>     >     am ready
>>     >     > > to
>>     >     > > give up unless someone can point me in the right direction.It
>>     >     seems kind of
>>     >     > > strange though, a jpeg from another website displays with no
>>     >     problem while
>>     >     > > a
>>     >     > > local file is blocked. Strange behavior if indeed it is an
>>     OS issue.
>>     >     > >
>>     >     > > Thanks,
>>     >     > >
>>     >     > > Ching de la Serna
>>     >     > >
>>     >     > > On Wed, Feb 16, 2011 at 7:00 PM, <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>> wrote:
>>     >     > >
>>     >     > > > Send Aida mailing list submissions to
>>     >     > > >        [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > >
>>     >     > > > To subscribe or unsubscribe via the World Wide Web, visit
>>     >     > > >        http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > > or, via email, send a message with subject or body 'help' to
>>     >     > > >        [hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >
>>     >     > > > You can reach the person managing the list at
>>     >     > > >        [hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >
>>     >     > > > When replying, please edit your Subject line so it is more
>>     >     specific
>>     >     > > > than "Re: Contents of Aida digest..."
>>     >     > > >
>>     >     > > >
>>     >     > > > Today's Topics:
>>     >     > > >
>>     >     > > >   1. photos experiment (Ching de la Serna)
>>     >     > > >   2. Re: photos experiment (Nicholas Moore)
>>     >     > > >   3. Re: photos experiment (ching)
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >
>>     ----------------------------------------------------------------------
>>     >     > > >
>>     >     > > > Message: 1
>>     >     > > > Date: Wed, 16 Feb 2011 09:40:56 +0800
>>     >     > > > From: Ching de la Serna <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > > Subject: [aida] photos experiment
>>     >     > > > To: [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > > Message-ID:
>>     >     > > >
>>     >      <[hidden email]
>>     <mailto:[hidden email]>
>>     >
>>     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > > Content-Type: text/plain; charset="iso-8859-1"
>>     >     > > >
>>     >     > > > Hi,
>>     >     > > >
>>     >     > > > Aida is such an amazing web framework but I am finding it
>>     >     difficult to
>>     >     > > > display photos. After failing to display images from my
>>     local
>>     >     disk, I
>>     >     > > > started anew with a clean ver6.2 with the hope that it might
>>     >     lead me
>>     >     > > > somewhere. Placing a jpeg file in my root directory, I had
>>     >     > > >
>>     >     > > > e addImage: 'testimage.jpg' size: 100@200.
>>     >     > > >
>>     >     > > > as it happened many times before, nothing was displayed but
>>     >     the browser
>>     >     > > > reports "waiting or localhost....". I then changed the
>>     code to:
>>     >     > > >
>>     >     > > > e addImage: '*testimages.jpg*' size: 100@200.
>>     >     > > >
>>     >     > > > making it *testimages*.jpg which cannot be found in my
>>     directory.
>>     >     > > Reloading
>>     >     > > > the page allowed the browser to finish *without *the
>>     "waiting for
>>     >     > > > localhost.." There is something going on and I don't
>>     know what
>>     >     it is.
>>     >     > > > Perhaps someone has an idea?
>>     >     > > >
>>     >     > > > Thanks in advance.
>>     >     > > >
>>     >     > > > ching de la serna
>>     >     > > > -------------- next part --------------
>>     >     > > > An HTML attachment was scrubbed...
>>     >     > > > URL:
>>     >     > > >
>>     >     > >
>>     >
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
>>     >     > > >
>>     >     > > > ------------------------------
>>     >     > > >
>>     >     > > > Message: 2
>>     >     > > > Date: Wed, 16 Feb 2011 09:40:11 +0100
>>     >     > > > From: Nicholas Moore <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > > Subject: Re: [aida] photos experiment
>>     >     > > > To: "AIDA/Web general discussion list" <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > > Message-ID: <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > > Content-Type: text/plain; charset="iso-8859-15"
>>     >     > > >
>>     >     > > > Hi Ching,
>>     >     > > >
>>     >     > > > Are you using Linux - maybe it is an issue with
>>     permissions -
>>     >     does the
>>     >     > > > httpd user have access to the jpg file?
>>     >     > > >
>>     >     > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>>     >     > > > > Hi,
>>     >     > > > >
>>     >     > > > > Aida is such an amazing web framework but I am finding it
>>     >     difficult to
>>     >     > > > > display photos. After failing to display images from my
>>     >     local disk, I
>>     >     > > > > started anew with a clean ver6.2 with the hope that it
>>     might
>>     >     lead me
>>     >     > > > > somewhere. Placing a jpeg file in my root directory, I had
>>     >     > > > >
>>     >     > > > > e addImage: 'testimage.jpg' size: 100@200.
>>     >     > > > >
>>     >     > > > > as it happened many times before, nothing was
>>     displayed but
>>     >     the browser
>>     >     > > > > reports "waiting or localhost....". I then changed the
>>     code to:
>>     >     > > > >
>>     >     > > > > e addImage: '*testimages.jpg*' size: 100@200.
>>     >     > > > >
>>     >     > > > > making it *testimages*.jpg which cannot be found in my
>>     >     directory.
>>     >     > > > Reloading
>>     >     > > > > the page allowed the browser to finish *without *the
>>     >     "waiting for
>>     >     > > > > localhost.." There is something going on and I don't know
>>     >     what it is.
>>     >     > > > > Perhaps someone has an idea?
>>     >     > > > >
>>     >     > > > > Thanks in advance.
>>     >     > > > >
>>     >     > > > > ching de la serna
>>     >     > > > >
>>     >     > > >
>>     >     > > > --
>>     >     > > > Nicholas Moore
>>     >     > > > Skype: tsr_nicholas
>>     >     > > >
>>     >     > > > Check out my Blog
>>     >     > > >
>>     >     > > > "Still Running - that I may die in good health"
>>     >     > > > -------------- next part --------------
>>     >     > > > An HTML attachment was scrubbed...
>>     >     > > > URL:
>>     >     > > >
>>     >     > >
>>     >
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
>>     >     > > >
>>     >     > > > ------------------------------
>>     >     > > >
>>     >     > > > Message: 3
>>     >     > > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
>>     >     > > > From: ching <[hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > > Subject: Re: [aida] photos experiment
>>     >     > > > To: [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > > Message-ID: <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > > Content-Type: text/plain; charset=us-ascii
>>     >     > > >
>>     >     > > >
>>     >     > > > Hi Nicholas,
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >     > > > Nicholas Moore wrote:
>>     >     > > > >
>>     >     > > > > Hi Ching,
>>     >     > > > >
>>     >     > > > > Are you using Linux - maybe it is an issue with
>>     permissions
>>     >     - does the
>>     >     > > > > httpd user have access to the jpg file?
>>     >     > > > >
>>     >     > > > > I am just using Windows and I'm not sure if I need
>>     >     permissions to use
>>     >     > > the
>>     >     > > > > jpg files in my directory. I remember displaying images
>>     >     using Seaside
>>     >     > > and
>>     >     > > > > I did not really have any problem doing it whether on my
>>     >     local machine
>>     >     > > or
>>     >     > > > > behind Apache. I am thinking of keeping everything in
>>     Smalltalk
>>     >     > > > > (Swazoo/Aida).
>>     >     > > > >
>>     >     > > > > Thanks for the response,
>>     >     > > > >
>>     >     > > > > ching
>>     >     > > > >
>>     >     > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>>     >     > > > >> Hi,
>>     >     > > > >>
>>     >     > > > >> Aida is such an amazing web framework but I am finding it
>>     >     difficult to
>>     >     > > > >> display photos. After failing to display images from my
>>     >     local disk, I
>>     >     > > > >> started anew with a clean ver6.2 with the hope that it
>>     >     might lead me
>>     >     > > > >> somewhere. Placing a jpeg file in my root directory,
>>     I had
>>     >     > > > >>
>>     >     > > > >> e addImage: 'testimage.jpg' size: 100@200.
>>     >     > > > >>
>>     >     > > > >> as it happened many times before, nothing was
>>     displayed but the
>>     >     > > browser
>>     >     > > > >> reports "waiting or localhost....". I then changed
>>     the code to:
>>     >     > > > >>
>>     >     > > > >> e addImage: '*testimages.jpg*' size: 100@200.
>>     >     > > > >>
>>     >     > > > >> making it *testimages*.jpg which cannot be found in my
>>     >     directory.
>>     >     > > > >> Reloading
>>     >     > > > >> the page allowed the browser to finish *without *the
>>     >     "waiting for
>>     >     > > > >> localhost.." There is something going on and I don't know
>>     >     what it is.
>>     >     > > > >> Perhaps someone has an idea?
>>     >     > > > >>
>>     >     > > > >> Thanks in advance.
>>     >     > > > >>
>>     >     > > > >> ching de la serna
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > > --
>>     >     > > > > Nicholas Moore
>>     >     > > > > Skype: tsr_nicholas
>>     >     > > > >
>>     >     > > > > Check out my Blog
>>     >     > > > >
>>     >     > > > > "Still Running - that I may die in good health"
>>     >     > > > >
>>     >     > > > > _______________________________________________
>>     >     > > > > Aida mailing list
>>     >     > > > > [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > > > http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > > >
>>     >     > > > >
>>     >     > > >
>>     >     > > > --
>>     >     > > > View this message in context:
>>     >     > > >
>>     http://forum.world.st/photos-experiment-tp3308053p3308440.html
>>     >     > > > Sent from the AIDA/Web mailing list archive at Nabble.com.
>>     >     > > >
>>     >     > > >
>>     >     > > > ------------------------------
>>     >     > > >
>>     >     > > > _______________________________________________
>>     >     > > > Aida mailing list
>>     >     > > > [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > > http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > >
>>     >     > > >
>>     >     > > > End of Aida Digest, Vol 45, Issue 10
>>     >     > > > ************************************
>>     >     > > >
>>     >     > > -------------- next part --------------
>>     >     > > An HTML attachment was scrubbed...
>>     >     > > URL:
>>     >     > >
>>     >
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/6f6c4b7a/attachment-0001.htm
>>     >     > >
>>     >     > > ------------------------------
>>     >     > >
>>     >     > > Message: 2
>>     >     > > Date: Wed, 16 Feb 2011 12:40:44 +0100
>>     >     > > From: Janko Miv?ek <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > Subject: Re: [aida] photos experiment
>>     >     > > To: AIDA/Web general discussion list <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > Message-ID: <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > Content-Type: text/plain; charset=UTF-8
>>     >     > >
>>     >     > > Hi Ching,
>>     >     > >
>>     >     > > I'm trying to find some time to chase your problem, but in the
>>     >     meantime,
>>     >     > > can you try to open this jpg directly from browser.
>>     >     > >
>>     >     > > If you put testimage.jpg on a directory where your image
>>     >     started, can
>>     >     > > you open it from browser directly:
>>     >     > >
>>     >     > >        http://localhost:8888/testimage.jpg ?
>>     >     > >
>>     >     > > If not, can you open it through File->Open file ?
>>     >     > >
>>     >     > > Also, how did you start your image, double clicking from
>>     OneClick?
>>     >     > >
>>     >     > > It could be that default .\ path doesn't point to the right
>>     >     directory,
>>     >     > > can you change it to absolute path to your images directory:
>>     >     > >
>>     >     > >        AIDASite>>homeDirectory: 'c:\absolute path'
>>     >     > >
>>     >     > > Also which version of Windows do you use?
>>     >     > >
>>     >     > > Hope this would help a bit
>>     >     > > JAnko
>>     >     > >
>>     >     > > On 16. 02. 2011 12:27, Ching de la Serna wrote:
>>     >     > > > Hi All,
>>     >     > > >
>>     >     > > > I am inclined to believe that Nicholas is right about
>>     permissions.
>>     >     > > > Windows might be blocking the jpeg file from being
>>     displayed.
>>     >     I changed
>>     >     > > > the jpeg properties to "unblock" and restarted my
>>     computer. I also
>>     >     > > > downloaded Google Chrome thinking it might be a Firefox
>>     >     problem. Nothing
>>     >     > > > worked. I am ready to give up unless someone can point me in
>>     >     the right
>>     >     > > > direction.It seems kind of strange though, a jpeg from
>>     another
>>     >     website
>>     >     > > > displays with no problem while a local file is blocked.
>>     >     Strange behavior
>>     >     > > > if indeed it is an OS issue.
>>     >     > > >
>>     >     > > > Thanks,
>>     >     > > >
>>     >     > > > Ching de la Serna
>>     >     > > >
>>     >     > > > On Wed, Feb 16, 2011 at 7:00 PM,
>>     <[hidden email] <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > > <mailto:[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>> wrote:
>>     >     > > >
>>     >     > > >     Send Aida mailing list submissions to
>>     >     > > >            [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >
>>     >     > > >     To subscribe or unsubscribe via the World Wide Web,
>>     visit
>>     >     > > >            http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > >     or, via email, send a message with subject or body
>>     'help' to
>>     >     > > >            [hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>> <mailto:[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >
>>     >     > > >     You can reach the person managing the list at
>>     >     > > >            [hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>>     <mailto:[hidden email] <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >
>>     >     > > >     When replying, please edit your Subject line so it
>>     is more
>>     >     specific
>>     >     > > >     than "Re: Contents of Aida digest..."
>>     >     > > >
>>     >     > > >
>>     >     > > >     Today's Topics:
>>     >     > > >
>>     >     > > >       1. photos experiment (Ching de la Serna)
>>     >     > > >       2. Re: photos experiment (Nicholas Moore)
>>     >     > > >       3. Re: photos experiment (ching)
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >     > >
>>     >
>>     ----------------------------------------------------------------------
>>     >     > > >
>>     >     > > >     Message: 1
>>     >     > > >     Date: Wed, 16 Feb 2011 09:40:56 +0800
>>     >     > > >     From: Ching de la Serna <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > >     <mailto:[hidden email]
>>     <mailto:[hidden email]> <mailto:[hidden email]
>>     <mailto:[hidden email]>>>>
>>     >     > > >     Subject: [aida] photos experiment
>>     >     > > >     To: [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >     Message-ID:
>>     >     > > >
>>     >      <[hidden email]
>>     <mailto:[hidden email]>
>>     >
>>     <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >
>>     >
>>     <mailto:[hidden email]
>>     <mailto:[hidden email]>
>>     >
>>     <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >>
>>     >     > > >     Content-Type: text/plain; charset="iso-8859-1"
>>     >     > > >
>>     >     > > >     Hi,
>>     >     > > >
>>     >     > > >     Aida is such an amazing web framework but I am
>>     finding it
>>     >     difficult
>>     >     > > to
>>     >     > > >     display photos. After failing to display images from my
>>     >     local disk, I
>>     >     > > >     started anew with a clean ver6.2 with the hope that it
>>     >     might lead me
>>     >     > > >     somewhere. Placing a jpeg file in my root directory,
>>     I had
>>     >     > > >
>>     >     > > >     e addImage: 'testimage.jpg' size: 100@200.
>>     >     > > >
>>     >     > > >     as it happened many times before, nothing was displayed
>>     >     but the
>>     >     > > browser
>>     >     > > >     reports "waiting or localhost....". I then changed the
>>     >     code to:
>>     >     > > >
>>     >     > > >     e addImage: '*testimages.jpg*' size: 100@200.
>>     >     > > >
>>     >     > > >     making it *testimages*.jpg which cannot be found in my
>>     >     directory.
>>     >     > > >     Reloading
>>     >     > > >     the page allowed the browser to finish *without *the
>>     >     "waiting for
>>     >     > > >     localhost.." There is something going on and I don't
>>     know
>>     >     what it is.
>>     >     > > >     Perhaps someone has an idea?
>>     >     > > >
>>     >     > > >     Thanks in advance.
>>     >     > > >
>>     >     > > >     ching de la serna
>>     >     > > >     -------------- next part --------------
>>     >     > > >     An HTML attachment was scrubbed...
>>     >     > > >     URL:
>>     >     > > >
>>     >     > >
>>     >
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
>>     >     > > >
>>     >     > > >     ------------------------------
>>     >     > > >
>>     >     > > >     Message: 2
>>     >     > > >     Date: Wed, 16 Feb 2011 09:40:11 +0100
>>     >     > > >     From: Nicholas Moore <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >     <mailto:[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>>
>>     >     > > >     Subject: Re: [aida] photos experiment
>>     >     > > >     To: "AIDA/Web general discussion list"
>>     <[hidden email] <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > >     <mailto:[hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>>>
>>     >     > > >     Message-ID:
>>     <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >     <mailto:[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>>
>>     >     > > >     Content-Type: text/plain; charset="iso-8859-15"
>>     >     > > >
>>     >     > > >     Hi Ching,
>>     >     > > >
>>     >     > > >     Are you using Linux - maybe it is an issue with
>>     >     permissions - does
>>     >     > > >     the httpd user have access to the jpg file?
>>     >     > > >
>>     >     > > >     On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna
>>     wrote:
>>     >     > > >     > Hi,
>>     >     > > >     >
>>     >     > > >     > Aida is such an amazing web framework but I am finding
>>     >     it difficult
>>     >     > > to
>>     >     > > >     > display photos. After failing to display images
>>     from my
>>     >     local disk,
>>     >     > > I
>>     >     > > >     > started anew with a clean ver6.2 with the hope that it
>>     >     might lead
>>     >     > > me
>>     >     > > >     > somewhere. Placing a jpeg file in my root
>>     directory, I had
>>     >     > > >     >
>>     >     > > >     > e addImage: 'testimage.jpg' size: 100@200.
>>     >     > > >     >
>>     >     > > >     > as it happened many times before, nothing was
>>     displayed
>>     >     but the
>>     >     > > >     browser
>>     >     > > >     > reports "waiting or localhost....". I then changed the
>>     >     code to:
>>     >     > > >     >
>>     >     > > >     > e addImage: '*testimages.jpg*' size: 100@200.
>>     >     > > >     >
>>     >     > > >     > making it *testimages*.jpg which cannot be found in my
>>     >     directory.
>>     >     > > >     Reloading
>>     >     > > >     > the page allowed the browser to finish *without *the
>>     >     "waiting for
>>     >     > > >     > localhost.." There is something going on and I don't
>>     >     know what it
>>     >     > > is.
>>     >     > > >     > Perhaps someone has an idea?
>>     >     > > >     >
>>     >     > > >     > Thanks in advance.
>>     >     > > >     >
>>     >     > > >     > ching de la serna
>>     >     > > >     >
>>     >     > > >
>>     >     > > >     --
>>     >     > > >     Nicholas Moore
>>     >     > > >     Skype: tsr_nicholas
>>     >     > > >
>>     >     > > >     Check out my Blog
>>     >     > > >
>>     >     > > >     "Still Running - that I may die in good health"
>>     >     > > >     -------------- next part --------------
>>     >     > > >     An HTML attachment was scrubbed...
>>     >     > > >     URL:
>>     >     > > >
>>     >     > >
>>     >
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
>>     >     > > >
>>     >     > > >     ------------------------------
>>     >     > > >
>>     >     > > >     Message: 3
>>     >     > > >     Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
>>     >     > > >     From: ching <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>
>>     <mailto:[hidden email] <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>>
>>     >     > > >     Subject: Re: [aida] photos experiment
>>     >     > > >     To: [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >     Message-ID:
>>     <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>
>>     >     > > >     <mailto:[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>>
>>     >     > > >     Content-Type: text/plain; charset=us-ascii
>>     >     > > >
>>     >     > > >
>>     >     > > >     Hi Nicholas,
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >     > > >     Nicholas Moore wrote:
>>     >     > > >     >
>>     >     > > >     > Hi Ching,
>>     >     > > >     >
>>     >     > > >     > Are you using Linux - maybe it is an issue with
>>     >     permissions - does
>>     >     > > the
>>     >     > > >     > httpd user have access to the jpg file?
>>     >     > > >     >
>>     >     > > >     > I am just using Windows and I'm not sure if I need
>>     >     permissions to
>>     >     > > >     use the
>>     >     > > >     > jpg files in my directory. I remember displaying
>>     images
>>     >     using
>>     >     > > >     Seaside and
>>     >     > > >     > I did not really have any problem doing it whether
>>     on my
>>     >     local
>>     >     > > >     machine or
>>     >     > > >     > behind Apache. I am thinking of keeping everything in
>>     >     Smalltalk
>>     >     > > >     > (Swazoo/Aida).
>>     >     > > >     >
>>     >     > > >     > Thanks for the response,
>>     >     > > >     >
>>     >     > > >     > ching
>>     >     > > >     >
>>     >     > > >     > On Wednesday 16 Feb 2011 02:40:56 Ching de la
>>     Serna wrote:
>>     >     > > >     >> Hi,
>>     >     > > >     >>
>>     >     > > >     >> Aida is such an amazing web framework but I am
>>     finding it
>>     >     > > >     difficult to
>>     >     > > >     >> display photos. After failing to display images
>>     from my
>>     >     local
>>     >     > > disk, I
>>     >     > > >     >> started anew with a clean ver6.2 with the hope
>>     that it
>>     >     might lead
>>     >     > > me
>>     >     > > >     >> somewhere. Placing a jpeg file in my root
>>     directory, I had
>>     >     > > >     >>
>>     >     > > >     >> e addImage: 'testimage.jpg' size: 100@200.
>>     >     > > >     >>
>>     >     > > >     >> as it happened many times before, nothing was
>>     displayed
>>     >     but the
>>     >     > > >     browser
>>     >     > > >     >> reports "waiting or localhost....". I then
>>     changed the
>>     >     code to:
>>     >     > > >     >>
>>     >     > > >     >> e addImage: '*testimages.jpg*' size: 100@200.
>>     >     > > >     >>
>>     >     > > >     >> making it *testimages*.jpg which cannot be found
>>     in my
>>     >     directory.
>>     >     > > >     >> Reloading
>>     >     > > >     >> the page allowed the browser to finish *without *the
>>     >     "waiting for
>>     >     > > >     >> localhost.." There is something going on and I don't
>>     >     know what it
>>     >     > > is.
>>     >     > > >     >> Perhaps someone has an idea?
>>     >     > > >     >>
>>     >     > > >     >> Thanks in advance.
>>     >     > > >     >>
>>     >     > > >     >> ching de la serna
>>     >     > > >     >>
>>     >     > > >     >
>>     >     > > >     > --
>>     >     > > >     > Nicholas Moore
>>     >     > > >     > Skype: tsr_nicholas
>>     >     > > >     >
>>     >     > > >     > Check out my Blog
>>     >     > > >     >
>>     >     > > >     > "Still Running - that I may die in good health"
>>     >     > > >     >
>>     >     > > >     > _______________________________________________
>>     >     > > >     > Aida mailing list
>>     >     > > >     > [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >     > http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > >     >
>>     >     > > >     >
>>     >     > > >
>>     >     > > >     --
>>     >     > > >     View this message in context:
>>     >     > > >
>>     http://forum.world.st/photos-experiment-tp3308053p3308440.html
>>     >     > > >     Sent from the AIDA/Web mailing list archive at
>>     Nabble.com.
>>     >     > > >
>>     >     > > >
>>     >     > > >     ------------------------------
>>     >     > > >
>>     >     > > >     _______________________________________________
>>     >     > > >     Aida mailing list
>>     >     > > >     [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > >     http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > > >
>>     >     > > >
>>     >     > > >     End of Aida Digest, Vol 45, Issue 10
>>     >     > > >     ************************************
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >     > > > _______________________________________________
>>     >     > > > Aida mailing list
>>     >     > > > [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > > http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > >
>>     >     > > --
>>     >     > > Janko Miv?ek
>>     >     > > AIDA/Web
>>     >     > > Smalltalk Web Application Server
>>     >     > > http://www.aidaweb.si
>>     >     > >
>>     >     > >
>>     >     > > ------------------------------
>>     >     > >
>>     >     > > Message: 3
>>     >     > > Date: Wed, 16 Feb 2011 15:16:42 +0100
>>     >     > > From: Nicholas Moore <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > Subject: Re: [aida] 6.2 tests
>>     >     > > To: "AIDA/Web general discussion list" <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email] <mailto:[hidden email]>>>
>>     >     > > Message-ID: <[hidden email]
>>     <mailto:[hidden email]>
>>     >     <mailto:[hidden email]
>>     <mailto:[hidden email]>>>
>>     >     > > Content-Type: text/plain; charset="utf-8"
>>     >     > >
>>     >     > > I have tested with a vanilla VW and it works as you would
>>     expect
>>     >     - good
>>     >     > > news. I used several different local variations in my
>>     hosts file
>>     >     and all
>>     >     > > worked okay - returning 'aidasession/ajax'.
>>     >     > >
>>     >     > > So then I returned to my own image and retested it - but
>>     was not
>>     >     able to
>>     >     > > reproduce the error - it too returned the correct value. There
>>     >     must have
>>     >     > > been some spurious condition associated with my previous test
>>     >     image and
>>     >     > > perhaps earlier exceptions.
>>     >     > >
>>     >     > > Anyway, all works as expected and my sites are now live
>>     with 6.2.
>>     >     > >
>>     >     > > Nicholas
>>     >     > >
>>     >     > > On Tuesday 15 Feb 2011 14:28:54 Janko Miv?ek wrote:
>>     >     > > >
>>     >     > > > On 14. 02. 2011 21:20, Nicholas Moore wrote:
>>     >     > > > > Excellent - I had not created the route explicitly to my
>>     >     blog site!
>>     >     > > > > However the request subsequently failed here:
>>     >     > > > > WebSession >> printHTMLPageOn: aStream for: aRequest on:
>>     >     aWebSession
>>     >     > > > > aRequest urlString = '/aidasession/ajax' ifTrue:
>>     >     > > > > because the actual request urlString is: '
>>     >     > > http://mysite/aidasession/ajax'.
>>     >     > > > > I have changed that test to:
>>     >     > > > > (aRequest urlString containsSubstring:
>>     '/aidasession/ajax')
>>     >     ifTrue:>
>>     >     > > > > and everything works as desired.
>>     >     > > >
>>     >     > > > This is interesting, from where aRequest urlString works
>>     >     differently in
>>     >     > > >  your image comparing with fresh install into vanilla VW
>>     7.7 (for
>>     >     > > > nistance) image from Public Store. Can you try this too?
>>     >     > > >
>>     >     > > > Best regards
>>     >     > > > Janko
>>     >     > > >
>>     >     > > >
>>     >     > > >
>>     >     > > > > Nicholas
>>     >     > > > >
>>     >     > > > > On Monday 14 Feb 2011 19:51:06 Janko Miv?ek wrote:
>>     >     > > > >
>>     >     > > > >> Hi Nicolas,
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> On 14. 02. 2011 19:39, Nicholas Moore wrote:
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> > From the demo.html page for ajax in 6.2, when I
>>     click on
>>     >     'click me
>>     >     > > for
>>     >     > > > >
>>     >     > > > >> > popup' I have trapped a SwazooStream. It generates a
>>     >     requestURI
>>     >     > > which is
>>     >     > > > >
>>     >     > > > >> > '/aidasession/ajax'.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> > On the 6.1 version the equivalent requestURI is
>>     >     'demo.html' (as I
>>     >     > > would
>>     >     > > > >
>>     >     > > > >> > expect).
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> > Where does the '/aidasession/ajax URI come from?
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> This is major new behavior on new event framework - all
>>     >     Ajax and
>>     >     > > > >
>>     >     > > > >> WebSocket JSON messages go to this Url, that is, to your
>>     >     session,
>>     >     > > which
>>     >     > > > >
>>     >     > > > >> then find the right App and pass it the event. This
>>     Url is in
>>     >     > > JavaScript
>>     >     > > > >
>>     >     > > > >> code, see WebStyle js13Events. The Url of actual page is
>>     >     included in
>>     >     > > > >
>>     >     > > > >> this message.
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> Inspect the WebRouter (AIDASite default router) if
>>     there is
>>     >     a route to
>>     >     > > > >
>>     >     > > > >> the session manager. If you did the upgrade script, it
>>     >     should be there
>>     >     > > > >
>>     >     > > > >> already. If not, rerun that addSessionManagerRoute line.
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> In Firebug's console, do you see any error messages?
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> Hope this helps
>>     >     > > > >
>>     >     > > > >> JAnko
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> > On Monday 14 Feb 2011 11:35:21 Nicholas Moore wrote:
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> Janko,
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> After running the script that you described prior to
>>     >     upgrade I was
>>     >     > > > >
>>     >     > > > >> > able to install 6.2 cleanly without any problems -
>>     good work!
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> During testing (on VW) I came across a couple of
>>     snags:
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> 1) The method String >> replaceSpecialCharacters
>>     >     contains or:or:
>>     >     > > which
>>     >     > > > >
>>     >     > > > >> > does not work in VW (but is ok in Pharo and Squeak). I
>>     >     changed it
>>     >     > > to:
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> replaceSpecialCharacters
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> |str|
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> str := self copy.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> str do: [:ch | |ascii|
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> ascii := ch asInteger.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> ((ascii >= 65 and: [ ascii <= 90 ]) or: [
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> ( ascii >= 97 and: [ ascii <= 122 ]) or: [ch
>>     isDigit or:
>>     >     [ch = $/
>>     >     > > or:
>>     >     > > > >
>>     >     > > > >> > [ch = $.]]]])
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> ifFalse: [str replaceAll: ch with: $-]].
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> ^str
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> 2) I needed to upgrade my version of TinyMCE -
>>     >     richEditorInitScript
>>     >     > > > >
>>     >     > > > >> > has changed.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> 3) I have a problem with ajax calls. I previously used
>>     >     > > > >
>>     >     > > > >> > 'afterPostUpdate:' which is deprecated. I changed to
>>     >     > > > >
>>     >     > > > >> > 'onChangePostAndUpdate::' but that did not work (no
>>     >     error, simply
>>     >     > > > >
>>     >     > > > >> > nothing happened). I do not yet know why, I will
>>     need to
>>     >     do some
>>     >     > > > >
>>     >     > > > >> > debugging this week. I also found that the WebDemo ajax
>>     >     page did not
>>     >     > > > >
>>     >     > > > >> > work properly (the update and popup methods seemed
>>     to have no
>>     >     > > effect.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> Therefore I am unsure whether the problem lies in my
>>     >     implementation
>>     >     > > or
>>     >     > > > >
>>     >     > > > >> > elsewhere. I reverted to my same app using 6.1 and the
>>     >     WebDemo ajax
>>     >     > > page
>>     >     > > > >
>>     >     > > > >> > worked perfectly. If anyone else could test this
>>     and see
>>     >     how the
>>     >     > > demo
>>     >     > > > >
>>     >     > > > >> > app works, that would save me some time.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> By the way, I notice that WebApplication >>
>>     >     respondToAjaxRequest:
>>     >     > > is
>>     >     > > > >
>>     >     > > > >> > in the 'private-obsolete' protocol, should that be in
>>     >     > > 'private-ajax'?
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> Otherwise the new features look great, in particular I
>>     >     am looking
>>     >     > > > >
>>     >     > > > >> > forward to getting to grips with JSON.
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> Regards
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >> Nicholas
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >>
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >> >
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >>
>>     >     > > > >
>>     >     > > > >
>>     >     > > >
>>     >     > > >
>>     >     > >
>>     >     > > --
>>     >     > > Nicholas Moore
>>     >     > > Skype: tsr_nicholas
>>     >     > >
>>     >     > > Check out my Blog
>>     >     > >
>>     >     > > "Still Running - that I may die in good health"
>>     >     > > -------------- next part --------------
>>     >     > > An HTML attachment was scrubbed...
>>     >     > > URL:
>>     >     > >
>>     >
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/5d913c94/attachment.htm
>>     >     > >
>>     >     > > ------------------------------
>>     >     > >
>>     >     > > _______________________________________________
>>     >     > > Aida mailing list
>>     >     > > [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     > > http://lists.aidaweb.si/mailman/listinfo/aida
>>     >     > >
>>     >     > >
>>     >     > > End of Aida Digest, Vol 45, Issue 11
>>     >     > > ************************************
>>     >     > >
>>     >     >
>>     >
>>     >     --
>>     >     Nicholas Moore
>>     >     Skype: tsr_nicholas
>>     >
>>     >     Check out my Blog
>>     >
>>     >     "Still Running - that I may die in good health"
>>     >     -------------- next part --------------
>>     >     An HTML attachment was scrubbed...
>>     >     URL:
>>     >
>>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/b2fbcf0f/attachment.htm
>>     >
>>     >     ------------------------------
>>     >
>>     >     _______________________________________________
>>     >     Aida mailing list
>>     >     [hidden email] <mailto:[hidden email]>
>>     <mailto:[hidden email] <mailto:[hidden email]>>
>>     >     http://lists.aidaweb.si/mailman/listinfo/aida
>>     >
>>     >
>>     >     End of Aida Digest, Vol 45, Issue 13
>>     >     ************************************
>>     >
>>     >
>>     >
>>     >
>>     > _______________________________________________
>>     > Aida mailing list
>>     > [hidden email] <mailto:[hidden email]>
>>     > http://lists.aidaweb.si/mailman/listinfo/aida
>>
>>     --
>>     Janko Miv?ek
>>     AIDA/Web
>>     Smalltalk Web Application Server
>>     http://www.aidaweb.si
>>
>>
>>     ------------------------------
>>
>>     _______________________________________________
>>     Aida mailing list
>>     [hidden email] <mailto:[hidden email]>
>>     http://lists.aidaweb.si/mailman/listinfo/aida
>>
>>
>>     End of Aida Digest, Vol 45, Issue 20
>>     ************************************
>>
>>
>>
>>
>> _______________________________________________
>> Aida mailing list
>> [hidden email]
>> http://lists.aidaweb.si/mailman/listinfo/aida
>

--
Janko Miv?ek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


------------------------------

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida


End of Aida Digest, Vol 45, Issue 24
************************************


_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

Janko Mivšek
Ching,

I think the problem is now resolved. Please load the latest

        Aida6.2-final.2.mcz

into your existing image and static file serving should then work
correctly. Problem was in incomplete port of FileProxy class and it
seems no one used static file serving so far. All images are namelly in
so called method images in DefaultWebStyle class.

Set up home directory back to .\ and put pictures relative to a
directory where image resides. Then try to open it directly from
browser. If this works then you can put such image on your webpages with
#addImage: method.

Good luck!
Janko

On 16. 02. 2011 20:13, Ching de la Serna wrote:

> Hi Janko,
>
> This is good news! Discovering what makes this happen and fixing it will
> only make Aida/Swazoo more robust. Thanks for the help. I think that's
> all for me for today.
>
> Cheers,
>
> Ching
>
> On Thu, Feb 17, 2011 at 3:07 AM, <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Send Aida mailing list submissions to
>            [hidden email] <mailto:[hidden email]>
>
>     To subscribe or unsubscribe via the World Wide Web, visit
>            http://lists.aidaweb.si/mailman/listinfo/aida
>     or, via email, send a message with subject or body 'help' to
>            [hidden email] <mailto:[hidden email]>
>
>     You can reach the person managing the list at
>            [hidden email] <mailto:[hidden email]>
>
>     When replying, please edit your Subject line so it is more specific
>     than "Re: Contents of Aida digest..."
>
>
>     Today's Topics:
>
>       1. Re: photos experiment (Janko Miv?ek)
>
>
>     ----------------------------------------------------------------------
>
>     Message: 1
>     Date: Wed, 16 Feb 2011 20:07:30 +0100
>     From: Janko Miv?ek <[hidden email]
>     <mailto:[hidden email]>>
>     Subject: Re: [aida] photos experiment
>     To: AIDA/Web general discussion list <[hidden email]
>     <mailto:[hidden email]>>
>     Message-ID: <[hidden email]
>     <mailto:[hidden email]>>
>     Content-Type: text/plain; charset=UTF-8
>
>     Ching, I actually got the same problem and you! Even more, opening such
>     image causes Firefox to eat 100% CPU and grows in memory indefinitely.
>     So, now let me found out the reason...
>
>     On 16. 02. 2011 19:37, Janko Miv?ek wrote:
>     > On 16. 02. 2011 19:30, Ching de la Serna wrote:
>     >> Hi Janko, Nicholas,
>     >>
>     >> Thanks for all the help. I will do as you both suggest and maybe even
>     >> try the OneClick download. I am really excited to use Aida as I
>     think it
>     >> is very well-thought out.
>     >
>     > Thanks for nice words about Aida and let me know you that I'm just
>     > trying OneClick on WinXP by myself. So, wait please few minutes for
>     > results instead.
>     >
>     > Best regards
>     > Janko
>     >
>     >>
>     >> Ching
>     >>
>     >> On Thu, Feb 17, 2011 at 2:21 AM, <[hidden email]
>     <mailto:[hidden email]>
>     >> <mailto:[hidden email]
>     <mailto:[hidden email]>>> wrote:
>     >>
>     >>     Send Aida mailing list submissions to
>     >>            [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>
>     >>     To subscribe or unsubscribe via the World Wide Web, visit
>     >>            http://lists.aidaweb.si/mailman/listinfo/aida
>     >>     or, via email, send a message with subject or body 'help' to
>     >>            [hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>
>     >>     You can reach the person managing the list at
>     >>            [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>
>     >>     When replying, please edit your Subject line so it is more
>     specific
>     >>     than "Re: Contents of Aida digest..."
>     >>
>     >>
>     >>     Today's Topics:
>     >>
>     >>       1. Re: photos experiment. (Janko Miv?ek)
>     >>
>     >>
>     >>    
>     ----------------------------------------------------------------------
>     >>
>     >>     Message: 1
>     >>     Date: Wed, 16 Feb 2011 19:21:35 +0100
>     >>     From: Janko Miv?ek <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     Subject: Re: [aida] photos experiment.
>     >>     To: AIDA/Web general discussion list <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     Message-ID: <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     Content-Type: text/plain; charset=UTF-8
>     >>
>     >>     Hi Ching,
>     >>
>     >>     Getting http://localhost:8888/testimage.jpg to show this
>     image is the
>     >>     first thing you need to achieve. This is the test that Aida
>     is set-up
>     >>     right. So let we try to do this first.
>     >>
>     >>      1. Move your image in a more simple directory, the best
>     simply on
>     >>         c:\aida
>     >>      2. (AIDASite named:'mysite) homeDirectory: 'c:\aida\'
>     >>         ( try both with backslash \ at the end and without)
>     >>      3. put testimage.jpg in c:\aida
>     >>      4. open http://localhost:8888/testimage.jpg
>     >>
>     >>     Janko
>     >>
>     >>     On 16. 02. 2011 17:01, Ching de la Serna wrote:
>     >>     > Hi Nicholas,
>     >>     >
>     >>     > Thanks for the help. It was stupid of me to send the
>     message to the
>     >>     > class instead of the instance. The good news is that the
>     error and my
>     >>     > ignorance have been corrected. Also, when running the
>     following on the
>     >>     > browser,
>     >>     >
>     >>     > http://localhost:8888/testimage.jpg I now get a *404 Not
>     Found Error*.
>     >>     > Still far from success but surely inching closer.
>     >>     >
>     >>     > Ching
>     >>     >
>     >>     > On Wed, Feb 16, 2011 at 11:44 PM, <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     > <mailto:[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     wrote:
>     >>     >
>     >>     >     Send Aida mailing list submissions to
>     >>     >            [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >
>     >>     >     To subscribe or unsubscribe via the World Wide Web, visit
>     >>     >            http://lists.aidaweb.si/mailman/listinfo/aida
>     >>     >     or, via email, send a message with subject or body
>     'help' to
>     >>     >            [hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>> <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     >
>     >>     >     You can reach the person managing the list at
>     >>     >            [hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >
>     >>     >     When replying, please edit your Subject line so it is more
>     >>     specific
>     >>     >     than "Re: Contents of Aida digest..."
>     >>     >
>     >>     >
>     >>     >     Today's Topics:
>     >>     >
>     >>     >       1. Re: photos experiment (Nicholas Moore)
>     >>     >
>     >>     >
>     >>     >
>     >>    
>     ----------------------------------------------------------------------
>     >>     >
>     >>     >     Message: 1
>     >>     >     Date: Wed, 16 Feb 2011 16:43:47 +0100
>     >>     >     From: Nicholas Moore <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     Subject: Re: [aida] photos experiment
>     >>     >     To: "AIDA/Web general discussion list" <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>>
>     >>     >     Message-ID:
>     <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     Content-Type: text/plain; charset="iso-8859-15"
>     >>     >
>     >>     >     Hi Ching,
>     >>     >
>     >>     >     Where you get this:
>     >>     >
>     >>     >     AIDASite homeDirectory.: '"
>     >>     >     C:\Documents and Settings\ADMIN\My
>     >>     >    
>     Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak 4.1"'
>     >>     >     and got the same error message: doesNotUnderstand:
>     #homeDirectory
>     >>     >
>     >>     >     It is because you are sending homeDirectory: to the
>     class AIDASite
>     >>     >     rather than an instance,
>     >>     >
>     >>     >     i.e (AIDASite named: 'mysite') homeDirectory: .....
>     >>     >
>     >>     >     Nicholas
>     >>     >
>     >>     >     On Wednesday 16 Feb 2011 16:35:54 Ching de la Serna wrote:
>     >>     >     > Hi Janko
>     >>     >     >
>     >>     >     > Thanks for taking the time. I did as you suggested.
>     The results
>     >>     >     are below:
>     >>     >     >
>     >>     >     > Hi Ching,
>     >>     >     > >
>     >>     >     >
>     >>     >     > I'm trying to find some time to chase your problem,
>     but in the
>     >>     >     meantime,
>     >>     >     > can you try to open this jpg directly from browser.
>     >>     >     >
>     >>     >     > If you put testimage.jpg on a directory where your image
>     >>     started, can
>     >>     >     > you open it from browser directly:
>     >>     >     >
>     >>     >     >        http://localhost:8888/testimage.jpg ?
>     >>     >     > This does not open the jpeg file.
>     >>     >     >
>     >>     >     > If not, can you open it through File->Open file ?
>     >>     >     > I could open once I *unblocked *the testimage.jpg
>     file. Windows
>     >>     >     was blocking
>     >>     >     > it the first time I tried. After I was able to do
>     this, I tried
>     >>     >     doing the
>     >>     >     > above  http://localhost:8888/testimage.jpg and it would
>     >>     still not
>     >>     >     open.
>     >>     >     >
>     >>     >     > Also, how did you start your image, double clicking from
>     >>     OneClick?
>     >>     >     > I loaded from Monticello the three files:
>     *Sport-2.031.mcz ,
>     >>     >     > Swazoo-2.3beta2.1.mcz, Aida6.2-final.1.mcz *which I
>     downloaded
>     >>     >     separately I
>     >>     >     > use Sqeak4.1
>     >>     >     >
>     >>     >     > It could be that default .\ path doesn't point to the
>     right
>     >>     directory,
>     >>     >     > can you change it to absolute path to your images
>     directory:
>     >>     >     >
>     >>     >     >        AIDASite>>homeDirectory: 'c:\absolute path'
>     >>     >     > I evaluated :
>     >>     >     > AIDASite homeDirectory.: '
>     >>     >     > C:\Documents and Settings\ADMIN\My
>     >>     >     >
>     Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak
>     >>     4.1'
>     >>     >     > and got an error:doesNotUnderstand: #homeDirectory
>     >>     >     >
>     >>     >     > I tried enclosing in ""
>     >>     >     > AIDASite homeDirectory.: '"
>     >>     >     > C:\Documents and Settings\ADMIN\My
>     >>     >     >
>     Documents\squeak-tests-aida\aida62-test1\aida-clean62\Squeak
>     >>     4.1"'
>     >>     >     and got
>     >>     >     > the same error message: doesNotUnderstand: #homeDirectory
>     >>     >     >
>     >>     >     > Also which version of Windows do you use?
>     >>     >     > I use Windows XP
>     >>     >     >
>     >>     >     > Hope this would help a bit
>     >>     >     > JAnko
>     >>     >     >
>     >>     >     > Ching
>     >>     >     >
>     >>     >     > On Wed, Feb 16, 2011 at 10:17 PM,
>     <[hidden email] <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>> wrote:
>     >>     >     >
>     >>     >     > > Send Aida mailing list submissions to
>     >>     >     > >        [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     > >
>     >>     >     > > To subscribe or unsubscribe via the World Wide Web,
>     visit
>     >>     >     > >        http://lists.aidaweb.si/mailman/listinfo/aida
>     >>     >     > > or, via email, send a message with subject or body
>     'help' to
>     >>     >     > >        [hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>> <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     >     > >
>     >>     >     > > You can reach the person managing the list at
>     >>     >     > >        [hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     <mailto:[hidden email] <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     > >
>     >>     >     > > When replying, please edit your Subject line so it
>     is more
>     >>     specific
>     >>     >     > > than "Re: Contents of Aida digest..."
>     >>     >     > >
>     >>     >     > >
>     >>     >     > > Today's Topics:
>     >>     >     > >
>     >>     >     > >   1. Re: photos experiment (Ching de la Serna)
>     >>     >     > >   2. Re: photos experiment (Janko Miv?ek)
>     >>     >     > >   3. Re: 6.2 tests (Nicholas Moore)
>     >>     >     > >
>     >>     >     > >
>     >>     >     > >
>     >>     >
>     >>    
>     ----------------------------------------------------------------------
>     >>     >     > >
>     >>     >     > > Message: 1
>     >>     >     > > Date: Wed, 16 Feb 2011 19:27:14 +0800
>     >>     >     > > From: Ching de la Serna <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     > > Subject: Re: [aida] photos experiment
>     >>     >     > > To: [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     > > Message-ID:
>     >>     >     > >
>     >>     >    
>      <[hidden email]
>     <mailto:AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]>
>     >>    
>     <mailto:AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]
>     <mailto:AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]>>
>     >>     >
>     >>    
>     <mailto:AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]
>     <mailto:AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]>
>     >>    
>     <mailto:AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]
>     <mailto:AANLkTinn5csEmUjwZyAh-OHNx7%[hidden email]>>>>
>     >>     >     > > Content-Type: text/plain; charset="iso-8859-1"
>     >>     >     > >
>     >>     >     > > Hi All,
>     >>     >     > >
>     >>     >     > > I am inclined to believe that Nicholas is right about
>     >>     >     permissions. Windows
>     >>     >     > > might be blocking the jpeg file from being displayed. I
>     >>     changed
>     >>     >     the jpeg
>     >>     >     > > properties to "unblock" and restarted my computer.
>     I also
>     >>     >     downloaded Google
>     >>     >     > > Chrome thinking it might be a Firefox problem. Nothing
>     >>     worked. I
>     >>     >     am ready
>     >>     >     > > to
>     >>     >     > > give up unless someone can point me in the right
>     direction.It
>     >>     >     seems kind of
>     >>     >     > > strange though, a jpeg from another website
>     displays with no
>     >>     >     problem while
>     >>     >     > > a
>     >>     >     > > local file is blocked. Strange behavior if indeed
>     it is an
>     >>     OS issue.
>     >>     >     > >
>     >>     >     > > Thanks,
>     >>     >     > >
>     >>     >     > > Ching de la Serna
>     >>     >     > >
>     >>     >     > > On Wed, Feb 16, 2011 at 7:00 PM,
>     <[hidden email] <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>> wrote:
>     >>     >     > >
>     >>     >     > > > Send Aida mailing list submissions to
>     >>     >     > > >        [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     > > >
>     >>     >     > > > To subscribe or unsubscribe via the World Wide
>     Web, visit
>     >>     >     > > >        http://lists.aidaweb.si/mailman/listinfo/aida
>     >>     >     > > > or, via email, send a message with subject or
>     body 'help' to
>     >>     >     > > >        [hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>> <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     >     > > >
>     >>     >     > > > You can reach the person managing the list at
>     >>     >     > > >        [hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     <mailto:[hidden email] <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     > > >
>     >>     >     > > > When replying, please edit your Subject line so
>     it is more
>     >>     >     specific
>     >>     >     > > > than "Re: Contents of Aida digest..."
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > > Today's Topics:
>     >>     >     > > >
>     >>     >     > > >   1. photos experiment (Ching de la Serna)
>     >>     >     > > >   2. Re: photos experiment (Nicholas Moore)
>     >>     >     > > >   3. Re: photos experiment (ching)
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > >
>     >>     >
>     >>    
>     ----------------------------------------------------------------------
>     >>     >     > > >
>     >>     >     > > > Message: 1
>     >>     >     > > > Date: Wed, 16 Feb 2011 09:40:56 +0800
>     >>     >     > > > From: Ching de la Serna <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     > > > Subject: [aida] photos experiment
>     >>     >     > > > To: [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     > > > Message-ID:
>     >>     >     > > >
>     >>     >    
>      <[hidden email]
>     <mailto:[hidden email]>
>     >>    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >
>     >>    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     > > > Content-Type: text/plain; charset="iso-8859-1"
>     >>     >     > > >
>     >>     >     > > > Hi,
>     >>     >     > > >
>     >>     >     > > > Aida is such an amazing web framework but I am
>     finding it
>     >>     >     difficult to
>     >>     >     > > > display photos. After failing to display images
>     from my
>     >>     local
>     >>     >     disk, I
>     >>     >     > > > started anew with a clean ver6.2 with the hope
>     that it might
>     >>     >     lead me
>     >>     >     > > > somewhere. Placing a jpeg file in my root
>     directory, I had
>     >>     >     > > >
>     >>     >     > > > e addImage: 'testimage.jpg' size: 100@200.
>     >>     >     > > >
>     >>     >     > > > as it happened many times before, nothing was
>     displayed but
>     >>     >     the browser
>     >>     >     > > > reports "waiting or localhost....". I then
>     changed the
>     >>     code to:
>     >>     >     > > >
>     >>     >     > > > e addImage: '*testimages.jpg*' size: 100@200.
>     >>     >     > > >
>     >>     >     > > > making it *testimages*.jpg which cannot be found
>     in my
>     >>     directory.
>     >>     >     > > Reloading
>     >>     >     > > > the page allowed the browser to finish *without *the
>     >>     "waiting for
>     >>     >     > > > localhost.." There is something going on and I don't
>     >>     know what
>     >>     >     it is.
>     >>     >     > > > Perhaps someone has an idea?
>     >>     >     > > >
>     >>     >     > > > Thanks in advance.
>     >>     >     > > >
>     >>     >     > > > ching de la serna
>     >>     >     > > > -------------- next part --------------
>     >>     >     > > > An HTML attachment was scrubbed...
>     >>     >     > > > URL:
>     >>     >     > > >
>     >>     >     > >
>     >>     >
>     >>    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
>     >>     >     > > >
>     >>     >     > > > ------------------------------
>     >>     >     > > >
>     >>     >     > > > Message: 2
>     >>     >     > > > Date: Wed, 16 Feb 2011 09:40:11 +0100
>     >>     >     > > > From: Nicholas Moore <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     > > > Subject: Re: [aida] photos experiment
>     >>     >     > > > To: "AIDA/Web general discussion list"
>     <[hidden email] <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>>
>     >>     >     > > > Message-ID:
>     <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     > > > Content-Type: text/plain; charset="iso-8859-15"
>     >>     >     > > >
>     >>     >     > > > Hi Ching,
>     >>     >     > > >
>     >>     >     > > > Are you using Linux - maybe it is an issue with
>     >>     permissions -
>     >>     >     does the
>     >>     >     > > > httpd user have access to the jpg file?
>     >>     >     > > >
>     >>     >     > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la
>     Serna wrote:
>     >>     >     > > > > Hi,
>     >>     >     > > > >
>     >>     >     > > > > Aida is such an amazing web framework but I am
>     finding it
>     >>     >     difficult to
>     >>     >     > > > > display photos. After failing to display images
>     from my
>     >>     >     local disk, I
>     >>     >     > > > > started anew with a clean ver6.2 with the hope
>     that it
>     >>     might
>     >>     >     lead me
>     >>     >     > > > > somewhere. Placing a jpeg file in my root
>     directory, I had
>     >>     >     > > > >
>     >>     >     > > > > e addImage: 'testimage.jpg' size: 100@200.
>     >>     >     > > > >
>     >>     >     > > > > as it happened many times before, nothing was
>     >>     displayed but
>     >>     >     the browser
>     >>     >     > > > > reports "waiting or localhost....". I then
>     changed the
>     >>     code to:
>     >>     >     > > > >
>     >>     >     > > > > e addImage: '*testimages.jpg*' size: 100@200.
>     >>     >     > > > >
>     >>     >     > > > > making it *testimages*.jpg which cannot be
>     found in my
>     >>     >     directory.
>     >>     >     > > > Reloading
>     >>     >     > > > > the page allowed the browser to finish *without
>     *the
>     >>     >     "waiting for
>     >>     >     > > > > localhost.." There is something going on and I
>     don't know
>     >>     >     what it is.
>     >>     >     > > > > Perhaps someone has an idea?
>     >>     >     > > > >
>     >>     >     > > > > Thanks in advance.
>     >>     >     > > > >
>     >>     >     > > > > ching de la serna
>     >>     >     > > > >
>     >>     >     > > >
>     >>     >     > > > --
>     >>     >     > > > Nicholas Moore
>     >>     >     > > > Skype: tsr_nicholas
>     >>     >     > > >
>     >>     >     > > > Check out my Blog
>     >>     >     > > >
>     >>     >     > > > "Still Running - that I may die in good health"
>     >>     >     > > > -------------- next part --------------
>     >>     >     > > > An HTML attachment was scrubbed...
>     >>     >     > > > URL:
>     >>     >     > > >
>     >>     >     > >
>     >>     >
>     >>    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
>     >>     >     > > >
>     >>     >     > > > ------------------------------
>     >>     >     > > >
>     >>     >     > > > Message: 3
>     >>     >     > > > Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
>     >>     >     > > > From: ching <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     <mailto:[hidden email] <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>>>
>     >>     >     > > > Subject: Re: [aida] photos experiment
>     >>     >     > > > To: [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     > > > Message-ID:
>     <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     > > > Content-Type: text/plain; charset=us-ascii
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > > Hi Nicholas,
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > > Nicholas Moore wrote:
>     >>     >     > > > >
>     >>     >     > > > > Hi Ching,
>     >>     >     > > > >
>     >>     >     > > > > Are you using Linux - maybe it is an issue with
>     >>     permissions
>     >>     >     - does the
>     >>     >     > > > > httpd user have access to the jpg file?
>     >>     >     > > > >
>     >>     >     > > > > I am just using Windows and I'm not sure if I need
>     >>     >     permissions to use
>     >>     >     > > the
>     >>     >     > > > > jpg files in my directory. I remember
>     displaying images
>     >>     >     using Seaside
>     >>     >     > > and
>     >>     >     > > > > I did not really have any problem doing it
>     whether on my
>     >>     >     local machine
>     >>     >     > > or
>     >>     >     > > > > behind Apache. I am thinking of keeping
>     everything in
>     >>     Smalltalk
>     >>     >     > > > > (Swazoo/Aida).
>     >>     >     > > > >
>     >>     >     > > > > Thanks for the response,
>     >>     >     > > > >
>     >>     >     > > > > ching
>     >>     >     > > > >
>     >>     >     > > > > On Wednesday 16 Feb 2011 02:40:56 Ching de la
>     Serna wrote:
>     >>     >     > > > >> Hi,
>     >>     >     > > > >>
>     >>     >     > > > >> Aida is such an amazing web framework but I am
>     finding it
>     >>     >     difficult to
>     >>     >     > > > >> display photos. After failing to display
>     images from my
>     >>     >     local disk, I
>     >>     >     > > > >> started anew with a clean ver6.2 with the hope
>     that it
>     >>     >     might lead me
>     >>     >     > > > >> somewhere. Placing a jpeg file in my root
>     directory,
>     >>     I had
>     >>     >     > > > >>
>     >>     >     > > > >> e addImage: 'testimage.jpg' size: 100@200.
>     >>     >     > > > >>
>     >>     >     > > > >> as it happened many times before, nothing was
>     >>     displayed but the
>     >>     >     > > browser
>     >>     >     > > > >> reports "waiting or localhost....". I then changed
>     >>     the code to:
>     >>     >     > > > >>
>     >>     >     > > > >> e addImage: '*testimages.jpg*' size: 100@200.
>     >>     >     > > > >>
>     >>     >     > > > >> making it *testimages*.jpg which cannot be
>     found in my
>     >>     >     directory.
>     >>     >     > > > >> Reloading
>     >>     >     > > > >> the page allowed the browser to finish
>     *without *the
>     >>     >     "waiting for
>     >>     >     > > > >> localhost.." There is something going on and I
>     don't know
>     >>     >     what it is.
>     >>     >     > > > >> Perhaps someone has an idea?
>     >>     >     > > > >>
>     >>     >     > > > >> Thanks in advance.
>     >>     >     > > > >>
>     >>     >     > > > >> ching de la serna
>     >>     >     > > > >>
>     >>     >     > > > >
>     >>     >     > > > > --
>     >>     >     > > > > Nicholas Moore
>     >>     >     > > > > Skype: tsr_nicholas
>     >>     >     > > > >
>     >>     >     > > > > Check out my Blog
>     >>     >     > > > >
>     >>     >     > > > > "Still Running - that I may die in good health"
>     >>     >     > > > >
>     >>     >     > > > > _______________________________________________
>     >>     >     > > > > Aida mailing list
>     >>     >     > > > > [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     > > > > http://lists.aidaweb.si/mailman/listinfo/aida
>     >>     >     > > > >
>     >>     >     > > > >
>     >>     >     > > >
>     >>     >     > > > --
>     >>     >     > > > View this message in context:
>     >>     >     > > >
>     >>     http://forum.world.st/photos-experiment-tp3308053p3308440.html
>     >>     >     > > > Sent from the AIDA/Web mailing list archive at
>     Nabble.com.
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > > ------------------------------
>     >>     >     > > >
>     >>     >     > > > _______________________________________________
>     >>     >     > > > Aida mailing list
>     >>     >     > > > [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     > > > http://lists.aidaweb.si/mailman/listinfo/aida
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > > End of Aida Digest, Vol 45, Issue 10
>     >>     >     > > > ************************************
>     >>     >     > > >
>     >>     >     > > -------------- next part --------------
>     >>     >     > > An HTML attachment was scrubbed...
>     >>     >     > > URL:
>     >>     >     > >
>     >>     >
>     >>    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/6f6c4b7a/attachment-0001.htm
>     >>     >     > >
>     >>     >     > > ------------------------------
>     >>     >     > >
>     >>     >     > > Message: 2
>     >>     >     > > Date: Wed, 16 Feb 2011 12:40:44 +0100
>     >>     >     > > From: Janko Miv?ek <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     > > Subject: Re: [aida] photos experiment
>     >>     >     > > To: AIDA/Web general discussion list
>     <[hidden email] <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>>
>     >>     >     > > Message-ID: <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     > > Content-Type: text/plain; charset=UTF-8
>     >>     >     > >
>     >>     >     > > Hi Ching,
>     >>     >     > >
>     >>     >     > > I'm trying to find some time to chase your problem,
>     but in the
>     >>     >     meantime,
>     >>     >     > > can you try to open this jpg directly from browser.
>     >>     >     > >
>     >>     >     > > If you put testimage.jpg on a directory where your
>     image
>     >>     >     started, can
>     >>     >     > > you open it from browser directly:
>     >>     >     > >
>     >>     >     > >        http://localhost:8888/testimage.jpg ?
>     >>     >     > >
>     >>     >     > > If not, can you open it through File->Open file ?
>     >>     >     > >
>     >>     >     > > Also, how did you start your image, double clicking
>     from
>     >>     OneClick?
>     >>     >     > >
>     >>     >     > > It could be that default .\ path doesn't point to
>     the right
>     >>     >     directory,
>     >>     >     > > can you change it to absolute path to your images
>     directory:
>     >>     >     > >
>     >>     >     > >        AIDASite>>homeDirectory: 'c:\absolute path'
>     >>     >     > >
>     >>     >     > > Also which version of Windows do you use?
>     >>     >     > >
>     >>     >     > > Hope this would help a bit
>     >>     >     > > JAnko
>     >>     >     > >
>     >>     >     > > On 16. 02. 2011 12:27, Ching de la Serna wrote:
>     >>     >     > > > Hi All,
>     >>     >     > > >
>     >>     >     > > > I am inclined to believe that Nicholas is right about
>     >>     permissions.
>     >>     >     > > > Windows might be blocking the jpeg file from being
>     >>     displayed.
>     >>     >     I changed
>     >>     >     > > > the jpeg properties to "unblock" and restarted my
>     >>     computer. I also
>     >>     >     > > > downloaded Google Chrome thinking it might be a
>     Firefox
>     >>     >     problem. Nothing
>     >>     >     > > > worked. I am ready to give up unless someone can
>     point me in
>     >>     >     the right
>     >>     >     > > > direction.It seems kind of strange though, a jpeg
>     from
>     >>     another
>     >>     >     website
>     >>     >     > > > displays with no problem while a local file is
>     blocked.
>     >>     >     Strange behavior
>     >>     >     > > > if indeed it is an OS issue.
>     >>     >     > > >
>     >>     >     > > > Thanks,
>     >>     >     > > >
>     >>     >     > > > Ching de la Serna
>     >>     >     > > >
>     >>     >     > > > On Wed, Feb 16, 2011 at 7:00 PM,
>     >>     <[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     >     > > > <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>> wrote:
>     >>     >     > > >
>     >>     >     > > >     Send Aida mailing list submissions to
>     >>     >     > > >            [hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>>
>     >>     >     > > >
>     >>     >     > > >     To subscribe or unsubscribe via the World
>     Wide Web,
>     >>     visit
>     >>     >     > > >          
>      http://lists.aidaweb.si/mailman/listinfo/aida
>     >>     >     > > >     or, via email, send a message with subject or
>     body
>     >>     'help' to
>     >>     >     > > >            [hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>> <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     > > >
>     >>     >     > > >     You can reach the person managing the list at
>     >>     >     > > >            [hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     > > >
>     >>     >     > > >     When replying, please edit your Subject line
>     so it
>     >>     is more
>     >>     >     specific
>     >>     >     > > >     than "Re: Contents of Aida digest..."
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > >     Today's Topics:
>     >>     >     > > >
>     >>     >     > > >       1. photos experiment (Ching de la Serna)
>     >>     >     > > >       2. Re: photos experiment (Nicholas Moore)
>     >>     >     > > >       3. Re: photos experiment (ching)
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > >
>     >>     >
>     >>    
>     ----------------------------------------------------------------------
>     >>     >     > > >
>     >>     >     > > >     Message: 1
>     >>     >     > > >     Date: Wed, 16 Feb 2011 09:40:56 +0800
>     >>     >     > > >     From: Ching de la Serna <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     >     > > >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     <mailto:[hidden email] <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>>>>
>     >>     >     > > >     Subject: [aida] photos experiment
>     >>     >     > > >     To: [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>>
>     >>     >     > > >     Message-ID:
>     >>     >     > > >
>     >>     >    
>      <[hidden email]
>     <mailto:[hidden email]>
>     >>    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >
>     >>    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     >     > > >
>     >>     >
>     >>    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >
>     >>    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     >     > > >>
>     >>     >     > > >     Content-Type: text/plain; charset="iso-8859-1"
>     >>     >     > > >
>     >>     >     > > >     Hi,
>     >>     >     > > >
>     >>     >     > > >     Aida is such an amazing web framework but I am
>     >>     finding it
>     >>     >     difficult
>     >>     >     > > to
>     >>     >     > > >     display photos. After failing to display
>     images from my
>     >>     >     local disk, I
>     >>     >     > > >     started anew with a clean ver6.2 with the
>     hope that it
>     >>     >     might lead me
>     >>     >     > > >     somewhere. Placing a jpeg file in my root
>     directory,
>     >>     I had
>     >>     >     > > >
>     >>     >     > > >     e addImage: 'testimage.jpg' size: 100@200.
>     >>     >     > > >
>     >>     >     > > >     as it happened many times before, nothing was
>     displayed
>     >>     >     but the
>     >>     >     > > browser
>     >>     >     > > >     reports "waiting or localhost....". I then
>     changed the
>     >>     >     code to:
>     >>     >     > > >
>     >>     >     > > >     e addImage: '*testimages.jpg*' size: 100@200.
>     >>     >     > > >
>     >>     >     > > >     making it *testimages*.jpg which cannot be
>     found in my
>     >>     >     directory.
>     >>     >     > > >     Reloading
>     >>     >     > > >     the page allowed the browser to finish
>     *without *the
>     >>     >     "waiting for
>     >>     >     > > >     localhost.." There is something going on and
>     I don't
>     >>     know
>     >>     >     what it is.
>     >>     >     > > >     Perhaps someone has an idea?
>     >>     >     > > >
>     >>     >     > > >     Thanks in advance.
>     >>     >     > > >
>     >>     >     > > >     ching de la serna
>     >>     >     > > >     -------------- next part --------------
>     >>     >     > > >     An HTML attachment was scrubbed...
>     >>     >     > > >     URL:
>     >>     >     > > >
>     >>     >     > >
>     >>     >
>     >>    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
>     >>     >     > > >
>     >>     >     > > >     ------------------------------
>     >>     >     > > >
>     >>     >     > > >     Message: 2
>     >>     >     > > >     Date: Wed, 16 Feb 2011 09:40:11 +0100
>     >>     >     > > >     From: Nicholas Moore
>     <[hidden email] <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     >     > > >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>>
>     >>     >     > > >     Subject: Re: [aida] photos experiment
>     >>     >     > > >     To: "AIDA/Web general discussion list"
>     >>     <[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     > > >     <mailto:[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>>>
>     >>     >     > > >     Message-ID:
>     >>     <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     >     > > >    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>>
>     >>     >     > > >     Content-Type: text/plain; charset="iso-8859-15"
>     >>     >     > > >
>     >>     >     > > >     Hi Ching,
>     >>     >     > > >
>     >>     >     > > >     Are you using Linux - maybe it is an issue with
>     >>     >     permissions - does
>     >>     >     > > >     the httpd user have access to the jpg file?
>     >>     >     > > >
>     >>     >     > > >     On Wednesday 16 Feb 2011 02:40:56 Ching de la
>     Serna
>     >>     wrote:
>     >>     >     > > >     > Hi,
>     >>     >     > > >     >
>     >>     >     > > >     > Aida is such an amazing web framework but I
>     am finding
>     >>     >     it difficult
>     >>     >     > > to
>     >>     >     > > >     > display photos. After failing to display images
>     >>     from my
>     >>     >     local disk,
>     >>     >     > > I
>     >>     >     > > >     > started anew with a clean ver6.2 with the
>     hope that it
>     >>     >     might lead
>     >>     >     > > me
>     >>     >     > > >     > somewhere. Placing a jpeg file in my root
>     >>     directory, I had
>     >>     >     > > >     >
>     >>     >     > > >     > e addImage: 'testimage.jpg' size: 100@200.
>     >>     >     > > >     >
>     >>     >     > > >     > as it happened many times before, nothing was
>     >>     displayed
>     >>     >     but the
>     >>     >     > > >     browser
>     >>     >     > > >     > reports "waiting or localhost....". I then
>     changed the
>     >>     >     code to:
>     >>     >     > > >     >
>     >>     >     > > >     > e addImage: '*testimages.jpg*' size: 100@200.
>     >>     >     > > >     >
>     >>     >     > > >     > making it *testimages*.jpg which cannot be
>     found in my
>     >>     >     directory.
>     >>     >     > > >     Reloading
>     >>     >     > > >     > the page allowed the browser to finish
>     *without *the
>     >>     >     "waiting for
>     >>     >     > > >     > localhost.." There is something going on
>     and I don't
>     >>     >     know what it
>     >>     >     > > is.
>     >>     >     > > >     > Perhaps someone has an idea?
>     >>     >     > > >     >
>     >>     >     > > >     > Thanks in advance.
>     >>     >     > > >     >
>     >>     >     > > >     > ching de la serna
>     >>     >     > > >     >
>     >>     >     > > >
>     >>     >     > > >     --
>     >>     >     > > >     Nicholas Moore
>     >>     >     > > >     Skype: tsr_nicholas
>     >>     >     > > >
>     >>     >     > > >     Check out my Blog
>     >>     >     > > >
>     >>     >     > > >     "Still Running - that I may die in good health"
>     >>     >     > > >     -------------- next part --------------
>     >>     >     > > >     An HTML attachment was scrubbed...
>     >>     >     > > >     URL:
>     >>     >     > > >
>     >>     >     > >
>     >>     >
>     >>    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
>     >>     >     > > >
>     >>     >     > > >     ------------------------------
>     >>     >     > > >
>     >>     >     > > >     Message: 3
>     >>     >     > > >     Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
>     >>     >     > > >     From: ching <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]> <mailto:[hidden email]
>     <mailto:[hidden email]>>>>>
>     >>     >     > > >     Subject: Re: [aida] photos experiment
>     >>     >     > > >     To: [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>>
>     >>     >     > > >     Message-ID:
>     >>     <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>
>     >>     >     > > >    
>     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>>
>     >>     >     > > >     Content-Type: text/plain; charset=us-ascii
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > >     Hi Nicholas,
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > >     Nicholas Moore wrote:
>     >>     >     > > >     >
>     >>     >     > > >     > Hi Ching,
>     >>     >     > > >     >
>     >>     >     > > >     > Are you using Linux - maybe it is an issue with
>     >>     >     permissions - does
>     >>     >     > > the
>     >>     >     > > >     > httpd user have access to the jpg file?
>     >>     >     > > >     >
>     >>     >     > > >     > I am just using Windows and I'm not sure if
>     I need
>     >>     >     permissions to
>     >>     >     > > >     use the
>     >>     >     > > >     > jpg files in my directory. I remember
>     displaying
>     >>     images
>     >>     >     using
>     >>     >     > > >     Seaside and
>     >>     >     > > >     > I did not really have any problem doing it
>     whether
>     >>     on my
>     >>     >     local
>     >>     >     > > >     machine or
>     >>     >     > > >     > behind Apache. I am thinking of keeping
>     everything in
>     >>     >     Smalltalk
>     >>     >     > > >     > (Swazoo/Aida).
>     >>     >     > > >     >
>     >>     >     > > >     > Thanks for the response,
>     >>     >     > > >     >
>     >>     >     > > >     > ching
>     >>     >     > > >     >
>     >>     >     > > >     > On Wednesday 16 Feb 2011 02:40:56 Ching de la
>     >>     Serna wrote:
>     >>     >     > > >     >> Hi,
>     >>     >     > > >     >>
>     >>     >     > > >     >> Aida is such an amazing web framework but I am
>     >>     finding it
>     >>     >     > > >     difficult to
>     >>     >     > > >     >> display photos. After failing to display
>     images
>     >>     from my
>     >>     >     local
>     >>     >     > > disk, I
>     >>     >     > > >     >> started anew with a clean ver6.2 with the hope
>     >>     that it
>     >>     >     might lead
>     >>     >     > > me
>     >>     >     > > >     >> somewhere. Placing a jpeg file in my root
>     >>     directory, I had
>     >>     >     > > >     >>
>     >>     >     > > >     >> e addImage: 'testimage.jpg' size: 100@200.
>     >>     >     > > >     >>
>     >>     >     > > >     >> as it happened many times before, nothing was
>     >>     displayed
>     >>     >     but the
>     >>     >     > > >     browser
>     >>     >     > > >     >> reports "waiting or localhost....". I then
>     >>     changed the
>     >>     >     code to:
>     >>     >     > > >     >>
>     >>     >     > > >     >> e addImage: '*testimages.jpg*' size: 100@200.
>     >>     >     > > >     >>
>     >>     >     > > >     >> making it *testimages*.jpg which cannot be
>     found
>     >>     in my
>     >>     >     directory.
>     >>     >     > > >     >> Reloading
>     >>     >     > > >     >> the page allowed the browser to finish
>     *without *the
>     >>     >     "waiting for
>     >>     >     > > >     >> localhost.." There is something going on
>     and I don't
>     >>     >     know what it
>     >>     >     > > is.
>     >>     >     > > >     >> Perhaps someone has an idea?
>     >>     >     > > >     >>
>     >>     >     > > >     >> Thanks in advance.
>     >>     >     > > >     >>
>     >>     >     > > >     >> ching de la serna
>     >>     >     > > >     >>
>     >>     >     > > >     >
>     >>     >     > > >     > --
>     >>     >     > > >     > Nicholas Moore
>     >>     >     > > >     > Skype: tsr_nicholas
>     >>     >     > > >     >
>     >>     >     > > >     > Check out my Blog
>     >>     >     > > >     >
>     >>     >     > > >     > "Still Running - that I may die in good health"
>     >>     >     > > >     >
>     >>     >     > > >     > _______________________________________________
>     >>     >     > > >     > Aida mailing list
>     >>     >     > > >     > [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>>
>     >>     >     > > >     > http://lists.aidaweb.si/mailman/listinfo/aida
>     >>     >     > > >     >
>     >>     >     > > >     >
>     >>     >     > > >
>     >>     >     > > >     --
>     >>     >     > > >     View this message in context:
>     >>     >     > > >
>     >>     http://forum.world.st/photos-experiment-tp3308053p3308440.html
>     >>     >     > > >     Sent from the AIDA/Web mailing list archive at
>     >>     Nabble.com.
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > >     ------------------------------
>     >>     >     > > >
>     >>     >     > > >     _______________________________________________
>     >>     >     > > >     Aida mailing list
>     >>     >     > > >     [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>>
>     >>     >     > > >     http://lists.aidaweb.si/mailman/listinfo/aida
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > >     End of Aida Digest, Vol 45, Issue 10
>     >>     >     > > >     ************************************
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > > _______________________________________________
>     >>     >     > > > Aida mailing list
>     >>     >     > > > [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     > > > http://lists.aidaweb.si/mailman/listinfo/aida
>     >>     >     > >
>     >>     >     > > --
>     >>     >     > > Janko Miv?ek
>     >>     >     > > AIDA/Web
>     >>     >     > > Smalltalk Web Application Server
>     >>     >     > > http://www.aidaweb.si
>     >>     >     > >
>     >>     >     > >
>     >>     >     > > ------------------------------
>     >>     >     > >
>     >>     >     > > Message: 3
>     >>     >     > > Date: Wed, 16 Feb 2011 15:16:42 +0100
>     >>     >     > > From: Nicholas Moore <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     > > Subject: Re: [aida] 6.2 tests
>     >>     >     > > To: "AIDA/Web general discussion list"
>     <[hidden email] <mailto:[hidden email]>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>>
>     >>     >     > > Message-ID:
>     <[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>
>     >>     >     <mailto:[hidden email]
>     <mailto:[hidden email]>
>     >>     <mailto:[hidden email]
>     <mailto:[hidden email]>>>>
>     >>     >     > > Content-Type: text/plain; charset="utf-8"
>     >>     >     > >
>     >>     >     > > I have tested with a vanilla VW and it works as you
>     would
>     >>     expect
>     >>     >     - good
>     >>     >     > > news. I used several different local variations in my
>     >>     hosts file
>     >>     >     and all
>     >>     >     > > worked okay - returning 'aidasession/ajax'.
>     >>     >     > >
>     >>     >     > > So then I returned to my own image and retested it
>     - but
>     >>     was not
>     >>     >     able to
>     >>     >     > > reproduce the error - it too returned the correct
>     value. There
>     >>     >     must have
>     >>     >     > > been some spurious condition associated with my
>     previous test
>     >>     >     image and
>     >>     >     > > perhaps earlier exceptions.
>     >>     >     > >
>     >>     >     > > Anyway, all works as expected and my sites are now live
>     >>     with 6.2.
>     >>     >     > >
>     >>     >     > > Nicholas
>     >>     >     > >
>     >>     >     > > On Tuesday 15 Feb 2011 14:28:54 Janko Miv?ek wrote:
>     >>     >     > > >
>     >>     >     > > > On 14. 02. 2011 21:20, Nicholas Moore wrote:
>     >>     >     > > > > Excellent - I had not created the route
>     explicitly to my
>     >>     >     blog site!
>     >>     >     > > > > However the request subsequently failed here:
>     >>     >     > > > > WebSession >> printHTMLPageOn: aStream for:
>     aRequest on:
>     >>     >     aWebSession
>     >>     >     > > > > aRequest urlString = '/aidasession/ajax' ifTrue:
>     >>     >     > > > > because the actual request urlString is: '
>     >>     >     > > http://mysite/aidasession/ajax'.
>     >>     >     > > > > I have changed that test to:
>     >>     >     > > > > (aRequest urlString containsSubstring:
>     >>     '/aidasession/ajax')
>     >>     >     ifTrue:>
>     >>     >     > > > > and everything works as desired.
>     >>     >     > > >
>     >>     >     > > > This is interesting, from where aRequest
>     urlString works
>     >>     >     differently in
>     >>     >     > > >  your image comparing with fresh install into
>     vanilla VW
>     >>     7.7 (for
>     >>     >     > > > nistance) image from Public Store. Can you try
>     this too?
>     >>     >     > > >
>     >>     >     > > > Best regards
>     >>     >     > > > Janko
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > > > > Nicholas
>     >>     >     > > > >
>     >>     >     > > > > On Monday 14 Feb 2011 19:51:06 Janko Miv?ek wrote:
>     >>     >     > > > >
>     >>     >     > > > >> Hi Nicolas,
>     >>     >     > > > >
>     >>     >     > > > >>
>     >>     >     > > > >
>     >>     >     > > > >> On 14. 02. 2011 19:39, Nicholas Moore wrote:
>     >>     >     > > > >
>     >>     >     > > > >>
>     >>     >     > > > >
>     >>     >     > > > >> > From the demo.html page for ajax in 6.2, when I
>     >>     click on
>     >>     >     'click me
>     >>     >     > > for
>     >>     >     > > > >
>     >>     >     > > > >> > popup' I have trapped a SwazooStream. It
>     generates a
>     >>     >     requestURI
>     >>     >     > > which is
>     >>     >     > > > >
>     >>     >     > > > >> > '/aidasession/ajax'.
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> > On the 6.1 version the equivalent requestURI is
>     >>     >     'demo.html' (as I
>     >>     >     > > would
>     >>     >     > > > >
>     >>     >     > > > >> > expect).
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> > Where does the '/aidasession/ajax URI come from?
>     >>     >     > > > >
>     >>     >     > > > >>
>     >>     >     > > > >
>     >>     >     > > > >> This is major new behavior on new event
>     framework - all
>     >>     >     Ajax and
>     >>     >     > > > >
>     >>     >     > > > >> WebSocket JSON messages go to this Url, that
>     is, to your
>     >>     >     session,
>     >>     >     > > which
>     >>     >     > > > >
>     >>     >     > > > >> then find the right App and pass it the event.
>     This
>     >>     Url is in
>     >>     >     > > JavaScript
>     >>     >     > > > >
>     >>     >     > > > >> code, see WebStyle js13Events. The Url of
>     actual page is
>     >>     >     included in
>     >>     >     > > > >
>     >>     >     > > > >> this message.
>     >>     >     > > > >
>     >>     >     > > > >>
>     >>     >     > > > >
>     >>     >     > > > >> Inspect the WebRouter (AIDASite default router) if
>     >>     there is
>     >>     >     a route to
>     >>     >     > > > >
>     >>     >     > > > >> the session manager. If you did the upgrade
>     script, it
>     >>     >     should be there
>     >>     >     > > > >
>     >>     >     > > > >> already. If not, rerun that
>     addSessionManagerRoute line.
>     >>     >     > > > >
>     >>     >     > > > >>
>     >>     >     > > > >
>     >>     >     > > > >> In Firebug's console, do you see any error
>     messages?
>     >>     >     > > > >
>     >>     >     > > > >>
>     >>     >     > > > >
>     >>     >     > > > >> Hope this helps
>     >>     >     > > > >
>     >>     >     > > > >> JAnko
>     >>     >     > > > >
>     >>     >     > > > >>
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> > On Monday 14 Feb 2011 11:35:21 Nicholas
>     Moore wrote:
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> Janko,
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >>
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> After running the script that you described
>     prior to
>     >>     >     upgrade I was
>     >>     >     > > > >
>     >>     >     > > > >> > able to install 6.2 cleanly without any
>     problems -
>     >>     good work!
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >>
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> During testing (on VW) I came across a
>     couple of
>     >>     snags:
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >>
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> 1) The method String >>
>     replaceSpecialCharacters
>     >>     >     contains or:or:
>     >>     >     > > which
>     >>     >     > > > >
>     >>     >     > > > >> > does not work in VW (but is ok in Pharo and
>     Squeak). I
>     >>     >     changed it
>     >>     >     > > to:
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> replaceSpecialCharacters
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> |str|
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> str := self copy.
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> str do: [:ch | |ascii|
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> ascii := ch asInteger.
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> ((ascii >= 65 and: [ ascii <= 90 ]) or: [
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> ( ascii >= 97 and: [ ascii <= 122 ]) or: [ch
>     >>     isDigit or:
>     >>     >     [ch = $/
>     >>     >     > > or:
>     >>     >     > > > >
>     >>     >     > > > >> > [ch = $.]]]])
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> ifFalse: [str replaceAll: ch with: $-]].
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> ^str
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >>
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> 2) I needed to upgrade my version of TinyMCE -
>     >>     >     richEditorInitScript
>     >>     >     > > > >
>     >>     >     > > > >> > has changed.
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >>
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> 3) I have a problem with ajax calls. I
>     previously used
>     >>     >     > > > >
>     >>     >     > > > >> > 'afterPostUpdate:' which is deprecated. I
>     changed to
>     >>     >     > > > >
>     >>     >     > > > >> > 'onChangePostAndUpdate::' but that did not
>     work (no
>     >>     >     error, simply
>     >>     >     > > > >
>     >>     >     > > > >> > nothing happened). I do not yet know why, I will
>     >>     need to
>     >>     >     do some
>     >>     >     > > > >
>     >>     >     > > > >> > debugging this week. I also found that the
>     WebDemo ajax
>     >>     >     page did not
>     >>     >     > > > >
>     >>     >     > > > >> > work properly (the update and popup methods
>     seemed
>     >>     to have no
>     >>     >     > > effect.
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >>
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> Therefore I am unsure whether the problem
>     lies in my
>     >>     >     implementation
>     >>     >     > > or
>     >>     >     > > > >
>     >>     >     > > > >> > elsewhere. I reverted to my same app using
>     6.1 and the
>     >>     >     WebDemo ajax
>     >>     >     > > page
>     >>     >     > > > >
>     >>     >     > > > >> > worked perfectly. If anyone else could test this
>     >>     and see
>     >>     >     how the
>     >>     >     > > demo
>     >>     >     > > > >
>     >>     >     > > > >> > app works, that would save me some time.
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >>
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> By the way, I notice that WebApplication >>
>     >>     >     respondToAjaxRequest:
>     >>     >     > > is
>     >>     >     > > > >
>     >>     >     > > > >> > in the 'private-obsolete' protocol, should
>     that be in
>     >>     >     > > 'private-ajax'?
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >>
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> Otherwise the new features look great, in
>     particular I
>     >>     >     am looking
>     >>     >     > > > >
>     >>     >     > > > >> > forward to getting to grips with JSON.
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >>
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> Regards
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >>
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >> Nicholas
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >>
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >>
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >> >
>     >>     >     > > > >
>     >>     >     > > > >>
>     >>     >     > > > >
>     >>     >     > > > >>
>     >>     >     > > > >
>     >>     >     > > > >
>     >>     >     > > >
>     >>     >     > > >
>     >>     >     > >
>     >>     >     > > --
>     >>     >     > > Nicholas Moore
>     >>     >     > > Skype: tsr_nicholas
>     >>     >     > >
>     >>     >     > > Check out my Blog
>     >>     >     > >
>     >>     >     > > "Still Running - that I may die in good health"
>     >>     >     > > -------------- next part --------------
>     >>     >     > > An HTML attachment was scrubbed...
>     >>     >     > > URL:
>     >>     >     > >
>     >>     >
>     >>    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/5d913c94/attachment.htm
>     >>     >     > >
>     >>     >     > > ------------------------------
>     >>     >     > >
>     >>     >     > > _______________________________________________
>     >>     >     > > Aida mailing list
>     >>     >     > > [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     > > http://lists.aidaweb.si/mailman/listinfo/aida
>     >>     >     > >
>     >>     >     > >
>     >>     >     > > End of Aida Digest, Vol 45, Issue 11
>     >>     >     > > ************************************
>     >>     >     > >
>     >>     >     >
>     >>     >
>     >>     >     --
>     >>     >     Nicholas Moore
>     >>     >     Skype: tsr_nicholas
>     >>     >
>     >>     >     Check out my Blog
>     >>     >
>     >>     >     "Still Running - that I may die in good health"
>     >>     >     -------------- next part --------------
>     >>     >     An HTML attachment was scrubbed...
>     >>     >     URL:
>     >>     >
>     >>    
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/b2fbcf0f/attachment.htm
>     >>     >
>     >>     >     ------------------------------
>     >>     >
>     >>     >     _______________________________________________
>     >>     >     Aida mailing list
>     >>     >     [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     <mailto:[hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>>
>     >>     >     http://lists.aidaweb.si/mailman/listinfo/aida
>     >>     >
>     >>     >
>     >>     >     End of Aida Digest, Vol 45, Issue 13
>     >>     >     ************************************
>     >>     >
>     >>     >
>     >>     >
>     >>     >
>     >>     > _______________________________________________
>     >>     > Aida mailing list
>     >>     > [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     > http://lists.aidaweb.si/mailman/listinfo/aida
>     >>
>     >>     --
>     >>     Janko Miv?ek
>     >>     AIDA/Web
>     >>     Smalltalk Web Application Server
>     >>     http://www.aidaweb.si
>     >>
>     >>
>     >>     ------------------------------
>     >>
>     >>     _______________________________________________
>     >>     Aida mailing list
>     >>     [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     >>     http://lists.aidaweb.si/mailman/listinfo/aida
>     >>
>     >>
>     >>     End of Aida Digest, Vol 45, Issue 20
>     >>     ************************************
>     >>
>     >>
>     >>
>     >>
>     >> _______________________________________________
>     >> Aida mailing list
>     >> [hidden email] <mailto:[hidden email]>
>     >> http://lists.aidaweb.si/mailman/listinfo/aida
>     >
>
>     --
>     Janko Miv?ek
>     AIDA/Web
>     Smalltalk Web Application Server
>     http://www.aidaweb.si
>
>
>     ------------------------------
>
>     _______________________________________________
>     Aida mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.aidaweb.si/mailman/listinfo/aida
>
>
>     End of Aida Digest, Vol 45, Issue 24
>     ************************************
>
>
>
>
> _______________________________________________
> Aida mailing list
> [hidden email]
> http://lists.aidaweb.si/mailman/listinfo/aida

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: photos experiment

Janko Mivšek
On 17. 02. 2011 00:06, Janko Mivšek wrote:
> Ching,
>
> I think the problem is now resolved. Please load the latest
>
> Aida6.2-final.2.mcz
>
> into your existing image and static file serving should then work
> correctly. Problem was in incomplete port of FileProxy class and it
> seems no one used static file serving so far.

On Squeak/Pharo, that is. I otherwise use it daily in production.


--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida