You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Anton Kunze <An...@t-online.de> on 2006/05/16 22:05:59 UTC
How can I mix several layouts?
Hello,
how can I mix several layouts in one page? It would be nice to create a Layout with ThreeColumn at the first row and OneColumn at the second row. The nested-layout example is not suitable, because of the second tab row.
A simple example:
tab | tab | tab | tab | tab
-----------------------------------
| 1 | 2 | 3 |
| 1 |
best regards
Re: How can I mix several layouts?
Posted by Anton Kunze <An...@t-online.de>.
Hello Jacek,
this change has no effect. Do you have a working example?
best regards
----- Original Message -----
From: "Jacek Wiślicki" <ja...@gmail.com>
To: "Jetspeed Users List" <je...@portals.apache.org>
Sent: Wednesday, May 17, 2006 12:56 AM
Subject: Re: How can I mix several layouts?
> Wiadomosc od Anton Kunze z 2006-05-16 23:24 brzmiala:
>
>> if I nest a layout fragment into a other layout-fragment a second header
>> with tab row and logo appears after the first portlet.
>> Here is my example:
> I think that the only thing you should change is:
> <fragment id="dp-12" type="portlet" name="j2-admin::LoginPortlet">
> <property layout="TwoColumns" name="row" value="0"/> <-- HERE
> <property layout="TwoColumns" name="column" value="1"/> <-- HERE
> </fragment>
>
> In fragments with id="poll" and id="dp-12" you have row 0 and 1
> respectively with the same column 0, that's why they are displayed one
> above another. In fact, the row should be the same (0) and only columns
> different (0 and 1).
>
>
> --
> pozdrawiam,
> Jacek Wislicki
>
> jacek.wislicki@gmail.com
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: How can I mix several layouts?
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Anton Kunze z 2006-05-16 23:24 brzmiala:
> if I nest a layout fragment into a other layout-fragment a second header
> with tab row and logo appears after the first portlet.
> Here is my example:
I think that the only thing you should change is:
<fragment id="dp-12" type="portlet" name="j2-admin::LoginPortlet">
<property layout="TwoColumns" name="row" value="0"/> <-- HERE
<property layout="TwoColumns" name="column" value="1"/> <-- HERE
</fragment>
In fragments with id="poll" and id="dp-12" you have row 0 and 1
respectively with the same column 0, that's why they are displayed one
above another. In fact, the row should be the same (0) and only columns
different (0 and 1).
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: How can I mix several layouts?
Posted by Anton Kunze <An...@t-online.de>.
Thank you for the quick response. I will check this tomorrow.
best regards
----- Original Message -----
From: "Philip Mark Donaghy" <ph...@gmail.com>
To: "Jetspeed Users List" <je...@portals.apache.org>
Sent: Wednesday, May 17, 2006 12:40 AM
Subject: Re: How can I mix several layouts?
> Anton, Have you tried using the edit page function. You can use the
> Add button to nest layouts. You will need to start with a 'One Column
> Layout Using Velocity' then Add a 'Three Columns Layout Using Velocity
> and Tables' and then using the same Add button Add a 'One Column
> Layout Using Velocity'. This will give you what you have in your
> example.
>
> Phil
>
> On 5/16/06, Anton Kunze <An...@t-online.de> wrote:
>> Hello Jacek,
>>
>> if I nest a layout fragment into a other layout-fragment a second header
>> with tab row and logo appears after the first portlet.
>> Here is my example:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>> <page>
>>
>> <defaults skin="orange" layout-decorator="tigris"
>> portlet-decorator="blue-gradient" />
>>
>> <title>Startseite</title>
>>
>> <metadata name="title" xml:lang="de">Startseite</metadata>
>>
>> <fragment id="startpage" type="layout"
>> name="jetspeed-layouts::VelocityOneColumn">
>>
>> <fragment id="news" type="portlet" name="wettportal::StartNews">
>>
>> <property layout="OneColumn" name="row" value="0" />
>>
>> <property layout="OneColumn" name="column" value="0" />
>>
>> </fragment>
>>
>> <fragment id="11" type="layout"
>> name="jetspeed-layouts::VelocityTwoColumns">
>>
>> <property layout="OneColumn" name="row" value="1"/>
>>
>>
>> <fragment id="poll" type="portlet" name="wettportal::PollPortlet">
>>
>> <property layout="TwoColumns" name="row" value="0" />
>>
>> <property layout="TwoColumns" name="column" value="0" />
>>
>> </fragment>
>>
>> <fragment id="dp-12" type="portlet" name="j2-admin::LoginPortlet">
>>
>> <property layout="TwoColumns" name="row" value="1" />
>>
>> <property layout="TwoColumns" name="column" value="0" />
>>
>> </fragment>
>>
>> </fragment>
>>
>> </fragment>
>>
>> <security-constraints>
>>
>> <security-constraints-ref>public-view</security-constraints-ref>
>>
>> </security-constraints>
>>
>> </page>
>>
>>
>>
>> ----- Original Message -----
>> From: "Jacek Wiślicki" <ja...@gmail.com>
>> To: "Jetspeed Users List" <je...@portals.apache.org>
>> Sent: Tuesday, May 16, 2006 10:12 PM
>> Subject: Re: How can I mix several layouts?
>>
>>
>> > Wiadomosc od Anton Kunze z 2006-05-16 22:05 brzmiala:
>> >
>> >> how can I mix several layouts in one page? It would be nice to create
>> >> a
>> >> Layout with ThreeColumn at the first row and OneColumn at the second
>> >> row.
>> >> The nested-layout example is not suitable, because of the second tab
>> >> row.
>> > Nest one layout fragment in another (e.g. the root containing also
>> > portlet
>> > fragments) and work with it as with a regular layout fragment.
>> >
>> > --
>> > pozdrawiam,
>> > Jacek Wislicki
>> >
>> > jacek.wislicki@gmail.com
>> > tel.: +48 502 408 444
>> > gg: 2540358
>> > skype: jacek_wislicki
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>
>
> --
> Philip Donaghy
> donaghy.blogspot.com del.icio.us/donaghy/philip
> Skype: philipmarkdonaghy
> Office: +33 5 56 60 88 02
> Mobile: +33 6 20 83 22 62
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: How can I mix several layouts?
Posted by Anton Kunze <An...@t-online.de>.
Thank you for the quick reply, I will check this tomorrow.
Anton
----- Original Message -----
From: "Jacek Wiślicki" <ja...@gmail.com>
To: "Jetspeed Users List" <je...@portals.apache.org>
Sent: Wednesday, May 17, 2006 11:44 PM
Subject: Re: How can I mix several layouts?
> Wiadomosc od Anton Kunze z 2006-05-17 23:30 brzmiala:
>
>> Jetspeed 2 multi-db-installer with mysql, downloaded last week.
> I'm affraid that the error still holds in this version. It is fixed in
> 2.1-dev: http://issues.apache.org/jira/browse/JS2-468
>
> --
> pozdrawiam,
> Jacek Wislicki
>
> jacek.wislicki@gmail.com
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: How can I mix several layouts?
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Anton Kunze z 2006-05-17 23:30 brzmiala:
> Jetspeed 2 multi-db-installer with mysql, downloaded last week.
I'm affraid that the error still holds in this version. It is fixed in
2.1-dev: http://issues.apache.org/jira/browse/JS2-468
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: How can I mix several layouts?
Posted by Anton Kunze <An...@t-online.de>.
Jetspeed 2 multi-db-installer with mysql, downloaded last week.
----- Original Message -----
From: "Jacek Wiślicki" <ja...@gmail.com>
To: "Jetspeed Users List" <je...@portals.apache.org>
Sent: Wednesday, May 17, 2006 11:03 PM
Subject: Re: How can I mix several layouts?
> Wiadomosc od Anton Kunze z 2006-05-17 22:43 brzmiala:
>
>> can you explain that in more detail? I cannot create a nested layout in
>> edit mode.
> What Jetspeed version are you using? There used to be some error with this
> feature some time ago, AFAIK.
>
> --
> pozdrawiam,
> Jacek Wislicki
>
> jacek.wislicki@gmail.com
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: How can I mix several layouts?
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Anton Kunze z 2006-05-17 22:43 brzmiala:
> can you explain that in more detail? I cannot create a nested layout in
> edit mode.
What Jetspeed version are you using? There used to be some error with
this feature some time ago, AFAIK.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: How can I mix several layouts?
Posted by Anton Kunze <An...@t-online.de>.
Hello Phil,
can you explain that in more detail? I cannot create a nested layout in edit
mode.
best regards
----- Original Message -----
From: "Philip Mark Donaghy" <ph...@gmail.com>
To: "Jetspeed Users List" <je...@portals.apache.org>
Sent: Wednesday, May 17, 2006 12:40 AM
Subject: Re: How can I mix several layouts?
> Anton, Have you tried using the edit page function. You can use the
> Add button to nest layouts. You will need to start with a 'One Column
> Layout Using Velocity' then Add a 'Three Columns Layout Using Velocity
> and Tables' and then using the same Add button Add a 'One Column
> Layout Using Velocity'. This will give you what you have in your
> example.
>
> Phil
>
> On 5/16/06, Anton Kunze <An...@t-online.de> wrote:
>> Hello Jacek,
>>
>> if I nest a layout fragment into a other layout-fragment a second header
>> with tab row and logo appears after the first portlet.
>> Here is my example:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>> <page>
>>
>> <defaults skin="orange" layout-decorator="tigris"
>> portlet-decorator="blue-gradient" />
>>
>> <title>Startseite</title>
>>
>> <metadata name="title" xml:lang="de">Startseite</metadata>
>>
>> <fragment id="startpage" type="layout"
>> name="jetspeed-layouts::VelocityOneColumn">
>>
>> <fragment id="news" type="portlet" name="wettportal::StartNews">
>>
>> <property layout="OneColumn" name="row" value="0" />
>>
>> <property layout="OneColumn" name="column" value="0" />
>>
>> </fragment>
>>
>> <fragment id="11" type="layout"
>> name="jetspeed-layouts::VelocityTwoColumns">
>>
>> <property layout="OneColumn" name="row" value="1"/>
>>
>>
>> <fragment id="poll" type="portlet" name="wettportal::PollPortlet">
>>
>> <property layout="TwoColumns" name="row" value="0" />
>>
>> <property layout="TwoColumns" name="column" value="0" />
>>
>> </fragment>
>>
>> <fragment id="dp-12" type="portlet" name="j2-admin::LoginPortlet">
>>
>> <property layout="TwoColumns" name="row" value="1" />
>>
>> <property layout="TwoColumns" name="column" value="0" />
>>
>> </fragment>
>>
>> </fragment>
>>
>> </fragment>
>>
>> <security-constraints>
>>
>> <security-constraints-ref>public-view</security-constraints-ref>
>>
>> </security-constraints>
>>
>> </page>
>>
>>
>>
>> ----- Original Message -----
>> From: "Jacek Wiślicki" <ja...@gmail.com>
>> To: "Jetspeed Users List" <je...@portals.apache.org>
>> Sent: Tuesday, May 16, 2006 10:12 PM
>> Subject: Re: How can I mix several layouts?
>>
>>
>> > Wiadomosc od Anton Kunze z 2006-05-16 22:05 brzmiala:
>> >
>> >> how can I mix several layouts in one page? It would be nice to create
>> >> a
>> >> Layout with ThreeColumn at the first row and OneColumn at the second
>> >> row.
>> >> The nested-layout example is not suitable, because of the second tab
>> >> row.
>> > Nest one layout fragment in another (e.g. the root containing also
>> > portlet
>> > fragments) and work with it as with a regular layout fragment.
>> >
>> > --
>> > pozdrawiam,
>> > Jacek Wislicki
>> >
>> > jacek.wislicki@gmail.com
>> > tel.: +48 502 408 444
>> > gg: 2540358
>> > skype: jacek_wislicki
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>
>
> --
> Philip Donaghy
> donaghy.blogspot.com del.icio.us/donaghy/philip
> Skype: philipmarkdonaghy
> Office: +33 5 56 60 88 02
> Mobile: +33 6 20 83 22 62
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: How can I mix several layouts?
Posted by Philip Mark Donaghy <ph...@gmail.com>.
Anton, Have you tried using the edit page function. You can use the
Add button to nest layouts. You will need to start with a 'One Column
Layout Using Velocity' then Add a 'Three Columns Layout Using Velocity
and Tables' and then using the same Add button Add a 'One Column
Layout Using Velocity'. This will give you what you have in your
example.
Phil
On 5/16/06, Anton Kunze <An...@t-online.de> wrote:
> Hello Jacek,
>
> if I nest a layout fragment into a other layout-fragment a second header
> with tab row and logo appears after the first portlet.
> Here is my example:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <page>
>
> <defaults skin="orange" layout-decorator="tigris"
> portlet-decorator="blue-gradient" />
>
> <title>Startseite</title>
>
> <metadata name="title" xml:lang="de">Startseite</metadata>
>
> <fragment id="startpage" type="layout"
> name="jetspeed-layouts::VelocityOneColumn">
>
> <fragment id="news" type="portlet" name="wettportal::StartNews">
>
> <property layout="OneColumn" name="row" value="0" />
>
> <property layout="OneColumn" name="column" value="0" />
>
> </fragment>
>
> <fragment id="11" type="layout" name="jetspeed-layouts::VelocityTwoColumns">
>
> <property layout="OneColumn" name="row" value="1"/>
>
>
> <fragment id="poll" type="portlet" name="wettportal::PollPortlet">
>
> <property layout="TwoColumns" name="row" value="0" />
>
> <property layout="TwoColumns" name="column" value="0" />
>
> </fragment>
>
> <fragment id="dp-12" type="portlet" name="j2-admin::LoginPortlet">
>
> <property layout="TwoColumns" name="row" value="1" />
>
> <property layout="TwoColumns" name="column" value="0" />
>
> </fragment>
>
> </fragment>
>
> </fragment>
>
> <security-constraints>
>
> <security-constraints-ref>public-view</security-constraints-ref>
>
> </security-constraints>
>
> </page>
>
>
>
> ----- Original Message -----
> From: "Jacek Wiślicki" <ja...@gmail.com>
> To: "Jetspeed Users List" <je...@portals.apache.org>
> Sent: Tuesday, May 16, 2006 10:12 PM
> Subject: Re: How can I mix several layouts?
>
>
> > Wiadomosc od Anton Kunze z 2006-05-16 22:05 brzmiala:
> >
> >> how can I mix several layouts in one page? It would be nice to create a
> >> Layout with ThreeColumn at the first row and OneColumn at the second row.
> >> The nested-layout example is not suitable, because of the second tab row.
> > Nest one layout fragment in another (e.g. the root containing also portlet
> > fragments) and work with it as with a regular layout fragment.
> >
> > --
> > pozdrawiam,
> > Jacek Wislicki
> >
> > jacek.wislicki@gmail.com
> > tel.: +48 502 408 444
> > gg: 2540358
> > skype: jacek_wislicki
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
--
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62
Re: How can I mix several layouts?
Posted by Anton Kunze <An...@t-online.de>.
Hello Jacek,
if I nest a layout fragment into a other layout-fragment a second header
with tab row and logo appears after the first portlet.
Here is my example:
<?xml version="1.0" encoding="UTF-8"?>
<page>
<defaults skin="orange" layout-decorator="tigris"
portlet-decorator="blue-gradient" />
<title>Startseite</title>
<metadata name="title" xml:lang="de">Startseite</metadata>
<fragment id="startpage" type="layout"
name="jetspeed-layouts::VelocityOneColumn">
<fragment id="news" type="portlet" name="wettportal::StartNews">
<property layout="OneColumn" name="row" value="0" />
<property layout="OneColumn" name="column" value="0" />
</fragment>
<fragment id="11" type="layout" name="jetspeed-layouts::VelocityTwoColumns">
<property layout="OneColumn" name="row" value="1"/>
<fragment id="poll" type="portlet" name="wettportal::PollPortlet">
<property layout="TwoColumns" name="row" value="0" />
<property layout="TwoColumns" name="column" value="0" />
</fragment>
<fragment id="dp-12" type="portlet" name="j2-admin::LoginPortlet">
<property layout="TwoColumns" name="row" value="1" />
<property layout="TwoColumns" name="column" value="0" />
</fragment>
</fragment>
</fragment>
<security-constraints>
<security-constraints-ref>public-view</security-constraints-ref>
</security-constraints>
</page>
----- Original Message -----
From: "Jacek Wiślicki" <ja...@gmail.com>
To: "Jetspeed Users List" <je...@portals.apache.org>
Sent: Tuesday, May 16, 2006 10:12 PM
Subject: Re: How can I mix several layouts?
> Wiadomosc od Anton Kunze z 2006-05-16 22:05 brzmiala:
>
>> how can I mix several layouts in one page? It would be nice to create a
>> Layout with ThreeColumn at the first row and OneColumn at the second row.
>> The nested-layout example is not suitable, because of the second tab row.
> Nest one layout fragment in another (e.g. the root containing also portlet
> fragments) and work with it as with a regular layout fragment.
>
> --
> pozdrawiam,
> Jacek Wislicki
>
> jacek.wislicki@gmail.com
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: How can I mix several layouts?
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Anton Kunze z 2006-05-16 22:05 brzmiala:
> how can I mix several layouts in one page? It would be nice to create a Layout with ThreeColumn at the first row and OneColumn at the second row. The nested-layout example is not suitable, because of the second tab row.
Nest one layout fragment in another (e.g. the root containing also
portlet fragments) and work with it as with a regular layout fragment.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org