Rendering content...

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

Rendering content...

Tony Giaccone-2


Most of my information about how to use Seaside has come from the  
Hasso Plattner Institut.  The examples of how to render components is  
fairly limited.



html div
        class: 'menu';
        with: self menuComponent.


This wraps the menuComponent with a div that has class 'menu'.

My question is what if you just wanted to render the menuComponent and  
not wrap it in a div?

Suppose I have two components.  TopOfPage and a second component  
BottomOfPage.

How do I get the page to render just these two components?



Tony

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

Re: Rendering content...

Peter Osburg-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Tony,

Just use

html render: self menuComponent

- - Peter

Tony Giaccone schrieb:

>
>
> Most of my information about how to use Seaside has come from the
> Hasso Plattner Institut.  The examples of how to render components
> is fairly limited.
>
>
>
> html div
>     class: 'menu';
>     with: self menuComponent.
>
>
> This wraps the menuComponent with a div that has class 'menu'.
>
> My question is what if you just wanted to render the menuComponent
> and not wrap it in a div?
>
> Suppose I have two components.  TopOfPage and a second component
> BottomOfPage.
>
> How do I get the page to render just these two components?
>
>
>
> Tony
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iEYEARECAAYFAkktY3cACgkQ0qdvZsCNFKE+4wCeJzeyw8BqzYj4lSxATyTt4L24
TNEAn1y+JW+XxtRLakra0+jX8EvHdgUC
=jd3J
-----END PGP SIGNATURE-----

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