Ahh, forgot to put class location in component-specification, it works now.
Borut Bolčina wrote:
Hi,
why on earth am I getting ognl.NoSuchPropertyException when there is
in Border.jwc
<component id="prizesRollover" type="Rollover">
<binding name="image" value="prizesImage"/>
<binding name="focus" value="prizesRolloverImage"/>
</component>
and in Border.java
private IAsset prizesImage;
private IAsset prizesRolloverImage;
...
public IAsset getPrizesImage() {
return prizesImage;
}
public void setPrizesImage(IAsset prizesImage) {
this.prizesImage = prizesImage;
}
public IAsset getPrizesRolloverImage() {
return prizesRolloverImage;
}
public void setPrizesRolloverImage(IAsset prizesRolloverImage) {
this.prizesRolloverImage = prizesRolloverImage;
}
I using T4b12 and following the example in Howard's book TIA and
peeking the code of the Virtual Library from examples/Vlib.
org.apache.tapestry.BindingException
Unable to read OGNL expression '<parsed OGNL expression>' of
[EMAIL PROTECTED]/$Border]: $BaseComponent_429.prizesImage
binding: ExpressionBinding[Prizes/$Border prizesImage]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]