Title: Centire Signature
Hi all,

I am trying to change the default Exception page in my portlet application.

My files (only the most important):
context/WEB-INF/myApplication.application
context/WEB-INF/hivemodule.xml
context/WEB-INF/myPortlet/myPortlet.application
context/WEB-INF/myPortlet/hivemodule.xml

1. As I know, the simplest way is to create Exception.page and Exception.html in
context/WEB-INF/. But that works fine only when running in standard application context. However, it does not work when running in portlet container.

2. I tried to change the Exception page. So I added
<page name="Exception" specification-path="MyException.page"/>
to myApplication.application and myPortlet.application. Also did not work.

3. I tried to add
<contribution configuration-id="tapestry.InfrastructureOverrides">
    <property name="exceptionPageName" value="MyException"/>
</contribution>
to all hivemodule.xml files. I also specified MyException as
<page name="MyException" specification-path="MyException.page"/>
in *.application files. Still did not work.

None of the three ways worked. Tapestry always displayed the default Exception page.

Can anyone help?


--

Martin Petras

Java Developer Senior

 

Centire, s.r.o.

Zahradnicka 72

821 08  Bratislava

Slovak republic

phone  +421 2 5010 9800

fax        +421 2 5010 9888

www.centire.com

 

* Help save paper - do you need to print this email?

 

This message contains information that may be privileged or confidential and is the property of the S&K Management Systems s.r.o. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. The S&K Management Systems s.r.o. cannot accept liability for any loss or damage caused to recipient using of both this message content or appendix. Tato sprava obsahuje informacie, ktore mozu byt dolezite alebo doverne a ako take su vlastnictvom spolocnosti S&K Management Systems s.r.o. Sprava je urcena len adresovanym osobam. Ak nie ste touto osobou, nemate pravo spravu, ani jej casti ci prilohy, citat, vytlacit, uchovavat, kopirovat, sirit, distribuovat alebo vyuzivat inym sposobom. V pripade, ze ste spravu obdrzali omylom alebo vdaka chybe, upozornite prosim bez vahania odosielatela a vymazte vsetky kopie spravy. Spolocnost S&K Management Systems s.r.o. nenesie zodpovednost za akekolvek straty alebo skody sposobene prijemcovi vyuzitim obsahu alebo priloh tejto spravy. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to