This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JSF and the fly likes commandLink doesnt work in request scope? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "commandLink doesnt work in request scope?" Watch "commandLink doesnt work in request scope?" New topic
Author

commandLink doesnt work in request scope?

fatih soylemez
Greenhorn

Joined: May 12, 2009
Posts: 9
i guess that is a common problem..Can anyone recommend a good idea other than declaring the
bean in the session scope?
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Indeed, many a good developer has pounded their head against the wall trying to figure this one out.

My only approach was to have a special managed bean, in the HttpSession scope, that held the JSF h:commandLink.

I hope you didn't spend long troubleshooting this peculiarity before properly diagnosing it.

-Cameron McKenzie
fatih soylemez
Greenhorn

Joined: May 12, 2009
Posts: 9
too late..i already got a headache
i have just figured that commandlink does work if
i get it out of the datagrid!!seems like this problem is
specific to the datagrid.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: commandLink doesnt work in request scope?
 
It's not a secret anymore!