Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

commandLink doesnt work in request scope?

 
fatih soylemez
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic