I don't have the book, but it seems like it's expected that getContext()
returns a subclass of ActionBeanContext, whereas your implementation returns
a regular ActionBeanContext. If you already configured Stripes to use a
different context class, it's only a matter of changing getContext()'s
return type - if you haven't, you'll need to do that as well. I guess the
book explains it better than I can, but you have a couple of options to tell
Stripes that you'd like to use a different ActionBeanContext. The easiest
one (since 1.5) is to simply put your ActionBeanContext subclass in an
extension package.
On Fri, Oct 3, 2008 at 5:33 AM, <[EMAIL PROTECTED]> wrote:
> I'm busy with the Email application in the book and get the following
> exceptions:
>
> C:\workspace\MailApp\MailApp-war\src\java\stripesbook\action\BaseActionBean.java:24:
> cannot find
> symbol
> symbol : method setCurrentFolder(stripesbook.model.Folder)
> location: class net.sourceforge.stripes.action.ActionBeanContext
> getContext().setCurrentFolder(folder);
>
> C:\workspace\MailApp\MailApp-war\src\java\stripesbook\action\MessageComposeActionBean.java:137:
> cannot find
> symbol
> symbol : method getMessageCompose()
> location: class net.sourceforge.stripes.action.ActionBeanContext
> return getContext().getMessageCompose();
>
> C:\workspace\MailApp\MailApp-war\src\java\stripesbook\action\MessageComposeActionBean.java:140:
> cannot find
> symbol
> symbol : method setMessageCompose(stripesbook.model.Message)
> location: class net.sourceforge.stripes.action.ActionBeanContext
> getContext().setMessageCompose(message);
>
> Please help!!!!!
>
> Gideon
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users