The only explanation for this is that your AppModule is not being loaded; Tapestry sends debug output at startup to list modules that are loaded; that's the first step. For example, AppModule must be in the correct package for Tapestry to find it. The rules for all this are in the documentation.
On Mon, Aug 31, 2009 at 12:29 AM, Xuan Tran Le<lexuanttk...@gmail.com> wrote: > Dear sir/madam, > > I am interested in implementing portlet for Tapestry 5.1.0.5. I have > download the contribution from > https://issues.apache.org/jira/browse/TAP5-78. However, there is an issue: > when I contribute to the default applications by > > --------------------------- AppModule.java --------------------------- > public static void contributeApplicationDefaults(MappedConfiguration<String, > String> configuration) { > .... > > configuration.add(SymbolConstants.SUPPRESS_REDIRECT_FROM_ACTION_REQUESTS, > "true"); > } > ------------------------------------------------------------------------------- > > And when run the application, I found that in > org.apache.tapestry5.internal.services.InternalModule the "immediateMode" > variable value is false > > --------------------------- InternalModule.java > ----------------------------------- > /** > * Chooses one of two implementations, based on the configured mode. > */ > public static ActionRenderResponseGenerator > buildActionRenderResponseGenerator( > > �...@symbol(SymbolConstants.SUPPRESS_REDIRECT_FROM_ACTION_REQUESTS) > boolean immediateMode, > > ObjectLocator locator) > { > if (immediateMode) return > locator.autobuild(ImmediateActionRenderResponseGenerator.class); > > return locator.autobuild(ActionRenderResponseGeneratorImpl.class); > } > ------------------------------------------------------------------------------- > > Please help me. > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org