is this what you mean? I'm not at all sure what history.back has to do with anything.
Joined: Apr 12, 2012
hey thanks for the reply Brendan,
i tried that it dint work...
i m using jsf 2.0 facelets...i have tree menu on the left pane... when a click on the tree menu item will display the contents of center pane using ajax(using jquery for it..)..now the contentPane has commandButtons.. when i click this button it should invoke a method on jsf bean..and it should stay on the same page...and also is it possible to get the output of the string to change the color of commandButton???
Joined: May 12, 2009
Can you post your code, it's not easy to follow without it.
Is not true. In JSF1, "pageName" would be the name of a Navigation rule. In JSF2, it can be the name of a navigation rule OR it can be a JSF context-relative URL. ".xhtml" is normally the extension of the resource, not of the URL, and resource paths and URLs are 2 different things that merely happen to resemble each other. You can, in fact, code
Although there's no practical benefit to doing so, since JSF already assumes that it's a JSF URL.
And of course, once again, coding a user-defined login is essentially telling hackers to invade your site and take over.
An IDE is no substitute for an Intelligent Developer.