Skip to Content
author's profile photo
Former Member

MVC: comboBox/dropDownListBox in Page Fragment

Hi guys!

I've got the following setup:

Controller: MAIN (DO_INIT redefined to load the values for the user and a menu into a table)

Controller: PAGE (Superclass: MAIN)

View: Calls PAGE if I debug my values are there and in place and my user data is there.

Fragment: Header loaded with "inlcude" in PAGE without the comboBox or dropdownListBox it works and my user data is there, with it and my Application blows up with a short dump

The exception 'CX_BSP_ELEMENT_EXCEPTION' was raised but was not caught at any stage in the call hierarchy.

The reason for this exception is:

phtmlb:comboBox: Klasse CL_HTMLB_FORM wurde nicht gefunden als BSP-Parent-Element.

Anyone got an idea what I'm missing here?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 07, 2004 at 07:49 AM

    hi craig,

    that's the error if you either missed out on the enclosing htmlb:form tag, or maybe because of the include not being called within opening and closing form tag

    just have a look at the order in which these elements/tags are used:

    *) <htmlb:form>

    *) </htmlb:form>

    *) include of your fragment (which contains the comboBox)

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I fix the problem.

      I got use <htmlb:content id="content" design="classicdesign2002design2003" instead of <htmlb:content design = "<%= htmlbDesign %>".

      Apparently, I got use design2002 or design2003 to support or work with phtml.

      Thanks any way