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

commandLink not working in datatable+jsf2.0

 
gokmen kisakol
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to display detail viewer by clicking commentlink in dataTable on master viewer, but It doesn't work.
In detail viewer, there is a hiddentext to hold the id.
managedbean with request scope and I don't want to use sessionscope. When sessionscope is used. It works clearly.
Please Help me guys!


Master Viewer:



Detail Viewer: User.xhtml




ManagedBean:

 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Gokmen! There's a "Code" button on our message editor that can wrap tags around sample java code and XML. It makes it easier to read.

Personally, I don't like pop-up windows and for that matter, my browser isn't set to open new windows.

However, if you must do so, you need to specify the pop-up window target on your commandLink the same way you would on an HTML "<A HREF=>" tag.
 
gokmen kisakol
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic