cancel
Showing results for 
Search instead for 
Did you mean: 

3 iViews on 2 column page layout

Former Member
0 Kudos

help!

have to put 3 iViews on portal 6.0 page, but the

3rd iView is a footer on the bottom, supposed to

span the entire page

but with the 2 column layout we have it's width is only

the wide 1st column

what is the way to make this iView span the entire page

will reward points

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member1
Active Participant
0 Kudos

Hi Dennis,

I think instead of these all coding, You can

Crete a page with 2 column, add 2 iviews to that.

Create 1 more page in which you can add 1 iview that is left and the page.

Hope this will be the easiest way to get your problem solved.

Thanx & Regards

Anish

Former Member
0 Kudos

Hi Dennis,

Uma is right, just go and create an own layout.

Here is an additional link that might help:

http://help.sap.com/saphelp_nw04/helpdata/en/d5/1b083e7623445ae10000000a11405a/frameset.htm

Regards, Karsten

Former Member
0 Kudos

Check out this weblog for implementing dynamic layouts,

Former Member
0 Kudos

To all, thanks for the good advice, but i'm still not there, i went to a 2 row, 2 column layout, but it is not working (won't let me put anything in column 2) my question is in the portalapp.xml do i have to put in settings for the 2nd row of columns similiar to this:

<property name="com.sap.portal.reserved.layout.Cont2" value="column2">

<property name="plainDescription" value="Column 2"/>

<property name="orientation" value="vertical"/>

<property name="designClass" value="prtlPageConR"/>

</property>

since all the defaults don't have 2nd rows i don't know if this is right

Former Member
0 Kudos

Hi Dennis...

<b>Here is the Portalapp.xml entry for a complex layout...

3 rows and 2 columns...</b>

<component name="NewTestLayout">

<component-config>

<property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>

<property name="ResourceBundleName" value="pagebuilder_nls"/>

<property name="SecurityZone" value="com.sap.portal/no_safety"/>

</component-config>

<component-profile>

<property name="ComponentType" value="com.sapportals.portal.layout"/>

<property name="com.sap.portal.pcm.Title" value="3 ROWS (2 COLUMNS)"/>

<property name="com.sap.portal.pcm.Description" value="Layout displaying two columns and three rows."/>

<property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>

<property name="com.sap.portal.reserved.layout.TagLibHtmlb" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld "/>

<property name="com.sap.portal.reserved.layout.TemplateFile" value="NewTestLayout.jsp"/>

<property name="AuthScheme" value="anonymous"/>

<property name="com.sap.portal.reserved.layout.Cont1" value="g2row1col1">

<property name="title" value="G2R1C1"/>

<property name="orientation" value="vertical"/>

<property name="designClass" value="prtlPageConL"/>

</property>

<property name="com.sap.portal.reserved.layout.Cont2" value="g2row2col1">

<property name="title" value="G2R2C1"/>

<property name="orientation" value="vertical"/>

<property name="designClass" value="prtlPageConR"/>

</property>

<property name="com.sap.portal.reserved.layout.Cont3" value="g2row2col2">

<property name="title" value="G2R2C2"/>

<property name="orientation" value="vertical"/>

<property name="designClass" value="prtlPageConL"/>

</property>

<property name="com.sap.portal.reserved.layout.Cont4" value="g2row3col1">

<property name="title" value="G2R3C1"/>

<property name="orientation" value="vertical"/>

<property name="designClass" value="prtlPageConR"/>

</property>

<property name="com.sap.portal.reserved.layout.Cont5" value="g2row3col2">

<property name="title" value="G2R3C2"/>

<property name="orientation" value="vertical"/>

<property name="designClass" value="prtlPageConL"/>

</property>

<property name="com.sap.portal.reserved.layout.Cont6" value="g3row1col1">

<property name="title" value="G3R1C1"/>

<property name="orientation" value="vertical"/>

<property name="designClass" value="prtlPageConL"/>

</property>

<property name="com.sap.portal.reserved.layout.Cont7" value="g3row2col1">

<property name="title" value="G3R2C1"/>

<property name="orientation" value="vertical"/>

<property name="designClass" value="prtlPageConL"/>

</property>

<property name="com.sap.portal.reserved.layout.Cont8" value="g3row3col1">

<property name="title" value="G3R3C1"/>

<property name="orientation" value="vertical"/>

<property name="designClass" value="prtlPageConL"/>

</property>

</component-profile>

</component>

<b>Now the trick is with the JSP (NewTestLayout.jsp), how you arrange each of the layout container...</b>

<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibHtmlb" prefix="hbj"%>

<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout" prefix="lyt" %>

<lyt:template>

<hbj:content id="myContext">

<hbj:page title ="Portal Home Page2" >

<hbj:gridLayout id="GridLayout1"

width="100%">

<!--Open Cell1 in Grid1 -->

<hbj:gridLayoutCell rowIndex="1"

columnIndex="1"

width="80%"

verticalAlignment="top"

horizontalAlignment="center"

>

<hbj:gridLayout id="GridLayout2"

width="100%"

>

<hbj:gridLayoutCell id="GridLayoutCell211"

rowIndex="1"

columnIndex="1"

colSpan="2"

verticalAlignment="top"

horizontalAlignment="center"

>

<lyt:container id="g2row1col1"/>

</hbj:gridLayoutCell>

<hbj:gridLayoutCell id="GridLayoutCell221"

rowIndex="2"

columnIndex="1"

colSpan="1"

width="50%"

verticalAlignment="top"

horizontalAlignment="center"

>

<lyt:container id="g2row2col1"/>

</hbj:gridLayoutCell>

<hbj:gridLayoutCell id="GridLayoutCell222"

rowIndex="2"

columnIndex="2"

width="50%"

verticalAlignment="top"

horizontalAlignment="center"

>

<lyt:container id="g2row2col2"/>

</hbj:gridLayoutCell>

<hbj:gridLayoutCell id="GridLayoutCell221"

rowIndex="3"

columnIndex="1"

colSpan="1"

width="50%"

verticalAlignment="top"

horizontalAlignment="center"

>

<lyt:container id="g2row3col1"/>

</hbj:gridLayoutCell>

<hbj:gridLayoutCell id="GridLayoutCell222"

rowIndex="3"

columnIndex="2"

width="50%"

verticalAlignment="top"

horizontalAlignment="center"

>

<lyt:container id="g2row3col2"/>

</hbj:gridLayoutCell>

</hbj:gridLayout> <!--closing GridLayout2 -->

</hbj:gridLayoutCell> <!-- closing Cell1 from GridLayout1 -->

<!--Open Cell2 from grid1 -->

<hbj:gridLayoutCell rowIndex="1"

columnIndex="2"

width="20%"

verticalAlignment="top"

horizontalAlignment="center"

>

<hbj:gridLayout id="GridLayout3"

width="100%"

>

<hbj:gridLayoutCell id="GridLayoutCell311"

rowIndex="1"

columnIndex="1"

width="100%"

verticalAlignment="top"

horizontalAlignment="center"

>

<lyt:container id="g3row1col1"/>

</hbj:gridLayoutCell>

<hbj:gridLayoutCell id="GridLayoutCell321"

rowIndex="2"

columnIndex="1"

width="100%"

verticalAlignment="top"

horizontalAlignment="center"

>

<lyt:container id="g3row2col1"/>

</hbj:gridLayoutCell>

<hbj:gridLayoutCell id="GridLayoutCell331"

rowIndex="3"

columnIndex="1"

width="100%"

verticalAlignment="top"

horizontalAlignment="center"

>

<lyt:container id="g3row3col1"/>

</hbj:gridLayoutCell>

</hbj:gridLayout> <!-- Closing GridLayout3 -->

</hbj:gridLayoutCell> <!-- Closing Cell2 from GridLayout1 -->

</hbj:gridLayout> <!-- Closing GridLayout1 -->

</hbj:page>

</hbj:content>

</lyt:template>

Hope that does not confuse you too much...

Regards,

JP.

Former Member
0 Kudos

Hi Dennis,

In the portal framework -> desktop inner page add the iview which you want to be the footer of the page. Then this iview will be available in al pages. This simplifies your task of adding copyright to each pages.

Regards,

Vinod.

Former Member
0 Kudos

Hi Dennis,

You can create your own layouts with header or footer or watever you need, similar to the default ones. For this edit the com.sap.portal.layouts.default.par file in nwds and rename it. In this you can find jsp files for each of the default layout.Similarly create a new jsp file according to the no. of columns and width u need. You can look into the default jsps and design yours too.

save your changes and deploy the file.

Then in the Portal side create new from par - Layout and choose your component and name it and finally save it as a template.

Now your customised layout will appear in the list of layouts available when you create a page.

Achieveing this is very easy. Incase you have further clarifications Please get bak.

Hope this helps,

Regards,

Uma.