public static string getUserForm(User user) { xjcString s = new xjcString(); // ******************************************************************************************* // ******** Start user form ****************************************************************** // ******************************************************************************************* s.append(GlobalGui.html_table_row_start()); s.append(GlobalGui.html_table_col_start(0)); s.append(GlobalGui.html_getInputField("Fornavn", "first_name", 30, 30, (user != null) ? user.sFirstName : "")); s.append(GlobalGui.html_table_col_end()); s.append(GlobalGui.html_table_col_start(100)); s.append(GlobalGui.html_getInputField("Etternavn", "last_name", 30, 30, (user != null) ? user.sLastName : "")); s.append(GlobalGui.html_table_col_end()); s.append(GlobalGui.html_table_row_end()); s.append(GlobalGui.html_table_row_empty(2)); s.append(GlobalGui.html_table_row_start()); s.append(GlobalGui.html_table_col_start(0)); s.append(GlobalGui.html_getInputField("ePost", "mail_address", 40, 40, (user != null) ? user.sMailAddress : "")); s.append(GlobalGui.html_table_col_end()); s.append(GlobalGui.html_table_col_start(100)); s.append(GlobalGui.html_getInputField("Telefon", "phone", 15, 15, (user != null) ? user.sPhone : "")); s.append(GlobalGui.html_table_col_end()); s.append(GlobalGui.html_table_row_end()); // ******************************************************************************************* // ******** End user form ****************************************************************** // ******************************************************************************************* return(s.toString()); }