Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

incompatibility of ajax with sun ri jsf and richfaces

 
anbu paj
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jason Lee
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
anbu paj
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic