• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

showing records for updating value after click on modify link on masterpage.

 
Bhupesh Kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi.......
can u assist me how we can see the records at update page after click on modify link on Master page.
 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
create the modify link using <h:commandLink> component of JSF and put <f:param> tag in that and pass some id as parameter against which you will get the data for detail page. Give some action handler to commandLink using action="#{SomeBean.myActionHandler}" which will be called when the link is clicked. In this handler method get the detail data and return some outcome which will forward your request to detail page. Then display that data on detail page.

Hope it helps
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic