You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Petros Petrou <pe...@cypoz.com> on 2009/02/10 14:11:30 UTC

Migrated from t5componets 0.5.18 to chenillekit-tapestry 1.0.0

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-tp21933310p21933310.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Migrated from t5componets 0.5.18 to chenillekit-tapestry 1.0.0

Posted by Petros Petrou <pe...@cypoz.com>.
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-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Migrated from t5componets 0.5.18 to chenillekit-tapestry 1.0.0

Posted by Petros Petrou <pe...@cypoz.com>.
Massimo, 

For some reason I did not see your reply before posting my follow up
question. Sorry about this. I will post a question here
http://groups.google.com/group/chenillekit-usr?pli=1 

Petros


Massimo Lusetti wrote:
> 
> On Tue, Feb 10, 2009 at 2:11 PM, Petros Petrou <pe...@cypoz.com> 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
> 
> ChenilleKit has it's own mail list so please post there, we would be
> more helpful.
> 
> 
> -- 
> Massimo
> http://meridio.blogspot.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Migrated-from-t5componets-0.5.18-to-chenillekit-tapestry-1.0.0-tp21933310p22180447.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Migrated from t5componets 0.5.18 to chenillekit-tapestry 1.0.0

Posted by Massimo Lusetti <ml...@gmail.com>.
On Tue, Feb 10, 2009 at 2:11 PM, Petros Petrou <pe...@cypoz.com> 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

ChenilleKit has it's own mail list so please post there, we would be
more helpful.


-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org