Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

document.getElementById(); + JSF

843844Oct 30 2007 — edited Dec 3 2007
Hi,

i would like to get a element that my page have.

If the code is:
  <input type="text" name="name" id="id"/>
and I use the document.getElementById("id"), i get the value, but

if my code is:
  <h:inputText name="name" id="id" action="#{myBean.action}"/>
i don�t get the value of this element...
what�s the problem??

thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 31 2007
Added on Oct 30 2007
5 comments
505 views