I am using 1.3.4
Something Strang is going on. The messages are getting rendered for Non-Ajax
Requests. Problem seems to happen only for AjaxRequests.
Here is the Feedback panel content for Ajax request:
<div id="msgsa">
</div>
Here is the Non Ajax request:
<div id="msgs1">
<ul>
<li class="feedbackPanelERROR">
UnExpected error occured while processing your request .
Please Contact the Administrator
</li><li class="feedbackPanelERROR">
Error Cause : java.lang.ArithmeticException: / by zero
</li>
</ul>
</div>
igor.vaynberg wrote:
>
> what wicket version are you using?
>
> -igor
>
> On Tue, Feb 3, 2009 at 1:09 PM, wicketworker <[email protected]>
> wrote:
>>
>> I have an ExceptionPage, in which i have a feedback panel, upon runtime
>> exception MyExceptionPage is getting invoked but the feedback messages
>> are
>> not getting rendered. Below is what i have coded, could some one please
>> take
>> a look at it whats wrong?
>>
>> public class MyExceptionPage extends WebPage{
>>
>> public MyExceptionPage(RuntimeException e){
>> Throwable cause = e;
>> FeedbackPanel feedback = new FeedbackPanel("msgs");
>> feedback.setOutputMarkupId(true);
>> add(feedback);
>> error("UnExpected error occured while processing your
>> request ");
>> error("Error Cause : " + cause);
>> System.out.println(feedback.anyErrorMessage());
>>
>> }
>> }
>>
>> Here is my Html Content.
>>
>> <html>
>> <body>
>> <div wicket:id="msgs"></div>
>> </body>
>> </html>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/FeedBackPanel-not-rendering-Messages-tp21819008p21819008.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://www.nabble.com/FeedBackPanel-not-rendering-Messages-tp21819008p21819435.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]