The Seaside book has a section on automatically registering components.
For some reason, I cannot copy and paste the stack trace, so here is a screenshot of the error. Terrence Brannon _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Terrence,
To get a copy of the stack hit the 'Debug' button then right click on the stack and choose 'Copy to clipboard'. The stack you've shown doesn't have enough info to tell what's wrong. In a workspace when you run WebCounter initialize do you get the error? Hope this helps Paul
|
There is no error when `Webcount initialize` is executed in a Workspace. Here is the stacktrace: Array(Object)>>errorSubscriptBounds: Array(Object)>>at: Browser>>selectedMessageCategoryName Browser>>compileMessage:notifying: Browser>>contents:notifying: PluggableTextMorph>>acceptTextInModel in Block: [ ... BlockClosure>>ensure: PluggableTextMorph>>acceptTextInModel PluggableTextMorph>>acceptBasic PluggableTextMorph>>accept TextMorphForEditView>>acceptContents TextMorph class>>buildTextEditorKeymapsOn: in Block: [ :morph | morph acceptContents ] BlockClosure>>cull: BlockClosure>>cull:cull: BlockClosure>>cull:cull:cull: KMCategoryBinding>>completeMatch:buffer: KMKeymap>>notifyCompleteMatchTo:buffer: in Block: [ :l | l completeMatch: self buffer: aBuffer ] Array(SequenceableCollection)>>do: KMKeymap>>notifyCompleteMatchTo:buffer: KMKeymap>>onMatchWith:notify:andDo: KMCategory>>onMatchWith:notify:andDo: in Block: [ :entry | entry onMatchWith: anEventBuffer notify...etc... Set>>do: KMCategory>>onMatchWith:notify:andDo: KMCategoryBinding>>verifyMatchWith:notifying:thenDoing: KMDispatcher>>dispatch: in Block: [ :aTarget | ... OrderedCollection>>do: KMDispatcher>>dispatch: KMTarget>>dispatch: KMDispatchChain>>dispatch: in Block: [ :targetToDispatch | ... KMDispatchChain>>do: On Tue, Mar 31, 2015 at 7:18 AM, Paul DeBruicker <[hidden email]> wrote: Hi Terrence, Terrence Brannon 818-359-0893 (cell) _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Terrence,
Thats good news. Your counter app should be registered and available through a browser. Because there is no error, then the problem lies in how you're executing the code. If in the code browser window you're selecting the line WAAdmin register: self asApplicationAt: 'my_app' and 'doing-it' then that would be the problem. Better to run the 'WebCounter initialize' code fragment Hope this helps Paul
|
Free forum by Nabble | Edit this page |