Improved design of errors and fixed NullPointerException when clicking in continue.

FEA: ItEr74S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2011-04-14 09:15:12 +02:00
parent c27c20c62f
commit 08a54a6ff7
3 changed files with 4 additions and 3 deletions

View file

@ -46,6 +46,7 @@ public class PageForErrorOnEvent extends GenericForwardComposer {
public void doAfterCompose(Component comp) throws Exception {
super.doAfterCompose(comp);
logError();
modalWindow = comp;
stacktrace.setValue(getStacktrace());
}

View file

@ -19,7 +19,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<?page title="${i18n:_('NavalPlan: Runtime Error')}" ?>
<?init class="org.zkoss.zk.ui.util.Composition" arg0="/common/layout/template.zul"?>
<?taglib uri="/WEB-INF/tld/i18n.tld" prefix="i18n"?>
<?link rel="stylesheet" type="text/css" href="/common/css/navalplan.css"?>
<?link rel="stylesheet" type="text/css" href="/common/css/navalplan_zk.css"?>
<zk>
@ -46,7 +46,7 @@
</row>
<row>
<label value="${i18n:_('Stacktracke:')}" />
<textbox id="stacktrace" rows="20" width="600px" />
<textbox id="stacktrace" rows="20" width="600px" readonly="true" />
</row>
</rows>
</grid>

View file

@ -41,7 +41,7 @@
</row>
<row>
<label value="${i18n:_('Stacktracke:')}" />
<textbox id="stacktrace" rows="20" width="600px" />
<textbox id="stacktrace" rows="20" width="600px" readonly="true" />
</row>
</rows>
</grid>