The following example shows you how to create a ButtonFormInput object:
ButtonFormInput button = new ButtonFormInput("button1", "Press Me", "test()"); System.out.println(button.getTag());This example produces the following tag:
<input type="button" name="button1" value="Press Me" onclick="test()" />
When you use this tag in an HTML page, it looks like this:
[ Information Center Home Page | Feedback ] | [ Legal | AS/400 Glossary ] |