RefreshingView/DataView with FormComponents and getForm

2009-01-29 Thread Ryan
I have a Panel with a DataView, inside populateItem I add TextFields to the Item (and the dataView is added to the Form). This panel contains a FeedbackPanel that should only show errors generated by fields added in populateItem. Unfortunately the Item object has its parent set to null. So calls

Re: RefreshingView/DataView with FormComponents and getForm

2009-01-29 Thread Igor Vaynberg
show us your code -igor On Thu, Jan 29, 2009 at 10:36 AM, Ryan wicket-us...@mandrake.us wrote: I have a Panel with a DataView, inside populateItem I add TextFields to the Item (and the dataView is added to the Form). This panel contains a FeedbackPanel that should only show errors generated

Re: RefreshingView/DataView with FormComponents and getForm

2009-01-29 Thread Ryan
I hacked together a quickstart and pasted the code here: http://pastebin.com/m3d0a54 I didnt know if there was a policy on pasting code to the list.. Thanks, Ryan On Thu, Jan 29, 2009 at 10:47:13AM -0800, Igor Vaynberg exclaimed: show us your code -igor On Thu, Jan 29, 2009 at 10:36 AM,

Re: RefreshingView/DataView with FormComponents and getForm

2009-01-29 Thread Igor Vaynberg
this is because you are using a refreshing view in combination with form components. in your case view items are removed from the refreshing view before your filter runs, so you have a disconnect between page-form-refresingview- | -item-formcomponent and so formcomponent.getform() cannot find