Problem with zip file and mimetype

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

Problem with zip file and mimetype

Mariano Martinez Peck
Hi folks! I am having a problem with mimeType for zip files. I have a zip file that I am trying to upload to a Pier component called Gallery. This component expects a file with mimeType "application/zip".

1) Situation in Ubuntu and firefox:

After debugging I found this problem: My file is called "fotos.zip" and if I do in a linux console: file -i fotos.zip y get "application/zip".
However, when I uploaded it to seaside, the mimeType is interpreted as 'x-zip-compressed'. When debugging, I saw MAFileModel  then WAFile and then MultipartChunk. In MultipartChunk  initializeFrom: aDictionary there is this code:

contentType := header at: 'content-type' ifAbsent: [MIMEDocument defaultContentType].

In this case, header at: 'content-type' answers me "x-zip-compressed". And if I see
HttpRequest>>nextChunkHeader   it is also there like "x-zip-compressed".


2) Situation in Windows Vista and firefox:  the same as 1)

3) Situation in Windows Vista and IE:
header at: 'content-type' answers "key not found"  :(

Does someone know what can be happening?

Thanks for any help you can give me.

Cheers,

Mariano


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

Re: Problem with zip file and mimetype

Philippe Marschall
2009/6/12 Mariano Martinez Peck <[hidden email]>:

> Hi folks! I am having a problem with mimeType for zip files. I have a zip
> file that I am trying to upload to a Pier component called Gallery. This
> component expects a file with mimeType "application/zip".
>
> 1) Situation in Ubuntu and firefox:
>
> After debugging I found this problem: My file is called "fotos.zip" and if I
> do in a linux console: file -i fotos.zip y get "application/zip".
> However, when I uploaded it to seaside, the mimeType is interpreted as
> 'x-zip-compressed'. When debugging, I saw MAFileModel  then WAFile and then
> MultipartChunk. In MultipartChunk  initializeFrom: aDictionary there is this
> code:
>
> contentType := header at: 'content-type' ifAbsent: [MIMEDocument
> defaultContentType].
>
> In this case, header at: 'content-type' answers me "x-zip-compressed". And
> if I see
> HttpRequest>>nextChunkHeader   it is also there like "x-zip-compressed".
>
>
> 2) Situation in Windows Vista and firefox:  the same as 1)
>
> 3) Situation in Windows Vista and IE:
> header at: 'content-type' answers "key not found"  :(
>
> Does someone know what can be happening?

The browser sends the file as "x-zip-compressed".

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

Re: Problem with zip file and mimetype

Mariano Martinez Peck


On Fri, Jun 12, 2009 at 6:49 AM, Philippe Marschall <[hidden email]> wrote:
2009/6/12 Mariano Martinez Peck <[hidden email]>:
> Hi folks! I am having a problem with mimeType for zip files. I have a zip
> file that I am trying to upload to a Pier component called Gallery. This
> component expects a file with mimeType "application/zip".
>
> 1) Situation in Ubuntu and firefox:
>
> After debugging I found this problem: My file is called "fotos.zip" and if I
> do in a linux console: file -i fotos.zip y get "application/zip".
> However, when I uploaded it to seaside, the mimeType is interpreted as
> 'x-zip-compressed'. When debugging, I saw MAFileModel  then WAFile and then
> MultipartChunk. In MultipartChunk  initializeFrom: aDictionary there is this
> code:
>
> contentType := header at: 'content-type' ifAbsent: [MIMEDocument
> defaultContentType].
>
> In this case, header at: 'content-type' answers me "x-zip-compressed". And
> if I see
> HttpRequest>>nextChunkHeader   it is also there like "x-zip-compressed".
>
>
> 2) Situation in Windows Vista and firefox:  the same as 1)
>
> 3) Situation in Windows Vista and IE:
> header at: 'content-type' answers "key not found"  :(
>
> Does someone know what can be happening?

The browser sends the file as "x-zip-compressed".

And how can I change this in firefox for example? anyway is this ok? I mean, should I change the code so that this accepts also "x-zip-compressed" or change my browser?

 


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


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

[2.8][Async]Session time hangs

Carl Gundel
When my Seaside Async application session times out the liveCallbacks  
don't produce any sort of error or redirect.  The tests do the same  
thing.  Is there any way to specify an expiration response of some kind?

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

Re: Problem with zip file and mimetype

Philippe Marschall
In reply to this post by Mariano Martinez Peck
2009/6/12 Mariano Martinez Peck <[hidden email]>:
>...
> And how can I change this in firefox for example?

You can't.

> anyway is this ok?

It doesn't matter, you'll have to deal with it.

> I mean,
> should I change the code so that this accepts also "x-zip-compressed" or
> change my browser?

You have no control whatsoever over the client. You can either deal
with the way the client submits requests and change your code or not
support it.

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

Re: Problem with zip file and mimetype

Mariano Martinez Peck


On Sun, Jun 14, 2009 at 9:16 AM, Philippe Marschall <[hidden email]> wrote:
2009/6/12 Mariano Martinez Peck <[hidden email]>:
>...
> And how can I change this in firefox for example?

You can't.

> anyway is this ok?

It doesn't matter, you'll have to deal with it.

> I mean,
> should I change the code so that this accepts also "x-zip-compressed" or
> change my browser?

You have no control whatsoever over the client. You can either deal
with the way the client submits requests and change your code or not
support it.


Ok. Now it is clear. I will probably change the code so that "x-zip-compressed" are also accepted.

Thanks for the explanations :)

 

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


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

