/**
* This file was auto-generated by ohtmlc.
*/
package mypackage;
import objectivehtml.htmlwidget.*;
import objectivehtml.htmlwidget.exception.*;
/**
* This class was auto-generated by ohtmlc.
*/
public class CustomerFormDesign extends HtmlForm
{
public HtmlParagraph m_parUserMessage;
public HtmlSpan m_htmUserMessage;
public HtmlTable m_tblLayout;
public HtmlListBox m_selTitle;
public HtmlTextBox m_txtFirstName;
public HtmlTextBox m_txtLastName;
public HtmlTextBox m_txtBirthDate;
public HtmlRadioButton m_radMale;
public HtmlRadioButton m_radFemale;
public HtmlTextArea m_txaStreet;
public HtmlTextBox m_txtPostCode;
public HtmlTextBox m_txtSuburb;
public HtmlTextBox m_txtState;
public HtmlCheckBox m_cbxPostalAddress;
public HtmlTextBox m_txtTelephone;
public HtmlTextBox m_txtEmail;
public HtmlPushButton m_btnSave;
public HtmlPushButton m_btnReset;
public CustomerFormDesign()
throws Exception
{
this.setAttribute("name", "customerform");
this.setAttribute("method", "post");
m_parUserMessage = new HtmlParagraph(this);
m_parUserMessage.setAttribute("class", "normal");
m_parUserMessage.setAttribute("id", "m_parUserMessage");
m_htmUserMessage = new HtmlSpan(m_parUserMessage);
m_htmUserMessage.setAttribute("id", "m_htmUserMessage");
m_htmUserMessage.setText("");
m_tblLayout = new HtmlTable(this, 13, 2);
m_tblLayout.setAttribute("bgcolor", "#FCFADA");
m_tblLayout.setAttribute("border", "0");
m_tblLayout.setAttribute("class", "normal");
m_tblLayout.setAttribute("id", "m_tblLayout");
m_tblLayout.getTableRow(0).getTableCell(0).setText("Title *");
m_selTitle = new HtmlListBox(m_tblLayout.getTableRow(0).getTableCell(1), "m_selTitle");
m_selTitle.addOption("", "- Choose Title -");
m_selTitle.getOptionItem(0).setBooleanAttribute("selected", true);
m_selTitle.addOption("01", "Mr");
m_selTitle.addOption("02", "Miss");
m_selTitle.addOption("03", "Ms");
m_selTitle.addOption("04", "Mrs");
m_tblLayout.getTableRow(1).getTableCell(0).setText("First Name *");
m_txtFirstName = new HtmlTextBox(m_tblLayout.getTableRow(1).getTableCell(1), "m_txtFirstName");
m_txtFirstName.setAttribute("value", "");
m_tblLayout.getTableRow(2).getTableCell(0).setText("Last Name *");
m_txtLastName = new HtmlTextBox(m_tblLayout.getTableRow(2).getTableCell(1), "m_txtLastName");
m_txtLastName.setAttribute("value", "");
m_tblLayout.getTableRow(3).getTableCell(0).setText("Birth Date");
m_txtBirthDate = new HtmlTextBox(m_tblLayout.getTableRow(3).getTableCell(1), "m_txtBirthDate");
m_txtBirthDate.setAttribute("value", "");
m_tblLayout.getTableRow(4).getTableCell(0).setText("Gender");
HtmlText obj1 = new HtmlText(m_tblLayout.getTableRow(4).getTableCell(1));
obj1.setText("M");
m_radMale = new HtmlRadioButton(m_tblLayout.getTableRow(4).getTableCell(1), "m_radGender");
m_radMale.setBooleanAttribute("checked", true);
m_radMale.setAttribute("value", "M");
m_radMale.setAttribute("id", "m_radMale");
HtmlText obj2 = new HtmlText(m_tblLayout.getTableRow(4).getTableCell(1));
obj2.setText("F");
m_radFemale = new HtmlRadioButton(m_tblLayout.getTableRow(4).getTableCell(1), "m_radGender");
m_radFemale.setAttribute("value", "F");
m_radFemale.setAttribute("id", "m_radFemale");
m_tblLayout.getTableRow(5).getTableCell(0).setText("Street");
m_txaStreet = new HtmlTextArea(m_tblLayout.getTableRow(5).getTableCell(1), "m_txaStreet");
m_txaStreet.setAttribute("rows", "3");
m_txaStreet.setAttribute("cols", "40");
m_txaStreet.setText("");
m_tblLayout.getTableRow(6).getTableCell(0).setText("Post Code");
m_txtPostCode = new HtmlTextBox(m_tblLayout.getTableRow(6).getTableCell(1), "m_txtPostCode");
m_txtPostCode.setAttribute("onchange", "document.customerform.submit();");
m_txtPostCode.setAttribute("value", "");
m_tblLayout.getTableRow(7).getTableCell(0).setText("Suburb");
m_txtSuburb = new HtmlTextBox(m_tblLayout.getTableRow(7).getTableCell(1), "m_txtSuburb");
m_txtSuburb.setAttribute("value", "");
m_tblLayout.getTableRow(8).getTableCell(0).setText("State");
m_txtState = new HtmlTextBox(m_tblLayout.getTableRow(8).getTableCell(1), "m_txtState");
m_txtState.setAttribute("value", "");
m_tblLayout.getTableRow(9).getTableCell(0).setText("Same as postal address?");
m_cbxPostalAddress = new HtmlCheckBox(m_tblLayout.getTableRow(9).getTableCell(1), "m_cbxPostalAddress");
m_cbxPostalAddress.setAttribute("value", "Y");
m_tblLayout.getTableRow(10).getTableCell(0).setText("Telephone");
m_txtTelephone = new HtmlTextBox(m_tblLayout.getTableRow(10).getTableCell(1), "m_txtTelephone");
m_txtTelephone.setAttribute("value", "");
m_tblLayout.getTableRow(11).getTableCell(0).setText("Email *");
m_txtEmail = new HtmlTextBox(m_tblLayout.getTableRow(11).getTableCell(1), "m_txtEmail");
m_txtEmail.setAttribute("size", "50");
m_txtEmail.setAttribute("value", "");
m_tblLayout.getTableRow(12).setAttribute("bgcolor", "#D7FFFF");
m_tblLayout.getTableRow(12).getTableCell(0).setAttribute("align", "middle");
m_tblLayout.getTableRow(12).getTableCell(0).setColSpan(2);
m_btnSave = new HtmlPushButton(m_tblLayout.getTableRow(12).getTableCell(0), "m_btnSave");
m_btnSave.setAttribute("value", "Save");
m_btnSave.setButtonType("submit");
m_btnReset = new HtmlPushButton(m_tblLayout.getTableRow(12).getTableCell(0), "m_btnReset");
m_btnReset.setAttribute("value", "Reset");
m_btnReset.setButtonType("reset");
}
}