Oscar Westra van Holthe - Kind wrote:
> Hi Nikolaos,
>
> What I see in short, is this:
>
> 1. forwards are to design_site.jsp
> 2. design_site.jsp renders layout 3c.jsp
>    (with the components col_center, col_left and col_right replaced)
> 3. 3c.jsp defines a layout, which renders layout html_template.jsp
>    (with the component block_body replaced)
> 4. html_template.jsp does not define a template, but only contains a
>    component.
>   
You pretty much captured it exactly "except" for a minor correction in 
step 4.:
4. html_template.jsp "defines a layout"... and contains a component.

> Is this correct? If so, enclose the entire HTML template in a
> s:layout-definition tag and behold the result.
>
>   
Sorry. But isn't html_template.jsp already enclosed in a layout 
definition tag (as per the example). Or am I missing something when you
say to wrap the entire HTML template in a layout definition tag? 
Apologies if I am misunderstanding.

BTW I should also clarify that I am indeed getting the following result 
- not a blank block_body - as originally posted (updated JSP had not 
recompiled):

< ... >
<div id="body">
<div id="enclose0">
<div id="col3Center0">

</div>
<div id="col3Left0">

</div>
</div>
<div id="col3Right0">

</div>
</div>
< ... >

So it appears the components in step 2. are not getting injected. Could 
this be because I have 3 layout components nested inside a layout
component? i.e. I tried using ${ } for the inner components but it 
didn't help.

Looking forward to additional advice and beholding the result.... 
truly... sincerely... :-)

Thanks,

--Nikolaos
> Oscar
>
>   


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to