Hello Michael,

might be that 'onbegin' does what you want?

MAG,
Milo van der Zee

On Thu, 2012-02-02 at 11:05 +0100, Michael Heinen wrote:
> Hi,
> 
> I am currently migrating an application to JSF 2.1
> 
> I have a lot of ajax commands (richfaces) and some new f:ajax tags.
> My forms contain some js functions which should be called during 
> onsubmit but unfortunately onsubmit is not called for ajax requests.
> 
> How can I specify some JS functions that should be executed before any 
> ajax call?
> I do not want to add them to a few hundred commands manually and would 
> like to define the calls on a few spots as possible.
> 
> Thanks,
> Michael
> 


Reply via email to