Re: How to update components using Ajax when ModalWindow closes?

2010-09-15 Thread Ernesto Reinaldo Barreiro
Using NonCachingImage (as Nino suggested) should be necessary: otherwise the browser might cache your image and never ask for a the new one. Can you post your code? Ernesto On Wed, Sep 15, 2010 at 8:50 AM, Johan Haleby wrote: > > This doesn't help, the image still doesn't appear. > -- > View th

Re: How to update components using Ajax when ModalWindow closes?

2010-09-15 Thread Johan Haleby
I've managed to resolve it! First of all I didn't add the markup container surrounding the image to the same AjaxRequestTarget that closed the modalwindow (I don't add the markup container to the AjaxRequestTarget at all). Instead I added a new WindowClosedCallback to the ModalWindow. To its Ajax

Wicket Visural Confirmers

2010-09-15 Thread Josh Kamau
I am trying to use Wicket Visural to Confirm delete but its not poping up anything. Here is my code: private ConfirmerLink lnkDelete ; . . . lnkDelete = new ConfirmerLink("lnkDelete"){ private static final long serialVersionUID = 1L; @Override public void on

package org.apache.wicket.request.target gone in Wicket 1.5

2010-09-15 Thread José Monzón
Where did the package "org.apache.wicket.request.target" go in Wicket 1.5 ?? I need it in order to use AnnotatedMountScanner from Wicketstuff (which doesn't work with wicket 1.5 so far) thanks. - To unsubscribe, e-mail: users-un

Re: API Docs for 1.4.10 and 1.4.11

2010-09-15 Thread armandoxxx
Well I do have sources attached it's just that I'm used to checking online API Docs. Ok then .. changing what I'm used to ... :D Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/API-Docs-for-1-4-10-and-1-4-11-tp2538753p2540171.html Sent from the Us

A bug in CryptedUrlWebRequestCodingStrategy

2010-09-15 Thread Bjorn S
Wicket version: 1.4.9 (rolled back due to AJAX problems in later release) I've detected some odd behaviour with CryptedUrlWebRequestCodingStrategy, specifically CryptedUrlWebRequestCodingStrategy.DecodedUrlRequest; When using a QueryStringStrategy for mounting a page and passing certain specific

Re: package org.apache.wicket.request.target gone in Wicket 1.5

2010-09-15 Thread Martin Grigorov
It is in wicket-request.jar If you use 1.5-M1 there is a bug and wicket-util.jar and wicket-request.jar and not included in the distro. Either take them from Maven repos or use 1.5-M2.1 which is currently being voted. On Wed, Sep 15, 2010 at 10:56 AM, José Monzón wrote: > Where did the package

Re: Wicket Internalization - Exceptions

2010-09-15 Thread v...@wav@gmail.com
Hello, It is working fine now. I made a mistake in the html page by referring the property file key for both the wicket:message & span tags. But in the property file the hello key is assigned hello: Hello ${personName} So whenever wicket:message is called, it looks for the getPersonName() and

RE: Opening a modal form from another modal form causes "are you sure?"

2010-09-15 Thread Chris Colman
>you would have to rerender modal A i think, you need to reestablish >the hierarchy on server-side I've tried quite a few different methods for rerendering Modal A but none of them work as required. Is there a simple couple of lines that would do such a rerender of the ModalWindow? > >-igor ---

Re: package org.apache.wicket.request.target gone in Wicket 1.5

2010-09-15 Thread monzonj
Well, actually the package doesn't exist either in wicket-request.jar, wicket-utils.jar or wicket.jar version 1.5-M2 (http://svn.apache.org/repos/asf/wicket/trunk/wicket/src/main/java/org/apache/wicket/request/) Classes such as MixedParamUrlCodingStrategy are nowhere to be located. Is it possibl

Wicket 1.5-m1 - Redirect from AJAX doesn't work.

2010-09-15 Thread monzonj
Hi. I've I have understood correctly, it is possible to redirect to a new page during an AJAX request (this is not trivial to do with an standard XHMLHttpRequest, but Wicket seems to have found a way). The thing is that it doesn't work for Wicket 1.5. Let me illustrate the case with a working exam

Re: Wicket 1.5-m1 - Redirect from AJAX doesn't work.

2010-09-15 Thread monzonj
Hi, I would like to point out that I've tried with Wicket 1.4.10 and it works fine. So, it's a bug on Wicket 1.5 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-m1-Redirect-from-AJAX-doesn-t-work-tp2540344p2540352.html Sent from the Users forum mailing lis

Re: Wicket 1.5-m1 - Redirect from AJAX doesn't work.

2010-09-15 Thread Peter Ertl
Can you file an JIRA issue please? Am 15.09.2010 um 13:26 schrieb monzonj: > > Hi, > > I would like to point out that I've tried with Wicket 1.4.10 and it works > fine. So, it's a bug on Wicket 1.5 > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-m

Re: Wicket 1.5-m1 - Redirect from AJAX doesn't work.

2010-09-15 Thread monzonj
Done https://issues.apache.org/jira/browse/WICKET-3048 > Can you file an JIRA issue please? > > > Am 15.09.2010 um 13:26 schrieb monzonj: -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-m1-Redirect-from-AJAX-doesn-t-work-tp2540344p2540384.html Sent from

Re: package org.apache.wicket.request.target gone in Wicket 1.5

2010-09-15 Thread Martin Grigorov
Yes, this is re-worked in 1.5. Now there are IRequestMapper implementations. See MountedMapper. It supports both indexed and named parameters What do you mean by RESTful ? None of the IRequestTarget's supported GET, POST, PUT, DELETE, afaik. This is just "beauty" URL, nothing more. On Wed, Sep 15

Re: package org.apache.wicket.request.target gone in Wicket 1.5

2010-09-15 Thread monzonj
Oh really? It's not RESTful? I read it somewhere, but maybe it was referring only to the way URLs are represented... I was expecting to create my Restful API using IRequestMapper under Wicket :( Oh well, I suppose I can combine Wicket with Spring MVC for RESTful support. -- View this message in

Re: package org.apache.wicket.request.target gone in Wicket 1.5

2010-09-15 Thread Martin Grigorov
Please explain what do you mean by "restful". On Wed, Sep 15, 2010 at 2:04 PM, monzonj wrote: > > Oh really? It's not RESTful? I read it somewhere, but maybe it was > referring > only to the way URLs are represented... I was expecting to create my > Restful > API using IRequestMapper under Wicke

Re: Javascript files not loading in IE6

2010-09-15 Thread Andrea Del Bene
Redo Cano, Xavier gencat.cat> writes: > > I'm sure that this is happening due to a bad configuration of my wicket > app, because the Ajax examples from wicket-stuff work are working > correctly with IE6 for me but I've checked the source code and I'm not > able to find the reason why my applicat

Button or Text in Link

2010-09-15 Thread Itun
I have found a case, do not understand why it work so. # In this case link`s onClick handler is called twice. # Show But in this case as it should be once. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Button-or-Text-in-Link-tp2540474p2540474.html Sent f

DataTable: focus-tracker fails

2010-09-15 Thread Benedikt Schlegel
Hi folks, is there anything i need to consider while setting up an DataTable with FilterToolbar? I have a FilterForm, added those 2 required hidden fields and everything looks fine so far. But when i use the filter, the script fails setting the focus on the 'active' field. I get a JS error "docum

DataTable: focus-tracker fails

2010-09-15 Thread Benedikt Schlegel
Hi folks, is there anything i need to consider while setting up an DataTable with FilterToolbar? I have a FilterForm, added those 2 required hidden fields and everything looks fine so far. But when i use the filter, the script fails setting the focus on the 'active' field. I get a JS error "docum

RE: Javascript files not loading in IE6

2010-09-15 Thread Redo Cano, Xavier
Thank you for your response Andrea. I've just tried the 1.4.12 build and it didn't solve the problem. I don't think it's a bug as long as in the wicket examples page this functionality is working fine with IE6. Ciao! -Missatge original- De: Andrea Del Bene [mailto:andrea.on@libero.i

Re: DataTable: focus-tracker fails

2010-09-15 Thread Benedikt Schlegel
Solved it by extending FilterForm: public class FilterForm extends org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm { private static final long serialVersionUID = 1L; public FilterForm(String id, IFilterStateLocator locator) { super(id, locator);

Re: Javascript files not loading in IE6

2010-09-15 Thread Andrea Del Bene
Redo Cano, Xavier gencat.cat> writes: > > Thank you for your response Andrea. I've just tried the 1.4.12 build and it didn't solve the problem. I don't > think it's a bug as long as in the wicket examples page this functionality is working fine with IE6. > > Ciao! > Hi, I've replaced file wic

repaint content of modalwindow

2010-09-15 Thread fachhoch
I am using modalwindow its content is a fragment. On ajxaRequest I want to repaint the content of modal window please tell me how can I do this ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/repaint-content-of-modalwindow-tp2540922p2540922.html Sent from the

how Translate SingIn panel...

2010-09-15 Thread Victor_Trapiello
Hello guys, I´m using the signIn Panel in my application, it works great but I would like to "translate" it to Spanish, I mean I would like to see "Nombre de Usuario" and "Contraseña" instead of "UserName" and "password" how can I do that¿? any Ideas¿? property files, modifing something in the w

Weird Error

2010-09-15 Thread drf
This evening I started getting a strange error which does not appear to be connected with anything that has changed in my application code. The exception I am getting related to the wicket-extensions jar: WicketMessage: Unable to find component with id 'panel' in [MarkupContainer [Component id =

Conditional Validation (Save versus Submit)

2010-09-15 Thread Clint Checketts
I have a form with 2 buttons: Save and Submit. If the user hits Save I want to bypass my validations, but still update the underlying model objects so i can persist them in a partially completed state, then have the full validation run when the Submit button is clicked. If I call setDefaultFormPro

Re: Weird Error

2010-09-15 Thread Igor Vaynberg
this has nothing to do with the jar, looks like somehow you are missing the tab body panel in your tabbed panel. -igor On Wed, Sep 15, 2010 at 1:11 PM, drf wrote: > > This evening I  started getting a strange error which does not appear to be > connected with anything that has changed in my appl

Re: Conditional Validation (Save versus Submit)

2010-09-15 Thread Igor Vaynberg
not possible. if use types in "a" for a field that is an integer model how to you "save" that? you have to validate. -igor On Wed, Sep 15, 2010 at 1:16 PM, Clint Checketts wrote: > I have a form with 2 buttons: Save and Submit. If the user hits Save I want > to bypass my validations, but still u

Re: Conditional Validation (Save versus Submit)

2010-09-15 Thread Richard Nichols
I've done this before by implementing the notion of "Draft Mode" in the form. Like Igor suggested, if you have fields that are incompatible with your model (i.e. string in a number field) you'll either need to decide to force the user to fix those things in all cases, or alternatively change your

Re: how Translate SingIn panel...

2010-09-15 Thread Einar Bjerve
As far as I know SigninPanel only partially support localization, so you have to override SigninPanel, and provide your own html with the correct translation. And you should probably add "signInFailed" to your properties so you get that message in your language too Einar Den 15. sep. 2010 kl.

Re: how Translate SingIn panel...

2010-09-15 Thread Victor_Trapiello
Ey thank you very much with your reply but, can you be more specific¿?, I do not know how to do that, what you mean?, do I need to download the sources of the wicket framework and then inside of the sigin panel modify something¿? mmm Im quite lost with this sort of thing I´m afraid... thank you v

Re: How to add footer section using DataTable

2010-09-15 Thread TahitianGabriel
You could use something like : table.addBottomToolbar(new YourFooterToolbar(...)); where YourFooterToolbar extends AbstractToolbar regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-footer-section-using-DataTable-tp2541058p2541390.html Se

How would you pass your character limits in reusable forms?

2010-09-15 Thread Anthony DePalma
I have a reusable form panel for some of my applications, but many of the text fields and text areas have different max lengths depending on the application using them. So I was thinking of the best ways to pass these lengths and came up with a bunch of ideas. The obvious way is to pass the limits

Wicket pages are invalid XHTML

2010-09-15 Thread Ichiro Furusato
Hi, I'm a new Wicket user and am unclear about a couple of things regarding what type of markup Wicket delivers to clients. Because some of the clients I work with have government guidelines restricting what document types are permitted (typically XHTML 1.0 Strict or Transitional), I'm concerned I

Re: How would you pass your character limits in reusable forms?

2010-09-15 Thread Richard Nichols
Hi Anthony, My wicket project http://code.google.com/p/visural-wicket has a JSR303 based form which might be of use for this. Take a look at http://visural-wicket-examples.appspot.com/app/jsr303 Essentially you can annotate your model bean properties with JSR303 annotations e.g. @Size(max=200) a

Re: Wicket pages are invalid XHTML

2010-09-15 Thread Jeremy Thomerson
On Wed, Sep 15, 2010 at 8:11 PM, Ichiro Furusato wrote: > Hi, > > I'm a new Wicket user and am unclear about a couple of things regarding > what type of markup Wicket delivers to clients. Because some of the clients > I work with have government guidelines restricting what document types > are per

Re: Wicket pages are invalid XHTML

2010-09-15 Thread Ichiro Furusato
Hi Jeremy, Thanks for the quick reply. Is the reason I'm seeing the wicket:id in my output then that I'm working in development mode? If so, I'd say that was a nice design decision (not surprising from what else I've seen in Wicket). Cheers, Ichiro On 9/16/10, Jeremy Thomerson wrote: > On Wed

RE: repaint content of modalwindow

2010-09-15 Thread Chris Colman
> >I am using modalwindow its content is a fragment. On ajxaRequest I want to >repaint the content of modal window please tell me how can I do this ? > I have a similar request: Modal Form A opens Modal Form B. When B is Ok'd and closes I want to repaint the contents of Form A because they can

Re: Form/Enter Key Problem

2010-09-15 Thread james yong
Sorry for replying to an old post. The problem can be solved by moving the submit field out of the form in the html template --james Ballist1c wrote: > > Hey guys, > > I have created the following form (code below). > > The form works fine, when i enter a value into the txt field and mouse

Re: Wicket pages are invalid XHTML

2010-09-15 Thread Jeremy Thomerson
Yes Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Sep 15, 2010 8:51 PM, "Ichiro Furusato" wrote: Hi Jeremy, Thanks for the quick reply. Is the reason I'm seeing the wicket:id in my output then that I'm wor

Java in CMS arena,..wicket to lead the way?!

2010-09-15 Thread Arjun Dhar
Summary:: This conversation is about Java in the CMS space, comparison to PHP and is there a future to reduce turn around time with Java. Are we as a community too elitist to be stuck on masturbating on frameworks rather than solutions that affect direct outcome? ..and then technically I've cente

Re: Wicket pages are invalid XHTML

2010-09-15 Thread Ernesto Reinaldo Barreiro
And even on development you could disable it via overriding the Application.init() and calling getMarkupSettings().setStripWicketTags(true); Ernesto On Thu, Sep 16, 2010 at 3:50 AM, Ichiro Furusato wrote: > Hi Jeremy, > > Thanks for the quick reply. Is the reason I'm seeing the wicket:id > in m

Re: repaint content of modalwindow

2010-09-15 Thread Ernesto Reinaldo Barreiro
Isn't it enough to: 1-put a the contents of your modal A in a WebMapkupContainer X (with X.setOutputMarkupId(true)) 2-update the contents of X (X.addOrReplace(new content)) 3- and do ajaxRequestTarget.addComponent(X) ? Regards, Ernesto On Thu, Sep 16, 2010 at 4:26 AM, Chris Colman wrote: >> >