3 Replies Latest reply on Jul 18, 2007 10:54 AM by Sergey Smirnov

    modalpanel closing on return key

    Lars Ködderitzsch Newbie

      Hi,

      I got a litte search form on a modalpanel, the search button is a a4j:commandButton which re-renders the result table also located in the modalpanel. This all works fine so far.

      Now if the return button is pressed I would like the search also to commence.
      But instead the whole form seems to be submitted with a regular (non-ajax) request, which leads to the closing of the modelpanel.

      Any ideas how to prevent this and get the "search on return button" working in the modalpanel?

      Thanks,
      Lars Ködderitzsch