This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Call Action Class Using Anchor Tag Without showing parameter list in address bar of the browser

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is it possibe to call an action class on click of the action class ?

If it is possble then how do we pass parameters to action class ?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the goal is to pass parameters via a link there aren't too many options: put them in the URL, have them already in session, or possibly use Ajax depending on your requirements. If you use Ajax they'll still be visible if the user is using a proxy, Firebug, etc.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic