Re: AW: how to debug MarkupNotFoundException
So, I haven't solved the MarkupNotFoundException. The error occurs after I refresh the parent of repeater using Ajax. Actually I use a ListView. Here is the error in the log: RequestCycle.java | 1531 | Markup of type 'html' for component 'com.lingo24.orderingsystem.customer.web.wicket.wos.estimator.UploadFilesControl$1$1' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried.: [MarkupContainer [Component id = iconMinusPanelId]] org.apache.wicket.markup.MarkupNotFoundException: Markup of type 'html' for component 'com.lingo24.orderingsystem.customer.web.wicket.wos.estimator.UploadFilesControl$1$1' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried.: [MarkupContainer [Component id = iconMinusPanelId]] at org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:227) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-debug-MarkupNotFoundException-tp4632356p4634680.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AW: how to debug MarkupNotFoundException
Hi, - do you have an HTML file with the same name as Panel-Class? (like MyPanel.java and MyPanel.html - case sensitiv). - Is the HTML-file in the same package? - Is it copied to the class-path after compiling? - there is a markup-setting which you can set to get more info on your console about how Wicket tries to find the HTML file -Ursprüngliche Nachricht- Von: cosmindumy [mailto:cosmind...@yahoo.com] Gesendet: Montag, 14. Mai 2012 16:57 An: users@wicket.apache.org Betreff: how to debug MarkupNotFoundException I've got the following exception. How can I know wich is the problem? I have a FormComponent that has inside a RepeatingView. I'm not sure that is the problem, but I coldn't find ogher cause. How can I start debugging the cause? Markup of type 'html' for component 'org.apache.wicket.markup.html.panel.Panel' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried.: [MarkupContainer [Component id = 1]] org.apache.wicket.markup.MarkupNotFoundException: Markup of type 'html' for component 'org.apache.wicket.markup.html.panel.Panel' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried.: [MarkupContainer [Component id = 1]] Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-debug-MarkupNotFoundExcept ion-tp4632356.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AW: how to debug MarkupNotFoundException
Thanks for reply. Actually the panel is first time displayed, but after I refershit with ajax I get that exception. The problem is that I don't know exactly which panel cause that problem. Is it mandatory to be a panel that is in its own class and has html file or it might be any other panel? The situation is that from that panel I go to another one and after I return to it I get that error. I added a repeater and this could be the problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-debug-MarkupNotFoundException-tp4632356p4632436.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AW: how to debug MarkupNotFoundException
The problem is at repeater. I replaced it with another dummy component and there is no error. I just have to learn how to use the repeater. Maybe you can help with a link at a good example. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-debug-MarkupNotFoundException-tp4632356p4632612.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org