I'm trying to edit an article object from a list of article
objects... when I click on the article link to edit I call this method:
public ArticleEdit editArticle(Integer pk) {
Article a = (Article)DataObjectUtils.objectForPK(getSession
().getDataContext(), Article.class, pk);
getArticleEditPage().setArticle(a); // to set the article to
edit
return getArticleEditPage();
}
but when I try to submit the form with the new values for my article
(the title and body of the article)... I get a null property error, I
suppose because article is not set in the edit page... but I see the
current values in the textfield and textarea... and I also called
setArticle on the previous page...
Any suggestion? Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]