You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Edi <ed...@yahoo.com> on 2007/12/08 10:57:57 UTC

Conversion Exception and unable to set object

I have 2 ListMultipleChoice boxes, i have selected both List items, and click
the submit button, I got 

[15:10:44] ERROR unable to set object [ReportFields
{reportFieldId='newhorizon_273',fieldName='Ship Speed', '}], model:
Model:classname=[wicket.model.CompoundPropertyModel]:attached=true:nestedModel=[ReportFields
{reportFieldId='null',fieldName='null', '}], called with component
[MarkupContainer [Component id = leftReportFieldCombo, page =
com.newhorizon.vrm.kernel.ui.page.MainPage, path =
13:content:submenu_content:tabsPanel:panel:filterWindow2:content:mappedbyFilterForm:leftReportFieldCombo.ListMultipleChoice,
isVisible = true, isVersioned = false]]  [wicket.RequestCycle]

wicket.WicketRuntimeException: unable to set object [ReportFields
{reportFieldId='newhorizon_273',fieldName='Ship Speed', '}], model:
Model:classname=[wicket.model.CompoundPropertyModel]:attached=true:nestedModel=[ReportFields
{reportFieldId='null',fieldName='null', '}], called with component
[MarkupContainer [Component id = leftReportFieldCombo, page =
com.newhorizon.vrm.kernel.ui.page.MainPage, path =
13:content:submenu_content:tabsPanel:panel:filterWindow2:content:mappedbyFilterForm:leftReportFieldCombo.ListMultipleChoice,
isVisible = true, isVersioned = false]]

Caused by: wicket.util.convert.ConversionException: Can't convert value:
[ReportFields {reportFieldId='newhorizon_273',fieldName='Ship Speed', '}] to
class: class com.newhorizon.vrm.kernel.domain.ReportFields for setting it on
ReportFields {reportFieldId='null',fieldName='null', '}

Please explain.
-- 
View this message in context: http://www.nabble.com/Conversion-Exception-and-unable-to-set-object-tf4966507.html#a14227003
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: Conversion Exception and unable to set object

Posted by Edi <ed...@yahoo.com>.
any reply please ....




Edi wrote:
> 
> I have 2 ListMultipleChoice boxes, i have selected both List items, and
> click the submit button, I got 
> 
> [15:10:44] ERROR unable to set object [ReportFields
> {reportFieldId='newhorizon_273',fieldName='Ship Speed', '}], model:
> Model:classname=[wicket.model.CompoundPropertyModel]:attached=true:nestedModel=[ReportFields
> {reportFieldId='null',fieldName='null', '}], called with component
> [MarkupContainer [Component id = leftReportFieldCombo, page =
> com.newhorizon.vrm.kernel.ui.page.MainPage, path =
> 13:content:submenu_content:tabsPanel:panel:filterWindow2:content:mappedbyFilterForm:leftReportFieldCombo.ListMultipleChoice,
> isVisible = true, isVersioned = false]]  [wicket.RequestCycle]
> 
> wicket.WicketRuntimeException: unable to set object [ReportFields
> {reportFieldId='newhorizon_273',fieldName='Ship Speed', '}], model:
> Model:classname=[wicket.model.CompoundPropertyModel]:attached=true:nestedModel=[ReportFields
> {reportFieldId='null',fieldName='null', '}], called with component
> [MarkupContainer [Component id = leftReportFieldCombo, page =
> com.newhorizon.vrm.kernel.ui.page.MainPage, path =
> 13:content:submenu_content:tabsPanel:panel:filterWindow2:content:mappedbyFilterForm:leftReportFieldCombo.ListMultipleChoice,
> isVisible = true, isVersioned = false]]
> 
> Caused by: wicket.util.convert.ConversionException: Can't convert value:
> [ReportFields {reportFieldId='newhorizon_273',fieldName='Ship Speed', '}]
> to class: class com.newhorizon.vrm.kernel.domain.ReportFields for setting
> it on ReportFields {reportFieldId='null',fieldName='null', '}
> 
> Please explain.
> 

-- 
View this message in context: http://www.nabble.com/Conversion-Exception-and-unable-to-set-object-tp14227003p14248456.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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