Class XmlForm

    • Method Detail

      • toString

        public String toString​(PagesContext pagesContext,
                               DataRecord record)
        Prints the HTML layout of the dataRecord using the RecordTemplate to extract labels and extra informations. The value formats may be adapted to a local language. Never throws an Exception but log a silvertrace and writes an empty string when :
        • a field is unknown by the template.
        • a field has not the required type.
      • display

        public void display​(javax.servlet.jsp.JspWriter jw,
                            PagesContext pageContext,
                            DataRecord record)
        Description copied from class: AbstractForm
        Prints this form into the specified JSP writer according to the specified records of data that populate the form fields.
        Specified by:
        display in interface Form
        Specified by:
        display in class AbstractForm
        Parameters:
        jw - the JSP writer.
        pageContext - the JSP page context.
        record - the record the data records embbed the form fields.