This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why Can't I use html <a> tag to change the view state in web flow?  RSS feed

 
zenius lee
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JSF trinidad and spring web flow. I found a interesting thing. If I put the html code generated by a commandLink tag, instead put this JSF commandlink tag, after clicking it, the page will be refreshed but will not go into the next state. Does know the reason and how to solve it?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using POST for pure navigational purposes is a bad idea.
Use h:outputLink instead with a plain vanilla URL.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!