You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Clemens Schneider <cl...@gmail.com> on 2006/11/21 11:38:14 UTC
[Tobago] Hints for Custom Component Development using Tobago Layouting and Skinning?
Hi there,
I'm serarching for some information to custom component development with
tobago.
Is there any info on the architecture? Perhaps someone could just line out
the needed steps and classes to enhance and get information from? e.g. what
has to be concerned when providing layouting and skinning, what does tobago
need to know from my components etc..
Thanks so much in advance!
Clemens
Re: [Tobago] Hints for Custom Component Development using Tobago
Layouting and Skinning?
Posted by Bernd Bohmann <be...@atanion.com>.
Hello Clemens,
please look at the tobago sandbox.
Property and resource loading and Renderer loading is done in following
order
<resource-path>/<content-type>/<theme>/<client>[tag(for
renderer)|property|style|script|image]_locale.(class|property|property.xml|css|js|
gif|png...]
The locale handling is handled like the Properties Class.
You have not define everything because the ResourceManager is asking the
fallback theme for missing resources
The fallback theme of charlotteville is speyside.
The fallback theme of speyside is scarborough
The fallback theme of scarborough is standard
The resource manager looks in the case of the charlotteville theme in
charlotteville -> speyside -> scarborough -> standard
For example:
The renderer for Out is found in
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.OutRenderer
OutRenderer is getRendererType() + "Renderer"
Can correct me someone if I'm wong or something is missing.
Regards
Bernd
Clemens Schneider wrote:
> Hi there,
> I'm serarching for some information to custom component development with
> tobago.
> Is there any info on the architecture? Perhaps someone could just line out
> the needed steps and classes to enhance and get information from? e.g. what
> has to be concerned when providing layouting and skinning, what does tobago
> need to know from my components etc..
> Thanks so much in advance!
>
> Clemens
>