Show TOC

Creating after.htm PagesLocate this document in the navigation structure

Context

Once you have created your new BSP Extension with the two new elements, you can use this new extension on a new page in your BSP application.

All elements are defined, and empty standard implementations have been generated by the system for each element. As a result, the elements can be used right away, even if they do not yet generate any output.

Procedure

  1. In the Web Application Builder, use the context menu to copy the existing Page before.htm to the name after.htm.
  2. Change the layout coding:
    <%@page language="abap"%>
    <%@extension name = "HTMLB"
               prefix = "htmlb" %>
    <%@extension name = "BSP_TUTORIAL_COMPLEX"
               prefix = "sf" %>
    <htmlb:content>
      <htmlb:page>
        <htmlb:form>
          <sf:SimpleForm    id  = "sf" >
    
            <sf:SimpleFormItem    id = "name"
                               label = "Name:"
                               value = "<%=name%>" />
    
            <sf:SimpleFormItem    id = "password"
                               label = "Password:"
                               value = "<%=password%>"
                            password = "TRUE" />
    
            <sf:SimpleFormItem    id = "email"
                               label = "Email:"
                               value = "<%=email%>" />
          </sf:SimpleForm>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
                   
  3. Save, activate, and test your BSP application.

Results

Everything runs as usual, although there is no output.

In the next step, you execute Dynamic Processing of BSP Elements.