RE: building dynamic charts in wicket

2011-05-10 Thread Hielke Hoeve
Hey Daku, Emond and I have been working on 2 little projects to render charts. Each use a different jQuery plugin to draw the graphs client side and both use WiQuery to facilitate the server side part. Maybe those projects can help you in choosing the desired product. Both come with examples, simp

Attaching OnChange behaviour or AjaxFormComponentUpdatingBehaviour

2011-05-10 Thread Josh Kamau
Hi there , is it possible to attach OnChange behaviour or AjaxFormComponentUpdatingBehaviour on AutoCompleteTextField ? I am trying the OnUpdate methods is not being fired. Thanks Regards. Josh.

Maven and Wicket Trunk

2011-05-10 Thread Bertrand Guay-Paquet
Hi, I am currently using Wicket Trunk (1.5) for development and building my own snapshots with documentation for continuous integration. I periodically update my trunk source tree and use the following command line : mvn install -Dmaven.test.skip=true -DperformRelease=true This works fine and

Re: Maven and Wicket Trunk

2011-05-10 Thread Martin Grigorov
Ask google for: Maven repository updatePolicy On Tue, May 10, 2011 at 3:02 PM, Bertrand Guay-Paquet wrote: > Hi, > I am currently using Wicket Trunk (1.5) for development and building my own > snapshots with documentation for continuous integration. I periodically > update my trunk source tree an

Re: Attaching OnChange behaviour or AjaxFormComponentUpdatingBehaviour

2011-05-10 Thread Josh Kamau
I have made it fire the methods but now the AutoComplete...component always returns a string On Tue, May 10, 2011 at 3:29 PM, Josh Kamau wrote: > Hi there , is it possible to attach OnChange behaviour or > AjaxFormComponentUpdatingBehaviour on AutoCompleteTextField ? I am trying > the OnUpdate

AutoTab

2011-05-10 Thread Vitor Granzinoli Vellozo
Wicketers, Someone knows if theres is a way to enable auto tabbing on wicket components that are inside a Form (for example)? So, when I full a TextField with the maximum caracters, the cursor automaticaly jump to the next component. Someone knows something about that? I created a b

Re: AutoTab

2011-05-10 Thread Martin Makundi
Why do you want auto tab and not just add tabindex? ** Martin 2011/5/10 Vitor Granzinoli Vellozo : > > > Wicketers, > > > > Someone knows if theres is a way to enable auto tabbing on wicket > components that are inside a Form (for example)? > > So, when I full a TextField with the maximum caracte

"File Chooser" / "Browse For File" Common Dialog Box?

2011-05-10 Thread eugenebalt
I have a text box with a 'Browse...' button next to it in my Web app. The Browse button is supposed to bring up the common Choose File dialog box. After the user selects a file there, the name is populated into the textbox. (I can choose to provide a local file, which is processed by the app.) Is

1.5 - mapping different error pages for specific errors

2011-05-10 Thread nimmy
Hi, How do you map different error pages for specific errors in Wicket v1.5RC2? You used to override onRuntimeException in v1.4 but this is no longer the case. Thanks, Nim -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/1-5-mapping-different-error-pages-for-specific

Re: "File Chooser" / "Browse For File" Common Dialog Box?

2011-05-10 Thread eugenebalt
It looks like HTML supports this automatically via . But my question is, when I do this in my HTML, Wicket gives me this error: "Component must be applied to a tag with 'type' attribute matching 'text', not 'file' " Does anyone know how to let Wicket handle an input type="file"? What does the m

Re: 1.5 - mapping different error pages for specific errors

2011-05-10 Thread Martijn Dashorst
Check the migration guide, see and read up about IRequestCycleListener Martijn On Tue, May 10, 2011 at 3:45 PM, nimmy wrote: > Hi, > > How do you map different error pages for specific errors in Wicket v1.5RC2? > > You used to override onRuntimeException in v1.4 but this is no longer the > case.

Re: 1.5 - mapping different error pages for specific errors

2011-05-10 Thread nimmy
Hi Martijn, I did check out the migration guide but was confused by a reference to a non-existing method: "In Wicket 1.4 it was needed to extend org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException). Wicket 1.5 gives even better control, by overriding org.apache.wicket.Applica

RES: AutoTab

2011-05-10 Thread Vitor Granzinoli Vellozo
Because the application is for a Telephone Central, so the people Will use that, need be very fast, the time of each attendance is recorded, so they gain time if do not need type to jump to the next Field. Everything must be very fast, lot of Ajax. -Mensagem original- De: Martin Maku

Re: 1.5 - mapping different error pages for specific errors

2011-05-10 Thread Martin Grigorov
On Tue, May 10, 2011 at 3:55 PM, nimmy wrote: > Hi Martijn, > > I did check out the migration guide but was confused by a reference to a > non-existing method: > > "In Wicket 1.4 it was needed to extend > org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException). > Wicket 1.5 gives

Re: "File Chooser" / "Browse For File" Common Dialog Box?

