on 02-09-2006 10:06 AM
Hi All,
this is my Code...
==============
<%@page language = "ABAP"%>
<%@extension name = "HTMLB"
prefix = "HTMLB"%>
<%@extension name = "XHTMLB"
prefix = "XHTMLB"%>
<HTMLB:content design = "DESIGN2003"
forceEncode = "ENABLED"
controlRendering = "SAP">
<HTMLB:document>
<HTMLB:documentHead/>
<HTMLB:documentBody>
<HTMLB:form id = "Test">
<XHTMLB:tabStrip id = "Test"
brandingNotchVisible= "FALSE">
<XHTMLB:tabStripItem
title = "ICON_LED_GREEN = @5B@"
name = "Strip1">
Test<br>Test<br>Test
</XHTMLB:tabStripItem>
<XHTMLB:tabStripItem
title = "ICON_LED_RED = @5C@"
name = "Strip2">
Test<br>Test<br>Test
</XHTMLB:tabStripItem>
<XHTMLB:tabStripItem
title = "ICON_LED_YELLOW = @5D@"
name = "Strip3">
Test<br>Test<br>Test
</XHTMLB:tabStripItem>
</XHTMLB:tabStrip>
<HTMLB:image src = "ICON_LED_GREEN"/>
<HTMLB:image src = "ICON_LED_RED"/>
<HTMLB:image src = "ICON_LED_YELLOW"/>
</HTMLB:form>
</HTMLB:documentBody>
</HTMLB:document>
</HTMLB:content>
...and this is my Question:
====================
Is it possible - show the real Icon in the tapStripItem-title
Regards
RoBu di AQu
Is there no solution for my problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Thomas,
thanks for your response.
Now I create the IMAGE_STRING.
only <%=IMAGE_STRING%> shows me the Icon "CECKED" correct
but
<XHTMLB:toolbarButton
id = "UserSelectionCancel"
onClientClick = "closeiframe();"
text = "<%=IMAGE_STRING%>"/>
or
<HTMLB:button id = "UserSelectionCancel"
encode = "FALSE"
text = "<%=IMAGE_STRING%>"/>
or
<HTMLB:link id = "Test1"
onClick = "request"
text = "<%=IMAGE_STRING%>"/>
give me this back:
<img class="urImg urV" src="/sap/public/bsp/sap/public/bc/icons/s_S_OKAY.gif" id="htmlb_image_1" ct="Image" border="0">
Any Help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know if this definetely works with tabstrips items but it does work with buttons and toolbar buttons. What I do is create a BEE and render that to a string. I then use that string as the text of the element I want to place my image into:
<%
data image type ref to cl_htmlb_image.
data: image_string type string.
create object image.
image->id = `UserSelectionCancel2`.
image->src = cl_bsp_mimes=>sap_icon( `ICON_CHECKED` ).
image->tooltip = ``.
clear image_string.
image_string = image->IF_BSP_BEE~RENDER_TO_STRING( page_context ).
%>
<xhtmlb:toolbarButton id = "UserSelectionCancel"
onClientClick = "closeiframe();"
enabled = "<%= enabled %>"
text = "<%= image_string %>" />
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.