Hi folks!

We already discussed this as part of another thread, but it's time to find a 
final solution

What we have so far:

in CODI we have interface + annotation based view configs:

https://cwiki.apache.org/confluence/display/EXTCDI/JSF+Usage#JSFUsage-TypesafeViewConfig

You basically write your page structure as interface with sub-interfaces and 
annotate them with features you like to get.
A nice feature is that you can write JSF actions like the following

  Class<? extends ViewConfig> doSomething() {
    ....
    return Admin.EditCustomer.class;
  }

Say goodbye to any clumsy String handling...


In Seam3 there is a way to write Enums for approaching something similar. 
Someone has a link for the docs and might join in to explain the strengths and 
weak spots of this approach?


txs and LieGrue,
strub

Reply via email to