WARequestHandler>>isApplication

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

WARequestHandler>>isApplication

Boris Popov, DeepCove Labs (SNN)
Not sure if this is the right fix, but I couldn't get the 'config'
application to render otherwise in the latest version of Seaside on
VisualWorks with ImageTools loaded,

WARequestHandler>>isApplication
        ^false

Here's the original exception:

Unhandled exception: Message not understood: #isApplication
Seaside.WAPictureServer(Object)>>doesNotUnderstand:
optimized [] in [] in
Seaside.WADispatcherEditor>>renderRowForEntryPoint:named:on:
BlockClosure>>renderOn:
Seaside.WATableDataTag(Seaside.WATagBrush)>>within:
optimized [] in Seaside.WATagBrush>>with:
BlockClosure>>renderOn:
Seaside.WARenderCanvas(Seaside.WACanvas)>>nest:
Seaside.WATableDataTag(Seaside.WABrush)>>with:
Seaside.WATableDataTag(Seaside.WATagBrush)>>with:
Seaside.WARenderCanvas(Seaside.WAHtmlCanvas)>>tableData:
optimized [] in Seaside.WADispatcherEditor>>renderRowForEntryPoint:named:on:
BlockClosure>>renderOn:
Seaside.WAGenericTag(Seaside.WATagBrush)>>within:
optimized [] in Seaside.WATagBrush>>with:
BlockClosure>>renderOn:
Seaside.WARenderCanvas(Seaside.WACanvas)>>nest:
Seaside.WAGenericTag(Seaside.WABrush)>>with:
Seaside.WAGenericTag(Seaside.WATagBrush)>>with:
Seaside.WARenderCanvas(Seaside.WAHtmlCanvas)>>tableRow:
Seaside.WADispatcherEditor>>renderRowForEntryPoint:named:on:
optimized [] in [] in Seaside.WADispatcherEditor>>renderContentOn:
SortedCollection(OrderedCollection)>>do:
optimized [] in Seaside.WADispatcherEditor>>renderContentOn:
BlockClosure>>renderOn:
Seaside.WATableTag(Seaside.WATagBrush)>>within:
optimized [] in Seaside.WATagBrush>>with:
BlockClosure>>renderOn:
Seaside.WARenderCanvas(Seaside.WACanvas)>>nest:
Seaside.WATableTag(Seaside.WABrush)>>with:
Seaside.WATableTag(Seaside.WATagBrush)>>with:
Seaside.WARenderCanvas(Seaside.WAHtmlCanvas)>>table:
Seaside.WADispatcherEditor>>renderContentOn:
Seaside.WADispatcherEditor(Seaside.WAPresenter)>>renderWithContext:
optimized [] in Seaside.WADecoration>>renderOwnerOn:
Seaside.WADispatcherEditor(Object)>>ifNotNilDo:
Seaside.WABasicAuthentication(Seaside.WADecoration)>>renderOwnerOn:
Seaside.WABasicAuthentication>>renderContentOn:
Seaside.WABasicAuthentication(Seaside.WAPresenter)>>renderWithContext:
optimized [] in Seaside.WAComponent>>renderOn:
Seaside.WADispatcherEditor(Seaside.WAComponent)>>decorationChainDo:
Seaside.WADispatcherEditor(Seaside.WAComponent)>>renderOn:
Seaside.WAHtmlRenderer(Seaside.WAAbstractHtmlBuilder)>>render:
optimized [] in Seaside.WAToolFrame>>renderChildOn:
Seaside.Time class(Squeak.Time class)>>millisecondsToRun:
Seaside.WAToolFrame>>renderChildOn:
optimized [] in Seaside.WAToolFrame>>renderContentOn:
BlockClosure>>renderOn:
Seaside.WAHtmlRenderer(Seaside.WAAbstractHtmlBuilder)>>render:
Seaside.WAHtmlRenderer(Seaside.WAAbstractHtmlBuilder)>>tag:do:
Seaside.WAHtmlRenderer(Seaside.WAAbstractHtmlBuilder)>>div:
Seaside.WAHtmlRenderer(Seaside.WAAbstractHtmlBuilder)>>divNamed:with:
Seaside.WAToolFrame>>renderContentOn:
Seaside.WAToolFrame(Seaside.WAPresenter)>>renderWithContext:
optimized [] in Seaside.WARender>>buildResponse
Seaside.WAToolFrame(Seaside.WAComponent)>>decorationChainDo:
Seaside.WARender>>buildResponse
optimized [] in Seaside.WARender>>render
optimized [] in Seaside.WASession>>respond:
Seaside.ResponseContinuation class(Seaside.Continuation class)>>currentDo:
Seaside.WASession>>respond:
Seaside.WARender>>render
optimized [] in [] in Seaside.WARender>>go
BlockClosure>>on:do:
Seaside.WARender>>withRenderNowHandler:
optimized [] in Seaside.WARender>>go
BlockClosure>>on:do:
Seaside.WARender>>withPageExpiredHandler:
Seaside.WARender>>go
Seaside.WARenderLoop>>run
Seaside.WAAuthMain(Seaside.WARenderLoopMain)>>start:
Seaside.WASession>>start:
[] in Seaside.WASession>>performRequest:
Dictionary>>at:ifAbsent:
Seaside.WASession>>performRequest:
optimized [] in [] in [] in Seaside.WASession>>responseForRequest:
BlockClosure>>on:do:
optimized [] in Seaside.WASession>>withErrorHandler:
BlockClosure>>on:do:
Seaside.WASession>>withErrorHandler:
optimized [] in [] in Seaside.WASession>>responseForRequest:
BlockClosure>>on:do:
Seaside.WACurrentSession class(Seaside.WADynamicVariable class)>>use:during:
optimized [] in Seaside.WASession>>responseForRequest:
optimized [] in Seaside.WASession>>withEscapeContinuation:
Seaside.EscapeContinuation class(Seaside.Continuation class)>>currentDo:
Seaside.WASession>>withEscapeContinuation:
Seaside.WASession>>responseForRequest:
optimized [] in Seaside.WASession>>incomingRequest:
BlockClosure>>on:do:
optimized [] in [] in [] in Seaside.WAProcessMonitor>>critical:ifError:
BlockClosure>>ensure:
optimized [] in [] in Seaside.WAProcessMonitor>>critical:ifError:
BlockClosure>>on:do:
optimized [] in Process class>>forBlock:priority:

----------------------------------------------------------------------
Seaside.WAPictureServer(Object)>>doesNotUnderstand:
Receiver:
        a Seaside.WAPictureServer
Instance Variables:
        basePath = '/seaside/go/images'
Arguments:
        aMessage = a Message with selector: #isApplication and arguments:
#()
Temporaries:
        excpt = a MessageNotUnderstood
        resumeValue = nil
       

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

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

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: WARequestHandler>>isApplication

Michel Bany-3
Boris Popov a écrit :

>Not sure if this is the right fix, but I couldn't get the 'config'
>application to render otherwise in the latest version of Seaside on
>VisualWorks with ImageTools loaded,
>
>WARequestHandler>>isApplication
> ^false
>
>  
>
The ImageTools bundle has not been upgraded yet to work together with
the latest versions of Seaside.
Although not exactly the right one, your fix is OK.

The right fix is something like this
    renderRowForEntryPoint: anEntryPoint named: aString on: html
        (anEntryPoint isKindOf: WAEntryPoint) ifFalse: [^self].
          etc.

That will remove "images" from the list of entry points shown by 'config'

Thanks for the feedback.
Michel.

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