Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread chimaira
Thanks Igor, But , how can I assign the markup Id ? There is no constructor with a super(id) method ! Thanks again -- View this message in context:

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread Martin Grigorov
Hi, On Tue, Jan 24, 2012 at 10:27 AM, chimaira death_style2...@hotmail.com wrote: Thanks  Igor, But , how can I assign the markup Id ? There is no constructor with a super(id) method ! Which markup id you need ? @Override public CharSequence decorateScript(Component c, CharSequence

Re: wicket 1.5.3 RequestCycleListener redirection migration problem

2012-01-24 Thread Martin Grigorov
Hi, See CryptoMapper and HttpsMapper classes and there usages in Wicket. These are examples of root request mapper pattern in Wicket. See https://cwiki.apache.org/confluence/display/WICKET/Request+mapping So you can create your own AgreementRequestMapper and register it as root mapper. In

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread chimaira
Hi martin, oops I thought the AjaxCallDecorator was a markup component, sorry So how can I implement it in my AjaxLink ? By simply adding it in my constructor? Thanks again -- View this message in context:

Re: replace input type=button with tag a

2012-01-24 Thread cosmindumy
In wicket 1.4.18 there is no method setBody() in AbstractLink. If there is no other possibility don't bother. I found a backup solution. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/replace-input-type-button-with-tag-a-tp4320997p4323257.html Sent from the Users

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread Martin Grigorov
new AjaxLink() { protected IAjaxCallDecorator getAjaxCallDecorator() {return new JSConfirmDecorator(); } } On Tue, Jan 24, 2012 at 11:04 AM, chimaira death_style2...@hotmail.com wrote: Hi martin, oops I thought the AjaxCallDecorator was a markup component,  sorry So how can I implement it

[1.5.4] DropDownChoice is not presenting value if equals is not overwritten

2012-01-24 Thread Per Newgro
Hi, with 1.5.4 the implementation of org.apache.wicket.markup.html.form.AbstractSingleSelectChoice.java has changed from code /** * @see FormComponent#getModelValue() */ @Override public String getModelValue() { final T object = getModelObject(); if (object != null) { int index =

Re: [1.5.4] DropDownChoice is not presenting value if equals is not overwritten

2012-01-24 Thread Per Newgro
Maybe a usecase helps :-) I load my choices in a LDM. The selected choice is located in the domain model. So the objects are equal by semantic but not by instance. Dropdown choices are d, Germany; dk, Danmark hashcodes are 1 and 2 selected value is d, Germany hashcode is 3 Cheers Per Am

Re: Problems with requests to MountPath and optional parameters

2012-01-24 Thread Martin Grigorov
Hi, On Tue, Jan 24, 2012 at 9:37 AM, shayy sha...@gmail.com wrote: Hi, I'm trying to use @MountPath in conjunction with Wicket 1.5 but I'm encountering an issue. I've configured the following mount path on one of my page classes:

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread chimaira
I got it, Thanks for your help -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-Simple-attribute-modifier-confirm-javascript-popup-never-calld-form-not-submited-tp4322492p4323328.html Sent from the Users forum mailing list archive at Nabble.com.

Re: [1.5.4] DropDownChoice is not presenting value if equals is not overwritten

2012-01-24 Thread Sven Meier
Hi, Igor's commit statements says improved inconsistency handling in choice components. This change prevents IChoiceRenderer#getIdValue() being called with -1 as the index argument. I assume you are using a custom IChoiceRenderer which doesn't use the index but a custom identifier? Try

Re: [1.5.4] DropDownChoice is not presenting value if equals is not overwritten

2012-01-24 Thread Per Newgro
Thanks Sven, https://issues.apache.org/jira/browse/WICKET-4353 Cheers Per Am 24.01.2012 11:31, schrieb Sven Meier: Hi, Igor's commit statements says improved inconsistency handling in choice components. This change prevents IChoiceRenderer#getIdValue() being called with -1 as the index

How to retrieve form value within onSubmit

2012-01-24 Thread Kayode Odeyemi
Hi, I will like to understand the dynamics behind retrieving form values when they are submitted. I have the following code: Dashboard.html --- body span wicket:id='mainNavigation'/ form wicket:id=searchForm label for=searchSearch:/label

Re: Problems with requests to MountPath and optional parameters

2012-01-24 Thread shayy
Although I must use the + since it's in my code logic, I've tried it without it and it still fails. Any suggestions? Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problems-with-requests-to-MountPath-and-optional-parameters-tp4323095p4323572.html Sent from

Re: How to retrieve form value within onSubmit

2012-01-24 Thread Martin Grigorov
Hi, See below. On Tue, Jan 24, 2012 at 1:56 PM, Kayode Odeyemi drey...@gmail.com wrote: Hi, I will like to understand the dynamics behind retrieving form values when they are submitted. I have the following code: Dashboard.html --- body        span

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread Richard W. Adams
If understand your problem correctly, the solution might be just to create it as an AjaxButton override the onSubmit onError methods. We do that in our app works great. RAM /abr./: Rarely Adequate Memory. From: chimaira death_style2...@hotmail.com To: users@wicket.apache.org Date:

Re: How to retrieve form value within onSubmit

2012-01-24 Thread Kayode Odeyemi
On Tue, Jan 24, 2012 at 12:09 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, See below. On Tue, Jan 24, 2012 at 1:56 PM, Kayode Odeyemi drey...@gmail.com wrote: Hi, I will like to understand the dynamics behind retrieving form values when they are submitted. I have the

Re: Execute Javascript after components of a certain type render

2012-01-24 Thread Alec Swan
Your suggestions worked. Thank you both! On Mon, Jan 23, 2012 at 1:50 PM, Alec Swan alecs...@gmail.com wrote: What about AbstractTransformerBehavior? Can I use it to execute Javascript? On Mon, Jan 23, 2012 at 12:08 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: There is no baked behavior

Re: AJAX Error in parsing: XML Parsing Error: not well-formed @L

2012-01-24 Thread Alec Swan
Can anybody comment on this? Is this a bug? Thanks, Alec On Sun, Jan 22, 2012 at 11:50 AM, Alec Swan alecs...@gmail.com wrote: The following workaround works but violates encapsulation. Why doesn't AjaxRequestTarget.AjaxHeaderResponse class escape special XML characters? public void

Re: wicket appl architecture

2012-01-24 Thread Kayode Odeyemi
On Tue, Jan 24, 2012 at 2:05 AM, nazeem md.naz...@gmail.com wrote: This is an interesting article referring to the Linked In tech team experience and how they are addressing using client side template..

Error while closing the modal window

2012-01-24 Thread sudeivas
I am getting the below exception when I try to close a modal window. Also I am not seeing this error in development but I am seeing this in production as we have some session management installed. Cannot find behavior with id: 0 on component: [SherlockModalWindow [Component id = binListWindow]].

How to refresh frame2 with an Ajax submit button in frame1 for a page using frameset?

2012-01-24 Thread michen
Hi there, I am building a Wicket application with a frame layout, where leftFrame contains a form with an AjaxSubmit button displaying user search criteria, and rightFrame shows the search result. How can I code my onSubmit call for my AjaxSubmit button to refresh the rightFrame to show the

Re: How to refresh frame2 with an Ajax submit button in frame1 for a page using frameset?

2012-01-24 Thread michen
More specifically, I would like to refresh a grid table in my frame2 after submit button in frame1 is clicked. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-refresh-frame2-with-an-Ajax-submit-button-in-frame1-for-a-page-using-frameset-tp4326014p4326091.html

Re: wicket appl architecture

2012-01-24 Thread Martin Grigorov
Hi, On Tue, Jan 24, 2012 at 9:15 PM, Kayode Odeyemi drey...@gmail.com wrote: On Tue, Jan 24, 2012 at 2:05 AM, nazeem md.naz...@gmail.com wrote: This is an interesting article referring to the Linked In tech team experience and how they are addressing using client side template..

Re: AJAX Error in parsing: XML Parsing Error: not well-formed @L

2012-01-24 Thread Martin Grigorov
Hi, Yes, looks like a bug. Please create a ticket + a quickstart. On Tue, Jan 24, 2012 at 8:56 PM, Alec Swan alecs...@gmail.com wrote: Can anybody comment on this? Is this a bug? Thanks, Alec On Sun, Jan 22, 2012 at 11:50 AM, Alec Swan alecs...@gmail.com wrote: The following workaround

Re: How to refresh frame2 with an Ajax submit button in frame1 for a page using frameset?

2012-01-24 Thread Martin Grigorov
Hi, Why did you choose iframes ? Using plain div backed by Wicket's Panel will make it much easier to manage. The problem is that when the Ajax response is sent to the browser Wicket uses Wicket.$(oldComponentId) (which delegates to document.getElementByid(oldComponentId)) to find the component