Skip to content

input with tags damages the setting process #995

@ghost

Description

BootsFaces Version 1.3.0

Assume this simple example:

<b:form>
  <b:inputText tags="true" value="#{myBean.myValue}" />
  <b:commandButton action="#{myBean.submit}" value="submit" />
</b:form>
@ManagedBean
@SessionScoped
public class MyBean {
  private String myValue;
  public String getMyValue(){ return myValue; }
  public String setMyValue(String myValue){ this.myValue = myValue; }
  public String submit() {
    System.out.println(myValue);
  }
}

If the tags-attribute is set to true, the method setMyValue is not used or may be used, but the value does not be submitted. The output is clear for this case.

Removing the tags-attribute activates the setter again.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions