Re: Unable to get response page from PageRequestHandlerTracker

2012-08-28 Thread James Eliyezar
Should I register PageRequestHandlerTracker anywhere? On Wed, Aug 29, 2012 at 2:40 PM, James Eliyezar wrote: > Alright Paul. > > This is my code: > > public class HomePage extends WebPage >> { >> private static Logger logger = >> LoggerFactory.getLogger(HomePage.class); >> private static

Re: Performance tuning Wicket[1.5]...

2012-08-28 Thread nino martinez wael
A little feedback. First I tried visualVM (did not provide enough detail for this "extreme" optimization), then jprofiler (had trouble getting it to work), but yourkit gave the best result. However there was little I could do, other than removing an unnecessary filter (character encoding fix for to

Re: ObjectAutoCompleteBuilder in wicket 1.5.7 get is not a valid Serializable" error.

2012-08-28 Thread Martin Grigorov
Hi, SerializableChecker logs a detailed message pointing to the non-serializable field. Please paste the exception. On Wed, Aug 29, 2012 at 7:37 AM, Vignesh Palanisamy wrote: > Hello everyone, > > We had used ObjectAutoCompleteBuilder for a text field in a form in wicket > 1.4 here its work fine

ObjectAutoCompleteBuilder in wicket 1.5.7 get is not a valid Serializable" error.

2012-08-28 Thread Vignesh Palanisamy
Hello everyone, We had used ObjectAutoCompleteBuilder for a text field in a form in wicket 1.4 here its work fine, but right now we are migrating from wicket 1.4 to wicket 1.5.7 as well as wicketstuff 1.5.7. here on submit form, we get : *"is not a valid Serializable"* error. why it comes? is we

Re: Unable to get response page from PageRequestHandlerTracker

2012-08-28 Thread Paul BorČ™
Might help if you provide a stack trace for the NPE :) Have a great day, Paul BorČ™ On Aug 29, 2012, at 0:37, James Eliyezar wrote: > Hi, > > We recently migrated our application to wicket-1.5.8. > > We have an audit aspect based on Spring AOP that shall log the actions > performed in the

Unable to get response page from PageRequestHandlerTracker

2012-08-28 Thread James Eliyezar
Hi, We recently migrated our application to wicket-1.5.8. We have an audit aspect based on Spring AOP that shall log the actions performed in the current page. In wicket 1.4 we use to get that like "RequestCycle.get().getResponsePage()". This has changed and I know that wicket 1.5 doesn't suppor

RE: Nested form submit problem

2012-08-28 Thread Paul Bors
Must you really have a nested form here? Can't you just get away with having each form field in a panel and not surround it with a second form html tag? And if you must really do so... can't you toggle that html form tag between a Wicket Form and WebMarkupContainer or EmptyPanel (hide it when used

RE: Pre-Select DropDownChoice Selection, but No Model yet

2012-08-28 Thread Paul Bors
Drop downs are some of the difficult ones to get at first, but once you understand one of them you're good to go! See: http://wicket.apache.org/learn/examples/dropdownchoice.html (the "Selecting a default choice") https://cwiki.apache.org/WICKET/dropdownchoice-examples.html Or see the FormInput l

Re: Pre-Select DropDownChoice Selection, but No Model yet

2012-08-28 Thread eugenebalt
(Note: In my form, I am using a CompoundPropertyModel. So my DropDownChoice is automatically tied to the field in my bean.) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Pre-Select-DropDownChoice-Selection-but-No-Model-yet-tp4651578p4651579.html Sent from the Users

Pre-Select DropDownChoice Selection, but No Model yet

2012-08-28 Thread eugenebalt
I am in the form-construction part of my code (the Model has not been created yet, because Submit hasn't been pressed yet). I have a DropDownChoice, and I need to pre-select a certain item. How do I do it? The DropDownChoice has already been constructed. I can't do setModelObject(..) because the

RE: Nested form submit problem

2012-08-28 Thread Sandor Feher
This works until I submit the parent form because it fires nested form's onSubmit event. Does not matter if I click on save or cancel or whatever button. Anyway. Is it possible to catch the button name clicked in the nested form onSubmit ? If so I could separate the code depending on the button cl

Re: Nested form submit problem

2012-08-28 Thread Sandor Feher
Be sure :). This is the root of all evil :). Checked. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Nested-form-submit-problem-tp4651565p4651575.html Sent from the Users forum mailing list archive at Nabble.com.

[Announce] WicketStuff 1.5.8 is released

2012-08-28 Thread Martin Grigorov
Hello, WicketStuff Core projects version 1.5.8 have been released and shortly will be available at Maven Central repository. They are built against Apache Wicket 1.5.8. The changelog is short this time: Martin Tzvetanov Grigorov (4): Merge some changes from core-1.5.7 - they are needed to

Re: [WARN]Falling back to Redirect_To_Buffer render

2012-08-28 Thread Martin Grigorov
Hi, In some cases ONE_PASS_RENDER cannot be used. Maybe we should make this a DEBUG log statement to not make you worry about it. On Tue, Aug 28, 2012 at 7:13 PM, sudeivas wrote: > Hello, >Though I am using 'ONE_PASS_RENDER' strategy, I am still getting the > below warning, > > WARN http

RE: Nested form submit problem

2012-08-28 Thread Paul Bors
Why not use "onchange" and validate the field when the user changes the input? All you would have to do is add your validators as you would normally do, then create Ajax*** form components and in their callback method for onError(target) refresh your feedback panel. A text field with this design

[WARN]Falling back to Redirect_To_Buffer render

2012-08-28 Thread sudeivas
Hello, Though I am using 'ONE_PASS_RENDER' strategy, I am still getting the below warning, WARN http-8000-2 [org.apache.wicket.request.handler.render.WebPageRenderer] - Falling back to Redirect_To_Buffer render strategy because none of the conditions matched. I am using wicket 1.5.6 in a

RE: Nested form submit problem

2012-08-28 Thread Sandor Feher
Hi Paul, The problem related to AjaxFormSubmitBehavior behaviour. This fires eform's onSubmit event. My original goal was to create field level validation with Ajax nothing more. The code above looks for a description belongs to the entered value and displays it. If the entered value validation f

Re: Nested form submit problem

2012-08-28 Thread Andrea Del Bene
I'm not 100% sure, but I think your inner form is submitted by the AjaxFormValidatingBehavior attached to textfield ertek. Try to remove it to see if the form is still submitted. Hi, I have the following use case. I have some questionnaires and a couple of questions belong to every questionnair

Re: Built with Wicket: new entries

2012-08-28 Thread Ernesto Reinaldo Barreiro
Hi Martijn, On Tue, Aug 28, 2012 at 3:47 PM, Martijn Dashorst < martijn.dasho...@gmail.com> wrote: > "Built with Wicket" is Apache Wicket's portfolio blog showcasing what > our community has created with your favorite web framework. > > We have recently added several new Wicket built entries to t

RE: Nested form submit problem

2012-08-28 Thread Paul Bors
Sounds complicated, why not just setVisible(false) when you want to "delete" or hide one of those questions (aka form fields)? Also, I don't think you need to use nested forms here, unless you wrap each question in a panel and within in a form. Refer to this wiki page for nested forms and their be

Nested form submit problem

2012-08-28 Thread Sandor Feher
Hi, I have the following use case. I have some questionnaires and a couple of questions belong to every questionnaire. I created a nested form component contains two forms. First does nothing just has some buttons (save,delete,cancel,reset) and contains as many child forms as the number of questio

Re: BreadCrumb and page parameters

2012-08-28 Thread Sandor Feher
Had a workaround to store calling parameters in session in a HashMap. This is good enough for me right now. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/BreadCrumb-and-page-parameters-tp4651412p4651564.html Sent from the Users forum mailing list archive at Nabbl

Re: Mounting URLs with locale prefix

2012-08-28 Thread asfernandes
Martin Grigorov-4 wrote > > The segment with the locale should be removed by the IRequestMapper as > LocaleFirstMapper does. > But on UrlRenderer#renderContextRelativeUrl, getBaseUrl() shows pt-br/home when I'm accessing http://localhost:8990/Site/pt-br/home This caused my tags to be rewritten

Re: Mounting URLs with locale prefix

2012-08-28 Thread Martin Grigorov
The segment with the locale should be removed by the IRequestMapper as LocaleFirstMapper does. But in your case you have the locale hardcoded in the .css file, or at least this is what I understood, and Wicket should not remove anything that is not added by it. There could be a bug in UrlRenderer.

Re: Mounting URLs with locale prefix

2012-08-28 Thread asfernandes
I succedded to make it work without mess with autoLinking seeting, but it's just for my case. I believe this is a Wicket bug, but I have no idea on a better fix. I installed a new RequestCycleProvider to override the UrlRenderer. I recreated UrlRenderer#renderContextRelativeUrl replacing: for (in

Re: page version and forms

2012-08-28 Thread Martin Grigorov
Alex, On Tue, Aug 28, 2012 at 10:31 AM, Alex Shubert wrote: > Nope, 1.5 > > Well, I am not quite sure that my statement is correct. while tree > project has some kind of examples, there are no real documentation. > Let's consieder > http://www.mysticcoders.com/blog/autocomplete-with-an-object/

Re: Wicket 6.0.0 + Netbeans + Atmosphere

2012-08-28 Thread Mats
That is correct... I now tried to add some stuff in my web.xml and include the atmosphere.xml from the example files... but I'm probaly still doing something wrong ---> SEVERE: failed to initialize atmosphere framework And probably I should try to include the same jars as in the example proje

Re: page version and forms

2012-08-28 Thread Alex Shubert
Nope, 1.5 Well, I am not quite sure that my statement is correct. while tree project has some kind of examples, there are no real documentation. Let's consieder http://www.mysticcoders.com/blog/autocomplete-with-an-object/ -> my opinion is that sometimes one may want to make an impression quickl

Re: Re: Re: Re: Re: Basic JUnit Test

2012-08-28 Thread JCoder
What exactly do you mean by 'quickstart' ? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org