Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSF and the fly likes incompatibility of ajax with sun ri jsf and richfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "incompatibility of ajax with sun ri jsf and richfaces" Watch "incompatibility of ajax with sun ri jsf and richfaces" New topic
Author

incompatibility of ajax with sun ri jsf and richfaces

anbu paj
Greenhorn

Joined: Feb 29, 2008
Posts: 3
hi all
we have developed ajax using jsf (sun ri) and ajax.jar. later when we shifted to richfaces we found that the ajax functions like commandbutton are not working. no action is triggered for this.now we are using jsf(sun ri) and richfaces. kindly advice on this as this is blocking our project proceedings.

thanks in advance
anbarasan
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

I am using MyFaces, so I can't offer any advice. However I know someone in town who is a big proponent of RichFaces and he prefers the Sun RI, so I can state with confidence that it should work and work better than MyFaces. You just need to find out what you've done wrong.


Customer surveys are for companies who didn't pay proper attention to begin with.
Jason Lee
Greenhorn

Joined: Mar 03, 2008
Posts: 12
Originally posted by anbu paj:
hi all
we have developed ajax using jsf (sun ri) and ajax.jar. later when we shifted to richfaces we found that the ajax functions like commandbutton are not working. no action is triggered for this.now we are using jsf(sun ri) and richfaces. kindly advice on this as this is blocking our project proceedings.

thanks in advance
anbarasan


I am both a user of and developer on Mojarra. I have also used RichFaces with Mojarra, so I might be able to help. Could you describe in more detail what you're trying to do, and maybe paste in the commandButton markup that's not working? While I'm familiar with RichFaces, I don't know what ajax.jar is, so I'm going to need some more information before I can speculate too much.


Jason Lee, SCJP
Senior Member of Technical Staff with Oracle
http://blogs.steeplesoft.com
anbu paj
Greenhorn

Joined: Feb 29, 2008
Posts: 3
Hi,
Thanks for your reply. yes here is the code snippet iam using.i need a functionality to submit the values in a textarea in onblur event of text area.so i have used this code to achieve this functionality by this code


the same code was working in jsf sunRI and ajax4jsf jar files.. but i have issue with JSF sunRI and richfaces jar files....


thanks
anbu paj
Greenhorn

Joined: Feb 29, 2008
Posts: 3
Hi,
I forgot to update this code part ...


<h:inputTextarea blur="document.getElementById('orderDetails:updateComments').click();"
id="commentInput" cols="60" rows="7"
value="#{ajaxsample.textValue}">

thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: incompatibility of ajax with sun ri jsf and richfaces
 
Similar Threads
Is migration from earlier versions of JSF covered in your book "JSF 2.0 - the complete reference"
MyFaces vs. RichFaces
ajax/jsf/richfaces testing w/ selenium
Implementation of Tiles with RichFaces
Send Ajax request to refresh dataTable