onclick ajax event stops working when adding onmouseover

2011-07-18 Thread rebecca
Hello friends, I have a problem i don't understand: I have a list view of columns (inside a list view of rows). When i add an ajaxEventBehaviour(onckick) to each col item - it works. When i add another ajaxEventBehaviour(onmouseover) - the mouse over works but the onclick stops working (it does

Re: Controlling head element order with renderHead(IHeaderResponse)

2011-07-18 Thread Martin Grigorov
With org.apache.wicket.Application.setHeaderResponseDecorator(IHeaderResponseDecorator) you can setup custom org.apache.wicket.markup.html.IHeaderResponseDecorator. Wicket will call its org.apache.wicket.markup.html.IHeaderResponseDecorator.decorate(IHeaderResponse) when creating IHeaderResponse

Re: onclick ajax event stops working when adding onmouseover

2011-07-18 Thread Andrew Fielden
I don't have a direct answer to your question, but I would start investigating this by first establishing whether your web browser is invoking the Javascript which calls your server's Ajax onclick event handler. You can install Firebug, which is an excellent debugging tool for Firefox, and allows

AjaxFormComponentUpdatingBehavior(onchange) not working on DropDownChoice

2011-07-18 Thread lucast
Dear Forum, I have added AjaxFormComponentUpdatingBehavior to a DropDownChoice to hide a text field or to make it visible, according to the value selected from DropDownChoice. AjaxFormComponentUpdatingBehavior is hiding the text field, as expected, but it is not making it visible when it should.

Re: AjaxFormComponentUpdatingBehavior(onchange) not working on DropDownChoice

2011-07-18 Thread Martin Grigorov
textField.setOutputMarkupPlaceholderTag(true); On Mon, Jul 18, 2011 at 1:16 PM, lucast lucastol...@hotmail.com wrote: Dear Forum, I have added AjaxFormComponentUpdatingBehavior to a DropDownChoice to hide a text field or to make it visible, according to the value selected from DropDownChoice.

How can i redirect to a wicket page after executing an url-request?

2011-07-18 Thread Mike Mander
Hi, my usecase: I use a solr server for search. Importing data to the server works by calling an url (localhost:8983/solr/). I've added this url to a link. On click data-import starts. All works fine. SolrLink.java code @Override protected CharSequence getURL() { return

RE: How can i redirect to a wicket page after executing an url-request?

2011-07-18 Thread Wilhelmsen Tor Iver
*But* the link leads me to the solr response page. I know it's intended by clicking a link to get directed to the called page, but i would like to call the url and immediatly after that call i would like to redirect to wicket page. Sounds like what you really want to do is use Apache

Re: How can i redirect to a wicket page after executing an url-request?

2011-07-18 Thread Mike Mander
Am 18.07.2011 13:43, schrieb Wilhelmsen Tor Iver: *But* the link leads me to the solr response page. I know it's intended by clicking a link to get directed to the called page, but i would like to call the url and immediatly after that call i would like to redirect to wicket page. Sounds like

RE: How can i redirect to a wicket page after executing an url-request?

2011-07-18 Thread Wilhelmsen Tor Iver
HttpClient looks great. Do you know if i can execute the HttpMethod without waiting for request to comeback? Maybe an asynchronous way? There seems to be an async fork you can try: http://jfarcand.wordpress.com/2010/03/04/new-open-source-project-alert-a-new-asynchronous-http-client-library/

Button component not enabled in FireFox

2011-07-18 Thread drf
We are using the standard ModalWindow in our base page. To our modal we add a panel with one button, used to close the window. From our base page, we instantiate a wizard. Works great, on all browsers, apart from the following issue: In FireFox, when the modal is opened in the last step in the

Re: How can i redirect to a wicket page after executing an url-request?

2011-07-18 Thread Mike Mander
Am 18.07.2011 14:08, schrieb Wilhelmsen Tor Iver: HttpClient looks great. Do you know if i can execute the HttpMethod without waiting for request to comeback? Maybe an asynchronous way? There seems to be an async fork you can try:

RE: How can i redirect to a wicket page after executing an url-request?

2011-07-18 Thread Wilhelmsen Tor Iver
throw new RestartResponseAtInterceptPageException(DashboardPage.class); Will you ever be returning from that (via continueToOriginalDestination())? If not, setResponsePage(DashboardPage.class) is better. - Tor Iver

Re: How can i redirect to a wicket page after executing an url-request?

2011-07-18 Thread Mike Mander
Am 18.07.2011 14:41, schrieb Wilhelmsen Tor Iver: throw new RestartResponseAtInterceptPageException(DashboardPage.class); Will you ever be returning from that (via continueToOriginalDestination())? If not, setResponsePage(DashboardPage.class) is better. - Tor Iver

