Re: [Webwork-user] actions not returning view correctly
Brought to you by:
baldree,
rickardoberg
|
From: matt b. <ma...@sm...> - 2002-08-18 00:30:48
|
Why aren't you returning 'velocity.Scheduler.product.success'? Did you debug
the ServletDispatcher to see what the result and the view output is?
----- Original Message -----
From: "G.L. Grobe" <ga...@gr...>
To: "matt baldree" <ma...@sm...>;
<web...@li...>;
<ope...@li...>
Sent: Saturday, August 17, 2002 7:24 PM
Subject: Re: [Webwork-user] actions not returning view correctly
> Because the view page in the mapping isn't showing up. No 404. If I source
> the page, it's as follows.
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html;
> charset=windows-1252"></HEAD>
> <BODY></BODY></HTML>
>
> So in the following mapping, my scheduler.vm isn't showing up. That's why
I
> say it's not reaching the view.
>
> velocity.Scheduler.product.success=adm_scheduler/scheduler.vm
>
> ----- Original Message -----
> From: "matt baldree" <ma...@sm...>
> To: "G.L. Grobe" <ga...@gr...>; <web...@li...>;
> <ope...@li...>
> Sent: Saturday, August 17, 2002 6:34 PM
> Subject: Re: [Webwork-user] actions not returning view correctly
>
>
> > Forwarding to new site.
> >
> > How do you know it is not reaching the view? Is it returning 404 or some
> > other error?
> >
> > ----- Original Message -----
> > From: "G.L. Grobe" <ga...@gr...>
> > To: <web...@li...>
> > Sent: Saturday, August 17, 2002 6:19 PM
> > Subject: [Webwork-user] actions not returning view correctly
> >
> >
> > > I've got a problem where an action is not returning the view in my
> > > views.properties file. When I browse my pages, all I'm getting back is
a
> > > completely blank page (no errors whatsoever, just blank white). I'm
> using
> > > JBoss 3.0.1 w/ Jetty.
> > >
> > > --- snip (my Action)
> > > public class Scheduler extends ActionSupport implements ParameterAware
{
> > >
> > > ... // all my parameters are collected correctly
> > >
> > > public String doExecute() throws Exception {
> > > ...
> > > // it reaches this point
> > > return "product.success";
> > > }
> > >
> > > ...
> > >
> > > --- snip (views.properties)
> > >
> > > velocity.Scheduler.product.success=adm_scheduler/scheduler.vm
> > >
> > > I also have this package configured in webwork.properties.
> > >
> > > Any help much appreciated.
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by: OSDN - Tired of that same old
> > > cell phone? Get a new here for FREE!
> > > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > > _______________________________________________
> > > Webwork-user mailing list
> > > Web...@li...
> > > https://lists.sourceforge.net/lists/listinfo/webwork-user
> > >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone? Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Webwork-user mailing list
> > Web...@li...
> > https://lists.sourceforge.net/lists/listinfo/webwork-user
> >
>
>
|