Re: Shale-Clay: Are managed beans mandatory in xml view?

2005-12-09 Thread Mikael Andersson
Yeah I know ;) , in the future I'll make sure to keep better control of my jars. Mikael On 09/12/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > On 12/9/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > > > >From: Mikael Andersson <[EMAIL PROTECTED]&

Re: Shale-Clay: Are managed beans mandatory in xml view?

2005-12-09 Thread Mikael Andersson
Hi, I discovered the problem, I had not specified the ContextLoader listener for Spring. I thought that I didn't have to have that enabled! When adding the following to my web.xml everything works: contextConfigLocation /WEB-INF/applicationContext*.xml or

Re: Shale-Clay: Are managed beans mandatory in xml view?

2005-12-08 Thread Mikael Andersson
On 08/12/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > Well, I'm not sure what to make of this one. The RI doesn't throw and > exception when a managed bean is not found, just returns a null object. > > // Retrieve an existing instance, or one created and configured by > // the

Re: Shale-Clay: Are managed beans mandatory in xml view?

2005-12-08 Thread Mikael Andersson
Gary VanMatre comcast.net> writes: [snippet] > > Make sure that you don't have any expression like #{ managed-bean-name} bound to > a control. If you are using the " managed-bean-name" symbol, make sure it's registered > in the faces-config.xml. > > If you have a more specific exception,

Re: Shale-Clay: Are managed beans mandatory in xml view?

2005-12-08 Thread Mikael Andersson
Gary VanMatre comcast.net> writes: [snippet] > > > > > > When running this without a managed bean called 'test' in faces-config.xml, I > > > get the following error: > > > ERROR > >(org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/estoolweb]. > > > [Faces > > > Servlet]) - Se

Re: Shale-Clay: Are managed beans mandatory in xml view?

2005-12-08 Thread Mikael Andersson
Ryan Wynn gmail.com> writes: > Mikael, > > I think you could get it down to 1 managed-bean by doing this > > > > > > > > > > > > > > > > > And declaring layoutBe

Shale-Clay: Are managed beans mandatory in xml view?

2005-12-08 Thread Mikael Andersson
Hi, testing some clay templating ( base code from some very helpful posts in this forum), and it seems like I must have a managed bean associated to every view. Is this correct? When running the code below without a managed bean I get an error, but if I declare one for it it works fine. The code

Re: Shale-Clay: Error finding Converter for component

2005-12-08 Thread Mikael Andersson
Thanks for the help Gary. You sorted out my first problem, but now I have a new one. I'll spend some time investigating it myself before posting (which I'll probably end up doing). Cheers, Mikael - To unsubscribe, e-mail: [EM

Re: Shale-Clay: Error finding Converter for component

2005-12-07 Thread Mikael Andersson
Gary VanMatre comcast.net> writes: > My guess is that your managed bean doesn't exist. Clay full html views take on the managed bean name using the same > rules that the Shale ViewController uses. The managed bean name is derived from the view id. > I would put some debug logic in your bound

Re: Shale-Clay: Error finding Converter for component

2005-12-07 Thread Mikael Andersson
Just tried the allowBody="true" attribute, but I still get the same error. Ryan Wynn gmail.com> writes: > Looking at this quickly, have you tried setting allowBody="true" on > the . Not sure if this matters in this case, but I have found > it to be important in others. > -

Shale-Clay: Error finding Converter for component

2005-12-07 Thread Mikael Andersson
Hi, I am new to Shale and Clay and am getting a 'Error finding Converter for component', you guys will probably spot this beginner mistake immediately :) Error: ERROR (org.apache.myfaces.renderkit.html.HtmlRendererUtils) - Error finding Converter for component with id clayView:_id0:_id1:_id40:_id8