This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSF and the fly likes commandLink not working in datatable+jsf2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "commandLink not working in datatable+jsf2.0" Watch "commandLink not working in datatable+jsf2.0" New topic
Author

commandLink not working in datatable+jsf2.0

gokmen kisakol
Greenhorn

Joined: Aug 26, 2011
Posts: 5
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

Joined: Jun 25, 2001
Posts: 16095
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
gokmen kisakol
Greenhorn

Joined: Aug 26, 2011
Posts: 5
Thanks Tim.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: commandLink not working in datatable+jsf2.0