File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Using ajax in myfaces tomahawk. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Using ajax in myfaces tomahawk." Watch "Using ajax in myfaces tomahawk." New topic

Using ajax in myfaces tomahawk.

yun hu

Joined: Feb 18, 2010
Posts: 13

Now I am using myfaces1.1.7 and tomahawk-1.1.9.jar in my project. How can I add ajax to support ? Any good suggestion? Thanks for help!!!
sri raman

Joined: Dec 03, 2009
Posts: 6
use ajax4jsf ..
yun hu

Joined: Feb 18, 2010
Posts: 13

I am using ajax4jsf, <a4j:commandButton id="b_login" value="#{msgs['login']}" action="#{loginBean.loginAction}"
styleClass="button" />
when I click button always get this javascript error.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; CIBA)
Timestamp: Mon, 22 Feb 2010 12:04:27 UTC

Message: Permission denied
Line: 28
Char: 222
Code: 0
URI: http://localhost:5050/ninfo/a4j.res/org.ajax4jsf.framework.ajax.AjaxScript.jsf

I agree. Here's the link:
subject: Using ajax in myfaces tomahawk.
It's not a secret anymore!