Application null rendering

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

Application null rendering

stephane ducasse
Hi all

I'm playing with a small application to manage comix that one of the  
students here did.
 From time to time my application simply render nothing, not even the  
heading.
here is the code of the main class.
Does anybody have an idea where the problem could come from?

Stef

renderContentOn: html


        html heading: 'Comix'.
        html paragraph: [ self renderMenus: html.
        html form
                        with:
                                [html textInput on: #search of: self.
                                html space.
                                html submitButton callback: [ self filter ]; text: 'search' ]].
        html render: self report.
        html paragraph: [ self renderMenus: html.]



children
       
    ^ OrderedCollection with: self report


report

        ^report

report: aReport

    report := aReport


createReport

        | rep |
        rep := MAReport rows: self currentBase bds
                                        description: self bdColumnFilter.
        rep batchSize: 25.
        self report: rep.
        self report addColumn: (MACommandColumn new
                                                                addCommandOn: self selector: #view:;
                                                                addCommandOn: self selector: #clone:;
                                                                addCommandOn: self selector: #edit:;
                                                                addCommandOn: self selector: #remove:;
                                                                yourself)




initialize

        super initialize.
        currentBaseName := BDBase registeredBases anyOne name asSymbol.
        self createReport
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Application null rendering

stephane ducasse
I'm using seaside2.7a1-mb.205

And when I look at the stack I found that code.
What is deprecatedApi:on:...?
in WAToolFrame?

Stef


renderChildOn: html
        showHalos contents
                ifTrue: [ html context debugMode ].
        processTime := processTime
                ifNil: [ 0 ] ifNotNil: [ Time millisecondClockValue - processTime ].
        renderTime := Time millisecondsToRun: [
                self
                        deprecatedApi: [ html render: contents ]
                        on: html ].
        html context clearMode



On 23 juil. 07, at 16:53, stephane ducasse wrote:

> Hi all
>
> I'm playing with a small application to manage comix that one of  
> the students here did.
> From time to time my application simply render nothing, not even  
> the heading.
> here is the code of the main class.
> Does anybody have an idea where the problem could come from?
>
> Stef
>
> renderContentOn: html
>
>
> html heading: 'Comix'.
> html paragraph: [ self renderMenus: html.
> html form
> with:
> [html textInput on: #search of: self.
> html space.
> html submitButton callback: [ self filter ]; text: 'search' ]].
> html render: self report.
> html paragraph: [ self renderMenus: html.]
>
>
>
> children
>
>     ^ OrderedCollection with: self report
>
>
> report
>
> ^report
>
> report: aReport
>
>    report := aReport
>
>
> createReport
>
> | rep |
> rep := MAReport rows: self currentBase bds
> description: self bdColumnFilter.
> rep batchSize: 25.
> self report: rep.
> self report addColumn: (MACommandColumn new
> addCommandOn: self selector: #view:;
> addCommandOn: self selector: #clone:;
> addCommandOn: self selector: #edit:;
> addCommandOn: self selector: #remove:;
> yourself)
>
>
>
>
> initialize
>
> super initialize.
> currentBaseName := BDBase registeredBases anyOne name asSymbol.
> self createReport
> _______________________________________________
> 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: Application null rendering

Damien Cassou-3
2007/7/25, stephane ducasse <[hidden email]>:
> I'm using seaside2.7a1-mb.205

I don't know about your problem, but using a version that is not five
month old might help.

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

Re: Application null rendering

Philippe Marschall
In reply to this post by stephane ducasse
2007/7/25, stephane ducasse <[hidden email]>:
> I'm using seaside2.7a1-mb.205
>
> And when I look at the stack I found that code.

What stack?

> What is deprecatedApi:on:...?
> in WAToolFrame?

It collects the your senders of deprecated messages.

Your method should look like this:
renderChildOn: html
        self showHalos
                ifTrue: [ html context debugMode ].
        processTime := processTime isNil
                ifTrue: [ 0 ]
                ifFalse: [ Time millisecondClockValue - processTime ].
        renderTime := Time millisecondsToRun: [
                self withDeprecatedHandlerDo: [
                        html render: self root ] ].
        html context clearMode

Philippe

