[Seaside] Application null rendering

Philippe Marschall philippe.marschall at gmail.com
Thu Jul 26 08:37:43 UTC 2007


2007/7/26, stephane ducasse <stephane.ducasse at free.fr>:
> 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
> >> Seaside at lists.squeakfoundation.org
> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>
> >
> > _______________________________________________
> > Seaside mailing list
> > Seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the Seaside mailing list