Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3209

Roo created app with a custom xhtml page has issues with "action" attribute for the commandbutton

    XMLWordPrintable

    Details

      Description

      I made an app with dbre et al with a Mojarra-Primefaces front-end. Works well. I removed Roo. Then I put in a custom xhtml page. I have correctly called a ManagedBean method from a button within the xhtml. But it tells me there is no action like what I am trying to trigger in my ManagedBean, which is incorrect. If I use the "actionListener" attribute for my button, my action is seen, but not with "action" attribute pointing to same method(it gives the javax.el.faces.MethodNotFoundException. What gives. Stalls my progress...

      It may not be strictly a Roo qn, but since I created the app with Roo may have something to do with the combo of <something> that is being used.
      Shown below is the snippet of autogenerated pom.
      <dependency>
      <groupId>com.sun.faces</groupId>
      <artifactId>jsf-api</artifactId>
      <version>2.1.2</version>
      </dependency>
      <dependency>
      <groupId>com.sun.faces</groupId>
      <artifactId>jsf-impl</artifactId>
      <version>2.1.2</version>
      </dependency>
      <dependency>
      <groupId>org.primefaces</groupId>
      <artifactId>primefaces</artifactId>
      <version>3.0.M4</version>
      </dependency>
      <dependency>
      <groupId>org.primefaces.themes</groupId>
      <artifactId>south-street</artifactId>
      <version>1.0.2</version>
      </dependency>

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            ameelin Neal Ravindran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: