Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Egidius Bakker   on Jul 28 In Java Category.

  
Question Answered By: Eddie Austin   on Jul 28

if you are using jsf  so why not make most use of it? Why do you try to use old features of web!!!

instead of using request parameters, you had better to put  a field in your managed bean.
this RequestParameterMap is readonly structure.

consider you have a jsf managed bean as follow:


class MyBean {

private String myKey;

//somewhere in your code: myKey = "myValue"

public String getMyKey(){
return myKey;
}
}


now in you pages:

#{myBean.myKey} can be accessed!

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on JSF Error Or get search suggestion and latest updates.


Tagged: