[Seaside] Re: Re: How do you show the application in the Web
cbeler at enit.fr
Fri Apr 13 12:07:13 UTC 2007
> Hmm... You didn't understand me and I didn't explain well neither.
> For example, in the Visual Works I build a simple "Hello world"
> application, but I don't want to show it in a dialog box, even though,
> I want to show it in the Web browser like I can display
> and more, so what have I to do to get it?
you want to make a new entrey point for your app ?
so as to have
1 - override canBeRoot
YourComponentClass class >> canBeRoot ^true
in the class side of your app (I think you did it), so it appear in the
drop-down of root component when you create a new entry point from
2 in the class side initialization of your component, add somethink like
YourComponentClass class >> initialize
self registerAsApplication: 'yourAppName'
but be careful, this method is only executed when you create the class.
If already created, you should execute it manually.
YourComponentClass initialize in a workspace
More information about the Seaside