Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3201

[Wicket Viewer] Default methods not triggered after changing a date parameter with date picker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Resolved
    • 2.0.0-M7
    • 2.0.0-M8
    • Viewer Wicket
    • None

    Description

      import lombok.RequiredArgsConstructor;
      import org.apache.isis.applib.annotation.Action;
      import org.apache.isis.applib.annotation.ActionLayout;
      import org.apache.isis.applib.annotation.MinLength;
      import org.apache.isis.applib.annotation.PromptStyle;
      import org.apache.isis.applib.services.repository.RepositoryService;
      
      import javax.inject.Inject;
      import java.time.LocalDate;
      import java.util.List;
      
      @Action
      @ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL)
      @RequiredArgsConstructor(onConstructor_ = {@Inject})
      public class Isis3201Demo {
          public final Object target;
      
          public Object act(
                  LocalDate aDate, String dependent) {
              return target;
          }
      
          public String default1Act(LocalDate aDate) {
              return "Current value of date parameter:" + aDate;
          }
      
      }
       

      Attachments

        1. ActionDateParameter.mov
          2.19 MB
          Zermelo

        Issue Links

          Activity

            People

              hobrom Andi Huber
              zermelo Zermelo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: