You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Christian Sell <ch...@netcologne.de> on 2003/04/24 20:35:52 UTC

Re: exception

this "ognl:" thing is a nice little stumbling block indeed.


Howard M. Lewis Ship wrote:
> model="ognl:engine.cdListModel"
> 
> The exception message should identify the actual class ... you'd see
> java.lang.String and know what's up.  Add a bug.
> 
> --
> Howard M. Lewis Ship
> Creator, Tapestry: Java Web Components
> http://jakarta.apache.org/tapestry
> 
> 
> 
> 
>>-----Original Message-----
>>From: Christian Sell [mailto:christian.sell@netcologne.de] 
>>Sent: Thursday, April 24, 2003 12:51 PM
>>To: Tapestry development
>>Subject: exception
>>
>>
>>Hi,
>>
>>can somebody shed some light on what the exception below 
>>means? I have 
>>mediated for an hour - no clue. The lines in question from 
>>the template are:
>>
>>    <select jwcid="@PropertySelection" model="engine.cdListModel" 
>>value="album">
>>        <option value="test data"/>
>>    </select>
>>
>>the object returned from engine.cdListModel DOES implement the 
>>interface, but the method never even gets called!!
>>
>>
>>
>>Unable to set property model of component 
>>Shop/$PropertySelection from 
>>StaticBinding[engine.cdListModel].
>>component: 
>>org.apache.tapestry.form.PropertySelection$Enhance_8@72d873[Sh
>>op/$PropertySelection]
>>location: 	context:/WEB-INF/templates/shop.html, line 23
>>parameterName: 	model
>>propertyName: 	model
>>
>>org.apache.tapestry.BindingException
>>Parameter model (engine.cdListModel) does not implement interface 
>>org.apache.tapestry.form.IPropertySelectionModel.
>>binding: 	StaticBinding[engine.cdListModel]
>>location: 	context:/WEB-INF/templates/shop.html, line 23
>>Stack Trace:
>>
>>     * 
>>org.apache.tapestry.binding.AbstractBinding.getObject(Abstract
>>Binding.java:267)
>>     * 
>>org.apache.tapestry.param.AbstractParameterConnector.getBindin
>>gValue(AbstractParameterConnector.java:155)
>>     * 
>>org.apache.tapestry.param.ObjectParameterConnector.setParamete
>>r(ObjectParameterConnector.java:94)
>>     * 
>>org.apache.tapestry.param.ParameterManager.setup(ParameterMana
>>ger.java:293)
>>     * 
>>org.apache.tapestry.param.ParameterManager.setParameters(Param
>>eterManager.java:143)
>>     * 
>>org.apache.tapestry.AbstractComponent.prepareForRender(Abstrac
>>tComponent.java:909)
>>     * 
>>org.apache.tapestry.AbstractComponent.render(AbstractComponent
>>.java:875)
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
> 
> 



Re: exception

Posted by Christian Sell <ch...@netcologne.de>.
sure. However, not a nice proposition either when it comes to defining a 
dozen of Anys that I need only to put in dynamic attribute values (I 
keep thinking there should be a more elegant solution to that)

Howard M. Lewis Ship wrote:
> The use just declared components and not implicit components ... that is,
> return to 2.3 style.
> --
> Howard M. Lewis Ship
> Creator, Tapestry: Java Web Components
> http://jakarta.apache.org/tapestry
> 
> 
> 
> 
>>-----Original Message-----
>>From: Christian Sell [mailto:christian.sell@netcologne.de] 
>>Sent: Thursday, April 24, 2003 2:36 PM
>>To: Tapestry users
>>Subject: Re: exception
>>
>>
>>this "ognl:" thing is a nice little stumbling block indeed.
>>
>>
>>Howard M. Lewis Ship wrote:
>>
>>>model="ognl:engine.cdListModel"
>>>
>>>The exception message should identify the actual class ... 
>>
>>you'd see 
>>
>>>java.lang.String and know what's up.  Add a bug.
>>>
>>>--
>>>Howard M. Lewis Ship
>>>Creator, Tapestry: Java Web Components 
>>>http://jakarta.apache.org/tapestry
>>>
>>>
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: Christian Sell [mailto:christian.sell@netcologne.de]
>>>>Sent: Thursday, April 24, 2003 12:51 PM
>>>>To: Tapestry development
>>>>Subject: exception
>>>>
>>>>
>>>>Hi,
>>>>
>>>>can somebody shed some light on what the exception below
>>>>means? I have 
>>>>mediated for an hour - no clue. The lines in question from 
>>>>the template are:
>>>>
>>>>   <select jwcid="@PropertySelection" model="engine.cdListModel"
>>>>value="album">
>>>>       <option value="test data"/>
>>>>   </select>
>>>>
>>>>the object returned from engine.cdListModel DOES implement the
>>>>interface, but the method never even gets called!!
>>>>
>>>>
>>>>
>>>>Unable to set property model of component
>>>>Shop/$PropertySelection from 
>>>>StaticBinding[engine.cdListModel].
>>>>component: 
>>>>org.apache.tapestry.form.PropertySelection$Enhance_8@72d873[Sh
>>>>op/$PropertySelection]
>>>>location: 	context:/WEB-INF/templates/shop.html, line 23
>>>>parameterName: 	model
>>>>propertyName: 	model
>>>>
>>>>org.apache.tapestry.BindingException
>>>>Parameter model (engine.cdListModel) does not implement interface
>>>>org.apache.tapestry.form.IPropertySelectionModel.
>>>>binding: 	StaticBinding[engine.cdListModel]
>>>>location: 	context:/WEB-INF/templates/shop.html, line 23
>>>>Stack Trace:
>>>>
>>>>    *
>>>>org.apache.tapestry.binding.AbstractBinding.getObject(Abstract
>>>>Binding.java:267)
>>>>    * 
>>>>org.apache.tapestry.param.AbstractParameterConnector.getBindin
>>>>gValue(AbstractParameterConnector.java:155)
>>>>    * 
>>>>org.apache.tapestry.param.ObjectParameterConnector.setParamete
>>>>r(ObjectParameterConnector.java:94)
>>>>    * 
>>>>org.apache.tapestry.param.ParameterManager.setup(ParameterMana
>>>>ger.java:293)
>>>>    * 
>>>>org.apache.tapestry.param.ParameterManager.setParameters(Param
>>>>eterManager.java:143)
>>>>    * 
>>>>org.apache.tapestry.AbstractComponent.prepareForRender(Abstrac
>>>>tComponent.java:909)
>>>>    * 
>>>>org.apache.tapestry.AbstractComponent.render(AbstractComponent
>>>>.java:875)
>>>>
>>>>
>>>>------------------------------------------------------------
>>
>>---------
>>
>>>>To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: 
>>
>>tapestry-dev-help@jakarta.apache.org
>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>
>>>To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: 
>>
>>tapestry-dev-help@jakarta.apache.org
>>
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 



