Hi

>

>
> >
> > where do I find sources for classes like UIXTable, CoreTable, ... ? I
only
> > saw xml files with these names, but in final compilation, these are
classes
>
> > already.
>
> They are generated by the maven-faces-plugin based on meta data from
> the xml files in the trinidad-build project (xml files under the
> components directory). It more complex than this as the xml + the
>
> template is used. For example:
>
>
trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Column.xml
>
trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXColumnTemplate.java
>
>
> These files are merged by the plugin into create the final UIXColumn
class.
>
>
trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreColumn.xml
>
> This file says that CoreColumn extends UIXColumn and therefore this
>
> data is used to generate the final CoreColumn class. Most Core*
> classes do not have templates, I think most templates are used at the
> UIX* level.
>
> > what is actually purpose of those xml files?
>
> Provide metadata to the maven-faces-plugin to be able to create
>
> components, events, listeners and build the necessary facelets
> taglib.xml and the faces-config.xml files.
>

where can I find some more documentation regarding maven-faces-plugin?
something that could allow me understand those classes better and maybe to
create some on my own.


I also would like to know what is the best way to debug trinidad code
inserted to my project. jadclipse? (is there actually some place where .java
files are generated from the template and xml, or .class files are produced
directly?

thanks

marek

Reply via email to