Hi Michael,

I built jetspeed from 2.0.1 again and nested layouts work fine.

http://portals.apache.org/jetspeed-2/source-code.html

Click on View SVN and then Branches

Hope that helps...

Elif

On 10/2/06, Stephen Greenlee <[EMAIL PROTECTED]> wrote:
Michael,

If I remember correctly, the repeated page header with nested layouts
was a bug in 2.0 that is fixed in 2.1 dev. If you really require
nested layouts you will either have to patch 2.0 or move on to dev. I
understand your concern about using dev code for a production release.
Only you can determine whether that solution is suitable.

Stephen

On 10/2/06, Michael Kearns <[EMAIL PROTECTED]> wrote:
> Thanks for the reply Rick.
>
> I've tried nesting layouts, but I encounter the same problem that Elif
> has been having, and the page header is repeated for every
> layout that is added. It also has a 'theme' drop-down selector for every
> layout as well.
>
> I'm not sure why it looks different to your example, but something is
> going wrong. Perhaps your custom theme works around this problem, ot
> you're using a later release ? I'm using the 2.0 release version (with
> the 2.1 security JAR for LDAP support) if that's any help, but I'd
> rather not have to move everything to 2.1 until it's released, as this
> needs to be stable for deployment.
>
> I also have the problem that the 'add portlet' functionality on the page
> edit, doesn't list any portlets. I don't tend to worry about this, as I
> am hand-editing the .psml files for a specific structure, but it does
> suggest that perhaps the 2.0 release was somewhat lacking. I tried the
> 2.1 dev version briefly a while back that fixed the 'add portlet'
> problem, but I wasn't aware of the nesting at that point, and so didn't
> attempt it. Again, I'm hesitant to spend development time looking at 2.1
> to solve this, as I can't really take an unreleased hanging source base
> for production development.
>
> Michael.
>
> Rick Mortensen wrote:
>
> >Simply add a velocity 2 column layout and a velocity 1 column layout right
> >below it.  I have attached a small jpeg showing what this would look like.
> >Than add portlets to each layout.  That's it.
> >
> >Rick Mortensen
> >
> >
> >On 9/29/06 6:19 AM, "Michael Kearns" <[EMAIL PROTECTED]>
> >wrote:
> >
> >
> >
> >>Hi,
> >>
> >>I'm need to have a page where there are two columns each with a portlet
> >>inside, and then another portlet beneath them that spans both columns.
> >>For example:
> >>
> >>## ##
> >>## ##
> >>
> >>#####
> >>#####
> >>
> >>I can't seem to find a straightforward way to achieve this, and looking
> >>into the layout portlets and templates just gets me even more confused !
> >>
> >>Is there any way to achieve this in a straightforward fashion ?
> >>
> >>As a future enhancement, a really great layout addition would be
> >>specifying the layout by writing a simple Velocity template that defines
> >>the html (or a fragment thereof) of the page, with references to each
> >>portlet-id where the portlet should be rendered, such as:
> >>
> >><table>
> >>    <tr><td>${dp-1}</td><td>${dp-2}</td></tr>
> >>    <tr><td>${dp-3}</td></tr>
> >></table>
> >>
> >>This would allow our webdesign team to much more easily layout the pages
> >>with no knowledge of jetspeed required. I'd write a layout to handle
> >>this, but I can't get my head around how the layout portlet works.
> >>
> >>Michael.
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Stephen Greenlee
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to