Checking behaviour in testcase

2007-09-05 Thread Emanuele Gesuato
Hi there, I'm trying to check the presence of a behaviour in a testcase. I have a page with a checkbox and a button, if a user click on the button without selecting the checkbox, an alert box show a message. If i access to the page through a browser (firefox) the page runs fine and the alert

Re: Checking behaviour in testcase

2007-09-06 Thread Emanuele Gesuato
Jean-Baptiste Quenot wrote: WicketTester has not the exact same request lifecycle as in a real webapp. Can it be because of isTemporary() returns true? Yes it is. Thanks. How could i test the presence of the behaviour **AND** mantain the isTemporary with return false ? Is it possible ? T

testcase click button

2007-10-24 Thread Emanuele Gesuato
Hi there, I'm writing a testcase but i don't know how to click in a "type=button" input component. If i have a component i can click on it using something similar to: FormTester form = tester.newFormTester("myformpath"); form.submit("mySubmitButtonId"); But using a component form.submit

Re: Wicket,tomcat and UTF-8

2008-08-29 Thread Emanuele Gesuato
Ray trace wrote: ino its wierd yes my browser says utf-8 . the mysql database is in utf-8. hibernate is utf-8. basically all is utf-8 except the incoming post data.arg. true UTF-8 database schema is created with utf-8 ...so that hibernate tools generate the correct tables. all tho

Re: reading a resource file

2008-09-22 Thread Emanuele Gesuato
eyalbenamram wrote: Hi I have a wicket application that is being deployed to tomcat using Eclipse IDE. I need to be able to read a .txt file from the application object. the problem is I cannot find where to put the txt file. I tried to put it everywhere in the application, and under any directo

FormTester.getTextComponentValue not equals with textfield

2008-09-22 Thread Emanuele Gesuato
Hello, I'm writing a testcase in which i try to compare the value of a textfield in a form with the value of a pojo. This value is a BigDecimal. This is the code: FormTester ft = tester.newFormTester(GestisciListino.tags.pizzaForm.toString()); assertEquals(pizza.getPrezzo().toString(), ft.g

Re: FormTester.getTextComponentValue not equals with textfield

2008-09-25 Thread Emanuele Gesuato
Emanuele Gesuato wrote: Hello, I'm writing a testcase in which i try to compare the value of a textfield in a form with the value of a pojo. This value is a BigDecimal. This is the code: FormTester ft = tester.newFormTester(GestisciListino.tags.pizzaForm.toString()); assertE

Re: Submit form with ajax on enter

2009-06-30 Thread Emanuele Gesuato
Why not using AjaxFormSubmitBehavior ? vineet semwal wrote: you can use AjaxButton,AjaxFallbackButton,IndicatingAjaxButton. regards, Vineet Semwal On Thu, Jun 25, 2009 at 9:47 AM, John Patterson wrote: Hi, I have a single text box which I wan to be submitted by ajax when either the enter key

Pageable FormComponent

2009-07-16 Thread Emanuele Gesuato
Hi there, I've got an extension of a FormComponent that basically show a list of data (an element for row) with three buttons for permitting the crud operation (new, modify and delete). This component can show only a list of static data (ArrayList) and it isn't a DataTable but now i would li

Re: Wicket in Italy

2009-09-29 Thread Emanuele Gesuato
Padova :) Paolo Di Tommaso wrote: Roma (~) On Thu, Sep 24, 2009 at 8:46 AM, francesco dicarlo wrote: Hi, i've just worked on a project with wicket for a software house in Bari. But now i'm in Rome. Hope to see you in an event XD 2009/9/24 Luca Provenzani

Using ajax for generating a pdf

2008-12-12 Thread Emanuele Gesuato
Hi there, Reading previous posts i have discovered the existence of the yui context menu in wicket stuff that now i'm using in a project. More specifically, i'm using wicket 1.3.4 with wicket-yui-core 1.3.0 from the wicket 1.3.0 branch of wicketstuff. I would like to do a non-ajax click in

Re: [OT] wicket users around the world

2008-12-12 Thread Emanuele Gesuato
Fabio Fioretti wrote: Rome, Italy! :) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org Padua (near Venice), Italy ! ---

Ajax response not completed

2008-12-12 Thread Emanuele Gesuato
Hi there, I'm sorry for sending two email the same day, but i've got a problem that is very strange for me. I'm using wicket 1.3.4 with the patch WICKET-1838 provided by Matej Knopp and i'm testing the page on firefox 3.0.4. When i click on an ajax link that generates a pdf, the file correct

Re: Using ajax for generating a pdf

2008-12-14 Thread Emanuele Gesuato
Emanuele Gesuato ha scritto: I forgot to mention i'm using the yui-context menu related to the wicket branch 1.3.0 of wicket-stuff. The ajax link i'm mentioning is just a menu item of the context menu that display a pdf. Tomorrow i'll try to use a simple ajax link and le

Re: Ajax response not completed

2008-12-15 Thread Emanuele Gesuato
Emanuele Gesuato wrote: - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org Here the code of the html and java part: **html** "http://www.w3.o

Using YUI or DOJO for context menu ?

