Skip to Content
0
Former Member
Dec 14, 2011 at 04:30 PM

chtmlb displayMode

128 Views

Hi,

I'm trying to display a button only if the fields are not in display only mode. Currently I have the following code:

<chtmlb:config displayMode = "<%= controller->view_group_context->is_view_in_display_mode( controller ). %>"

mode = "RUNTIME" />

<%@extension name="/QAS/V6BPL_BSP_EXT" prefix="QAS" %>

<%

if displayMode = 'INITIAL'.

%>

<QAS:button_thtmlb applicationName = "<%= controller->application_name %>"

applicationNamespace = "<%= controller->application_namespace %>"

componentId = "<%= controller->component_id %>"

controllerName = "<%= controller->controller_name %>"

text = 'Search B2B' />

<%

endif.

%>

I am getting the error DisplayMode is not known.

Appreciate your help.