[shale] Backing view

2006-06-14 Thread Marty Phee
Newbie, I'm using Shale with tiger. JSP, subscribe (example from somewhere) that does a save. All this works fine, but I made a change so that the return should send it to a "Success" page. /subscribe.jsp success /success.jsp I kept getting a 500 error: 12:11:39

Re: [shale] Backing view

2006-06-14 Thread Marty Phee
Here you go. Again this is Shale with Tiger. 13:27:47,796 ERROR [faces]:253 - Servlet.service() for servlet faces threw exception java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? at org.springframework.web.jsf.FacesContextUtils.getRequir

Re: [shale] Backing view

2006-06-14 Thread Marty Phee
Removed spring and it works. Thanks for the pointer. So, if I use spring you must have managed beans for all JSP's? Not sure if I"m actually going to use spring. Wendy Smoak wrote: On 6/14/06, Marty Phee <[EMAIL PROTECTED]> wrote: Here you go. Again this is Shale wi

Re: [shale] Backing view

2006-06-14 Thread Marty Phee
I tried every permutation last night and couldn't get it to work without the managed bean. included. Thanks for the pointers. Seems to be with spring. I removed it and it works now. Craig McClanahan wrote: Comments interspersed below. On 6/14/06, Marty Phee <[EMAIL PROTECTED

Re: [shale] Backing view

2006-06-14 Thread Marty Phee
Done: http://issues.apache.org/struts/browse/SHALE-192 Craig McClanahan wrote: On 6/14/06, Marty Phee <[EMAIL PROTECTED]> wrote: Removed spring and it works. Thanks for the pointer. So, if I use spring you must have managed beans for all JSP's? Not sure if I"m actually goi

[shale] Problems with View controller

2006-06-19 Thread Marty Phee
I'm using: shale, tiger, tiles. I have a layout with one of the tiles being AdminContent.jsp. path="/admin/layouts/mainLayout.jsp"> I have a backing bean bean.AdminContent which is also declared as a @View. @Bean(name="AdminContent", scope= Scope.

Re: [shale] Problems with View controller

2006-06-19 Thread Marty Phee
return null; } Craig McClanahan wrote: On 6/19/06, Marty Phee <[EMAIL PROTECTED]> wrote: I'm using: shale, tiger, tiles. Nothing like trying *all* the new stuff all at once :-). How recent is the Shale build you are using? I ask because there were recent (after 1.0

Re: [shale] Problems with View controller

2006-06-20 Thread Marty Phee
The class that's trying to do the cast is org.apache.shale.component.SubView I'll keep my beans in the Request scope. Newbie alert... ;-) Craig McClanahan wrote: On 6/19/06, Marty Phee <[EMAIL PROTECTED]> wrote: Ok, I've got most everything working. Combination of

[Shale] Get the application path

2006-07-28 Thread Marty Phee
How do I get the application path. I can see it in the debugger through the ApplicationContextFacade, but not sure how to access it. I need the path of the application to pass on to a report generator. Thanks, Marty - To un

Re: [Shale] Get the application path

2006-07-28 Thread Marty Phee
Thanks. I'll move over to that list, but I'm looking for the application path. Not the context path. Craig McClanahan wrote: On 7/28/06, Marty Phee <[EMAIL PROTECTED]> wrote: How do I get the application path. I can see it in the debugger through the ApplicationContex

Re: java.lang.OutOfMemoryError with ant javac task

2006-08-31 Thread Marty Phee
Looks like it. Problem... You don't have enough memory. Go out and buy more. ;-) Puneet Lakhina wrote: On 8/31/06, temp temp <[EMAIL PROTECTED]> wrote: I using ant build file to compile ".java" files .I get java.lang.OutOfMemoryError. Here is the build file