2011-05-10 Thread Martin Grigorov
use FileUploadField instead of plain TextField On Tue, May 10, 2011 at 3:48 PM, eugenebalt wrote: > It looks like HTML supports this automatically via . > > But my question is, when I do this in my HTML, Wicket gives me this error: > > "Component must be applied to a tag with 'type' attribute ma

Re: AutoTab

2011-05-10 Thread Martin Makundi
Ah, so you mean auto jump..after keypress or something. ** Martin 2011/5/10 Vitor Granzinoli Vellozo : > > Because the application is for a Telephone Central, so the people Will use > that, need be > very fast, the time of each attendance is recorded, so they gain time if do > not need type to

Re: "File Chooser" / "Browse For File" Common Dialog Box?

2011-05-10 Thread eugenebalt
Got it, it's working. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/File-Chooser-Browse-For-File-Common-Dialog-Box-tp3511882p3512006.html Sent from the Users forum mailing list archive at Nabble.com. ---

RES: AutoTab

2011-05-10 Thread Vitor Granzinoli Vellozo
Yes. Imagine the Field date that has 10 digits, imagining with a mask (dd/MM/), when the person finish the typing of year, the cursor automatically jump to the next component. So, it happens again, and again, till arrives to confirm button or something else that will do the submit. -M

Re: AutoTab

2011-05-10 Thread Martin Makundi
Yes.. your jquery should work also with wicket no problem. Did you debug what is wrong? ** Martin 2011/5/10 Vitor Granzinoli Vellozo : > > Yes. Imagine the Field date that has 10 digits, imagining with a mask > (dd/MM/), when the person > finish the typing of year, the cursor automatically j

RE: AutoTab

2011-05-10 Thread Scardamalia, Stephen
Hi Vitor, This looks like it might do what you need: http://www.mathachew.com/sandbox/jquery-autotab/ using its "$(':input').autotab_magic()" syntax. If you want to apply it only to certain fields that may be dynamically included/excluded, apply a CSS class to the fields you're interested in,

Re: AutoTab

2011-05-10 Thread Martin Grigorov
your Css selector is wrong. Check JQuery docs #myId is used for 'id' in your HTML I see you have 'name' so the selector should be: [name=consultContainer:consultPanel:field1] On Tue, May 10, 2011 at 7:10 PM, Vitor Granzinoli Vellozo wrote: > > Stephen, > > It is exactly what I'm doing. > > > I c

Error with FileUpload: "ServletRequest does not contain multipart content"

2011-05-10 Thread eugenebalt
I am using a File Picker (FileUpload class, for input type="file") in my form. Upon clicking the Submit button, I'm getting this error: "ServletRequest does not contain multipart content. One possible sol ution is to explicitly call Form.setMultipart(true), Wicket tries its best to auto-detect mu

Re: Error with FileUpload: "ServletRequest does not contain multipart content"

2011-05-10 Thread eugenebalt
To clarify, I am handling the submit with a simple override of public void onSubmit() { ... } Also, there's no Ajax in the code, I removed all of it, and I'm still getting this error. What's going on with this FileUpload? -- View this message in context: http://apache-wicket.1842946.n4.nabble.co

Re: Error with FileUpload: "ServletRequest does not contain multipart content"

2011-05-10 Thread eugenebalt
Basically, where should I put "setMultipart(true)"? Because in the constructor doesn't work. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Error-with-FileUpload-ServletRequest-does-not-contain-multipart-content-tp3512653p3512701.html Sent from the Users forum mailing

Re: Error with FileUpload: "ServletRequest does not contain multipart content"

2011-05-10 Thread Martin Grigorov
see http://wicket-library.com/wicket-examples we have 5-6 file upload examples On Tue, May 10, 2011 at 8:51 PM, eugenebalt wrote: > Basically, where should I put "setMultipart(true)"? Because in the > constructor doesn't work. > > -- > View this message in context: > http://apache-wicket.1842946

Re: Nothing happens on AJAX call after session timeout

