Hi,
would it make sense to generate viewconfig impl classes, based on the
available XHTML files?
Would help to reduce some boilerplate code...
If XHTML file is named "foo_bar.xhml", the generated java file could look like
@Page(
name="foo_bar"
)
public final class FooBar implements ViewConfig
{
}
for an XHTML page like "fooBar.xhtml" the generated code would look like:
@Page
public final class FooBar implements ViewConfig
{
}
Of course, once the developer added the @PageBean the 'regeneration'
should be able to catch that in order 'reinject' any @PageBean
What do you think ?
-Matthias