[jira] Updated: (WICKET-1491) ModalWindow: unclear exception if property "Content" is not set
[ https://issues.apache.org/jira/browse/WICKET-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Derugo updated WICKET-1491: -- Issue Type: Improvement (was: Bug) > ModalWindow: unclear exception if property "Content" is not set > --- > > Key: WICKET-1491 > URL: https://issues.apache.org/jira/browse/WICKET-1491 > Project: Wicket > Issue Type: Improvement > Components: wicket-extensions >Affects Versions: 1.3.2 >Reporter: Sergey Derugo > > 1. Create ModalWindow and don't set property *content* , for example: > {code} > package test.demo.webcontrols.popup; > import org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow; > public class DialogMessage extends ModalWindow { > public DialogMessage(String id) { > super(id); > setTitle("popups.notification.header"); > //setContent(new InformationMessageContent(getContentId())); > } > } > {code} > 2. Create instance of DialogMessage and call method *show* - exception is > thrown: > message - WicketMessage: Error creating page for modal dialog. > Using this exception it's impossible to understand what is wrong. Either > exception message should be more detailed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1491) ModalWindow: unclear exception if property "Content" is not set
[ https://issues.apache.org/jira/browse/WICKET-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Derugo updated WICKET-1491: -- Comment: was deleted > ModalWindow: unclear exception if property "Content" is not set > --- > > Key: WICKET-1491 > URL: https://issues.apache.org/jira/browse/WICKET-1491 > Project: Wicket > Issue Type: Bug > Components: wicket-extensions >Affects Versions: 1.3.2 >Reporter: Sergey Derugo > > 1. Create ModalWindow and don't set property *content* , for example: > {code} > package test.demo.webcontrols.popup; > import org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow; > public class DialogMessage extends ModalWindow { > public DialogMessage(String id) { > super(id); > setTitle("popups.notification.header"); > //setContent(new InformationMessageContent(getContentId())); > } > } > {code} > 2. Create instance of DialogMessage and call method *show* - exception is > thrown: > message - WicketMessage: Error creating page for modal dialog. > Using this exception it's impossible to understand what is wrong. Either > exception message should be more detailed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1491) ModalWindow: unclear exception if property "Content" is not set
[ https://issues.apache.org/jira/browse/WICKET-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Derugo updated WICKET-1491: -- Description: 1. Create ModalWindow and don't set property *content* , for example: {code} package test.demo.webcontrols.popup; import org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow; public class DialogMessage extends ModalWindow { public DialogMessage(String id) { super(id); setTitle("popups.notification.header"); //setContent(new InformationMessageContent(getContentId())); } } {code} 2. Create instance of DialogMessage and call method *show* - exception is thrown: message - WicketMessage: Error creating page for modal dialog. Using this exception it's impossible to understand what is wrong. Either exception message should be more detailed. was: 1. Create ModalWindow and don't set property *content* , for example: {code} package com.gfs.corp.bid.app.webcontrols.popup; import org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow; public class DialogMessage extends ModalWindow { public DialogMessage(String id) { super(id); setTitle("popups.notification.header"); //setContent(new InformationMessageContent(getContentId())); } } {code} 2. Create instance of DialogMessage and call method *show* - exception is thrown: message - WicketMessage: Error creating page for modal dialog. Using this exception it's impossible to understand what is wrong. Either exception message should be more detailed. > ModalWindow: unclear exception if property "Content" is not set > --- > > Key: WICKET-1491 > URL: https://issues.apache.org/jira/browse/WICKET-1491 > Project: Wicket > Issue Type: Bug > Components: wicket-extensions >Affects Versions: 1.3.2 >Reporter: Sergey Derugo > > 1. Create ModalWindow and don't set property *content* , for example: > {code} > package test.demo.webcontrols.popup; > import org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow; > public class DialogMessage extends ModalWindow { > public DialogMessage(String id) { > super(id); > setTitle("popups.notification.header"); > //setContent(new InformationMessageContent(getContentId())); > } > } > {code} > 2. Create instance of DialogMessage and call method *show* - exception is > thrown: > message - WicketMessage: Error creating page for modal dialog. > Using this exception it's impossible to understand what is wrong. Either > exception message should be more detailed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.