2011-05-10 Thread vov
JSP used only for Tomcat FORM authentication(http://onjava.com/onjava/2002/06/12/form.html) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Nothing-happens-on-AJAX-call-after-session-timeout-tp3483872p3512818.html Sent from the Users forum mailing list archive at Nabbl

Re: Error with FileUpload: "ServletRequest does not contain multipart content"

2011-05-10 Thread eugenebalt
I looked through that example and in fact duplicated what you have there in the simplest possible example. My simple example below is just a single FileUpload field and a submit button, that's it. And I'm still getting that error! I have no idea why. My HTML: -- http://www.w3.org/1999/xht

Re: Error with FileUpload: "ServletRequest does not contain multipart content"

2011-05-10 Thread Attila Király
What wicket version are you using? There is a difference how file upload is configured in 1.4 and in 1.5. Attila 2011/5/10 eugenebalt > I looked through that example and in fact duplicated what you have there in > the simplest possible example. My simple example below is just a single > FileUpl

Re: Maven and Wicket Trunk

2011-05-10 Thread Bertrand Guay-Paquet
Thanks Martin for pointing me in the right direction. I had already found out about the updatePolicy but couldn't manage to get the correct repository URL for the snapshots. One of the links with your search terms enlightened me. Here's what I did. Add this to settings.xml : apache.snapshots

Re: Error with FileUpload: "ServletRequest does not contain multipart content"

2011-05-10 Thread Martin Grigorov
Hint: check the Application class in the example On Tue, May 10, 2011 at 9:56 PM, Attila Király wrote: > What wicket version are you using? There is a difference how file upload is > configured in 1.4 and in 1.5. > > Attila > > 2011/5/10 eugenebalt > >> I looked through that example and in fact

Table not refreshed - ajax debug shows right markup returned

2011-05-10 Thread D D
I have a remove ajax link in every table row. When onSubmit is executed I see in WADW that corrected markup is returned but the view is not refreshed. Why is that the case? Thanks, Dave - To unsubscribe, e-mail: users-unsubscr.

Re: Table not refreshed - ajax debug shows right markup returned

2011-05-10 Thread Martin Grigorov
there must be an error below the new content in WADW On Tue, May 10, 2011 at 10:15 PM, D D wrote: > I have a remove ajax link in every table row. When onSubmit is > executed I see in WADW that corrected markup is returned but the view > is not refreshed. > > Why is that the case? > > Thanks, > >

Re: Table not refreshed - ajax debug shows right markup returned

2011-05-10 Thread D D
you are correct sir. There is an error. processCompoment could not find an id to update. Why would that be the case? I call setOutputMarkuId(true) right before target.addComponent(MarkupContainer) call is made. Dave On Tue, May 10, 2011 at 3:18 PM, Martin Grigorov wrote: > there must be an erro

Re: Table not refreshed - ajax debug shows right markup returned

2011-05-10 Thread Martin Grigorov
see setOutputMarkupPlaceholderTag() On Tue, May 10, 2011 at 10:25 PM, D D wrote: > you are correct sir. There is an error. processCompoment could not > find an id to update. > > Why would that be the case? I call setOutputMarkuId(true) right before > target.addComponent(MarkupContainer) call is m

Re: Error with FileUpload: "ServletRequest does not contain multipart content"

2011-05-10 Thread eugenebalt
Sorry, I don't understand the "hint". Do you mean UploadWebRequest in the Application class? The documentation says it's needed for the status bar, I don't have any status bars. My form is extremely simple. I'm still not sure what to do. -- View this message in context: http://apache-wicket.1842

Re: Error with FileUpload: "ServletRequest does not contain multipart content"

2011-05-10 Thread Martin Grigorov
is there a chance that your form submits with GET method ? On Tue, May 10, 2011 at 10:32 PM, eugenebalt wrote: > Sorry, I don't understand the "hint". Do you mean UploadWebRequest in the > Application class? The documentation says it's needed for the status bar, I > don't have any status bars. My

Re: Error with FileUpload: "ServletRequest does not contain multipart content"

2011-05-10 Thread eugenebalt
Yes, the form submitted with the GET. I removed the method, and it's working now. So a multipart should with the POST, then. Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Error-with-FileUpload-ServletRequest-does-not-contain-multipart-content-tp3512653p3512

Re: Table not refreshed - ajax debug shows right markup returned

2011-05-10 Thread D D
Thanks Martin! It worked. Hint for those reading this thread in the future. Set the flag on the component you plan to add to AjaxRequestTarget when it's first declared. Dave On Tue, May 10, 2011 at 3:27 PM, Martin Grigorov wrote: > see setOutputMarkupPlaceholderTag() > > On Tue, May 10, 2011 at

Re: Table not refreshed - ajax debug shows right markup returned

2011-05-10 Thread Martin Grigorov
This is only when this Ajax updated component visibility may change. On Tue, May 10, 2011 at 10:49 PM, D D wrote: > Thanks Martin! It worked. > > Hint for those reading this thread in the future. Set the flag on the > component you plan to add to AjaxRequestTarget when it's first > declared. > >

Re: Nothing happens on AJAX call after session timeout

2011-05-10 Thread Gabriel Landon
As explain in the post http://apache-wicket.1842946.n4.nabble.com/Session-timeout-AJAX-enabled-controls-td1893184.html, that's is because when you use container (Tomcat) authentification, the login page is return in the ajax response when your session has expired. Have you tried the workaround Igo

disabled chek box form submit

2011-05-10 Thread fachhoch
can the disbaled checked check boxes be submitted with the form ? I have check boxes in my form, based on business logic some of the checked check boxes are disabled. when form is submitted I want to get all the checked disabled check boxes posted to the server ,please advice me how.

Re: disabled chek box form submit

2011-05-10 Thread Martin Makundi
As a sidenote, actually I think there is a bug in wicket (1.4.9) that rawinput is submitted for disabled form components but problem is that browser does not send values for disabled elements so actually the form component state becomes stale... must call formcomponent.clearinput if you whish to re

Re: Nothing happens on AJAX call after session timeout

2011-05-10 Thread vov
Can anyone give an example? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Nothing-happens-on-AJAX-call-after-session-timeout-tp3483872p3513980.html Sent from the Users forum mailing list archive at Nabble.com.