Hi, Has anyone seen this problem? I am still not able to fix it?
Petros Petros Petrou wrote: > > I just changed my dependencies from t5components 0.5.18 to > chenillekit-tapestry 1.0.0 and the following code that used to work fine > now throws the exception shown below. Switching back to t5components > 0.5.18 fixes the problem > ************************** > @Inject > @Property > private Block themeBlock; > ************************** > @OnEvent(component = "uiThemeForm", value = "submit") > private Block onSuccessFromUiThemeForm() { > settingsOrchestrator.saveSelectedTheme(selectedTheme); > active = true; > themeFeedbackMessage = messages.format("theme-feedback-message", > selectedTheme); > return themeBlock; > } > ************************** > EXCEPTION > Caused by: java.lang.RuntimeException: A component event handler method > returned the value Block[themeBlock within setting/Page, at > classpath:com/celestiatech/ui/pages/setting/SettingPage.tml, line 17, > column 60]. Return type org.apache.tapestry5.internal.structure.BlockImpl > can not be handled. Configured return types are java.lang.Class, > java.lang.String, java.net.URL, org.apache.tapestry5.Link, > org.apache.tapestry5.StreamResponse, > org.apache.tapestry5.runtime.Component. > > Petros > -- View this message in context: http://www.nabble.com/Migrated-from-t5componets-0.5.18-to-chenillekit-tapestry-1.0.0-tp21933310p22099176.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org