In my code,
if I am using 2 fields then it works fine but
if I have only 1 fields then if i give enter key then method name is coming null. and error is coming.
In below code if I comment id then there is only name field then if I give enter key then control is not going to any button . and error is coming.
Error is :
]] Root cause of ServletException.
java.lang.NoSuchMethodException: Action[/searchlAction] does not contain specified m
ethod (check logs)