• Post Reply Bookmark Topic Watch Topic
  • New Topic

SIMPLE JSF: METHOD NOT BEING REACHED

 
Arthur Orange
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a very simple JSF page.

It does a search on a keyword (name). It gets a list of employees.
It displays the list as a radio button list. I select the employee and then click on a button Select. It should simply put the employee id into a session variable and redirect to another page. The PROBLEM is that it just doesnt even go to the action method.

Ok so I tried to paste the jsp but apparently the forum does NOT accept the less than tags and so many other things! ... no wonder there are so few posts on the forum.

Here is the jsp:
OK I cannot paste the bloody jsp code because the filter blocks it and asks me to replace the greater than and less than symbols! no matter if there is not one for miles! please email me for the code!

This forum is not going to last if it is so annoying.



--

And the java bean code:
it will not even accept the java code
--

here is the config file:
same with the xml of the config file! how futile!

--

I tried another method using valueChangeListener="SearchEmployee.insertSigner" immediate="true" on the radiolist but it returns to the same page. A workaround is IF I put a dummy value in the employeeList in its getEmployeeList method.

But that simply means it is not reacting well to an empty list. The list is generated dynamically, when it is a static list or preconfigured list things work fine, but come on! we can expect a dynamically generated radiolist to work.

This ought to be predictable and simple and it ought to work, but it doesnt.
 
Sergey Smirnov
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a drama.
OK. Put <h:messages /> tag somewhere on the page and see does it show something.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!