Red Hat Web Application Framework 6.1 User Manual Page 177

  • Download
  • Add to my manuals
  • Print
  • Page
    / 230
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 176
Chapter 12. Presentation (Bebop) Tutorial 163
Page applicationPage = new Page();
applicationPage.add(new MetaForm() {
public MetaForm() {
super("application_form_name");
}
public Form buildForm(PageState pageState) {
SimpleQuestionnaire questionnaire =
new SimpleQuesionnaire(new BigDecimal("773"));
return questionnaire.createComponent();
}
}
);
applicationPage.lock();
Example 12-2. Dynamic Mounting of a Persistent Form
Page view 176
1 2 ... 172 173 174 175 176 177 178 179 180 181 182 ... 229 230

Comments to this Manuals

No comments