Guest User

Untitled

a guest
Aug 15th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. Getting error while passing a parameter in page navigation url
  2. <s:button id="done" value="Done"action="#{statusHome.viewRecord}"/>
  3.  
  4. public String viewRecord() {
  5. getInstance();
  6. String rtValue = null;
  7. if (instance.getTextKey() != null) {
  8. rtValue = "/StatusList.xhtml?textKey=" + instance.getTextKey() +"?doSearch=1";
  9. } else {
  10. rtValue = "/StatusList.xhtml";
  11. }
  12. return rtValue;
  13. }
  14.  
  15. public class NavigationBean implements java.io.Serializable { ... }
Add Comment
Please, Sign In to add comment