Hi Gabriel, welcome to the mailing list.
You can achieve this in several ways, all described at our website doc page [1] Simplest is to annotate the Category class with our @Bounded annotation [2] indicating that the number of category instances is small and bounded, so can sensibly be rendered in a drop-down list. Alternatively, you can provide a "choices" supporting method, either for a property [3] or an action param [4]. Dependent choices are also supported for action parameters [5]. Or, if there are lots of objects, you can filter using an autoComplete [6], [7] HTH Dan [1] http://isis.apache.org/documentation.html [2] http://isis.apache.org/reference/recognized-annotations/Bounded.html [3] http://isis.apache.org/how-tos/how-to-03-010-How-to-specify-a-set-of-choices-for-a-property.html [4] http://isis.apache.org/how-tos/how-to-03-020-How-to-specify-a-set-of-choices-for-an-action-parameter.html [5] http://isis.apache.org/how-tos/how-to-03-022-How-to-specify-dependent-choices-for-action-parameters.html [6] http://isis.apache.org/how-tos/how-to-03-015-How-to-specify-an-autocomplete-for-a-property.html [7 http://isis.apache.org/how-tos/how-to-03-025-How-to-specify-an-autocomplete-for-an-action-parameter.html On 22 Sep 2014 02:31, "Gabriel Malimpensa" <[email protected]> wrote: > Hi. > > I'm new on Apache Isis and I am trying to create a simple CRUD application > about a video store. I have the entity Movie and the entity Category. The > entity Movie has an entity Category. So, I would like to know how to create > a domain service to persist the entity Movie with a combo box or list to > choose an already persisted Category. When I put the Category in the > parameters of the method, the webapp renders no one component. > > Sorry for my english. > > Gabriel Malimpensa. > São Carlos, São Paulo, Brazil. >
