Re: could not find component x on page y error

2013-05-08 Thread Giovanni Cuccu
Hi, I'm using wicket 6.6. thanks, Giovanni Il 08/05/13 12:52, Giovanni Cuccu ha scritto: Hi, I'm facing a random error and I'm not able to trace its cause. The error is 'could not find component x on page y error' The problem is that the component named x has

could not find component x on page y error

2013-05-08 Thread Giovanni Cuccu
to find the cause of this error? Thanks, Giovanni -- Giovanni Cuccu Responsabile area sviluppo - CUP 2000 Spa Via del Borgo di S. Pietro, 90/c - 40126 Bologna e-mail: giovanni.cuccu _at_ cup2000.it - To unsubscribe, e-mail:

Semi OT: Request for on site wicket training

2013-04-09 Thread Giovanni Cuccu
and we are starting the migration to from 1.5 to 6. The course must be in italian and/or in english; estimated period late june/july 2013 (june is also a nice month for comin in Italy for vacations) If interested please answer to me directly (i.e. off-list) Grazie, Giovanni -- Giov

Re: AutocompleteTextField and object (not just String)

2012-08-01 Thread Giovanni Cuccu
o he cannot attach it to the field. the ITerator returned by AutocompleteTextField.getChoices(String input) is an Iterator of JSONObject. I expect that when I submit, the setObject receives the selected JSONObject, not the String I do render using a specific Renderer. How can that be done? Than

Re: Unable to use wicket tester to simulate ajax behavior

2012-07-24 Thread Giovanni Cuccu
Hi, here it is https://issues.apache.org/jira/browse/WICKET-4670 Thanks, Giovanni Il 24/07/12 09.22, Martin Grigorov ha scritto: Hi, File a ticket with a test case. On Tue, Jul 24, 2012 at 9:34 AM, Giovanni Cuccu wrote: Hi, sorry for the late response. Should I file a bug for

Re: Unable to use wicket tester to simulate ajax behavior

2012-07-23 Thread Giovanni Cuccu
Hi, sorry for the late response. Should I file a bug for this? Thanks, Giovanni Il 11/07/12 15.13, Giovanni Cuccu ha scritto: Hi Martin, I did the change you suggested but the test fails with esame error: junit.framework.AssertionFailedError: expect no error message, but contains

Re: Unable to use wicket tester to simulate ajax behavior

2012-07-11 Thread Giovanni Cuccu
getRequest().setParameter("form:combo1", "0"); tester.executeAjaxEvent("form:combo1", "onchange"); On Tue, Jul 10, 2012 at 10:10 AM, Giovanni Cuccu wrote: Hi, can someone give me an hint on this? I tried to explain my problem providing a complete exampl

Re: Unable to use wicket tester to simulate ajax behavior

2012-07-10 Thread Giovanni Cuccu
list. Thanks, Giovanni Il 05/07/12 08.10, Giovanni Cuccu ha scritto: Hi all, I'm trying to test a wicket 1.5.7 application and I'm hitting a strange (at least for me) issue. I have two dropdowns (combo 1 and combo2) and when I select one value from combo1 I fire an AjaxUp

Unable to use wicket tester to simulate ajax behavior

2012-07-04 Thread Giovanni Cuccu
select("combo1", 0); formTester.submit(); tester.assertNoErrorMessage(); } } wicket application class package com.sg2net.test; import org.apache.wicket.Page; import org.apache.wicket.protocol.http.WebApplication; import com.sg2net.test.TestAjaxDropDown; public class

Re: image from outside web application directory

2012-07-04 Thread Giovanni Cuccu
g For additional commands, e-mail: users-h...@wicket.apache.org -- Giovanni Cuccu Responsabile area sviluppo - CUP 2000 Spa Via del Borgo di S. Pietro, 90/c - 40126 Bologna e-mail: giovanni.cuccu _at_ cup2000.it

Re: Possibile bug in MockHttpServletRequest

2012-01-30 Thread Giovanni Cuccu
t; { > return null; > } > return session; > } -- Giovanni Cuccu CUP 2000 Spa Via del Borgo di S. Pietro, 90/c - 40126 Bologna e-mail: giovanni.cuccu _at_ cup2000.it - To unsub

Possibile bug in MockHttpServletRequest

2012-01-30 Thread Giovanni Cuccu
ssion; } Is it a bug or am I missing something? ciao, Giovanni -- Giovanni Cuccu CUP 2000 Spa Via del Borgo di S. Pietro, 90/c - 40126 Bologna e-mail: giovanni.cuccu _at_ cup2000.it - To unsubscribe, e-ma

TextField with error css and errorMessage

2011-02-22 Thread Giovanni Cuccu
remove(errorMessageBehaviour); addedBehaviour=false; } } super.onBeforeRender(); } here is the declaration of behaviour private AttributeAppender cssErrorAppender=new AttributeAppender("class", new Model(errorClass), " "); private ErrorMessageBehav

Re: FileUploadField within RepeatingView

2010-04-27 Thread Giovanni Cuccu
use two FileUploadField instances I can't get the data because upload0 and upload1 are both null. I can't use MultiFileUploadField because each file must be submitted along with a description. Is this a bug or am I missing something? Is it possible to use multiple MultiFileUplo

FileUploadField within RepeatingView

2010-04-26 Thread Giovanni Cuccu
ong with a description. Is this a bug or am I missing something? Is it possible to use multiple MultiFileUploadField instances witihin a form? Thanks a lot, Giovanni -- Giovanni Cuccu Responsabile area sviluppo - CUP 2000 Spa Via del

Re: Best way to handle circular references

2009-09-25 Thread Giovanni Cuccu
n Wed, Sep 23, 2009 at 3:21 AM, Giovanni Cuccu wrote: Hi all, I'm developing a wicket application and I'm facing a problem. I built a menupanel that shows the menu to access the various aplication pages; since the panel needs to show the pages it contains a list of links that

Re: Best way to handle circular references

2009-09-23 Thread Giovanni Cuccu
y are unavoidable in java, in object oriented paradigm? Is this the correct question? Is there a best practive to avoid this situation? When I avoid an circular reference, I make a choice between a several possible solutions, the on I get depends on the class objectives On Wed, Sep 23, 2009 at 7:21 A

Best way to handle circular references

2009-09-23 Thread Giovanni Cuccu
ples there is a circular reference between Checkout page and Index page. Are circular references unavoidable with Wicket? Is there a best practive to avoid this situation? Thanks, Giovanni -- Giovanni Cuccu Via del Borgo di S. Pietro, 90/c - 40126 Bologna e-mail: giovanni.cuccu