How to Submitting JSF form using Javascript?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   antany_l
Posted On:   Monday, May 11, 2009 03:11 AM

Hi All,

I am new to JSF development. I need to access JSF components using javascript.



I am using MyFaces!!



For example. I want to submit JSF form(h:form) using Javascript.
also I want to access JSF h:inputText's value using javascript



Thanks in Advance

Thanks,

Ant.

Re: How to Submitting JSF form using Javascript?

Posted By:   Dani_H  
Posted On:   Monday, May 11, 2009 05:23 PM

Hello!

I solved this problem with icefaces, I think it's the same solution for "normal" jsf!

you need a form:

in your form you have a button like this:
About | Sitemap | Contact