Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on 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 a 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.