cancel
Showing results for 
Search instead for 
Did you mean: 

what is thewrong in this HTMLB

Former Member
0 Kudos

Hello All,

Could any one tell me what is the wrong in this code.

<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
  <htmlb:page title=" Welcome to our online booking catalog " >
    <htmlb:form method="POST" >
      last name
      <htmlb:textView text   = "Hello World!"
                      design = "EMPHASIZED" />
      <htmlb:inputField type  = "STRING"
                        value = "X"
                        id    = "authorlname" />
      <htmlb:inputField type  = "STRING"
                        value = "X"
                        id    = "authorfname" />
      <htmlb:inputField type  = "STRING"
                        value = "books by the selected author"
                        id    = "onInputProcessing(select)" />
    </htmlb:form>
  </htmlb:page>
</htmlb:content>

The error it is giving as cl_htmlb_inputfield ended unexpectedly.

Regards,

Lisa.

Accepted Solutions (1)

Accepted Solutions (1)

rainer_liebisch
Contributor
0 Kudos

Hi Lisa,

remove the braces in the id of your last input field. The htmlb elements will be converted in pure HTML code and the braces are misleading here.

Regards,

Rainer

Answers (0)