cancel
Showing results for 
Search instead for 
Did you mean: 

htmlcheckbox

Former Member
0 Kudos

hi,

after creating an instance of an HtmlCheckBox inside the htmlb abstract portal component , i tried adding it to the Form, but its showing error.How will i do it. Please help.

regards

rahul.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

rahul,

I too had a similar problem when i tried to use the htmlcheckbox, then i had to contain with htmlb checkbox.

For htmlbcheckbox u can refer the following link..

http://help.sap.com/saphelp_nw04/helpdata/en/7d/9b0e41a346ef6fe10000000a1550b0/frameset.htm

hope this helps,

Vinod

Answers (4)

Answers (4)

Former Member
0 Kudos

hi prakash,

i was just experimenting. thanks in advance for your help.

regards

Rahul.

Former Member
0 Kudos

hi ranjith,

thank you for your reply, but i'm not talking about the ordinary checkbox in abstract portal component, i'm working on HtmlCheckBox which comes within the PRT api(com.sapportals.portal.prt.util.html ).

regards,

rahul.

Former Member
0 Kudos

Hi Rahul,

What is the reason for you to use PRT checkbox? Why not use the htmlb checkbox control? I am working on using PRT checkbox, i will let you know if i figure it out.

Prakash

Former Member
0 Kudos

hi,

i tried to add the HtmlbCheckBox into the form like

HtmlCheckBox h = new HtmlCheckBox();

Form myForm = this.getForm();

myForm.addComponent(h);//this gives error as myForm.addComponent(Component) in the type container is not applicable for HtmlbCheckBox.

Former Member
0 Kudos

Hi Rahul,

I did not understand what you are trying to do. But anyway, in dynpage, you can use the normal htmlb checkbox to meet your requirements.

You can get the documentation for using this at :

<b>http://help.sap.com/saphelp_nw04/helpdata/en/7d/9b0e41a346ef6fe10000000a1550b0/frameset.htm</b>

Get back if you need more help.

Ranjith

Former Member
0 Kudos

Hi Rahul,

Can you post your code and the error message that you are getting.

Ranjith