Re: Wicket 6.8.0 schedule release

2013-05-13 Thread Martin Grigorov
Hi, According to https://issues.apache.org/jira/browse/WICKET#selectedTab=com.atlassian.jira.plugin.system.project%3Aroadmap-panel the scheduled date is May 17. On Fri, May 10, 2013 at 5:39 PM, Paul Bors p...@bors.ws wrote: Do you guys know when is the next minor release for Wicket 6.8.0

Re: Call me page wicket from iframe in page.jsp

2013-05-13 Thread Martin Grigorov
Hi, Mount the Wicket page at some path with: application.mountPage(some/nice/url, MyPage.class) and use this stable url from the JSP code. You have to provide the the host:port/context/filter part if this is required, or calculate the relative url to the JSP's url. On Sat, May 11, 2013 at

Re: Problem with window name generated using AjaxNewWindowNotifyingBehavior in wicket 6.5.0

2013-05-13 Thread Martin Grigorov
Hi, did you find the problem ? On Fri, May 10, 2013 at 2:33 PM, iamrakesh iamrakes...@rediffmail.comwrote: Hi, I did, when the AjaxNewWindowNotifyingBehavior's contructor is called, a new value for 'window.name' is generated, but when I see the page source, the value written to the

Re: [wicket 6] Create/Register Spring Bean in wicket ?

2013-05-13 Thread smallufo
I solve this problem by introducing another spring's xml inside wicket's repository, which I didn't want to do this at first. (I was looking for a programmatic way , but it seems not so easy... ) 2013/5/11 smallufo small...@gmail.com 2013/5/11 Marco Springer ma...@glitchbox.nl Maybe this

Detecting Page Re-Display

2013-05-13 Thread Richard W. Adams
How can I detect when a page is about to be re-displayed? In my app, some pages have OK buttons that are enabled once the user has entered certain data. When the user then clicks OK, he taken to another page where some actions are performed. When he then RETURNS from the action page to the

Re: Problem with window name generated using AjaxNewWindowNotifyingBehavior in wicket 6.5.0

2013-05-13 Thread iamrakesh
Hi, Nope, didn't had much time today to look into it, probably i've to find out what is the page id of those two pages [even though they are not added to the URL], and some debugging. I'll update this post if I find the issue/solution. Regards, Rakesh.A -- View this message in context:

Re: Detecting Page Re-Display

2013-05-13 Thread Andrea Del Bene
Do you disable/enable the button on server side (i.e. invoking setEnabled)? You should use page's onConfigure to place your configuration code (for example the code to disable the button). How can I detect when a page is about to be re-displayed? In my app, some pages have OK buttons that are

Re: Wicket 6.8.0 schedule release

2013-05-13 Thread Paul Bors
That's good news! I'll have to see how it fits into our schedule but I would rather wait another week than roll back and then update later involving our testing team twice. Thanks for the good work guys! On Mon, May 13, 2013 at 3:12 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi,

Deserialization InvalidClassException : no valid constructor

2013-05-13 Thread smallufo
Today I encountered one famous deserialization problem : InvalidClassException : no valid constructor I googled and found some solution , but all are in-vain. The solution says the first non-serializable super class should define a no-arg constructor. But I try to define a no-arg constructor to

Wicket 6 / Ajax: Call Java component from JavaScript and retreive value

2013-05-13 Thread raphw
I posted a question on StackOverflow on how I can receive a callback value from a Java component using Ajax: http://stackoverflow.com/questions/16527463/wicket-6-ajax-call-java-component-from-javascript-and-retreive-value Any help on this would be very appreciated since I am stuck on this one!

Unknown tag name with Wicket namespace: 'panel'

2013-05-13 Thread Andy Van Den Heuvel
I get an exception and it's not very clear to me what I'm doing wrong. This is the exception: Last cause: Unknown tag name with Wicket namespace: 'panel'. Might be you haven't installed the appropriate resolver? 'wicket:panel' (line 3, column 2) I'm trying to override the markupSourcingStrategy

Re: Detecting Page Re-Display

2013-05-13 Thread Richard W. Adams
That did it! Thanks! From: Andrea Del Bene an.delb...@gmail.com To: users@wicket.apache.org Date: 05/13/2013 10:42 AM Subject:Re: Detecting Page Re-Display Do you disable/enable the button on server side (i.e. invoking setEnabled)? You should use page's onConfigure to place

Feedback within Form Weird Issue

2013-05-13 Thread dhongyt
Hey guys, I had a feedback panel within a form and want to display an error onSubmit when there is a authentication issue. When I call error when they fail to log in the error does not display. However if I comment out the onSubmit code and call error, it displays. Why does it not display when

form processing adding new inputs with an ajax onupdate

2013-05-13 Thread Simon B
Hi, I have a form with several inputs one is a DropDownChoice with an AjaxFormComponentUpdatingBehavior(onchange) / AFCUB(onchange) Behavior added to it. When the user changes the DropDownChoice, depending on the value a previously non visible field is displayed via the AFCUB(onchange)

RE: form processing adding new inputs with an ajax onupdate

2013-05-13 Thread Paul Bors
Have you tried: provisionDefaultPeriod = new DropDownChoiceTimePeriod(provisionDefaultPeriod, new PropertyModelTimePeriod(getTypedModel(), provisionDefaultPeriod), activeTimePeriods, renderer); // drop down for choosing the service commercialServiceInput.add(new

RE: Unknown tag name with Wicket namespace: 'panel'

2013-05-13 Thread Paul Bors
Get rid of your newMarkupSourcingStrategy() override and place the HTML right next to the Java source code and you'll be fine. If you do not like the default location of the HTML next to your Java classes, then read Chapter 4 of the Wicket user guide you can get for free from wicket's website at:

Re: Feedback within Form Weird Issue

2013-05-13 Thread Paul Bors
I take it you're using Wicket 6.x since the feedback messages have been moved all the way to the Component's metadata rather than the session. Hence the same component should be part of the page if you want to see its feedback message. See:

Re: Feedback within Form Weird Issue

2013-05-13 Thread Martin Grigorov
Hi, You need to use session.error() instead. Since you use setResponsePage(...) the error associated with the Form component is never used. On Mon, May 13, 2013 at 8:17 PM, dhongyt davidhtr...@gmail.com wrote: Hey guys, I had a feedback panel within a form and want to display an error

Re: Unknown tag name with Wicket namespace: 'panel'

2013-05-13 Thread Martin Grigorov
Hi, On Mon, May 13, 2013 at 10:02 PM, Paul Bors p...@bors.ws wrote: Get rid of your newMarkupSourcingStrategy() override and place the HTML right next to the Java source code and you'll be fine. This will not work because usually Link component has no its own markup file. See Panel.java.

Re: Unknown tag name with Wicket namespace: 'panel'

2013-05-13 Thread vineet semwal
see link#setbody(model) ,i think this is what you are trying to do :-) else that should be PanelMarkupSourcingStrategy(*false*) On Mon, May 13, 2013 at 11:33 PM, Andy Van Den Heuvel andy.vandenheu...@gmail.com wrote: I get an exception and it's not very clear to me what I'm doing wrong.

Re: adding jsf to wicket app

2013-05-13 Thread Martin Grigorov
Hi, What did you try ? On Mon, May 13, 2013 at 11:02 PM, fachhoch fachh...@gmail.com wrote: We want to include some of the primefaces pages in our wicket app. I need advice on integrating jsf into wicket application any suggestion please? -- View this message in context:

Re: Unknown tag name with Wicket namespace: 'panel'

2013-05-13 Thread vineet semwal
hi martin, that static block need not be copied to make it work,since it's a static block, it will get executed when the Panel class gets loaded, the Panel class will get loaded by PanelMarkupSourcingStrategy itself since it's referring a constant of panel . yes but i agree not a very nice code

Re: Feedback within Form Weird Issue

2013-05-13 Thread dhongyt
Weird, it still does not show up. I do have a function that gets the session and register the error to it. Can the feedback be apart of the form? I have tried it outside the form with no luck either. I also changed my onSubmit to use session; It doesn't need to call the error function

Re: adding jsf to wicket app

2013-05-13 Thread fachhoch
I just started only way I saw is to copy my basepage.html and replace wicket child with jsf tags with ui:insert, did not test it yet, I am wondering If I can use something like WicketJspResolver , is there anything ? -- View this message in context:

RE: Feedback within Form Weird Issue

2013-05-13 Thread Paul Bors
setResponsePage() would render either a page from the page map if you give it an instance or build a new page if you give it the Class name. Did you filter out the errors from the feedback and did you added the feedback panel to the page? Refer to section 10.2.2 Displaying feedback messages and

RE: Feedback within Form Weird Issue

2013-05-13 Thread Paul Bors
Even better, create a quick start for yourself and see what you're doing wrong :) ~ Thank you, Paul Bors -Original Message- From: Paul Bors [mailto:p...@bors.ws] Sent: Monday, May 13, 2013 5:26 PM To: users@wicket.apache.org Subject: RE: Feedback within Form Weird Issue

Re: Server and client side validation

2013-05-13 Thread Gabriel Landon
Hi Martin, It does work with the following code: /return $('#%s').closest('form').parsley( 'validate' );/ Thank you very much. To find out whether the form is in a ModalWindow or not, I've used the following code: /@Override public void renderHead(final IHeaderResponse varResponse) {

Re: Unknown tag name with Wicket namespace: 'panel'

2013-05-13 Thread Andy Van Den Heuvel
The html is right next to the javacode. I understand that Link does not normally have a panel, but i want to have one. This code is actually copied from wicket-bootstrap.