Skip to Content
author's profile photo Former Member
Former Member

text appearance

Hi,

I need to display on a page some text information using a red and bold font.

My solution would be

     <crmic:gridLayoutCell columnIndex = "1"
                            rowIndex    = "4"
                            colSpan     = "1" >
        <crmic:label design = "label"
                     for    = "//"
                     text   = "Message"></crmic:label>
      </crmic:gridLayoutCell>
      <crmic:gridLayoutCell columnIndex = "2"
                            rowIndex    = "4"
                            colSpan     = "3">
                     <htmlb:textView id = "msg"
                              design = "EMPHASIZED"
                              textColor = "RED"
                              text =" <%= controller->MSG %>” />
        </crmic:gridLayoutCell>

For this I had to declare

<%@extension name="HTMLB" prefix="htmlb" %>

In addition to

<%@extension name="CRM_BSP_IC" prefix="crmic" %>

1. Could I achieve the same using the CRM_BSP_IC extension only ? Would it be simpler ?

2. Could there be any performance impact because I am using hmlb as well ?

I mean this extension is needed only for 1 element (shown above) on the page.

I assume not but just to be sure.

Thanks,

Mihai

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 04:24 AM

    You can create a OTR text and it can used in HTMLB tab. It wont be any performance issue if use HTML tags.

    Regards,

    Ramki.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 04, 2007 at 06:47 AM

    for red bold text you can use the following code.

    <htmlb:textView     text          = "<b><font color='#FF0000'><%= controller->MSG %></font></b>"
                              design        = "EMPHASIZED" />

    Add a comment
    10|10000 characters needed characters exceeded

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.