You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ca...@usitc.gov on 2006/02/02 20:32:58 UTC
TAP4: Are spec's optional?
Are the following statements correct about the resources required for
defining pages and components in tapestry 4:
- A PAGE must either have an associated specification or a template.
- valid combinations are:
- spec and template
- spec and class
- template
- template and class
- spec, template and class
- A COMPONENT must either have an associated class or (a specification
and template).
- valid combinations are:
- class
- spec and template
- class and template
- spec and class
- spec, template and class
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: TAP4: Are spec's optional?
Posted by Dmitry Gusev <dm...@gmail.com>.
Only specifications needed for both a Page and a Component.
In a specification you point a Page or Component class. You may write your
own implementation as well as use tapestry's BasePage or BaseComponent
classes.
Templates are optional.
2006/2/2, Carlos.Fernandez@usitc.gov <Ca...@usitc.gov>:
>
> Are the following statements correct about the resources required for
> defining pages and components in tapestry 4:
>
> - A PAGE must either have an associated specification or a template.
> - valid combinations are:
> - spec and template
> - spec and class
> - template
> - template and class
> - spec, template and class
> - A COMPONENT must either have an associated class or (a specification
> and template).
> - valid combinations are:
> - class
> - spec and template
> - class and template
> - spec and class
> - spec, template and class
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>