RE: exception

Posted by "Howard M. Lewis Ship" <hl...@attbi.com>.
The use just declared components and not implicit components ... that is,
return to 2.3 style.
--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry



> -----Original Message-----
> From: Christian Sell [mailto:christian.sell@netcologne.de] 
> Sent: Thursday, April 24, 2003 2:36 PM
> To: Tapestry users
> Subject: Re: exception
> 
> 
> this "ognl:" thing is a nice little stumbling block indeed.
> 
> 
> Howard M. Lewis Ship wrote:
> > model="ognl:engine.cdListModel"
> > 
> > The exception message should identify the actual class ... 
> you'd see 
> > java.lang.String and know what's up.  Add a bug.
> > 
> > --
> > Howard M. Lewis Ship
> > Creator, Tapestry: Java Web Components 
> > http://jakarta.apache.org/tapestry
> > 
> > 
> > 
> > 
> >>-----Original Message-----
> >>From: Christian Sell [mailto:christian.sell@netcologne.de]
> >>Sent: Thursday, April 24, 2003 12:51 PM
> >>To: Tapestry development
> >>Subject: exception
> >>
> >>
> >>Hi,
> >>
> >>can somebody shed some light on what the exception below
> >>means? I have 
> >>mediated for an hour - no clue. The lines in question from 
> >>the template are:
> >>
> >>    <select jwcid="@PropertySelection" model="engine.cdListModel"
> >>value="album">
> >>        <option value="test data"/>
> >>    </select>
> >>
> >>the object returned from engine.cdListModel DOES implement the
> >>interface, but the method never even gets called!!
> >>
> >>
> >>
> >>Unable to set property model of component
> >>Shop/$PropertySelection from 
> >>StaticBinding[engine.cdListModel].
> >>component: 
> >>org.apache.tapestry.form.PropertySelection$Enhance_8@72d873[Sh
> >>op/$PropertySelection]
> >>location: 	context:/WEB-INF/templates/shop.html, line 23
> >>parameterName: 	model
> >>propertyName: 	model
> >>
> >>org.apache.tapestry.BindingException
> >>Parameter model (engine.cdListModel) does not implement interface
> >>org.apache.tapestry.form.IPropertySelectionModel.
> >>binding: 	StaticBinding[engine.cdListModel]
> >>location: 	context:/WEB-INF/templates/shop.html, line 23
> >>Stack Trace:
> >>
> >>     *
> >>org.apache.tapestry.binding.AbstractBinding.getObject(Abstract
> >>Binding.java:267)
> >>     * 
> >>org.apache.tapestry.param.AbstractParameterConnector.getBindin
> >>gValue(AbstractParameterConnector.java:155)
> >>     * 
> >>org.apache.tapestry.param.ObjectParameterConnector.setParamete
> >>r(ObjectParameterConnector.java:94)
> >>     * 
> >>org.apache.tapestry.param.ParameterManager.setup(ParameterMana
> >>ger.java:293)
> >>     * 
> >>org.apache.tapestry.param.ParameterManager.setParameters(Param
> >>eterManager.java:143)
> >>     * 
> >>org.apache.tapestry.AbstractComponent.prepareForRender(Abstrac
> >>tComponent.java:909)
> >>     * 
> >>org.apache.tapestry.AbstractComponent.render(AbstractComponent
> >>.java:875)
> >>
> >>
> >>------------------------------------------------------------
> ---------
> >>To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: 
> tapestry-dev-help@jakarta.apache.org
> >>
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: 
> tapestry-dev-help@jakarta.apache.org
> > 
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>