javadoc suggestion: @Since Wicket 1.4

2010-08-26 Thread Ayodeji Aladejebi
javadoc suggestion: @since Wicket 1.5 Just to help identify which components are not available in a version -- Aladejebi Ayodeji A.,

How to identify last Repeater/DataView item

2010-08-26 Thread Benedikt Schlegel
Hy folks, is there a way to determine if the current Item in onPopulate() is the last one processed? I need to add an additional attribute to the last DataView row. Thanks for your help, Benedikt Save Paper: Think Before You Print Beta Systems Email Disclaimer and Email Impressum Beta

Re: How to identify last Repeater/DataView item

2010-08-26 Thread Igor Vaynberg
item has an index property, so you can check if that is -1 of getitemsperpage() -igor 2010/8/26 Benedikt Schlegel benedikt.schle...@betasystems.com: Hy folks, is there a way to determine if the current Item in onPopulate() is the last one processed? I need to add an additional attribute to

exception when last tab of AjaxTabbedPanel is removed

2010-08-26 Thread Clément Tamisier
Hi, I am using wicket 1.4.6 and AjaxTabbedPanel class. I add and remove tabs dynamically. I have an exception when i remove the last tab (no problem when tabs1). When I debug i see that getSelectedTab() return 0 and tabs in TabbedPanel is empty. Do you have any ideas. Thank you Clément

Re: Problem to replace panel

2010-08-26 Thread zoran
I've solved this. The problem was in that I made a call to update panel methods for both panels from instance of the first panel that was updated. The second call on update method was on the wrong target, so it couldn't found a component (panel) to update. Zoran -- View this message in context:

EXception handling in Wicket

2010-08-26 Thread arunarapole
Hi How to display exception message in hidden field or on pop up window or feedback panel or in any wicket component in the same page where i am entering data. If any one does this please send me sample code or idea please do this i am very new to the wicket frame work. please help out me

How to determine previous value in select after user change

2010-08-26 Thread Steve Mactaggart
Hi All, I'm not sure if there is a wicket way to do this, or if I have to mange the data myself, but we have a screen that has a select on it and need to detect the user changing the value. This is simply achieved with a AjaxFormComponentUpdatingBehavior, and works well. My problem is that by

Re: EXception handling in Wicket

2010-08-26 Thread Nitnatsnok
Hi, I don't know if it is a proper way but this is how I did it. 1. Extended WebRequestCycle @Override public Page onRuntimeException(Page page, RuntimeException e) { // if error was during application running e.g. when Home page was loaded and if it was an ajax request that

Re: EXception handling in Wicket

2010-08-26 Thread Nitnatsnok
Oh, also I set not to show Error Page on exception in WebApplication: getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_NO_EXCEPTION_PAGE); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/EXception-handling-in-Wicket-tp2340439p2340562.html