On 6/21/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote:
Hi,

do you know if Shale can be easily plugged in a MyFaces/Trinidad
project? I'm interested in the ViewController pattern, but I can't
make it work.

In principle, this kind of mixing should work, although I haven't tried it myself.

I setup the project as described in the Shale website, and also tried
to manually set ViewViewHandler as the viewhandler in
faces-config.xml.

You should not have to do this yourself ... Shale (like Trinidad) includes an embedded faces-config.xml that should register its own facilities.

Stepping through the code I can see that it
correctly find my managed-bean (using the ViewControllerMapper), but
my init method is never called. I don't know which class is supposed
to invoke those callback...

How recent is the copy of Shale you are using?  This is important because the mechanism that fires these events was recently (last couple of weeks) updated.

Can this be related to Trinidad? Someone is using these two frameworks along?

I will put trying this combination on my list of things to play with.

Thank you
Cosma


Craig

Reply via email to