Hi,
the one that null is your selectedDepartment object.
you can see in your error message that when ognl tried to insert 2 to setId,
the referenced object is null.
maybe it is because your selectedDepartment object is null when the page is
rewinding, i suggest
you change your getSelectedDepartment method to,
public <your class> getSelectedDepartment(){
if(null==selectedDepartment){
selectedDeparment = new <your class>;
}
return selectedDepartment;
}
hope helps.
regards,
Gunna
----- Original Message -----
From: "gcormier" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, December 15, 2005 8:34 PM
Subject: RE: TextField component issue.
> org.apache.tapestry.BindingException
> Unable to update expression 'selectedDepartment.id'
>
> ognl.OgnlException
> target is null for setProperty(null, "id", 2)
>
>
> It points to my page file, the line with ** :
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]