File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes a4j function versus javascript function Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "a4j function versus javascript function" Watch "a4j function versus javascript function" New topic
Author

a4j function versus javascript function

Robert Darling
Ranch Hand

Joined: Jun 21, 2008
Posts: 100

Hi,

Just wondering that if we call a a4j function from a java script function, how does the browser no if this is a plain java script function or a arj function. And secondly what if the names of 2 functions collide like a a4j function has the name of a Java Script function?

Kind Regards,
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15956
    
  19

The browser doesn't know. The browser doesn't care.

I'm not sure what you mean by "a4j function", though.


Customer surveys are for companies who didn't pay proper attention to begin with.
Max Katz
Ranch Hand

Joined: Aug 03, 2009
Posts: 72
When you use a4j:jsFucntion, a standard JavaScript function is rendered to the page. So, it's just a plain JavaScript function.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: a4j function versus javascript function
 
Similar Threads
How to skip the default button action in JSF
'oncomplete' problem while running request to a servlet
Close window on JSP Session TIME-OUT
Jasper Report
rich:hotKey not worked when using jQuery?