• Post Reply Bookmark Topic Watch Topic
  • New Topic

json object send to JSF backing bean to xhtml page  RSS feed

 
pradeep gamage
Ranch Hand
Posts: 85
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when user click on the button in the xhtml page i want get Student data object as json and display in xhtml page...

I have tried it following way..
JSF backing bean


my xthml page


it's not working. please let me to way i can pass json object from jsf backing bean to xhtml page when user operation happend in xhtml page(Ex: user click the button in xhtml page)
Thank you
 
Robert James Liguori
Author
Ranch Hand
Posts: 587
6
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you ever get an answer to this??? I'm having the same challenge right now.
 
Robert James Liguori
Author
Ranch Hand
Posts: 587
6
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it...  it's actually quite simple...

Replace:


With:



http://robertjliguori.blogspot.com/2017/03/replacing-d3json-with-jsf-managed-bean.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!