Skip to Content
0
Former Member
Jun 07, 2005 at 04:37 PM

Pls help! HTMLB content styling...

19 Views

Hi, question looks long but it's b/c I included some code fragments. From myunderstanding, iView certification requires branding and that means the use of the HTMLB tag library. I have a few questions on the content styling, I will use an html button as an example:

<b>1.)</b> Can I customize my own buttons inside the HTMLB tags or am I restricted only to the properties available in the HTMLB tag. For example, in the HTMLB button tag, can I try to do something like this with the 'regular' style property:

<hbj:button id="button"

text="Initial 228"

style="background-color: red;"/>

*I got an error when I tried to do this on my iView JSP.

<b>2.)</b> Is it possible to use the class property like:

<hbj:button id="button"

text="Initial 228"

class="testStyleClass"/>

<b>3.)</b> Can I mix htmlb with regular html? For example:

...

<hbj:button id="button"

text="Initial 228"

onClick="onInitialButtonClicked"/>

<input style="background-color: red; width: 50px; height: 20px;" type="button" value="Hello world!">

...

<b>4.)</b> Can I add event attributes to the htmlb tag:

<hbj:button id="button"

text="Initial 228"

onmousedown="onInitialButtonClicked"/>

<b>5.)</b> From my understanding, the iView certification wants to prove that I know how to use the HTMLB tag library. So if hmtlb tags and my own 'regular' html can mix, how much of the content should be my own customized and how much of it has to be from htmlb library?

<b>Would my JSP with the above code mixing and added properties still be considered a certified iView?</b>

I am a little confused right now, and if possible, can you please provide some basic examples?, that would be very appreciated!

Thanks so much!

Baggett