3 Replies Latest reply on Jan 7, 2008 5:17 AM by pmuir

    restful action

    mvlach

      Hi all,

      i have problem with the restful action, a entity list action. Let's imagine, I have one entity and would like to display their list. On to top of the list page is locatel filter form (some attributes). I would like to implement this page restful - when the user click on the search (filter) button, url will be

      list.seam?name=...&description=....

      Can somebody tell me how to do it ? I am using the @RequestParameters, but I don't know ho to design the action component and the appropriate .page.xml file.

      Thanks for reply.
      Mila

        • 1. Re: restful action
          pmuir

          seam-gen produces restful search screens. Try reverse engineering some entities or a database to see how it does it.

          • 2. Re: restful action
            mvlach

            Hi Pete,

            I tried to follow your description with seam-gen, but there is no search action. I don't know, how to create search action and get the restful action.

            I created the entity test with appropriate testList action, but there is no search action.

            Can you tell me how to create search action ?

            Thans Mila

            • 3. Re: restful action
              pmuir

              You need to do some reverse enginering to get this. (e.g. generate-ui or generate)