Since you have:
feedback.setOutputMarkupId(true); 
is it possible that some AJAX behaviour is clearing the messages before you
notice them?

Either way, the technique described at 
http://wicket.apache.org/quickstart.html  
is very simple, quick and useful.
You can make the simplest possible app that demonstrates the behaviour
you're describing, delete the target folder, zip everything up and send it
to the list so we can take a look at what's causing the problem.

Regards - Cemal
http://www.jWeekend.co.uk jWeekend 




wicketworker wrote:
> 
> Thanks Igor. Could you please elaborate a bit more, i am new here. 
> 
> 
> igor.vaynberg wrote:
>> 
>> create a quickstart
>> 
>> -igor
>> 
>> On Tue, Feb 3, 2009 at 1:34 PM, wicketworker <[email protected]>
>> wrote:
>>>
>>> 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]
>>>
>>>
>> 
>> ---------------------------------------------------------------------
>> 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-tp21819008p21848618.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]

Reply via email to