> Stef
>
>
> renderChildOn: html
>         showHalos contents
>                 ifTrue: [ html context debugMode ].
>         processTime := processTime
>                 ifNil: [ 0 ] ifNotNil: [ Time millisecondClockValue - processTime ].
>         renderTime := Time millisecondsToRun: [
>                 self
>                         deprecatedApi: [ html render: contents ]
>                         on: html ].
>         html context clearMode
>
>
>
> On 23 juil. 07, at 16:53, stephane ducasse wrote:
>
> > Hi all
> >
> > I'm playing with a small application to manage comix that one of
> > the students here did.
> > From time to time my application simply render nothing, not even
> > the heading.
> > here is the code of the main class.
> > Does anybody have an idea where the problem could come from?
> >
> > Stef
> >
> > renderContentOn: html
> >
> >
> >       html heading: 'Comix'.
> >       html paragraph: [ self renderMenus: html.
> >       html form
> >                       with:
> >                               [html textInput on: #search of: self.
> >                               html space.
> >                               html submitButton callback: [ self filter ]; text: 'search' ]].
> >       html render: self report.
> >       html paragraph: [ self renderMenus: html.]
> >
> >
> >
> > children
> >
> >       ^ OrderedCollection with: self report
> >
> >
> > report
> >
> >       ^report
> >
> > report: aReport
> >
> >    report := aReport
> >
> >
> > createReport
> >
> >       | rep |
> >       rep := MAReport rows: self currentBase bds
> >                                       description: self bdColumnFilter.
> >       rep batchSize: 25.
> >       self report: rep.
> >       self report addColumn: (MACommandColumn new
> >                                                               addCommandOn: self selector: #view:;
> >                                                               addCommandOn: self selector: #clone:;
> >                                                               addCommandOn: self selector: #edit:;
> >                                                               addCommandOn: self selector: #remove:;
> >                                                               yourself)
> >
> >
> >
> >
> > initialize
> >
> >       super initialize.
> >       currentBaseName := BDBase registeredBases anyOne name asSymbol.
> >       self createReport
> > _______________________________________________
> > Seaside mailing list
> > [hidden email]
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Application null rendering

stephane ducasse
In reply to this post by stephane ducasse
apparently when I have a funny character in the html I want to  
display this raise an exception
and my page is wiped out....

Character encoding I hate you.....

Stef

On 25 juil. 07, at 13:50, stephane ducasse wrote:

> I'm using seaside2.7a1-mb.205
>
> And when I look at the stack I found that code.
> What is deprecatedApi:on:...?
> in WAToolFrame?
>
> Stef
>
>
> renderChildOn: html
> showHalos contents
> ifTrue: [ html context debugMode ].
> processTime := processTime
> ifNil: [ 0 ] ifNotNil: [ Time millisecondClockValue - processTime ].
> renderTime := Time millisecondsToRun: [
> self
> deprecatedApi: [ html render: contents ]
> on: html ].
> html context clearMode
>
>
>
> On 23 juil. 07, at 16:53, stephane ducasse wrote:
>
>> Hi all
>>
>> I'm playing with a small application to manage comix that one of  
>> the students here did.
>> From time to time my application simply render nothing, not even  
>> the heading.
>> here is the code of the main class.
>> Does anybody have an idea where the problem could come from?
>>
>> Stef
>>
>> renderContentOn: html
>>
>>
>> html heading: 'Comix'.
>> html paragraph: [ self renderMenus: html.
>> html form
>> with:
>> [html textInput on: #search of: self.
>> html space.
>> html submitButton callback: [ self filter ]; text: 'search' ]].
>> html render: self report.
>> html paragraph: [ self renderMenus: html.]
>>
>>
>>
>> children
>>
>>     ^ OrderedCollection with: self report
>>
>>
>> report
>>
>> ^report
>>
>> report: aReport
>>
>>    report := aReport
>>
>>
>> createReport
>>
>> | rep |
>> rep := MAReport rows: self currentBase bds
>> description: self bdColumnFilter.
>> rep batchSize: 25.
>> self report: rep.
>> self report addColumn: (MACommandColumn new
>> addCommandOn: self selector: #view:;
>> addCommandOn: self selector: #clone:;
>> addCommandOn: self selector: #edit:;
>> addCommandOn: self selector: #remove:;
>> yourself)
>>
>>
>>
>>
>> initialize
>>
>> super initialize.
>> currentBaseName := BDBase registeredBases anyOne name asSymbol.
>> self createReport
>> _______________________________________________
>> Seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

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

Re: Application null rendering

stephane ducasse
In reply to this post by Philippe Marschall
Ok I will update to a newer version of seaside.

On 25 juil. 07, at 19:57, Philippe Marschall wrote:

