These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 3:59 pm Advanced search

Bind a value in a backing bean (defined by getter's & sette

If you are stuck or have questions regarding HTML or other Web technologies, ask your questions here. No question too dumb!

Bind a value in a backing bean (defined by getter's & sette

Postby ivanradmore » Wed Jul 06, 2011 8:11 am

I am currently involved in developing an Internet Application using Netbeans 7.0 with JSF/Ajax/CSS3/EJB 3.0. I want to bind a value in a backing bean (defined by getter's & setters) to an HTML5 component without using JavaScript.

The following code refers to HTML 5 components and my backing beans that I am using.

<p><label id="seven" value="#{indexBean.loginResult}"/></p>
<input name="#{indexBean.username}" id="fifth" type="text" required/></p>
<p><label>Display password</label>
<input type="checkbox" id="loginBool"
<label id="loginPaswd" value="#{indexBean.loginPassword}"></label>
<input name="#{indexBean.password2}" id="fifth" type="password"
<button onclick="{indexBean.confirmUser}">Login</button>
<button action="#{indexBean.confirmUser}">Resend password</button>
Posts: 1
Joined: Wed Jul 06, 2011 8:00 am

Return to Help & Advice

Who is online

Users browsing this forum: No registered users and 1 guest