I use subcontrollers pretty often in my application.
I usually pass parameters to my subcontrollers like this:
<bsp:call url = "blabla.do" comp_id = "id1">
<bsp:parameter name = "my_attribute" value = "<%= lv_bla %>" />
</bsp:call>
By this, the public attribute "my_attribute" of the controller class of blabla.do is set to the value of lv_bla. This works perfectly.
However, what if there is no such an attribute in the controller class or if I rename the attribute. Of course, the syntax checker would not recognize this.
I was thinking of adding a dummy-statement to the bsp:call that would detect the syntax error
<% IF controller->my_attribute IS INITIAL.ENDIF.%>
However, obviously, my_attribute is not in the controller, but in the subcontroller class. Can I also access the subcontroller? Or are there other ways to check if my_attribute exists in the subcontroller class?