2 Replies Latest reply on Mar 9, 2011 1:13 AM by feuyeux

    issue JPA+JSF

    pagzoho

      Hi to allI have a problem with JPA and JSF regarding fetching data from db (mysql) to JSF.

      I'm able to load data from database and populate the front-end (JSF).But when I try to get data (after selecting a menù for example) I get a null data... I'm not able to identify which item of menù is been selected.

      I'm using http://www.jboss.org/richfaces

      THANK U in advance for your answer... I could put some code if necessary...

      BR

      dan

        • 1. issue JPA+JSF
          boy18nj

          Post your code

          • 2. Re: issue JPA+JSF
            feuyeux

            Firstly, I suggest you letting the simple data represent on the jsf page, then you can make sure the data you are retrieving successfully.

            If you can obtain the right result, the issue maybe result from the complex data structure, please pay attention to the menu model building.

            If you cannot obtain any data, please focus on the backing bean.

             

            May you luck.