Skip to Content
0
Former Member
Jan 12, 2005 at 12:19 AM

hbj:button properties

56 Views

Hi,

I have a quick question about htmlb buttons in JSPs. I just have a test JSP like so:

<hbj:content id="myContext" >

<hbj:page title="PageTitle">

<hbj:form id="myFormId" >

<%-- used in the JSP DynPage to access the input field and retrieve the input of the user --%>

<hbj:inputField

id="user_name_input"

type="STRING"

design="STANDARD"

width="250"

maxlength="30"

/>

<hbj:button id="change_pass_button"

text"Change Password"

tooltip="Change Me"

width="100"

design="EMPHASIZED">

</hbj:button>

</hbj:form>

</hbj:page>

</hbj:content>

And I am unable to see the button. Does there need to be an onclick method associated with this button to see the actual button? Do I need to set myFormId.defaultButton(...) to the change_pass_button. When I did that, the PRT generated an error saying that change_pass_button was an unresolvable symbol. I just want to see what HTMLB buttons look like. Thanks!