Re: [2.8][Async]Session time hangs

Carl Gundel
In reply to this post by Carl Gundel
Am I just out of luck?  Is anybody else here using Async (besides Avi)?  Do
you have to do anything special with Scriptaculous, or does it just work?

I guess I can try to hack what's there to make it work for me.

-Carl

> When my Seaside Async application session times out the liveCallbacks
> don't produce any sort of error or redirect.  The tests do the same
> thing.  Is there any way to specify an expiration response of some kind?
>
> -Carl Gundel
> http://www.runbasic.com
> http://www.libertybasic.com

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

Re: [2.8][Async]Session time hangs

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Carl Gundel
Re: [Seaside] [2.8][Async]Session time hangs

Scriptaculous callbacks have onExpire which we wired here to do a redirect to home page with a warning, there's got to be something for async as well.

-Boris (via BlackBerry)

----- Original Message -----
From: [hidden email] <[hidden email]>
To: Seaside - general discussion <[hidden email]>
Sent: Sat Jun 20 14:05:29 2009
Subject: Re: [Seaside] [2.8][Async]Session time hangs

Am I just out of luck?  Is anybody else here using Async (besides Avi)?  Do
you have to do anything special with Scriptaculous, or does it just work?

I guess I can try to hack what's there to make it work for me.

-Carl

> When my Seaside Async application session times out the liveCallbacks
> don't produce any sort of error or redirect.  The tests do the same
> thing.  Is there any way to specify an expiration response of some kind?
>
> -Carl Gundel
> http://www.runbasic.com
> http://www.libertybasic.com

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


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

Re: [2.8][Async]Session time hangs

Lukas Renggli
Async is not really configurable to the extent that is possible with
Scriptaculous or JQuery. Of course you can do the same by adding
additional JavaScript code, the queation is if that's really worth the
trouble?

Lukas

On Saturday, June 20, 2009, Boris Popov <[hidden email]> wrote:

>
>
>
>
>
>
>
>
>
>
> Scriptaculous callbacks have onExpire which we wired here to do a redirect to home page with a warning, there's got to be something for async as well.
>
> -Boris (via BlackBerry)
>
> ----- Original Message -----
> From: [hidden email] <[hidden email]>
> To: Seaside - general discussion <[hidden email]>
> Sent: Sat Jun 20 14:05:29 2009
> Subject: Re: [Seaside] [2.8][Async]Session time hangs
>
> Am I just out of luck?  Is anybody else here using Async (besides Avi)?  Do
> you have to do anything special with Scriptaculous, or does it just work?
>
> I guess I can try to hack what's there to make it work for me.
>
> -Carl
>
>> When my Seaside Async application session times out the liveCallbacks
>> don't produce any sort of error or redirect.  The tests do the same
>> thing.  Is there any way to specify an expiration response of some kind?
>>
>> -Carl Gundel
>> http://www.runbasic.com
>> http://www.libertybasic.com
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
>
>

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

