cancel
Showing results for 
Search instead for 
Did you mean: 

problem in gui components methods in jsp dynpage

Former Member
0 Kudos

Hi all,

i have created an application by using jspdyn page. in that apllication i have created a button and label . i am not geting any methods for that label and button in jsp file. i am not gettin label_id. set text, button_id setWidth etc.. methods are not getting .please help me regaurding in this issue.

from..

RatnaKumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ratna,

write this code

<hbj:content id="myContext" >

<hbj:page title="PageTitle">

<hbj:form id="myFormId" >

222

<hbj:radioButton id="RBGenderFemale" text="female" key="rb_fem" tooltip="I am female" disabled="false" />

<hbj:radioButton id="RBGenderMale" text="male" key="rb_male" tooltip="I am male" disabled="false" />

111

</hbj:form>

</hbj:page>

</hbj:content>

Former Member
0 Kudos

hi ,

i have created a label with id inpu_label.

when i am using the code in jsp file

<%input_label.setText("oree vachindhi ra")%>

i t swowing error.

Former Member
0 Kudos

Hi,

First check if it is inpu_label or inout_label. You have used both in your question.

Check for missing semicolon at the end.

<%input_label.setText("oree vachindhi ra");%>

Why do you want to set text to the label using scriplet. Instead you can directly do it using tag attrbute, Right??

Regards,

Harini S

Former Member
0 Kudos

Hi harini,

i have tried by keeping semicolon then also i didn't got the out put. we can set the label by using taglib but i want to do by using classlib. please help me in this issue.

Former Member
0 Kudos

Hi,

Classlib is used for DynPage. In JSPDynPage, only tablib is used. Why not do this in DynPage project instead of making it complex in JSP?

Moreover, you can also forward the control to JSP from DynPage also.

Check this for help on classlib for Label.

http://help.sap.com/saphelp_nw70/helpdata/en/df/9d0e41a346ef6fe10000000a1550b0/content.htm

Regards,

Harini S

Answers (0)