RE: [ANNOUNCE] Wicketopia 0.9 Released...

2011-07-18 Thread androidcoolguy
I fixed all the issues over the weekend. If you like, I can send you the changes as I don't have commit access to the project. There is still slight issues though, it seems like navigation/paging is not working correctly if there are more than 1000 records. -- View this message in context:

Re: Controlling head element order with renderHead(IHeaderResponse)

2011-07-18 Thread Scott Reed
That works quite well, Martin. I can add my on-the-fly contributions at the top of the head. I would like to know how to pin-point the location better so my additions come after the hard-coded HTML meta content-type and title elements. Is there some documentation that might explain more about

Re: Button component not enabled in FireFox

2011-07-18 Thread Andrea Del Bene
Hi, which version of Firefox and Wicket are you using? We are using the standard ModalWindow in our base page. To our modal we add a panel with one button, used to close the window. From our base page, we instantiate a wizard. Works great, on all browsers, apart from the following issue: In

Re: Controlling head element order with renderHead(IHeaderResponse)

2011-07-18 Thread Martin Grigorov
What exactly is hardcoded ? I'm not aware of such documentation but it sounds like a good todo for me. On Mon, Jul 18, 2011 at 7:35 PM, Scott Reed sr...@avacoda.com wrote: That works quite well, Martin. I can add my on-the-fly contributions at the top of the head. I would like to know how to

Open PDF in a new window

2011-07-18 Thread Fred
Hello, I am trying to open this pdf in a new window with no sucess. protected void onSubmit() { final ByteArrayOutputStream pdfout = PDFHelper.genPDF(); final Response response = getRequestCycle().getResponse(); response.setContentType(application/pdf);

Re: Bigger sites running on wicket?

2011-07-18 Thread Bruno Borges
Just to contribute on this topic: www.americanas.com (brazilian online store - the biggest one) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Bigger-sites-running-on-wicket-tp2197500p3676154.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Open PDF in a new window

2011-07-18 Thread Martin Grigorov
Look in the mail archives. This has been discussed two weeks ago On Mon, Jul 18, 2011 at 9:55 PM, Fred smiths...@hotmail.com wrote: Hello, I am trying to open this pdf in a new window with no sucess.  protected void onSubmit()  {      final ByteArrayOutputStream pdfout =

RE: Open PDF in a new window

2011-07-18 Thread Fred
Thanks, Yes I tried that example (and didnt want to hijack that thread) originally and could not get it to work at all, so I went down this road. Can you help me to get that example to work? This is what I tried: protected void onSubmit() { downloadPdf(getRequestCycle(), pdfReq);

Apache Wicket developers needed

2011-07-18 Thread Andrew Lombardi
If you've been using Apache Wicket for a while, and know you're way around. We'd like to hear from you. We have some contracting opportunities, please contact us by email (off list) for further details. To our success! Mystic Coders, LLC | Code Magic | www.mysticcoders.com ANDREW LOMBARDI

Unit testing wicket

2011-07-18 Thread Niranjan Rao
Hi there, Followed instructions to get wicket working with Spring dependency injections. It does work in most of the scenarios. One scenario that is troubling me is unit testing. I have following simple class. So long as I have one unit test in the class, it works fine. If I add more than one

Re: Unit testing wicket

2011-07-18 Thread Viktoras
On 2011.07.19 02:04, Niranjan Rao wrote: @Before public void setUp() { Assert.assertNotNull(Could not get application, theApp); tester = new WicketTester(theApp); } You need a fresh application instance everytime. In our

RE: [ANNOUNCE] Wicketopia 0.9 Released...

2011-07-18 Thread androidcoolguy
Turned out to be sqlite3 pagination issue, nothing to do with Wicketopia. Issue resolved! Thus, verified that Wicketopia 0.9.2 all good. Please let me know if you still need any help in maintaining the project. Thanks! -- View this message in context:

Refreshing captcha image

2011-07-18 Thread Alec Swan
Hello, We have a form with some required fields and a captcha image with CaptchaImageResource. Everything works great, but the default Wicket captcha component displays text which is hard to read for end-users. I added an AjaxSubmitLink(reCaptcha) button which should allow the user to re-generate

Re: Controlling head element order with renderHead(IHeaderResponse)

2011-07-18 Thread Scott Reed
By hardcoded I mean my HTML file starts with the following head: head !-- hardcoded HTML lines -- meta http-equiv=Content-type content=text/html;charset=UTF-8 / titleSign In/title /head After I load the page with Ajax it has: head !-- lines I'm adding with decorator -- link rel=stylesheet