This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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: 17033
    
  26

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.


An IDE is no substitute for an Intelligent Developer.
gokmen kisakol
Greenhorn

Joined: Aug 26, 2011
Posts: 5
Thanks Tim.
 
Have you checked out Aspose?
 
subject: commandLink not working in datatable+jsf2.0
 
It's not a secret anymore!