2008-12-15 Thread Emanuele Gesuato
Hi there, I've seen two components for integrating a contextual menu in wicket: the yui and the dojo based. Have you got experience in any of them ? What are the major differences ? I'm just using the yui context menu, but i need to add an image on every MenuItem. It seems that this context

Re: Ajax response not completed

2008-12-16 Thread Emanuele Gesuato
Nino Saturnino Martinez Vazquez Wael wrote: Beats me, seems like somethings wrong,maybe a bug..? I'd create a quickstart (really easy with maven, http://wicket.apache.org/quickstart.html ) and attach it to a jira issue.. If the code are somewhat working, and the only annoying thing are the m

DOJO Debug messages written in the html document

2008-12-17 Thread Emanuele Gesuato
Hi all, I began using DOJO Context Menu with wicket 1.3.4. I retrieved the component from the wicketstuff branch for wicket 1.3.x. When i try to use it, i've got the following error printed (when using wicket in debug mode) on the html document itself and NOT in the ajax debug window: DE

Re: DOJO Debug messages written in the html document

2008-12-17 Thread Emanuele Gesuato
Michael Sparer wrote: I don't know how to redirect them to the Ajax Debug, but you could install firebug and the debug messages will be caught there ... if you just want to avoid the messages messing up your document. regards, Michael So, this is why they aren't written on Firefox 3 :) ! Tha

Re: DatePicker size problem

2008-12-17 Thread Emanuele Gesuato
HITECH79 wrote: Hallo, when i open a Datepicker (Wicket-Extension) first i see the full-size datepicker with close-button. When i move in with the mouse the datepicker resize smaller and the close-button fade away. http://www.nabble.com/file/p21051404/date.jpg Could it be related to this

Adding images for sorting to HeadersToolbar

2008-12-19 Thread Emanuele Gesuato
Hi there, We are using the default HeadersToolbar in an our customized DataTable, now we would like to add in every cell of the header two images (an up and down arrows) for helping the user sorting the table. I think this is a common feature and i was wondering if there are some examples a

Re: treetable font and dimension

2008-12-19 Thread Emanuele Gesuato
francesco dicarlo wrote: is it possible to decrease the width of the font of treetables? and how is it done? Francesco Dicarlo how about using css ? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additio

Re: Dojo 1.1 integration available from wicketstuff

2008-12-23 Thread Emanuele Gesuato
Stefan Fußenegger wrote: There's now a little bit of documentation online: http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-dojo-1.1 Cheers, Stefan Hi, First of all, good job. Is there any plan to support the dojo context menu ? :-) We are using it but we've got several war

ModalWindow width as %

2009-01-09 Thread Emanuele Gesuato
Hi there, In ModalWindow as defined in wicket-extension the width has a fixed length expressed in pixel (600px). I would like to have the width in "%" but the widthUnit is available only when the the component is not resizable. In fact in ModalWindow.getWindowOpenJavascript() there is the

Re: ModalWindow width as %

2009-01-09 Thread Emanuele Gesuato
getWidthUnit() is not considered if the ModalWindow is resizable. Nino Martinez wrote: if getWidthUnit() arent final then override? Emanuele Gesuato wrote: Hi there, In ModalWindow as defined in wicket-extension the width has a fixed length expressed in pixel (600px). I would like to have

Re: Wicket/Eclipse/Maven/m2eclipse - HTML files not refreshing

2009-01-16 Thread Emanuele Gesuato
I've the same problem in one project but we are not using maven, instead of it we use ant. For starting/stopping tomcat inside eclipse we use wtp. In development mode we could change the java file but not the html. I've tried to remove the "*.html" to "Filtered resources" in java->compiler->buildi

Wicket presentation at JUGPadova

2009-01-21 Thread Emanuele Gesuato
Just to let you know that i've made a presentation about apache wicket 1.3 at our local Java User Group here in Italy (Padova, near Venice). The presentation is a video and it hasn't a good quality additionally it is in italian :( Maybe anyone could find it useful. It was intended to be a quick

Tooltip on IE7

2009-01-22 Thread Emanuele Gesuato
Hello, I'm using a tooltip as described here: http://cwiki.apache.org/WICKET/how-to-add-tooltips.html and it works fine on Firefox 3.0.5. But on Internet Explorer 7 i've got a strange behaviour when i try to add the tooltip on a td element: the tooltip is displayed but after the label there is

Re: Wicket presentation at JUGPadova

2009-01-22 Thread Emanuele Gesuato
Ehr "someone" not "anyone" :) On Wed, 2009-01-21 at 22:46 +0100, Emanuele Gesuato wrote: > Maybe anyone could find it useful. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apac

Wicket and downloading huge pdf files

2009-02-27 Thread Emanuele Gesuato
ges of the document. But is it a correct approach ? Is it possibile to implement something similar using a custom UrlCodingStrategy ? Thanks, Emanuele Gesuato - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Wicket and downloading huge pdf files

2009-03-02 Thread Emanuele Gesuato
Only want to know if an url similar to: http://www.myweb.com/.../depliant.pdf with a pdf file (or similar) as suffix is possible to create in wicket. On Fri, 2009-02-27 at 10:13 +0100, Emanuele Gesuato wrote: > Hi there, > > We have several huge pdf files with many pages (an hund