> 2007/7/25, stephane ducasse <[hidden email]>:
>> I'm using seaside2.7a1-mb.205
>>
>> And when I look at the stack I found that code.
>
> What stack?
>
>> What is deprecatedApi:on:...?
>> in WAToolFrame?
>
> It collects the your senders of deprecated messages.
>
> Your method should look like this:
> renderChildOn: html
> self showHalos
> ifTrue: [ html context debugMode ].
> processTime := processTime isNil
> ifTrue: [ 0 ]
> ifFalse: [ Time millisecondClockValue - processTime ].
> renderTime := Time millisecondsToRun: [
> self withDeprecatedHandlerDo: [
> html render: self root ] ].
> html context clearMode
>
> Philippe
>
>> Stef
>>
>>
>> renderChildOn: html
>>         showHalos contents
>>                 ifTrue: [ html context debugMode ].
>>         processTime := processTime
>>                 ifNil: [ 0 ] ifNotNil: [ Time  
>> millisecondClockValue - processTime ].
>>         renderTime := Time millisecondsToRun: [
>>                 self
>>                         deprecatedApi: [ html render: contents ]
>>                         on: html ].
>>         html context clearMode
>>
>>
>>
>> On 23 juil. 07, at 16:53, stephane ducasse wrote:
>>
>> > Hi all
>> >
>> > I'm playing with a small application to manage comix that one of
>> > the students here did.
>> > From time to time my application simply render nothing, not even
>> > the heading.
>> > here is the code of the main class.
>> > Does anybody have an idea where the problem could come from?
>> >
>> > Stef
>> >
>> > renderContentOn: html
>> >
>> >
>> >       html heading: 'Comix'.
>> >       html paragraph: [ self renderMenus: html.
>> >       html form
>> >                       with:
>> >                               [html textInput on: #search of: self.
>> >                               html space.
>> >                               html submitButton callback: [ self  
>> filter ]; text: 'search' ]].
>> >       html render: self report.
>> >       html paragraph: [ self renderMenus: html.]
>> >
>> >
>> >
>> > children
>> >
>> >       ^ OrderedCollection with: self report
>> >
>> >
>> > report
>> >
>> >       ^report
>> >
>> > report: aReport
>> >
>> >    report := aReport
>> >
>> >
>> > createReport
>> >
>> >       | rep |
>> >       rep := MAReport rows: self currentBase bds
>> >                                       description: self  
>> bdColumnFilter.
>> >       rep batchSize: 25.
>> >       self report: rep.
>> >       self report addColumn: (MACommandColumn new
>> >                                                                
>> addCommandOn: self selector: #view:;
>> >                                                                
>> addCommandOn: self selector: #clone:;
>> >                                                                
>> addCommandOn: self selector: #edit:;
>> >                                                                
>> addCommandOn: self selector: #remove:;
>> >                                                                
>> yourself)
>> >
>> >
>> >
>> >
>> > initialize
>> >
>> >       super initialize.
>> >       currentBaseName := BDBase registeredBases anyOne name  
>> asSymbol.
>> >       self createReport
>> > _______________________________________________
>> > Seaside mailing list
>> > [hidden email]
>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> >
>>
>> _______________________________________________
>> Seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

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

Re: Application null rendering

Philippe Marschall
In reply to this post by stephane ducasse
2007/7/26, stephane ducasse <[hidden email]>:
> apparently when I have a funny character in the html I want to
> display this raise an exception
> and my page is wiped out....
>
> Character encoding I hate you.....

What version of Squeak? Which WAKom* ? What version of KomHttServer?
Where does the funny character come from?

Philippe

> Stef
>
> On 25 juil. 07, at 13:50, stephane ducasse wrote:
>
> > I'm using seaside2.7a1-mb.205
> >
> > And when I look at the stack I found that code.
> > What is deprecatedApi:on:...?
> > in WAToolFrame?
> >
> > Stef
> >
> >
> > renderChildOn: html
> >       showHalos contents
> >               ifTrue: [ html context debugMode ].
> >       processTime := processTime
> >               ifNil: [ 0 ] ifNotNil: [ Time millisecondClockValue - processTime ].
> >       renderTime := Time millisecondsToRun: [
> >               self
> >                       deprecatedApi: [ html render: contents ]
> >                       on: html ].
> >       html context clearMode
> >
> >
> >
> > On 23 juil. 07, at 16:53, stephane ducasse wrote:
> >
> >> Hi all
> >>
> >> I'm playing with a small application to manage comix that one of
> >> the students here did.
> >> From time to time my application simply render nothing, not even
> >> the heading.
> >> here is the code of the main class.
> >> Does anybody have an idea where the problem could come from?
> >>
> >> Stef
> >>
> >> renderContentOn: html
> >>
> >>
> >>      html heading: 'Comix'.
> >>      html paragraph: [ self renderMenus: html.
> >>      html form
> >>                      with:
> >>                              [html textInput on: #search of: self.
> >>                              html space.
> >>                              html submitButton callback: [ self filter ]; text: 'search' ]].
> >>      html render: self report.
> >>      html paragraph: [ self renderMenus: html.]
> >>
> >>
> >>
> >> children
> >>
> >>      ^ OrderedCollection with: self report
> >>
> >>
> >> report
> >>
> >>      ^report
> >>
> >> report: aReport
> >>
> >>    report := aReport
> >>
> >>
> >> createReport
> >>
> >>      | rep |
> >>      rep := MAReport rows: self currentBase bds
> >>                                      description: self bdColumnFilter.
> >>      rep batchSize: 25.
> >>      self report: rep.
> >>      self report addColumn: (MACommandColumn new
> >>                                                              addCommandOn: self selector: #view:;
> >>                                                              addCommandOn: self selector: #clone:;
> >>                                                              addCommandOn: self selector: #edit:;
> >>                                                              addCommandOn: self selector: #remove:;
> >>                                                              yourself)
> >>
> >>
> >>
> >>
> >> initialize
> >>
> >>      super initialize.
> >>      currentBaseName := BDBase registeredBases anyOne name asSymbol.
> >>      self createReport
> >> _______________________________________________
> >> Seaside mailing list
> >> [hidden email]
> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>
> >
> > _______________________________________________
> > Seaside mailing list
> > [hidden email]
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Application null rendering

