I am creating simple blog web application using play framework and i want to display in the main page a list of categories so that when user choose a category and respond to action when a choice is clicked.
so, how i can do that?
I am creating simple blog web application using play framework and i want to
Share
I think a simple query would probably do the trick. Depending on how you have set up your Model classes, this may be a JPQL or a native query.
This other answer may give you some tips – Playframework – querying and displaying results from multi-table join, or simply search for Play Framework JPQL and Playframework Native Query on google to get more info.