Re: [2.8][Async]Session time hangs

Carl Gundel
Why wouldn't it be worth the trouble?

-Carl Gundel
Liberty BASIC for Windows - http://www.libertybasic.com
Run BASIC, easy web programming - http://www.runbasic.com

On Jun 20, 2009, at 5:32 PM, Lukas Renggli <[hidden email]> wrote:

> Async is not really configurable to the extent that is possible with
> Scriptaculous or JQuery. Of course you can do the same by adding
> additional JavaScript code, the queation is if that's really worth the
> trouble?
>
> Lukas
>
> On Saturday, June 20, 2009, Boris Popov <[hidden email]>  
> wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Scriptaculous callbacks have onExpire which we wired here to do a  
>> redirect to home page with a warning, there's got to be something  
>> for async as well.
>>
>> -Boris (via BlackBerry)
>>
>> ----- Original Message -----
>> From: [hidden email] <[hidden email]
>> >
>> To: Seaside - general discussion <[hidden email]>
>> Sent: Sat Jun 20 14:05:29 2009
>> Subject: Re: [Seaside] [2.8][Async]Session time hangs
>>
>> Am I just out of luck?  Is anybody else here using Async (besides  
>> Avi)?  Do
>> you have to do anything special with Scriptaculous, or does it just  
>> work?
>>
>> I guess I can try to hack what's there to make it work for me.
>>
>> -Carl
>>
>>> When my Seaside Async application session times out the  
>>> liveCallbacks
>>> don't produce any sort of error or redirect.  The tests do the same
>>> thing.  Is there any way to specify an expiration response of some  
>>> kind?
>>>
>>> -Carl Gundel
>>> http://www.runbasic.com
>>> http://www.libertybasic.com
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>>
>>
>>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.8][Async]Session time hangs

Lukas Renggli
I don't know your requirements, but I guess it would take a while to
figure out the Javascript code to detect the response code in all
supported browsers. While when using one of the supported JS
frameworks it is merely a matter of writing a single line in
Smalltalk.

Lukas

On Saturday, June 20, 2009, Carl Gundel  wrote:

> Why wouldn't it be worth the trouble?
>
> -Carl Gundel
> Liberty BASIC for Windows - http://www.libertybasic.com
> Run BASIC, easy web programming - http://www.runbasic.com
>
> On Jun 20, 2009, at 5:32 PM, Lukas Renggli  wrote:
>
>
> Async is not really configurable to the extent that is possible with
> Scriptaculous or JQuery. Of course you can do the same by adding
> additional JavaScript code, the queation is if that's really worth the
> trouble?
>
> Lukas
>
> On Saturday, June 20, 2009, Boris Popov  wrote:
>
>
>
>
>
>
>
>
>
>
>
> Scriptaculous callbacks have onExpire which we wired here to do a redirect to home page with a warning, there's got to be something for async as well.
>
> -Boris (via BlackBerry)
>
> ----- Original Message -----
> From: [hidden email]
> To: Seaside - general discussion
> Sent: Sat Jun 20 14:05:29 2009
> Subject: Re: [Seaside] [2.8][Async]Session time hangs
>
> Am I just out of luck?  Is anybody else here using Async (besides Avi)?  Do
> you have to do anything special with Scriptaculous, or does it just work?
>
> I guess I can try to hack what's there to make it work for me.
>
> -Carl
>
>
> When my Seaside Async application session times out the liveCallbacks
> don't produce any sort of error or redirect.  The tests do the same
> thing.  Is there any way to specify an expiration response of some kind?
>
> -Carl Gundel
> http://www.runbasic.com
> http://www.libertybasic.com
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
>
>
>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

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

Re: [2.8][Async]Session time hangs

