Kevin,

you might also look at [1]

[1] http://tinyurl.com/zuth8

On 5/14/06, Kevin Galligan <[EMAIL PROTECTED]> wrote:
Wild.  Thanks for the response.  I can honestly say I saw nothing like that
in the docs I had come across, but my research tends to happen when I'm too
tired to code, so I could've easily missed it.

I just tried it, and it certainly does pick it up, although I'm having some
trouble with managed properties off the bean (but that's a different issue
to explore).

As a general jsf question, I know some tools generated a backing bean per
page behind the scenes.  The naming scheme here seems odd to me, but does it
happen to match the backing beans generated with these types of tools?


On 5/13/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> On 5/13/06, Kevin Galligan < [EMAIL PROTECTED]> wrote:
> >
> > Anybody use shale?  Is there anything special for configuration?  I set
up the shale filter, and it is set to catch everything '/*'.
>
>
>
> Complete configuration instructions are on the website[1].  You can also
download a "blank" starter app from the nightly builds area[2].
>
>
>
> >
> >   I have a managed bean in a page that is used for various things.  I've
extended AbstractViewController, and implemented 'init()'.  It doesn't get
called.  I also tried 'preprocess' and 'prerender', just to see what
happened.  Nothing.  My brain is telling me that there must be a place that
explicitly maps that "view" with that managed bean.  Right now, the managed
bean is declared and I'm just using it in the page.  It would seem that
shale needs a little more info.  Like that bean is designated for that page.
 Any thoughts?
>
>
>
> You are correct that Shale does need to know how to get from the view
identifier of your  page to the managed bean name of the corresponding
backing bean (which optionally implements ViewController).  The strategy
used is pluggable; the default algorithm is described in the Javadocs for
DefaultViewControllerMapper[3].
>
>
> >
> >   Wrong mailing list?
>
>
> The Struts user list would be the right place for purely Shale related
questions (although because Shale is based on JSF there's often a bit of
overlap in the audiences that might be interested).
>
>
> >
> > Thanks in advance,
> >
> > -Kevin
> >
>
> Craig
>
> [1] http://struts.apache.org/struts-shale/using.html
> [2]
http://cvs.apache.org/builds/struts/nightly/struts-shale/
> [3]
http://struts.apache.org/struts-shale/shale-core/apidocs/org/apache/shale/view/impl/DefaultViewControllerMapper.html
>
>




--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
http://jroller.com/page/mwessendorf
mwessendorf-at-gmail-dot-com

Reply via email to