stephane ducasse
>
> What version of Squeak?

3.9
7067

> Which WAKom* ?

gk-2

> What version of KomHttServer?

gk-6


> Where does the funny character come from?

from my own mess I guess.
I have an external file containing all the data of my comix and I  
edited with a stupid editor.

Stef

>
> Philippe
>
>> Stef
>>
>> On 25 juil. 07, at 13:50, stephane ducasse wrote:
>>
>> > I'm using seaside2.7a1-mb.205
>> >
>> > And when I look at the stack I found that code.
>> > What is deprecatedApi:on:...?
>> > in WAToolFrame?
>> >
>> > Stef
>> >
>> >
>> > renderChildOn: html
>> >       showHalos contents
>> >               ifTrue: [ html context debugMode ].
>> >       processTime := processTime
>> >               ifNil: [ 0 ] ifNotNil: [ Time  
>> millisecondClockValue - processTime ].
>> >       renderTime := Time millisecondsToRun: [
>> >               self
>> >                       deprecatedApi: [ html render: contents ]
>> >                       on: html ].
>> >       html context clearMode
>> >
>> >
>> >
>> > On 23 juil. 07, at 16:53, stephane ducasse wrote:
>> >
>> >> Hi all
>> >>
>> >> I'm playing with a small application to manage comix that one of
>> >> the students here did.
>> >> From time to time my application simply render nothing, not even
>> >> the heading.
>> >> here is the code of the main class.
>> >> Does anybody have an idea where the problem could come from?
>> >>
>> >> Stef
>> >>
>> >> renderContentOn: html
>> >>
>> >>
>> >>      html heading: 'Comix'.
>> >>      html paragraph: [ self renderMenus: html.
>> >>      html form
>> >>                      with:
>> >>                              [html textInput on: #search of: self.
>> >>                              html space.
>> >>                              html submitButton callback: [ self  
>> filter ]; text: 'search' ]].
>> >>      html render: self report.
>> >>      html paragraph: [ self renderMenus: html.]
>> >>
>> >>
>> >>
>> >> children
>> >>
>> >>      ^ OrderedCollection with: self report
>> >>
>> >>
>> >> report
>> >>
>> >>      ^report
>> >>
>> >> report: aReport
>> >>
>> >>    report := aReport
>> >>
>> >>
>> >> createReport
>> >>
>> >>      | rep |
>> >>      rep := MAReport rows: self currentBase bds
>> >>                                      description: self  
>> bdColumnFilter.
>> >>      rep batchSize: 25.
>> >>      self report: rep.
>> >>      self report addColumn: (MACommandColumn new
>> >>                                                              
>> addCommandOn: self selector: #view:;
>> >>                                                              
>> addCommandOn: self selector: #clone:;
>> >>                                                              
>> addCommandOn: self selector: #edit:;
>> >>                                                              
>> addCommandOn: self selector: #remove:;
>> >>                                                              
>> yourself)
>> >>
>> >>
>> >>
>> >>
>> >> initialize
>> >>
>> >>      super initialize.
>> >>      currentBaseName := BDBase registeredBases anyOne name  
>> asSymbol.
>> >>      self createReport
>> >> _______________________________________________
>> >> Seaside mailing list
>> >> [hidden email]
>> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> >>
>> >
>> > _______________________________________________
>> > Seaside mailing list
>> > [hidden email]
>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> >
>>
>> _______________________________________________
>> Seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> 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: Application null rendering

Philippe Marschall
2007/7/26, stephane ducasse <[hidden email]>:
> >
> > What version of Squeak?
>
> 3.9
> 7067
>
> > Which WAKom* ?
>
> gk-2

No, WAKom, WAKomEncoded or WAKomEncoded39.

> > What version of KomHttServer?
>
> gk-6
>
>
> > Where does the funny character come from?
>
> from my own mess I guess.
> I have an external file containing all the data of my comix and I
> edited with a stupid editor.

And how did this data come into your web application? What encoding
does the file have, what encoding does the data in the image have?

Cheers
Philippe

