Actually, the scriptaculous issue was on an application running on a Squeak VM. I'm now trying to move everything over to run on GemStone, so as of yet, I don't have it running on the GemStone VM. I'll keep reviewing the documentation and will read the multiple emails to see if the answer is in there somewhere. I don't believe seaside is up and running yet. I tried to run startSeaside_Hyper and got a lot of errors, so I'll need to review that script and the invocation documentation.<br>
<br>At a quick glance, it looks like this snippet from the startSeaside script might be worthwhile to play with. I am not sure how relevant the previous code is or whether this is enough for me for now. I'll let you know.<br>
<br>server := SwazooServer singleton.<br>server initialize.<br><br>site := (SeasideSite new)<br> name: 'Seaside';<br> initialize;<br> host: GsSocket getLocalHostName<br> ip: (GsSocket getHostAddressByName: GsSocket getLocalHostName)<br>
port: $1;<br> initializeResourceFromUriPattern: '/', 'seaside'.<br><br>server addSite: site.<br><br><br><br><div class="gmail_quote">On Wed, Jun 11, 2008 at 10:49 AM, Dale Henrichs <<a href="mailto:dale.henrichs@gemstone.com">dale.henrichs@gemstone.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Chris Dawson wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dale,<br>
<br>
Thanks for the response. So, being new to GemStone and Seaside, what is<br>
the correct way to install a new application within topaz? I've done<br>
this within the Seaside config webgui plenty of times and am a little<br>
lost as to where and what I should do within topaz. I ran printit on<br>
WADispatcher default and see this:<br>
<br>
topaz 1> printit<br>
WADispatcher default<br>
%<br>
a WADispatcher<br>
parent nil<br>
name seaside<br>
entryPoints a Dictionary<br>
defaultName browse<br>
lastUpdate a TimeStamp<br>
version 55<br>
<br>
I'm now browsing the methods available within WADispatcher and see<br>
#register:. This only takes a name, however, so do I instantiate an<br>
instance of my webapp, and then what?<br>
<br>
Chris <br>
</blockquote></div>
Chris,<br>
<br>
I think you should follow the approaches suggested by John and Philippe. Following John and Philippes suggestion, you would add the #addLibrary: call to your application registration code (where the #register: method is used).<br>
<br>
Since you are already running your component, you had to have registered the component somewhere using #registerAsApplication: and as John suggests, you can change that statement to include the #addLibrary: call.<br>
<br>
Regarding using topaz for inspecting objects - here's a topaz pattern that I used. After the initial expression follow the 'obj @' expressions:<br>
<br>
topaz 1> display oops<br>
topaz 1> level 2<br>
topaz 1> run<br>
WADispatcher default<br>
%<br>
[43744513 sz:6 cls: 51895041 WADispatcher] a WADispatcher<br>
parent [20 sz:0 cls: 76289 UndefinedObject] nil<br>
name [44546561 sz:7 cls: 74753 String] seaside<br>
entryPoints [43802369 sz:26 cls: 101377 Dictionary] a Dictionary<br>
count [66 sz:0 cls: 74241 SmallInteger] 8<br>
tableSize [58 sz:0 cls: 74241 SmallInteger] 7<br>
emptySlotHint [146 sz:0 cls: 74241 SmallInteger] 18<br>
numEmptySlots [18 sz:0 cls: 74241 SmallInteger] 2<br>
unused [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#1 [82 sz:0 cls: 74241 SmallInteger] 10<br>
#2 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#3 [84601857 sz:2 cls: 67073 Association] an Association<br>
#4 [84601601 sz:2 cls: 67073 Association] an Association<br>
#5 [121945857 sz:2 cls: 67073 Association] an Association<br>
#6 [130 sz:0 cls: 74241 SmallInteger] 16<br>
#7 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#8 [84601089 sz:2 cls: 67073 Association] an Association<br>
#9 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#10 [84600833 sz:2 cls: 67073 Association] an Association<br>
#11 [66 sz:0 cls: 74241 SmallInteger] 8<br>
#12 [84601345 sz:2 cls: 67073 Association] an Association<br>
#13 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#14 [109039873 sz:2 cls: 67073 Association] an Association<br>
#15 [98 sz:0 cls: 74241 SmallInteger] 12<br>
#16 [121945601 sz:2 cls: 67073 Association] an Association<br>
#17 [114 sz:0 cls: 74241 SmallInteger] 14<br>
#18 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#19 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#20 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#21 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
<br>
defaultName [51892737 sz:6 cls: 74753 String] browse<br>
lastUpdate [121945345 sz:2 cls: 16989185 TimeStamp] a TimeStamp<br>
seconds [11150921504588421894 sz:0 cls: 121345 SmallDouble] 2.3489746597678900E+08<br>
offset [18446744073709350018 sz:0 cls: 74241 SmallInteger] -25200<br>
<br>
version [442 sz:0 cls: 74241 SmallInteger] 55<br>
<br>
topaz 1> obj @43802369<br>
[43802369 sz:26 cls: 101377 Dictionary] a Dictionary<br>
count [66 sz:0 cls: 74241 SmallInteger] 8<br>
tableSize [58 sz:0 cls: 74241 SmallInteger] 7<br>
emptySlotHint [146 sz:0 cls: 74241 SmallInteger] 18<br>
numEmptySlots [18 sz:0 cls: 74241 SmallInteger] 2<br>
unused [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#1 [82 sz:0 cls: 74241 SmallInteger] 10<br>
#2 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#3 [84601857 sz:2 cls: 67073 Association] an Association<br>
key [84590593 sz:8 cls: 74753 String] examples<br>
value [84590337 sz:6 cls: 51895041 WADispatcher] a WADispatcher<br>
<br>
#4 [84601601 sz:2 cls: 67073 Association] an Association<br>
key [84590081 sz:6 cls: 74753 String] browse<br>
value [84589825 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#5 [121945857 sz:2 cls: 67073 Association] an Association<br>
key [121944321 sz:7 cls: 74753 String] wizzard<br>
value [121944065 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#6 [130 sz:0 cls: 74241 SmallInteger] 16<br>
#7 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#8 [84601089 sz:2 cls: 67073 Association] an Association<br>
key [84589057 sz:5 cls: 74753 String] tests<br>
value [84588801 sz:6 cls: 51895041 WADispatcher] a WADispatcher<br>
<br>
#9 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#10 [84600833 sz:2 cls: 67073 Association] an Association<br>
key [84588545 sz:6 cls: 74753 String] config<br>
value [84588289 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#11 [66 sz:0 cls: 74241 SmallInteger] 8<br>
#12 [84601345 sz:2 cls: 67073 Association] an Association<br>
key [84589569 sz:5 cls: 74753 String] tools<br>
value [84589313 sz:6 cls: 51895041 WADispatcher] a WADispatcher<br>
<br>
#13 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#14 [109039873 sz:2 cls: 67073 Association] an Association<br>
key [109021697 sz:4 cls: 74753 String] pier<br>
value [109021441 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#15 [98 sz:0 cls: 74241 SmallInteger] 12<br>
#16 [121945601 sz:2 cls: 67073 Association] an Association<br>
key [121943809 sz:9 cls: 74753 String] installer<br>
value [121943553 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#17 [114 sz:0 cls: 74241 SmallInteger] 14<br>
#18 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#19 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#20 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#21 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
<br>
<br>
topaz 1> obj @84590337<br>
[84590337 sz:6 cls: 51895041 WADispatcher] a WADispatcher<br>
parent [43744513 sz:6 cls: 51895041 WADispatcher] a WADispatcher<br>
parent [20 sz:0 cls: 76289 UndefinedObject] nil<br>
name [44546561 sz:7 cls: 74753 String] seaside<br>
entryPoints [43802369 sz:26 cls: 101377 Dictionary] a Dictionary<br>
defaultName [51892737 sz:6 cls: 74753 String] browse<br>
lastUpdate [121945345 sz:2 cls: 16989185 TimeStamp] a TimeStamp<br>
version [442 sz:0 cls: 74241 SmallInteger] 55<br>
<br>
name [84590593 sz:8 cls: 74753 String] examples<br>
entryPoints [84581377 sz:40 cls: 101377 Dictionary] a Dictionary<br>
count [90 sz:0 cls: 74241 SmallInteger] 11<br>
tableSize [58 sz:0 cls: 74241 SmallInteger] 7<br>
emptySlotHint [210 sz:0 cls: 74241 SmallInteger] 26<br>
numEmptySlots [42 sz:0 cls: 74241 SmallInteger] 5<br>
unused [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#1 [92514305 sz:2 cls: 67073 Association] an Association<br>
#2 [82 sz:0 cls: 74241 SmallInteger] 10<br>
#3 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#4 [93512961 sz:2 cls: 67073 Association] an Association<br>
#5 [178 sz:0 cls: 74241 SmallInteger] 22<br>
#6 [194 sz:0 cls: 74241 SmallInteger] 24<br>
#7 [114 sz:0 cls: 74241 SmallInteger] 14<br>
#8 [85320193 sz:2 cls: 67073 Association] an Association<br>
#9 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#10 [85319937 sz:2 cls: 67073 Association] an Association<br>
#11 [66 sz:0 cls: 74241 SmallInteger] 8<br>
#12 [89705473 sz:2 cls: 67073 Association] an Association<br>
#13 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#14 [90860289 sz:2 cls: 67073 Association] an Association<br>
#15 [98 sz:0 cls: 74241 SmallInteger] 12<br>
#16 [85320449 sz:2 cls: 67073 Association] an Association<br>
#17 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#18 [87043073 sz:2 cls: 67073 Association] an Association<br>
#19 [130 sz:0 cls: 74241 SmallInteger] 16<br>
#20 [86753793 sz:2 cls: 67073 Association] an Association<br>
#21 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#22 [89921793 sz:2 cls: 67073 Association] an Association<br>
#23 [162 sz:0 cls: 74241 SmallInteger] 20<br>
#24 [89933313 sz:2 cls: 67073 Association] an Association<br>
#25 [146 sz:0 cls: 74241 SmallInteger] 18<br>
#26 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#27 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#28 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#29 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#30 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#31 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#32 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#33 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#34 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#35 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
<br>
defaultName [20 sz:0 cls: 76289 UndefinedObject] nil<br>
lastUpdate [20 sz:0 cls: 76289 UndefinedObject] nil<br>
version [2 sz:0 cls: 74241 SmallInteger] 0<br>
<br>
topaz 1> obj @84581377<br>
[84581377 sz:40 cls: 101377 Dictionary] a Dictionary<br>
count [90 sz:0 cls: 74241 SmallInteger] 11<br>
tableSize [58 sz:0 cls: 74241 SmallInteger] 7<br>
emptySlotHint [210 sz:0 cls: 74241 SmallInteger] 26<br>
numEmptySlots [42 sz:0 cls: 74241 SmallInteger] 5<br>
unused [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#1 [92514305 sz:2 cls: 67073 Association] an Association<br>
key [92500993 sz:11 cls: 74753 String] persistence<br>
value [92500737 sz:6 cls: 51895041 WADispatcher] a WADispatcher<br>
<br>
#2 [82 sz:0 cls: 74241 SmallInteger] 10<br>
#3 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#4 [93512961 sz:2 cls: 67073 Association] an Association<br>
key [93507585 sz:8 cls: 74753 String] GemStone<br>
value [93507329 sz:6 cls: 51895041 WADispatcher] a WADispatcher<br>
<br>
#5 [178 sz:0 cls: 74241 SmallInteger] 22<br>
#6 [194 sz:0 cls: 74241 SmallInteger] 24<br>
#7 [114 sz:0 cls: 74241 SmallInteger] 14<br>
#8 [85320193 sz:2 cls: 67073 Association] an Association<br>
key [85722369 sz:14 cls: 74753 String] examplebrowser<br>
value [86754817 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#9 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#10 [85319937 sz:2 cls: 67073 Association] an Association<br>
key [85721857 sz:12 cls: 74753 String] multicounter<br>
value [85721601 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#11 [66 sz:0 cls: 74241 SmallInteger] 8<br>
#12 [89705473 sz:2 cls: 67073 Association] an Association<br>
key [89696001 sz:7 cls: 74753 String] cssdock<br>
value [89695745 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#13 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#14 [90860289 sz:2 cls: 67073 Association] an Association<br>
key [91317761 sz:7 cls: 74753 String] marquee<br>
value [91282945 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#15 [98 sz:0 cls: 74241 SmallInteger] 12<br>
#16 [85320449 sz:2 cls: 67073 Association] an Association<br>
key [85722881 sz:7 cls: 74753 String] counter<br>
value [85722625 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#17 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#18 [87043073 sz:2 cls: 67073 Association] an Association<br>
key [87011329 sz:8 cls: 74753 String] MenuDemo<br>
value [87011073 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#19 [130 sz:0 cls: 74241 SmallInteger] 16<br>
#20 [86753793 sz:2 cls: 67073 Association] an Association<br>
key [86646529 sz:10 cls: 74753 String] treereport<br>
value [86646017 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#21 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#22 [89921793 sz:2 cls: 67073 Association] an Association<br>
key [89916929 sz:16 cls: 74753 String] screenresolution<br>
value [89916673 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#23 [162 sz:0 cls: 74241 SmallInteger] 20<br>
#24 [89933313 sz:2 cls: 67073 Association] an Association<br>
key [89925377 sz:5 cls: 74753 String] store<br>
value [89925121 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
<br>
#25 [146 sz:0 cls: 74241 SmallInteger] 18<br>
#26 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#27 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#28 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#29 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#30 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#31 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#32 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#33 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#34 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
#35 [20 sz:0 cls: 76289 UndefinedObject] nil<br>
<br>
topaz 1> level 1<br>
topaz 1> obj @85722625<br>
[85722625 sz:7 cls: 50808833 WAApplication] a WAApplication<br>
parent [84590337 sz:6 cls: 51895041 WADispatcher] a WADispatcher<br>
name [85722881 sz:7 cls: 74753 String] counter<br>
keysByHandler [85690113 sz:55 cls: 87297 RcKeyValueDictionary] a RcKeyValueDictionary<br>
handlersByKey [85689857 sz:55 cls: 87297 RcKeyValueDictionary] a RcKeyValueDictionary<br>
mutex [85689601 sz:1 cls: 17807105 TransientMutex] a TransientMutex<br>
configuration [85689345 sz:2 cls: 46347777 WAUserConfiguration] a WAUserConfiguration<br>
libraries [20 sz:0 cls: 76289 UndefinedObject] nil<br>
<br>
<br>
<br>
</blockquote></div><br>