Carl Gundel
I guess, but it's a bit of a surprise that it's not a feature of Async  
to support session expiration especially since Avi uses it for  
DabbleDB (doesn't he?).  Pretty big oversight I'd say.  Ah well.

-Carl Gundel
Liberty BASIC for Windows - http://www.libertybasic.com
Run BASIC, easy web programming - http://www.runbasic.com

On Jun 20, 2009, at 5:46 PM, Lukas Renggli <[hidden email]> wrote:

> I don't know your requirements, but I guess it would take a while to
> figure out the Javascript code to detect the response code in all
> supported browsers. While when using one of the supported JS
> frameworks it is merely a matter of writing a single line in
> Smalltalk.
>
> Lukas
>
> On Saturday, June 20, 2009, Carl Gundel  wrote:
>> Why wouldn't it be worth the trouble?
>>
>> -Carl Gundel
>> Liberty BASIC for Windows - http://www.libertybasic.com
>> Run BASIC, easy web programming - http://www.runbasic.com
>>
>> On Jun 20, 2009, at 5:32 PM, Lukas Renggli  wrote:
>>
>>
>> Async is not really configurable to the extent that is possible with
>> Scriptaculous or JQuery. Of course you can do the same by adding
>> additional JavaScript code, the queation is if that's really worth  
>> the
>> trouble?
>>
>> Lukas
>>
>> On Saturday, June 20, 2009, Boris Popov  wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Scriptaculous callbacks have onExpire which we wired here to do a  
>> redirect to home page with a warning, there's got to be something  
>> for async as well.
>>
>> -Boris (via BlackBerry)
>>
>> ----- Original Message -----
>> From: [hidden email]
>> To: Seaside - general discussion
>> Sent: Sat Jun 20 14:05:29 2009
>> Subject: Re: [Seaside] [2.8][Async]Session time hangs
>>
>> Am I just out of luck?  Is anybody else here using Async (besides  
>> Avi)?  Do
>> you have to do anything special with Scriptaculous, or does it just  
>> work?
>>
>> I guess I can try to hack what's there to make it work for me.
>>
>> -Carl
>>
>>
>> When my Seaside Async application session times out the liveCallbacks
>> don't produce any sort of error or redirect.  The tests do the same
>> thing.  Is there any way to specify an expiration response of some  
>> kind?
>>
>> -Carl Gundel
>> http://www.runbasic.com
>> http://www.libertybasic.com
>>
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>>
>>
>>
>>
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.8][Async]Session time hangs

Carl Gundel
In reply to this post by Lukas Renggli
On Jun 20, 2009, at 5:46 PM, Lukas Renggli <[hidden email]> wrote:

> I don't know your requirements, but I guess it would take a while to
> figure out the Javascript code to detect the response code in all
> supported browsers. While when using one of the supported JS
> frameworks it is merely a matter of writing a single line in
> Smalltalk.

Is there more than one supported Javascript framework?

When did Async stop being supported?  I didn't realize it was  
unsupported when I decide to use it.

If I were to port my code to Scriptaculous from Async, are there any  
particular gotchas I need to look out for?

-Carl

>
> Lukas
>
> On Saturday, June 20, 2009, Carl Gundel  wrote:
>> Why wouldn't it be worth the trouble?
>>
>> -Carl Gundel
>> Liberty BASIC for Windows - http://www.libertybasic.com
>> Run BASIC, easy web programming - http://www.runbasic.com
>>
>> On Jun 20, 2009, at 5:32 PM, Lukas Renggli  wrote:
>>
>>
>> Async is not really configurable to the extent that is possible with
>> Scriptaculous or JQuery. Of course you can do the same by adding
>> additional JavaScript code, the queation is if that's really worth  
>> the
>> trouble?
>>
>> Lukas
>>
>> On Saturday, June 20, 2009, Boris Popov  wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Scriptaculous callbacks have onExpire which we wired here to do a  
>> redirect to home page with a warning, there's got to be something  
>> for async as well.
>>
>> -Boris (via BlackBerry)
>>
>> ----- Original Message -----
>> From: [hidden email]
>> To: Seaside - general discussion
>> Sent: Sat Jun 20 14:05:29 2009
>> Subject: Re: [Seaside] [2.8][Async]Session time hangs
>>
>> Am I just out of luck?  Is anybody else here using Async (besides  
>> Avi)?  Do
>> you have to do anything special with Scriptaculous, or does it just  
>> work?
>>
>> I guess I can try to hack what's there to make it work for me.
>>
>> -Carl
>>
>>
>> When my Seaside Async application session times out the liveCallbacks
>> don't produce any sort of error or redirect.  The tests do the same
>> thing.  Is there any way to specify an expiration response of some  
>> kind?
>>
>> -Carl Gundel
>> http://www.runbasic.com
>> http://www.libertybasic.com
>>
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>>
>>
>>
>>
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.8][Async]Session time hangs