> Stef
> >
> > Philippe
> >
> >> Stef
> >>
> >> On 25 juil. 07, at 13:50, stephane ducasse wrote:
> >>
> >> > I'm using seaside2.7a1-mb.205
> >> >
> >> > And when I look at the stack I found that code.
> >> > What is deprecatedApi:on:...?
> >> > in WAToolFrame?
> >> >
> >> > Stef
> >> >
> >> >
> >> > renderChildOn: html
> >> >       showHalos contents
> >> >               ifTrue: [ html context debugMode ].
> >> >       processTime := processTime
> >> >               ifNil: [ 0 ] ifNotNil: [ Time
> >> millisecondClockValue - processTime ].
> >> >       renderTime := Time millisecondsToRun: [
> >> >               self
> >> >                       deprecatedApi: [ html render: contents ]
> >> >                       on: html ].
> >> >       html context clearMode
> >> >
> >> >
> >> >
> >> > On 23 juil. 07, at 16:53, stephane ducasse wrote:
> >> >
> >> >> Hi all
> >> >>
> >> >> I'm playing with a small application to manage comix that one of
> >> >> the students here did.
> >> >> From time to time my application simply render nothing, not even
> >> >> the heading.
> >> >> here is the code of the main class.
> >> >> Does anybody have an idea where the problem could come from?
> >> >>
> >> >> Stef
> >> >>
> >> >> renderContentOn: html
> >> >>
> >> >>
> >> >>      html heading: 'Comix'.
> >> >>      html paragraph: [ self renderMenus: html.
> >> >>      html form
> >> >>                      with:
> >> >>                              [html textInput on: #search of: self.
> >> >>                              html space.
> >> >>                              html submitButton callback: [ self
> >> filter ]; text: 'search' ]].
> >> >>      html render: self report.
> >> >>      html paragraph: [ self renderMenus: html.]
> >> >>
> >> >>
> >> >>
> >> >> children
> >> >>
> >> >>      ^ OrderedCollection with: self report
> >> >>
> >> >>
> >> >> report
> >> >>
> >> >>      ^report
> >> >>
> >> >> report: aReport
> >> >>
> >> >>    report := aReport
> >> >>
> >> >>
> >> >> createReport
> >> >>
> >> >>      | rep |
> >> >>      rep := MAReport rows: self currentBase bds
> >> >>                                      description: self
> >> bdColumnFilter.
> >> >>      rep batchSize: 25.
> >> >>      self report: rep.
> >> >>      self report addColumn: (MACommandColumn new
> >> >>
> >> addCommandOn: self selector: #view:;
> >> >>
> >> addCommandOn: self selector: #clone:;
> >> >>
> >> addCommandOn: self selector: #edit:;
> >> >>
> >> addCommandOn: self selector: #remove:;
> >> >>
> >> yourself)
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> initialize
> >> >>
> >> >>      super initialize.
> >> >>      currentBaseName := BDBase registeredBases anyOne name
> >> asSymbol.
> >> >>      self createReport
> >> >> _______________________________________________
> >> >> Seaside mailing list
> >> >> [hidden email]
> >> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >> >>
> >> >
> >> > _______________________________________________
> >> > Seaside mailing list
> >> > [hidden email]
> >> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >> >
> >>
> >> _______________________________________________
> >> Seaside mailing list
> >> [hidden email]
> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>
> > _______________________________________________
> > Seaside mailing list
> > [hidden email]
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Application null rendering

stephane ducasse

On 26 juil. 07, at 15:57, Philippe Marschall wrote:

> 2007/7/26, stephane ducasse <[hidden email]>:
>> >
>> > What version of Squeak?
>>
>> 3.9
>> 7067
>>
>> > Which WAKom* ?
>>
>> gk-2
>
> No, WAKom, WAKomEncoded or WAKomEncoded39.

how do I know that?

