Action in bean is never triggered/called from jsf page

Action in bean is never triggered/called from jsf page

One plus side of the compiled languages would be telling us every error during/after compilation which would save a lot time from chicanery. But, in JSF you may get unexpected error which is a silent.

The page would run and the action linked to, say command button or command link, may not be triggered.

If you got that, just check your form fields – especially if you are working with datatable, make sure all the conversion and validations are working as expected. If the validation/conversion is not working properly, then the framework would exit before reaching the backend.

One way to troubleshoot this would be to have <h:messages /> with appropriate attributes, like adding showDetail=”false” showSummary=”true”, on your form – that, definitely, would help you to debug the problem.

See how you would solve these known algorithm problems

Check if two strings are anagrams or not

Flatten nested javascript array

Array reversal in Recurrsion

testing k complementary pairs algorithm with junit

Changing decimal number to its binary equivalent

Implementing tokenizer and adding tokens to the linked list

Find the first occurence of number in the sorted array

binary tree problems with solution

Implement Queue Using two Stacks – JavaScript algorithm

Get maximum occurring character

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*