<h:form>
| <h:commandButton value="klick"
action="#{genretest.getTest}">
| <f:param value="test" name="test" />
| </h:commandButton>
|
| </h:form>
and the bean that handles the method
public String getTest()
| {
| FacesContext ct = FacesContext.getCurrentInstance();
|
| String s= ct.getExternalContext().getRequestParameterMap().get("test");
|
| System.out.println("TEST TEST TEST: " + s);
|
| return "test";
| }
"s" always displays as null... i read that this is a bug in jboss but checked
out the bugtracker and it said that these bugs were fixed in old versions...
jdk 1.6_13
eclipse 3.4.2
jboss 5.1.0.CR1
all the other features i need work propery (like jpa and stuff) there is no error message
or similar, just the null value. happens in 5.0.1.GA too
help or comments on this (bug?) very appreciated
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227892#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...