File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

commandLink not working in datatable+jsf2.0

 
gokmen kisakol
Greenhorn
Posts: 5
  • 0
  • 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
Pie
Posts: 17624
39
Android Eclipse IDE Linux
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic