File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Why Can't I use html <a> tag to change the view state in web flow? 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 "Why Can Watch "Why Can New topic
Author

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

zenius lee
Greenhorn

Joined: Jan 29, 2009
Posts: 10
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

Joined: Oct 08, 2006
Posts: 2458
Using POST for pure navigational purposes is a bad idea.
Use h:outputLink instead with a plain vanilla URL.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why Can't I use html <a> tag to change the view state in web flow?
 
Similar Threads
opening a new wirdow with commandlink tag
<span> can't be used in a Trinidad + Facelet project
h:commandLink Alternative
TreeTable and row selection
validation