Creating Files in the SAP NetWeaver Developer Studio
Use
To define a new page layout for the Web Page Composer, you create two files in a project in the SAP NetWeaver Developer Studio. You describe the page layout in a JSP file.
Procedure
1.Create a Project in the SAP NetWeaver Developer Studio
-
Start the SAP NetWeaver Developer Studio.
-
Create a new project of the type Portal Application for storing your new files.
2.Describe the Page Layout in a JSP File
There are the following ways of describing a page layout:
-
Using HTML tables
The table cells contain container tags into which you later add content in the page editor.
-
Using CSS-based layouts
For example, the JSP tabs for the container iViews are in blocks that are generated by <div> elements.
-
Create a JSP file in your project.
-
Describe the page layout and its areas (containers) using <div> or <table> definitions that are based on the HTML specification.
For additional examples of JSP files that describe page layouts with HTML tables, see Examples of JSP Files with Different Page Layouts .
3.Create a portalapp.xml File
The portalapp.xml file is the deployment descriptor for portal applications. The file describes the components (containers) and properties of the page layout.
-
Create a portalapp.xml file in the project.
-
Use this file to define properties for all of the containers that you use in the new layout. The names of the areas (containers) from the JSP file must match the values of the properties from the portalapp.xml file.
For an example of the portalapp.xml file that you can use for the previously mentioned JSP examples, see Example: portalapp.xml .
4.Export the Project and Upload it to the Portal
-
Export the project and two files as a PAR file.
-
Upload the PAR file to your portal.In the portal, choose .Select the file in the input field beneath Upload Archive and then choose Upload.
Result
You have created the required files in the SAP NetWeaver Developer Studio and uploaded the PAR file to the portal.
Now carry out the procedure described in Carrying Out Configuration in the Portal Content Studio .