>
>> > What version of KomHttServer?
>>
>> gk-6
>>
>>
>> > Where does the funny character come from?
>>
>> from my own mess I guess.
>> I have an external file containing all the data of my comix and I
>> edited with a stupid editor.
>
> And how did this data come into your web application? What encoding
> does the file have, what encoding does the data in the image have?
>
> Cheers
> Philippe
>
>> Stef
>> >
>> > Philippe
>> >
>> >> Stef
>> >>
>> >> On 25 juil. 07, at 13:50, stephane ducasse wrote:
>> >>
>> >> > I'm using seaside2.7a1-mb.205
>> >> >
>> >> > And when I look at the stack I found that code.
>> >> > What is deprecatedApi:on:...?
>> >> > in WAToolFrame?
>> >> >
>> >> > Stef
>> >> >
>> >> >
>> >> > renderChildOn: html
>> >> >       showHalos contents
>> >> >               ifTrue: [ html context debugMode ].
>> >> >       processTime := processTime
>> >> >               ifNil: [ 0 ] ifNotNil: [ Time
>> >> millisecondClockValue - processTime ].
>> >> >       renderTime := Time millisecondsToRun: [
>> >> >               self
>> >> >                       deprecatedApi: [ html render: contents ]
>> >> >                       on: html ].
>> >> >       html context clearMode
>> >> >
>> >> >
>> >> >
>> >> > On 23 juil. 07, at 16:53, stephane ducasse wrote:
>> >> >
>> >> >> Hi all
>> >> >>
>> >> >> I'm playing with a small application to manage comix that  
>> one of
>> >> >> the students here did.
>> >> >> From time to time my application simply render nothing, not  
>> even
>> >> >> the heading.
>> >> >> here is the code of the main class.
>> >> >> Does anybody have an idea where the problem could come from?
>> >> >>
>> >> >> Stef
>> >> >>
>> >> >> renderContentOn: html
>> >> >>
>> >> >>
>> >> >>      html heading: 'Comix'.
>> >> >>      html paragraph: [ self renderMenus: html.
>> >> >>      html form
>> >> >>                      with:
>> >> >>                              [html textInput on: #search of:  
>> self.
>> >> >>                              html space.
>> >> >>                              html submitButton callback: [ self
>> >> filter ]; text: 'search' ]].
>> >> >>      html render: self report.
>> >> >>      html paragraph: [ self renderMenus: html.]
>> >> >>
>> >> >>
>> >> >>
>> >> >> children
>> >> >>
>> >> >>      ^ OrderedCollection with: self report
>> >> >>
>> >> >>
>> >> >> report
>> >> >>
>> >> >>      ^report
>> >> >>
>> >> >> report: aReport
>> >> >>
>> >> >>    report := aReport
>> >> >>
>> >> >>
>> >> >> createReport
>> >> >>
>> >> >>      | rep |
>> >> >>      rep := MAReport rows: self currentBase bds
>> >> >>                                      description: self
>> >> bdColumnFilter.
>> >> >>      rep batchSize: 25.
>> >> >>      self report: rep.
>> >> >>      self report addColumn: (MACommandColumn new
>> >> >>
>> >> addCommandOn: self selector: #view:;
>> >> >>
>> >> addCommandOn: self selector: #clone:;
>> >> >>
>> >> addCommandOn: self selector: #edit:;
>> >> >>
>> >> addCommandOn: self selector: #remove:;
>> >> >>
>> >> yourself)
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> initialize
>> >> >>
>> >> >>      super initialize.
>> >> >>      currentBaseName := BDBase registeredBases anyOne name
>> >> asSymbol.
>> >> >>      self createReport
>> >> >> _______________________________________________
>> >> >> Seaside mailing list
>> >> >> [hidden email]
>> >> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/ 
>> seaside
>> >> >>
>> >> >
>> >> > _______________________________________________
>> >> > Seaside mailing list
>> >> > [hidden email]
>> >> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/ 
>> seaside
>> >> >
>> >>
>> >> _______________________________________________
>> >> Seaside mailing list
>> >> [hidden email]
>> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> >>
>> > _______________________________________________
>> > Seaside mailing list
>> > [hidden email]
>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> >
>>
>> _______________________________________________
>> Seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

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

Re: Application null rendering

Philippe Marschall
2007/7/26, stephane ducasse <[hidden email]>:

>
> On 26 juil. 07, at 15:57, Philippe Marschall wrote:
>
> > 2007/7/26, stephane ducasse <[hidden email]>:
> >> >
> >> > What version of Squeak?
> >>
> >> 3.9
> >> 7067
> >>
> >> > Which WAKom* ?
> >>
> >> gk-2
> >
> > No, WAKom, WAKomEncoded or WAKomEncoded39.
>
> how do I know that?

How did you start Seaside?

