I have a table with a drop down in one of the columns. This table gets refreshed every 10 seconds through Ajax.
I did some testing and it seams I get the error when I'm trying to change the content of the drop down (which gets posted through Ajax) exactly when the table gets refreshed. So it fails with that error being caused by the fact that Wicket cannot find a page for the drop down component. Is my logic correct? Is there a nice way to prevent this error? If so, how? Although this error does NOT get through to the user, I'd like to keep my code clean of errors. About [2] - setting the type of the model, why is that necessary? Couldn't Wicket determine that? At least in most of the cases? Thanks, Cristi Manole On Sat, Jun 14, 2008 at 11:18 PM, Maurice Marrink <[EMAIL PROTECTED]> wrote: > On Fri, Jun 13, 2008 at 12:31 PM, Cristi Manole <[EMAIL PROTECTED]> > wrote: > > [1] I get these kind of errors quite often: > > > > there was an error cleaning up target [EMAIL PROTECTED] > > markupIdToComponent > > > > any idea what causes them? [i'm guessing it's a panel that gets updated > to > > often for my server - 10s, lots of clients, but that's just a guess]. > > Can you show us the entire stacktrace? this is throw from the > requestcycle in the detach wich will attempt to detach your entire > page. Apparently something does not like being detached :) > > > > > [2] And this keeps on bothering me (but not as much): > > > > Couldn't resolve model type of > > > Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[]:expression=[user] > > for [MarkupContainer [Component id = User, page = > > com.foreverpizza.core.HomePage, path = > 0:signInForm:User.RequiredTextField, > > isVisible = true, isVersioned = false]], please set the type yourself. > > > > How can I set this myself? I never got this warning before 1.3.3. > > You can do setType on any formcomponent, most also allow you to pass > it as a constructor parameter, like RequiredTextField does. > > > Maurice > > > > > Thanks, > > Cristi Manole > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
