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

Compilation error in htmlb label


I am trying to place a label on a BSP page. It gives a compilation error saying "<HTMLB:label>:(Attribute=labeltype) The attribute does not exists. (Compile time validation error)."

Following is the code i am using.



<htmlb:tray id="TRAY1" >


<htmlb:label id = "LBL1"

for = "F1"

text = "Field 1"

labelType = "MEDIUM" />

<htmlb:inputField id = "F1"

type = "STRING"

onValueHelp = "onHelp" />

<htmlb:button id = "OK"

design = "STANDARD"

text = "OK"

width = "100" />





Can anybody tell me why i am getting this error.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2004 at 05:03 PM

    Hello Komal-

    I do not know of any attribute called 'LabelType' in the HTML tag library.

    What is your purpose for using this LabelType attribute? Perhaps it can be accomplished by one of the other valid and accepted attributes of the <HTMLB:Label> control. If not, maybe you can devise a work around by some nifty scripting and creative coding. 😊

    I am attaching a list of the attributes for the label control. I have used this control extensively in the past and I do not know of any other attributes that are supported by it.

    Hope this helps,

    - Vik.

    <HTMLB:Label> Attributes ->









    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Brian McKellar


      thanks for all the help. i have now found the solution. yes i could have found it earlier if i had examined OSS note 616900 more carefully. i think i was looking for labels and missed that. anyway thanks to you all.


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.