Lukas Renggli
> Is there more than one supported Javascript framework?

Scriptaculous (PrototypeJS and script.aculo.us) is supported and in
wide use since Seaside 2.7. Though, if you are on a new project I
probably wouldn't use it anymore. The Javascript side seems to be
mostly dead, there were no major releases for over a year now.

JQuery and JQueryUI are very popular Javascript frameworks nowadays.
There are monthly updates and these is a large and very active
community behind. JQuery and JQueryUI are well supported in Seaside
2.9.

> When did Async stop being supported?  I didn't realize it was unsupported
> when I decide to use it.

SeasideAsync used to be a small collection of Javascript hacks that
appeared in Seaside 2.4 or 2.5, a long long time ago. Its code was
later removed from the core. I don't think it was ever supported or
widely used.

Lukas

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

Re: [2.8][Async]Session time hangs

Nicolas Petton
Le dimanche 21 juin 2009 à 17:51 +0200, Lukas Renggli a écrit :
> > Is there more than one supported Javascript framework?
>
> Scriptaculous (PrototypeJS and script.aculo.us) is supported and in
> wide use since Seaside 2.7. Though, if you are on a new project I
> probably wouldn't use it anymore. The Javascript side seems to be
> mostly dead

PrototypeJS isn't dead at all!

http://github.com/sstephenson/prototype/commits/master

Cheers!

Nico

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

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [2.8][Async]Session time hangs

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Carl Gundel
Re: [Seaside] [2.8][Async]Session time hangs

What about scriptaculous tho? Official release Nov 18, 2008?

-Boris (via BlackBerry)

----- Original Message -----
From: [hidden email] <[hidden email]>
To: Seaside - general discussion <[hidden email]>
Sent: Sun Jun 21 09:49:13 2009
Subject: Re: [Seaside] [2.8][Async]Session time hangs

Le dimanche 21 juin 2009 à 17:51 +0200, Lukas Renggli a écrit :
> > Is there more than one supported Javascript framework?
>
> Scriptaculous (PrototypeJS and script.aculo.us) is supported and in
> wide use since Seaside 2.7. Though, if you are on a new project I
> probably wouldn't use it anymore. The Javascript side seems to be
> mostly dead

PrototypeJS isn't dead at all!

http://github.com/sstephenson/prototype/commits/master

Cheers!

Nico


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

Re: [2.8][Async]Session time hangs

Nicolas Petton
Le dimanche 21 juin 2009 à 09:51 -0700, Boris Popov a écrit :
> What about scriptaculous tho? Official release Nov 18, 2008?

Yes, for scriptaculous it's different. But scriptaculous and prototype
are completely different projects.

>
> -Boris (via BlackBerry)
>
> ----- Original Message -----
> From: [hidden email]
> <[hidden email]>
> To: Seaside - general discussion <[hidden email]>
> Sent: Sun Jun 21 09:49:13 2009
> Subject: Re: [Seaside] [2.8][Async]Session time hangs
>
> Le dimanche 21 juin 2009 à 17:51 +0200, Lukas Renggli a écrit :
> > > Is there more than one supported Javascript framework?
> >
> > Scriptaculous (PrototypeJS and script.aculo.us) is supported and in
> > wide use since Seaside 2.7. Though, if you are on a new project I
> > probably wouldn't use it anymore. The Javascript side seems to be
> > mostly dead
>
> PrototypeJS isn't dead at all!
>
> http://github.com/sstephenson/prototype/commits/master
>
> Cheers!
>
> Nico
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

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

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [2.8][Async]Session time hangs

