[Seaside] [Q] two questions...

Adrian Lienhard adi at netstyle.ch
Sat Mar 29 12:06:49 CET 2003


Thanks Avi

> > - I'd like to open a popup window which displays a component. How can I
do
> > this (not the javascript part)? WASession>>urlForDocument: seems to be
> > something like I look for. But it doesn't work with a component as the
> > argument.
>
> No, that's for static content, ie, a String or a Form or
> something.  What you need to do is add a method like this to HtmlRenderer:
>
> urlForAction: aBlock
>   ^ actionUrl, '?', (callbacks registerActionCallback: aBlock)

This is exactly what I was looking for.

> > - I should have more than one entrypoint for an application. For each
> > entrypoint (there are several different domain names) there should be a
> > seperate component rendered. With Apache I could e.g. map to different
paths
> > (such as: ...:8080/seaside/app/domain1/ ...app/domain2/ etc). Section
keys
> > seem to go into this direction but don't solve the problem. How could
this
> > be done?
>
> Why do this rather than map to :8080/seaside/domain1/  .../domain2/ etc?
> That is, why do they all need to be in the same application?

Yes of corse, I didn't thought about this. I can just create multiple
applications with individual entrypoints.

Thanks
Adrian



More information about the Seaside mailing list