Re: Is it kosher to have "wicket-event.js" and "wicket-ajax.js" contributed on every ajax update?

2008-04-27 Thread Matthew Young
>filter out the duplicates on the client side How do you do that? Would it be possible to make stuff like scriptaculous effects to work like that? Scriptaculous doesn't work if it's ajax contributed more than once. On Sat, Apr 26, 2008 at 11:25 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: >

Re: Gzipping of pages (HTML output, not only resources)

2008-04-27 Thread Artur W.
Stefan Simik wrote: > > />Maybe it can work for your applications without any problems too. > Thanks for you response. This filter works most of the time for me. The only problem is when I want to upload a file. I use UploadWebRequest and UploadProgressBar. AFAIK FileUpload closes the stream

Re: Is it kosher to have "wicket-event.js" and "wicket-ajax.js" contributed on every ajax update?

2008-04-27 Thread Matej Knopp
Wicket filters the contributions on client side (according to the URL). Can you please elaborate on scriptaculous not working? -Matej On Sun, Apr 27, 2008 at 9:43 AM, Matthew Young <[EMAIL PROTECTED]> wrote: > >filter out the duplicates on the client side > > How do you do that? Would it be po

Problem with german error messages in feedback panel

2008-04-27 Thread greeklinux
Hello, I have problems with german umlauts in a feedback panel. I define the error messages in a property file. It displays as follows: Bitte geben Sie eine gültige E-Mail ein In my HTML: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> ... My editor is configured to use UTF-8

Re: Problem with german error messages in feedback panel

2008-04-27 Thread Timm Helbig
Yes I had the same one. After switching my favourite IDE (Netbeans) to UTF-8 Encoding everything was fine. So, either you use Unicode Characters in your String literals, which is plain ugly, or use an editor which is capable of using UTF-8 Encodings. Am Sonntag, 27. April 2008 11:35:16 schrieb

Re: intro and explanation about DataTable and DetachableModel

2008-04-27 Thread Eyal Golan
Thanks Igor and Doug, I'll check things out when the boss agrees bbrrr ... On Fri, Apr 25, 2008 at 12:39 AM, Doug Donohoe <[EMAIL PROTECTED]> wrote: > > This may help. I am moving my DD Poker site to wicket and implemented an > IDataProvider around my database service as follows: > > private cla

Re: Alternative method to initialise page

2008-04-27 Thread Stefan Simik
John Patterson wrote: > > Hi, > > I am extending the PagingNavigatation and need to access some member > variables to create my page links. Because these links are created in > PagingNavigatation's constructor me subclasses newPagingNavigationLink() > method is called before my subclasses mem

Re: Alternative method to initialise page

2008-04-27 Thread John Krasnay
On Sat, Apr 26, 2008 at 01:58:28PM -0700, John Patterson wrote: > > Note to self: don't post messages when half cut. But I have to break that > rule just one more time > Heh, no problem. Been there once or twice myself... jk -

Re: Form clear

2008-04-27 Thread Martijn Dashorst
I think Form has a clearInputs() method. Or otherwise you'll have to visit() the form's children to call clearInput() on them Martijn On 4/18/08, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Hi! > > I have an user Form that is posted with AjaxFallbackButton. When the forms > gets submitt

Re: what is the preferred way to include a javascript library to a wicket project?

2008-04-27 Thread Uwe Schäfer
Vitaly Tsaplin schrieb: -- personally i like to be able to simply include the datepicker and not -- have to worry or research what javascript library it uses. i´ve talked this over with some guys personally, and maybe this was discussed before, but consider this: what if compon

Re: what is the preferred way to include a javascript library to a wicket project?

2008-04-27 Thread Vitaly Tsaplin
-- create a jira issue for the datepicker please For the datepicker only? Shouldn't it be done on the component level and be a part of solid wicket API...? In fact I do not use the datapicker at all what I said was related to the problem that I faced writing my own components. Hi Uw

Re: Problem with german error messages in feedback panel

