Re: Clearing pagestore

2014-08-28 Thread Jack Berg
I actually did try replaceSession before but now I see that the reason it did not work was that I used it inside an ajax request. After doing a redirect with pageparameters instead, it worked. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Clearing-pagestore-tp4667193

Re: Form.findSubmittingButton throws exceptions

2014-08-12 Thread Jack Berg
Thank you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Form-findSubmittingButton-throws-exceptions-tp4666910p4667030.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubsc

Re: Form.findSubmittingButton throws exceptions

2014-08-07 Thread Jack Berg
Wouldn't it return null, if the form was not submitted by a IFormSubmittingComponent? I have attached a quickstart to show my current situation. The exception is always thrown after submitting. testfindsubmit.zip --

Form.findSubmittingButton throws exceptions

2014-08-06 Thread Jack Berg
Hi! Form.findSubmittingButton is documented as Gets the IFormSubmittingComponent which submitted this form. Returns: The component which submitted this form, or null if the processing was not triggered by a registered IFormSubmittingComponent But if the button is not visible or enabled, an exce

Re: Validate FormComponent raw input before conversion

2014-07-18 Thread Jack Berg
Thank you for the replies. You are right. It can be done like this. Though right now it seems that implementing my own rawvalidator would require a comparable amount of effort. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Validate-FormComponent-raw-input-before-con

Validate FormComponent raw input before conversion

2014-07-11 Thread Jack Berg
Hello! I have textfield backed by Integer Model object in the web app and a number field in the database. The maximum number the database can hold is less than Integer.MAX_VALUE so I have added a validator which checks that and reports the valid range. The problem is that when the user enters a

Re: IE8, IE7 Ajax fails with Wicket 6?

2012-11-01 Thread Jack Berg
I created a ticket: https://issues.apache.org/jira/browse/WICKET-4851 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/IE8-IE7-Ajax-fails-with-Wicket-6-tp4653503p4653545.html Sent from the Users forum mailing list archive at Nabble.com. --

IE8, IE7 Ajax fails with Wicket 6?

2012-10-31 Thread Jack Berg
Hi, I'm having problem with javascript in IE8 and IE7. I am getting a flood of SCRIPT5007: Unable to get value of the property 'jQuery17209514285345432955': object is null or undefined jquery-ver-1348220874405.js, line 3405 character 3 errors to the console or an SCRIPT438: Object doesn't support

javascript modal onclose event

2012-10-25 Thread Jack Berg
Hi, Is it possible to register a modal-close event listener in javascript? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/javascript-modal-onclose-event-tp4653353.html Sent from the Users forum mailing list archive at Nabble.com. --

FeedbackPanel inside TabbedPanel does not render

2012-06-14 Thread Jack Berg
Hi, I'm using Wicket 6 beta-2 and have a problem, that my feedback panel inside a TabbedPanel tab panel is not rendered. Even if i set output markupid to true, the tag is not rendered. The only way i have managed to get it to show, is by adding "dummy" error messages manually. If I do so, my a

Injecting beans into behaviors

2011-08-15 Thread Jack Berg
Hello, It seems that @SpringBeans does not inject beans into behaviors. It works only in Components by calling getApplication().notifyComponentInstantiationListeners(this) in the constructor. Is there a reason for limiting this? An easy workaround? Thanks for the responses to my previous questio

get url string to stateful page without defining an element in markup

2011-08-15 Thread Jack Berg
Hello! I'm trying to create a tooltip behavior that adds tooltip html elements after components. I want the tooltip message to contain a link to a page where you can edit the tooltip itself. I could mount the page and use pageparameters from a manually constructed link in the behavior, but is ther

Re: AjaxFormComponentUpdatingBehavior target.addComponent(component) causes to lose focus

2011-07-29 Thread Jack Berg
It seems, that cause was, that I was adding all the components to the AjaxRequestTarget in my AjaxRequestTarget.IListener. Is it a bug, that it does not return focus to the replaced component? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBeh

Re: AjaxFormComponentUpdatingBehavior target.addComponent(component) causes to lose focus

2011-07-28 Thread Jack Berg
Sorry, I should have been more clear. AjaxFeedbackUpdater is a class in my sample project that "implements AjaxRequestTarget.IListener" . In its onBeforeRespond method, I add components to the AjaxRequestTarget. I tried adding "focusComponent(null)", but no luck. -- View this message in context:

Re: AjaxFormComponentUpdatingBehavior target.addComponent(component) causes to lose focus

2011-07-28 Thread Jack Berg
You are talking about the AjaxFeedbackUpdater.onBeforeRespond method? It didn't work for me. It behaves the same. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-target-addComponent-component-causes-to-lose-focus-tp3700530p3701092.htm