Red Hat Web Application Framework 6.1 Manual do Utilizador Página 193

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 230
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 192
Appendix A. Bebop Tag Library Reference 179
Tag Description
define:option name=... [value=...]
[selected=...] [bundle=...] /
defines an option within a select widget or
checkbox/radio group.
define:component classname=... Creates a component of the given class and adds
it at the current location in the page. Requires
that the component class have a no-argument
constructor.
Table A-2. Tags available for defining Bebop components
Note that if a JSP tag does not exist for adding a particular component to a page, it is trivial to create.
As a last resort, you can use the generic define:component tag if the class has a no-argument
constructor. It is also trivial to escape into Java from a JSP and create a component object explicitly
in a Java scriptlet:
define:page name="p" title="page title"
%
MyComponent c = new MyComponent();
p.add(c);
%
/define:page
Vista de página 192
1 2 ... 188 189 190 191 192 193 194 195 196 197 198 ... 229 230

Comentários a estes Manuais

Sem comentários