Mixing static html and seaside components

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

Mixing static html and seaside components

NorbertHartl
Hi,

what do you think is the best way to mix static html and
seaside components? I have a relatively complex start page
from a webdesigner. I want to put a login form into that
page. I don't like to rebuild the page with seaside canvas.
The only idea I have is to cut the page into several parts
and output the raw html via canvas html:

Is there any thing more clever?

thanks,

Norbert

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Mixing static html and seaside components

Lukas Renggli
> Is there any thing more clever?

Ugly but it works: IFRAME.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Mixing static html and seaside components

NorbertHartl
On Thu, 2007-05-03 at 12:22 +0200, Lukas Renggli wrote:
> > Is there any thing more clever?
>
> Ugly but it works: IFRAME.
>
The designer got unconscious :) I think I'll do a parser which
loads the page and embeds the component. I doubt I missed the
exit from the 90's :)

thanks,

Norbert

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Mixing static html and seaside components

NorbertHartl
In reply to this post by Lukas Renggli
On Thu, 2007-05-03 at 12:22 +0200, Lukas Renggli wrote:
> > Is there any thing more clever?
>
> Ugly but it works: IFRAME.
>
Oh, I have another idea. I could create a separate entry point
for the application. So the form on the start page could stay
static and the application has to deal with the parameters.

I tested entry points. The only thing I don't know is how
I get back into the application. I mean I write an entry
point which recognizes two parameters user and pass. I
could do the login in this entry point. But how do I get back
to my application. I think each entry point has to have its
own context path. So having /myapp for the application and
/login for the login would stick me to the /login context
path. How do I route this to my application?

thanks in advance,

Norbert

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Mixing static html and seaside components

John Thornborrow
In reply to this post by NorbertHartl
Norbert Hartl wrote:

> Hi,
>
> what do you think is the best way to mix static html and
> seaside components? I have a relatively complex start page
> from a webdesigner. I want to put a login form into that
> page. I don't like to rebuild the page with seaside canvas.
> The only idea I have is to cut the page into several parts
> and output the raw html via canvas html:
>
> Is there any thing more clever?
>
> thanks,
>
> Norbert
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>  
>
>  
If you have been given the content in (X)HTML files, you could stream
them from disk.

John
www.pinesoft.co.uk


Pinesoft Computers are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA



This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Mixing static html and seaside components

NorbertHartl
On Thu, 2007-05-03 at 12:23 +0100, John Thornborrow wrote:

> Norbert Hartl wrote:
> > Hi,
> >
> > what do you think is the best way to mix static html and
> > seaside components? I have a relatively complex start page
> > from a webdesigner. I want to put a login form into that
> > page. I don't like to rebuild the page with seaside canvas.
> > The only idea I have is to cut the page into several parts
> > and output the raw html via canvas html:
> >
> > Is there any thing more clever?
> >
> > thanks,
> >
> > Norbert
> >
> > _______________________________________________
> > Seaside mailing list
> > [hidden email]
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> >
> >  
> >
> >  
> If you have been given the content in (X)HTML files, you could stream
> them from disk.
>
I have to embed a component into it. I just wanted to know if there
is anything helping with such a task.

Norbert

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Mixing static html and seaside components

NorbertHartl
In reply to this post by NorbertHartl
On Thu, 2007-05-03 at 12:59 +0200, Norbert Hartl wrote:

> On Thu, 2007-05-03 at 12:22 +0200, Lukas Renggli wrote:
> > > Is there any thing more clever?
> >
> > Ugly but it works: IFRAME.
> >
> Oh, I have another idea. I could create a separate entry point
> for the application. So the form on the start page could stay
> static and the application has to deal with the parameters.
>
> I tested entry points. The only thing I don't know is how
> I get back into the application. I mean I write an entry
> point which recognizes two parameters user and pass. I
> could do the login in this entry point. But how do I get back
> to my application. I think each entry point has to have its
> own context path. So having /myapp for the application and
> /login for the login would stick me to the /login context
> path. How do I route this to my application?
>
Ok, I got it. There is an actual thread about it. I read it
just after writing this message.

Sorry,

Norbert

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