You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Henning Nöth (Jira)" <de...@myfaces.apache.org> on 2022/12/07 11:34:00 UTC

[jira] [Created] (TOBAGO-2178) An action is not executed if tc:file is on page (spring-boot)

Henning Nöth created TOBAGO-2178:
------------------------------------

             Summary: An action is not executed if tc:file is on page (spring-boot)
                 Key: TOBAGO-2178
                 URL: https://issues.apache.org/jira/browse/TOBAGO-2178
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 5.3.0
            Reporter: Henning Nöth


This issue effects only spring-boot.

{code:xml}
<tc:in label="Name" value="#{helloSpring.name}" required="true">
  <f:facet name="after">
    <tc:button label="Submit" defaultCommand="true" action="#{helloSpring.sayHello}"/>
  </f:facet>
</tc:in>
<tc:file/>
{code}

{code:java}
public String sayHello() {
  LOG.info("Action was called, name is '{}'", name);
  return "/result.xhtml";
}
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)