> >
> >> > What version of KomHttServer?
> >>
> >> gk-6
> >>
> >>
> >> > Where does the funny character come from?
> >>
> >> from my own mess I guess.
> >> I have an external file containing all the data of my comix and I
> >> edited with a stupid editor.
> >
> > And how did this data come into your web application? What encoding
> > does the file have, what encoding does the data in the image have?
> >
> > Cheers
> > Philippe
> >
> >> Stef
> >> >
> >> > Philippe
> >> >
> >> >> Stef
> >> >>
> >> >> On 25 juil. 07, at 13:50, stephane ducasse wrote:
> >> >>
> >> >> > I'm using seaside2.7a1-mb.205
> >> >> >
> >> >> > And when I look at the stack I found that code.
> >> >> > What is deprecatedApi:on:...?
> >> >> > in WAToolFrame?
> >> >> >
> >> >> > Stef
> >> >> >
> >> >> >
> >> >> > renderChildOn: html
> >> >> >       showHalos contents
> >> >> >               ifTrue: [ html context debugMode ].
> >> >> >       processTime := processTime
> >> >> >               ifNil: [ 0 ] ifNotNil: [ Time
> >> >> millisecondClockValue - processTime ].
> >> >> >       renderTime := Time millisecondsToRun: [
> >> >> >               self
> >> >> >                       deprecatedApi: [ html render: contents ]
> >> >> >                       on: html ].
> >> >> >       html context clearMode
> >> >> >
> >> >> >
> >> >> >
> >> >> > On 23 juil. 07, at 16:53, stephane ducasse wrote:
> >> >> >
> >> >> >> Hi all
> >> >> >>
> >> >> >> I'm playing with a small application to manage comix that
> >> one of
> >> >> >> the students here did.
> >> >> >> From time to time my application simply render nothing, not
> >> even
> >> >> >> the heading.
> >> >> >> here is the code of the main class.
> >> >> >> Does anybody have an idea where the problem could come from?
> >> >> >>
> >> >> >> Stef
> >> >> >>
> >> >> >> renderContentOn: html
> >> >> >>
> >> >> >>
> >> >> >>      html heading: 'Comix'.
> >> >> >>      html paragraph: [ self renderMenus: html.
> >> >> >>      html form
> >> >> >>                      with:
> >> >> >>                              [html textInput on: #search of:
> >> self.
> >> >> >>                              html space.
> >> >> >>                              html submitButton callback: [ self
> >> >> filter ]; text: 'search' ]].
> >> >> >>      html render: self report.
> >> >> >>      html paragraph: [ self renderMenus: html.]
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> children
> >> >> >>
> >> >> >>      ^ OrderedCollection with: self report
> >> >> >>
> >> >> >>
> >> >> >> report
> >> >> >>
> >> >> >>      ^report
> >> >> >>
> >> >> >> report: aReport
> >> >> >>
> >> >> >>    report := aReport
> >> >> >>
> >> >> >>
> >> >> >> createReport
> >> >> >>
> >> >> >>      | rep |
> >> >> >>      rep := MAReport rows: self currentBase bds
> >> >> >>                                      description: self
> >> >> bdColumnFilter.
> >> >> >>      rep batchSize: 25.
> >> >> >>      self report: rep.
> >> >> >>      self report addColumn: (MACommandColumn new
> >> >> >>
> >> >> addCommandOn: self selector: #view:;
> >> >> >>
> >> >> addCommandOn: self selector: #clone:;
> >> >> >>
> >> >> addCommandOn: self selector: #edit:;
> >> >> >>
> >> >> addCommandOn: self selector: #remove:;
> >> >> >>
> >> >> yourself)
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> initialize
> >> >> >>
> >> >> >>      super initialize.
> >> >> >>      currentBaseName := BDBase registeredBases anyOne name
> >> >> asSymbol.
> >> >> >>      self createReport
> >> >> >> _______________________________________________
> >> >> >> Seaside mailing list
> >> >> >> [hidden email]
> >> >> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/
> >> seaside
> >> >> >>
> >> >> >
> >> >> > _______________________________________________
> >> >> > Seaside mailing list
> >> >> > [hidden email]
> >> >> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/
> >> seaside
> >> >> >
> >> >>
> >> >> _______________________________________________
> >> >> Seaside mailing list
> >> >> [hidden email]
> >> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >> >>
> >> > _______________________________________________
> >> > Seaside mailing list
> >> > [hidden email]
> >> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >> >
> >>
> >> _______________________________________________
> >> Seaside mailing list
> >> [hidden email]
> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>
> > _______________________________________________
> > Seaside mailing list
> > [hidden email]
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
>
> _______________________________________________
> 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: Application null rendering

stephane ducasse
>
> How did you start Seaside?

I guess I loaded Pier :)
But this is a long time ago I build that image :)
I will keep it and show it to you at ESUG because the bug is strange.
Stef

>
>> >
>> >> > What version of KomHttServer?
>> >>
>> >> gk-6
>> >>
>> >>
>> >> > Where does the funny character come from?
>> >>
>> >> from my own mess I guess.
>> >> I have an external file containing all the data of my comix and I
>> >> edited with a stupid editor.
>> >
>> > And how did this data come into your web application? What encoding
>> > does the file have, what encoding does the data in the image have?
>> >
>> > Cheers
>> > Philippe
>> >
>> >> Stef
>> >> >
>> >> > Philippe
>> >> >
>> >> >> Stef
>> >> >>
>> >> >> On 25 juil. 07, at 13:50, stephane ducasse wrote:
>> >> >>
>> >> >> > I'm using seaside2.7a1-mb.205
>> >> >> >
>> >> >> > And when I look at the stack I found that code.
>> >> >> > What is deprecatedApi:on:...?
>> >> >> > in WAToolFrame?
>> >> >> >
>> >> >> > Stef
>> >> >> >
>> >> >> >
>> >> >> > renderChildOn: html
>> >> >> >       showHalos contents
>> >> >> >               ifTrue: [ html context debugMode ].
>> >> >> >       processTime := processTime
>> >> >> >               ifNil: [ 0 ] ifNotNil: [ Time
>> >> >> millisecondClockValue - processTime ].
>> >> >> >       renderTime := Time millisecondsToRun: [
>> >> >> >               self
>> >> >> >                       deprecatedApi: [ html render:  
>> contents ]
>> >> >> >                       on: html ].
>> >> >> >       html context clearMode
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > On 23 juil. 07, at 16:53, stephane ducasse wrote:
>> >> >> >
>> >> >> >> Hi all
>> >> >> >>
>> >> >> >> I'm playing with a small application to manage comix that
>> >> one of
>> >> >> >> the students here did.
>> >> >> >> From time to time my application simply render nothing, not
>> >> even
>> >> >> >> the heading.
>> >> >> >> here is the code of the main class.
>> >> >> >> Does anybody have an idea where the problem could come from?
>> >> >> >>
>> >> >> >> Stef
>> >> >> >>
>> >> >> >> renderContentOn: html
>> >> >> >>
>> >> >> >>
>> >> >> >>      html heading: 'Comix'.
>> >> >> >>      html paragraph: [ self renderMenus: html.
>> >> >> >>      html form
>> >> >> >>                      with:
>> >> >> >>                              [html textInput on: #search of:
>> >> self.
>> >> >> >>                              html space.
>> >> >> >>                              html submitButton callback:  
>> [ self
>> >> >> filter ]; text: 'search' ]].
>> >> >> >>      html render: self report.
>> >> >> >>      html paragraph: [ self renderMenus: html.]
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> children
>> >> >> >>
>> >> >> >>      ^ OrderedCollection with: self report
>> >> >> >>
>> >> >> >>
>> >> >> >> report
>> >> >> >>
>> >> >> >>      ^report
>> >> >> >>
>> >> >> >> report: aReport
>> >> >> >>
>> >> >> >>    report := aReport
>> >> >> >>
>> >> >> >>
>> >> >> >> createReport
>> >> >> >>
>> >> >> >>      | rep |
>> >> >> >>      rep := MAReport rows: self currentBase bds
>> >> >> >>                                      description: self
>> >> >> bdColumnFilter.
>> >> >> >>      rep batchSize: 25.
>> >> >> >>      self report: rep.
>> >> >> >>      self report addColumn: (MACommandColumn new
>> >> >> >>
>> >> >> addCommandOn: self selector: #view:;
>> >> >> >>
>> >> >> addCommandOn: self selector: #clone:;
>> >> >> >>
>> >> >> addCommandOn: self selector: #edit:;
>> >> >> >>
>> >> >> addCommandOn: self selector: #remove:;
>> >> >> >>
>> >> >> yourself)
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> initialize
>> >> >> >>
>> >> >> >>      super initialize.
>> >> >> >>      currentBaseName := BDBase registeredBases anyOne name
>> >> >> asSymbol.
>> >> >> >>      self createReport
>> >> >> >> _______________________________________________
>> >> >> >> Seaside mailing list
>> >> >> >> [hidden email]
>> >> >> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/
>> >> seaside
>> >> >> >>
>> >> >> >
>> >> >> > _______________________________________________
>> >> >> > Seaside mailing list
>> >> >> > [hidden email]
>> >> >> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/
>> >> seaside
>> >> >> >
>> >> >>
>> >> >> _______________________________________________
>> >> >> Seaside mailing list
>> >> >> [hidden email]
>> >> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/ 
>> seaside
>> >> >>
>> >> > _______________________________________________
>> >> > Seaside mailing list
>> >> > [hidden email]
>> >> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/ 
>> seaside
>> >> >
>> >>
>> >> _______________________________________________
>> >> Seaside mailing list
>> >> [hidden email]
>> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> >>
>> > _______________________________________________
>> > Seaside mailing list
>> > [hidden email]
>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> >
>>
>> _______________________________________________
>> Seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

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

Re: Application null rendering

cbeler
In reply to this post by stephane ducasse
>> How did you start Seaside?

>I guess I loaded Pier :)
>But this is a long time ago I build that image :)
>I will keep it and show it to you at ESUG because the bug is strange.

Check the plug inst var of the HttpService instances.. It should tell you...

In the case WAKom is the one close it (WAKom close). Seaside shouldn't be
running anymore (check on your web browser), then run WAKomEncoded39
(WAKomEncoded39 startOn: 8080).

HTH,

Cédrick

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

Re: Application null rendering

cbeler
In reply to this post by stephane ducasse
Conrad Taylor a écrit :

> Hi, I had to install one package when I got started with Seaside on
> VisualWorks and this process took about 5 minutes or so.  Next, VMWare
> seems to only support Intel based Macs.  Thus, this will not work on
> non-Intel based Macs.  Also, with the forthcoming VMWare Fusion, it's
> slated for Intel based Macs.  In any case, agree with Boris that there
> needs to be converage for the various dialects.  Does the Gemstone
> Seaside VM work with VisualWorks?
>
> -Conrad
>
>
What do you think of virtualbox instead of vmware [1] ? There is an
opensource edition and it seems it works on all platforms.

FWIW

Cédrick

[1]http://www.virtualbox.org/wiki/Downloads

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

Re: Application null rendering

cbeler
In reply to this post by stephane ducasse
forget my last one, wrong post...

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