aspose file tools*
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
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: commandLink doesnt work in request scope?