0

I am quite new to XPages. To start with I have downloaded some sample Bootstrap-xpage applications. The application which I am exploring doesn't depend on extension library.

For below line of code it throws error "Unknown property this.attrs. It is not defined on tag xp:inputText"

<xp:this.facets>
  <xp:panel xp:key="facet_1">
    <xp:inputText id="inputSenderName" value="#{mycard.sendername}" required="true">
      <xp:this.attrs>
        <xp:attr name="placeholder" value="Your Name" />
      </xp:this.attrs>
      <xp:this.validators>
        <xp:validateRequired message="Enter your name"></xp:validateRequired>   
      </xp:this.validators>
    </xp:inputText>
  </xp:panel>
</xp:this.facets>

Any suggestions?

Per Henrik Lausten
  • 21,331
  • 3
  • 29
  • 76
user3379225
  • 101
  • 5

1 Answers1

1

Start by upgrading Domino Designer and Domino to a version which is not a beta release. 8.5.3 CD4 was one of the beta releases before 8.5.3 was officially released.

The latest version of IBM Domino is 9.0.1.

The attrs property was introduced in 8.5.3 as you can see from this answer: ReadOnly field in Xpage not submitted

Community
  • 1
  • 1
Per Henrik Lausten
  • 21,331
  • 3
  • 29
  • 76