could not find component x on page y error

2013-05-08 Thread Giovanni Cuccu
, 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: users-unsubscr...@wicket.apache.org For additional

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 never been on page y

Semi OT: Request for on site wicket training

2013-04-09 Thread Giovanni Cuccu
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 -- Giovanni Cuccu

Re: AutocompleteTextField and object (not just String)

2012-08-01 Thread Giovanni Cuccu
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? Thanks anyone for help. -- Giovanni

Re: Unable to use wicket tester to simulate ajax behavior

2012-07-24 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-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 giovanni.cu...@cup2000.it wrote: Hi, sorry for the late response

Re: Unable to use wicket tester to simulate ajax behavior

2012-07-11 Thread Giovanni Cuccu
().setParameter(form:combo1, 0); tester.executeAjaxEvent(form:combo1, onchange); On Tue, Jul 10, 2012 at 10:10 AM, Giovanni Cuccu giovanni.cu...@cup2000.it wrote: Hi, can someone give me an hint on this? I tried to explain my problem providing a complete example and explaining what I

Re: Unable to use wicket tester to simulate ajax behavior

2012-07-10 Thread Giovanni Cuccu
. 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 AjaxUpdateBehavior

Re: image from outside web application directory

2012-07-05 Thread Giovanni Cuccu
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

Unable to use wicket tester to simulate ajax behavior

2012-07-05 Thread Giovanni Cuccu
WicketApplication extends WebApplication { @Override public Class? extends Page getHomePage() { return TestAjaxDropDown.class; } protected void init() { getMarkupSettings().setDefaultMarkupEncoding(UTF-8); } } -- Giovanni Cuccu Responsabile area sviluppo - CUP 2000 Spa

Possibile bug in MockHttpServletRequest

2012-01-30 Thread Giovanni Cuccu
; } 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-mail: users-unsubscr

Re: Possibile bug in MockHttpServletRequest

2012-01-30 Thread Giovanni Cuccu
. The code in the mock class is the following one public HttpSession getSession() { if (session instanceof MockHttpSession ((MockHttpSession)session).isTemporary()) { return null; } return session; } -- Giovanni Cuccu CUP 2000 Spa

TextField with error css and errorMessage

2011-02-22 Thread Giovanni Cuccu
-- 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: users-unsubscr...@wicket.apache.org For additional commands, e

Re: FileUploadField within RepeatingView

2010-04-27 Thread Giovanni Cuccu
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 MultiFileUploadField instances witihin a form? Thanks a lot, Giovanni -- Giovanni Cuccu

FileUploadField within RepeatingView

2010-04-26 Thread Giovanni Cuccu
? 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 Borgo di S. Pietro, 90/c - 40126 Bologna e-mail: giovanni.cuccu _at_ cup2000

Re: Best way to handle circular references

2009-09-25 Thread Giovanni Cuccu
, Giovanni Cuccu giovanni.cu...@cup2000.it 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 when clicked simply do

Best way to handle circular references

2009-09-23 Thread Giovanni Cuccu
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 _at_ cup2000

Re: Best way to handle circular references

2009-09-23 Thread Giovanni Cuccu
? 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 AM, Giovanni Cuccu giovanni.cu...@cup2000.itwrote