This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
Consider Paul's rocket mass heater.
 
subject: commandLink doesnt work in request scope?
 
Similar Threads
Undo booking
Scwcd doubt
Display messages from controller on top of JSP page
Declaring variables.
New JavaRanch Journal article: Dependency Injection - What is Scope?