2008-04-27 Thread greeklinux
Hello, I am using IDEA as IDE. I configured it to use UTF-8. Did I forget something? In the property file it is not possible to write "& uuml" instead of "ü", because the "&" will be escaped to "& amp". Timm Helbig wrote: > > Yes I had the same one. After switching my favourite IDE (Netbean

Re: RedirectPage - gets stuck in an endless loop

2008-04-27 Thread Jonathan Locke
can you go to this login url in a browser at all or does that cause the loop too? (maybe urls that should be going to the other application are being handled by wicket?) mfs wrote: > > Eventually its throws StackOverFlow exception... > > Jonathan Locke wrote: >> >> >> some kind of exceptio

Re: what is the preferred way to include a javascript library to a wicket project?

2008-04-27 Thread Uwe Schäfer
Vitaly Tsaplin schrieb: hi Vitaly Why it should be so complicated... Isn't it better and simpler to be able to just add dependencies by hands overriding the defaults. what is the aspect, that sounds complicated to you? implementation is near to trivial and about ease of use: in most cases

Re: Integer only NumberValidator?

2008-04-27 Thread Al Maw
You can find the default messages (and keys, obviously) in the org.apache.wicket.Application.properties file. Regards, Al On Fri, Apr 25, 2008 at 1:20 AM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > Man, of course - I was so focused on NumberValidator that I completely > forgot about the Intege

Re: what is the preferred way to include a javascript library to a wicket project?

2008-04-27 Thread Igor Vaynberg
On Sun, Apr 27, 2008 at 8:06 AM, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote: > -- create a jira issue for the datepicker please > >For the datepicker only? Shouldn't it be done on the component > level and be a part of solid wicket API...? >In fact I do not use the datapicker at all wha

Re: Is it kosher to have "wicket-event.js" and "wicket-ajax.js" contributed on every ajax update?

2008-04-27 Thread Matthew Young
>Wicket filters the contributions on client side (according to the URL) Can explain what is (according to the URL)? Does the filtering apply to any js? If wicket js is filtered on the client side, then I don't know what's going on with this question: http://www.nabble.com/Ajax-postcall-handler-

Re: Is it kosher to have "wicket-event.js" and "wicket-ajax.js" contributed on every ajax update?

2008-04-27 Thread Matej Knopp
On Sun, Apr 27, 2008 at 9:46 PM, Matthew Young <[EMAIL PROTECTED]> wrote: > >Wicket filters the contributions on client side (according to the > URL) > > Can explain what is (according to the URL)? Does the filtering apply to any > js? > > If wicket js is filtered on the client side, then I do

Re: DropDownChoice getting value into the model

2008-04-27 Thread Russell Webb
Perhaps I'm missing something big time about BoundCompoundPropertyModel. I removed my loadable detachable model and still can't get it to work specifically with a dropdown element. The following works... FormComponent networks = new DropDownChoice("network", new PropertyModel(phone, "network"), n

Re: RedirectPage - gets stuck in an endless loop

2008-04-27 Thread mfs
I can...as otherwise in that case...this shouldnt work too..which is RequestCycle.get().setRequestTarget(new RedirectRequestTarget(loginURL)) Jonathan Locke wrote: > > > can you go to this login url in a browser at all or does that cause the > loop too? > > (maybe urls that should be going

Re: Is it kosher to have "wicket-event.js" and "wicket-ajax.js" contributed on every ajax update?

2008-04-27 Thread Matthew Young
>That would be a wicket bug, is there a jira entry for it? Just created one: https://issues.apache.org/jira/browse/WICKET-1572 This one should not be called a bug. Open browser first, then start wicket app, it's fine. But start wicket app first, then open browser, it's not. What difference do it

Interview: How Wicket Does Ajax

2008-04-27 Thread Martijn Dashorst
Some preaching to the choir: JavaLobby has printed an interview with Eelco, Jonathan and Igor regarding Wicket's Ajax implementation. It is quite an informative piece that doesn't hesitate to go a bit deeper into the technology bits. Read it here: http://java.dzone.com/news/interview-how-wicket-do

a hidden field named "x" is filled by the form action url... a bug?

2008-04-27 Thread Vitaly Tsaplin
Hi everyone, It seems that if you add a hidden field named "x" to your form the field is going to be filled by the form action url :) It should be easy to reproduce. Vitaly - To unsubscribe, e-mail: [EMAIL PROTECTED] For

What is the best way to create layouts in Wicket?

2008-04-27 Thread Azzeddine Daddah
Hi there, I'm new to Wicket trying to build my first application :). I've already token a look at "Creating layouts using markup inheritance" tutorial from the Wicket website, but still have some questions: Suppose that I've a base page which I want that some of my pages inherits the layout from i

Change image source on every ajax request

2008-04-27 Thread mfs
Guys, I have got a keep-alive.gif[?random=timestamp] in my LayoutPage (which every page extends from). I need a way to change the source of this keep-alive image (so as to update the time stamp post-fixed with, so that the browser doesnt fetch it from the cache).and make it a default behavio

loadStringResource(Component component, String key) - correct method to check if the component IS a Page?

2008-04-27 Thread Ned Collyer
Hi, I've written my own class that extends ComponentStringResourceLoader (i might change it to extend some other class) At any rate, when loadStringResource(Component component, String key) is called, and the component is a panel I can call "getModel" and retrieve the model. When the component

Re: Change image source on every ajax request

2008-04-27 Thread Igor Vaynberg
see NonCachingImage -igor On Sun, Apr 27, 2008 at 7:03 PM, mfs <[EMAIL PROTECTED]> wrote: > > Guys, > > I have got a keep-alive.gif[?random=timestamp] in my LayoutPage (which every > page extends from). > > I need a way to change the source of this keep-alive image (so as to update > the ti

Overridable Authorization

2008-04-27 Thread freak182
Hello, I have a problem about authorization.I look at wicket-in-action source code and implement authorization from there it work well. I use annotation to tag Pages that is unauthorize. But i just go on circle.Here is my problem: @OverridablePage public class EditUserPage extends OverridableProt

Re: Problem with german error messages in feedback panel

2008-04-27 Thread Vit Rozkovec
Hi, try to convert the property file with native2ascii tool. greeklinux wrote: Hello, I am using IDEA as IDE. I configured it to use UTF-8. Did I forget something? In the property file it is not possible to write "& uuml" instead of "ü", because the "&" will be escaped to "& amp". Timm H

Anyone seen this Firefox bug: tabs stop working after ajax update

2008-04-27 Thread Matthew Young
I have a tabpanel. After ajax update to a div inside the tab-panel, the tab stop working: rollover hover doesn't work, no reaction to click. This only happen to Firefox both Windows and Linux. No problem with IE7, Opera or Safari. You can see this in action here: " http://208.131.142.119:8080/gs

Re: Change image source on every ajax request

2008-04-27 Thread mfs
got it to work using wicket.ajax postCallHandlers... mfs wrote: > > Guys, > > I have got a keep-alive.gif[?random=timestamp] in my LayoutPage (which > every page extends from). > > I need a way to change the source of this keep-alive image (so as to > update the time stamp post-fixed with, so