2 Replies Latest reply on Nov 23, 2005 3:39 AM by marius.oancea

    simple question about crud example

    marius.oancea

      Hi, I just checked out "crud" example. Nice ideea to do such an example.

      I have actually 2 questions:
      1. why HotelEditOperations and the other interface is declared @Remote and not @Local (is there a hidden reason for that?)
      2. I see that HotelEditOperationsActions and HotelOperationsActions, both has "@DataModel private List hotels;". @DataModel does a kind of "@In @Out" ? I know DataModel do a @Out:

      @DataModel
      @DataModel("variableName")
      Exposes an attribute of type List as a JSF DataModel into the conversation scope.
      ? value ? name of the conversation context variable. Default to the attribute name.


      But it does also a @In ? Or how is that made?