Carl Gundel
In reply to this post by Lukas Renggli
Lukas,

Scriptaculous is supported and in wide use but you wouldn't use it anymore?
That's contradictory wouldn't you agree?

What would you use instead for Ajax programming in Seaside?

-Carl

----- Original Message -----
From: "Lukas Renggli" <[hidden email]>
To: "Seaside - general discussion" <[hidden email]>
Sent: Sunday, June 21, 2009 11:51 AM
Subject: Re: [Seaside] [2.8][Async]Session time hangs


> Is there more than one supported Javascript framework?

Scriptaculous (PrototypeJS and script.aculo.us) is supported and in
wide use since Seaside 2.7. Though, if you are on a new project I
probably wouldn't use it anymore. The Javascript side seems to be
mostly dead, there were no major releases for over a year now.

JQuery and JQueryUI are very popular Javascript frameworks nowadays.
There are monthly updates and these is a large and very active
community behind. JQuery and JQueryUI are well supported in Seaside
2.9.

> When did Async stop being supported? I didn't realize it was unsupported
> when I decide to use it.

SeasideAsync used to be a small collection of Javascript hacks that
appeared in Seaside 2.4 or 2.5, a long long time ago. Its code was
later removed from the core. I don't think it was ever supported or
widely used.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

__________ NOD32 2463 (20070815) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


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

Re: [2.8][Async]Session time hangs

Lukas Renggli
> Scriptaculous is supported and in wide use but you wouldn't use it anymore?
> That's contradictory wouldn't you agree?

No, not at all.

The Seaside side is currently supported and up-to-date. From the
Javascript side the PrototypeJS part is obviously still active (but no
major releases recently) and the script.aculo.us part is dead (no
release at all in the past year).

> What would you use instead for Ajax programming in Seaside?

JQuery.

Keep in mind, in both cases we do not control or work on the
Javascript side. Prototype, script.aculo.us, JQuery, and JQueryUI are
all general purpose libraries, they are not specific to Seaside. We
just integrate into Seaside whatever their developers provide. As such
these frameworks are extremely powerful, in some cases maybe a bit too
powerful ... Although everything happens in Smalltalk, you certainly
need to go through a few Javascript tutorials before you get
productive.

Cheers,
Lukas

>
> -Carl
>
> ----- Original Message ----- From: "Lukas Renggli" <[hidden email]>
> To: "Seaside - general discussion" <[hidden email]>
> Sent: Sunday, June 21, 2009 11:51 AM
> Subject: Re: [Seaside] [2.8][Async]Session time hangs
>
>
>> Is there more than one supported Javascript framework?
>
> Scriptaculous (PrototypeJS and script.aculo.us) is supported and in
> wide use since Seaside 2.7. Though, if you are on a new project I
> probably wouldn't use it anymore. The Javascript side seems to be
> mostly dead, there were no major releases for over a year now.
>
> JQuery and JQueryUI are very popular Javascript frameworks nowadays.
> There are monthly updates and these is a large and very active
> community behind. JQuery and JQueryUI are well supported in Seaside
> 2.9.
>
>> When did Async stop being supported? I didn't realize it was unsupported
>> when I decide to use it.
>
> SeasideAsync used to be a small collection of Javascript hacks that
> appeared in Seaside 2.4 or 2.5, a long long time ago. Its code was
> later removed from the core. I don't think it was ever supported or
> widely used.
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> __________ NOD32 2463 (20070815) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



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

jQuery lightboxes

Robert Sirois
I am able to add lightboxes to my application (SS 2.9 a3), but without the 'overlay:' method as per the jQuery-UI exampled. Squeak is unable to find the method. Is this example outdated?

RS


Insert movie times and more without leaving Hotmail®. See how.
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
12