Re: 1.5 RequestMapper and Form submit

2010-10-14 Thread Matej Knopp
Why don't you store the locale in session every time it is in URL? Or if you need more control store it in the page instance. Kind regards, Matej Knopp InMethod On Thu, Oct 14, 2010 at 4:37 PM, marco.behler m...@coderwerk.com wrote: First of all, congratulations to the new request handling

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
2010/8/24 Major Péter majorpe...@sch.bme.hu: Hi, see inline Usually it is a component that returns false in isStateless or generates a stateful listener interface URL. okay, but how did the 1.4 have nice url in browser bar and Ajax working without this tweak? I mean this new ?number style

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
and name2 will be named parameters but they are encoded in the path. -Matej Am 24.08.2010 um 02:13 schrieb Matej Knopp: Hi, see the replies below 2010/8/23 Major Péter majorpe...@sch.bme.hu: Hi! As I'm testing wicket 1.5-SNAPSHOT, I'm seeing some strange behaviors: With 1.4 I've used to have

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
2010/8/24 Major Péter majorpe...@sch.bme.hu: okay, but how did the 1.4 have nice url in browser bar and Ajax working without this tweak? I mean this new ?number style urls are a bit ugly IMHO, and I have many ajaxified pages, so I don't know how to deal with this right now.. If you use

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
2010/8/24 Major Péter majorpe...@sch.bme.hu: I don't think there is simple way to do that (unless you tweak the mapper). Why would you want to do that though? All bookmarkable URLs are generated without the page Id, The redirect is temporary (so google indexes the original URL). URL is still

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
Sorry, my bad. -Matej On Tue, Aug 24, 2010 at 5:08 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: 2010/8/24 Major Péter majorpe...@sch.bme.hu: well, I've tried this with this quickstart: http://aldaris.sch.bme.hu/quick.tar.gz , but this really didn't worked. Also on my bigger project I was

Re: [1.5] new wicket URL-related questions

2010-08-23 Thread Matej Knopp
Hi, see the replies below 2010/8/23 Major Péter majorpe...@sch.bme.hu: Hi! As I'm testing wicket 1.5-SNAPSHOT, I'm seeing some strange behaviors: With 1.4 I've used to have url's like: showuser/id/1234 now when I open simply the page without params, I will see the following URL:

Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread Matej Knopp
We don't have convenience urlfor methods on request cycle any more, however there is a convenience urlFor(Class, PageParameters) on Component, so look there to see how it's done. Instead of setRequestTarget you can do this RequestCycle#scheduleRequestHandlerAfterCurrent(handler) -Matej

Re: Welcome Martin Grigorov as a core team member

2010-07-20 Thread Matej Knopp
Welcome Martin! -Matej On Tue, Jul 20, 2010 at 5:21 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: not working on wicket has made you lazy johan! :) -igor On Tue, Jul 20, 2010 at 7:46 AM, Johan Compagner jcompag...@gmail.com wrote: welcome! hope you happily merge even more stuff ;)

Re: [Wicketstuff / Inmethod-Grid] A handful of patches

2010-06-07 Thread Matej Knopp
Hi, I'm too busy to review the patches now, also they didn't get through as the mailing list doesn't allow attachments. Perhaps when JIRA works on wicket stuff again you can create issues in grid project and attache the patches there. -Matej On Mon, Jun 7, 2010 at 5:48 PM, Charles Deal

Re: Don't increment the Session.pageIdCounter for stateless pages?

2010-03-13 Thread Matej Knopp
I'm not sure about all this. If the session has not been bound the page id will always be 0. If the session has been bound, I don't think we shouldn't increment page Id. Stateless page can became stateful any time, not incrementing the id can have sideeffects. -Matej On Sat, Mar 13, 2010 at

Re: inmethod DataGrid problem in IE8

2010-03-12 Thread Matej Knopp
If you run grid examples is the problem present? -Matej On Fri, Mar 12, 2010 at 9:54 PM, Russell Morrisey russell.morri...@missionse.com wrote: I am having trouble with the layout of my inmethod DataGrid in wicket.  It appears that the header columns and the data columns are not lining up

Re: InMethod grid AbstractColumn#getHeaderCssClass() problem.

2010-02-01 Thread Matej Knopp
But the css class is in the output. Can't it be a styling problem? I.e. the css being by more specific rule? Can you try something like th.centerAlign * { text-align: center !important; } Or even more specific clas th.centerAlign div.imxt-a { text-align:center !important; } If that doesn't

Re: Should Duration be deprecated?

2010-01-26 Thread Matej Knopp
There is a difference between MILLISECONDS.toSeconds(duration) and duration.toSeconds() As for all data being stored as primitives, sometimes being able to access it on higher level can be kinda nice... -Matej On Tue, Jan 26, 2010 at 9:00 PM, James Carman jcar...@carmanconsulting.com wrote:

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Matej Knopp
Just because it's the same page class it doesn't mean it's the same page instance. How does the URL that you invoke look like? -Matej On Thu, Jan 7, 2010 at 12:32 PM, manuelbarzi manuelba...@gmail.com wrote: Hi, - the scenario is this: jmeter stress-testing (10 simultaneous users with no

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Matej Knopp
You have the exact same problem with every stateful application. If you want to avoid a DoS attack (which isn't really always possible) you need a good firewall. -Matej On Thu, Jan 7, 2010 at 2:29 PM, manuelbarzi manuelba...@gmail.com wrote: if this is the behaviour by default, then, how do you

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Matej Knopp
it be applied a similar mechanism for the home page? On Thu, Jan 7, 2010 at 2:31 PM, Matej Knopp matej.kn...@gmail.com wrote: You have the exact same problem with every stateful application. If you want to avoid a DoS attack (which isn't really always possible) you need a good firewall. -Matej

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Matej Knopp
SetVersioned(false) does not help with new page instances being created. -Matej On Thu, Jan 7, 2010 at 9:46 PM, Wilhelmsen Tor Iver toriv...@arrive.no wrote: about unversioned, i have just done a quick test on wicket-examples helloworld, adding serialVersionUID (not informed in the examples)

Re: datagrid error

2010-01-06 Thread Matej Knopp
Caused by: java.util.MissingResourceException: Unable to find property: 'id1' for component: grid1:header:header:id1 You are missing property id1 for column header in your property file. -Matej On Wed, Jan 6, 2010 at 6:35 PM, Igor Racic igor.ra...@gmail.com wrote: Hi, I am trying to adapt

Re: PageWindowManager (DiskPageStore) causing PageExpiredException when working in different browser tabs

2009-12-18 Thread Matej Knopp
Hi, problem in your case is that that the diskpagestore overflows. That normal, it's cyclic, but it shouldn't happen too often. The default size is 10 megabytes (can be increased), that means it should be able to accommodate quite a few (well, hundreds) of pages. So even with multiple tabs the

Re: Modal Window Problems On Internet Explorer.

2009-12-15 Thread Matej Knopp
Have you cleared your browser cache? -Matej On Wed, Dec 16, 2009 at 12:02 AM, victorTrapiello vic...@trapiello.net wrote: Please check the second example in that wicket page (the panel) check it with IE8, that exactly what is happend to me, and before with IE 7 it didn´t I just

Re: Limiting PageStore size

2009-12-11 Thread Matej Knopp
On Thu, Dec 10, 2009 at 6:11 PM, Matej Knopp matej.kn...@gmail.com wrote: Are you sure you have been testing it correctly? The pagestore is cyclic. That means once it reaches it's limit it's the oldest pages get overwritten. -Matej On Thu, Dec 10, 2009 at 11:56 PM, Neil Curzon neil.cur

Re: class cast exception when using setAutomaticMultiWindowSupport(true)

2009-12-11 Thread Matej Knopp
Why are you using trunk? Trunk is currently in highly unstable experimental state. -Matej On Fri, Dec 11, 2009 at 11:02 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Anybody have any advice on how to do this quick start? Here's how I create the issue. 1) Open a new window (so that

Re: Limiting PageStore size

2009-12-10 Thread Matej Knopp
Are you sure you have been testing it correctly? The pagestore is cyclic. That means once it reaches it's limit it's the oldest pages get overwritten. -Matej On Thu, Dec 10, 2009 at 11:56 PM, Neil Curzon neil.cur...@gmail.com wrote: Hi all, We're in the process of going live with our wicket

Re: inmethod grid sorting on FireFox

2009-12-07 Thread Matej Knopp
I just tried the sorting with grid examples in Firefox 3.5.5 and it works just fine. -Matej On Mon, Dec 7, 2009 at 10:20 PM, Charles Deal chuckdea...@gmail.com wrote: I'm using Wicket 1.4.1 with inmethod grid 1.4.1. We have successfully used the inmethod grid in a few different scenarios but

Re: Wicket 1.5 experiences

2009-12-01 Thread Matej Knopp
Hi, Wicket 1.5 is currently highly experimental. I definitely wouldn't recommend using it for anything even half serious. -Matej 2009/12/1 Major Péter majorpe...@sch.bme.hu: Hi, I'm trying to make my project 1.5-compatible, but I had run into two issues: First I was stumbled when saw

Re: Wicket in JBoss cluster

2009-10-22 Thread Matej Knopp
Well, if JBoss doesn't deserialize session immediately after replication (which i have no idea if it does) the back button will not work. However if you are using sticky sessions (which you definitely should) then this will only be issue when user click back button after a node went down. -Matej

Re: Wicket in JBoss cluster

2009-10-22 Thread Matej Knopp
Yes. But wicket tries to store the page being sent across cluster during replication when the session is deserialized on target node. -Matej On Thu, Oct 22, 2009 at 11:46 PM, Randy S. randypo...@gmail.com wrote: Isn't this caused by the storage of past pages in files on disk rather than in

Re: Wicket in JBoss cluster

2009-10-22 Thread Matej Knopp
? On Thu, Oct 22, 2009 at 4:49 PM, Matej Knopp matej.kn...@gmail.com wrote: Yes. But wicket tries to store the page being sent across cluster during replication when the session is deserialized on target node. -Matej On Thu, Oct 22, 2009 at 11:46 PM, Randy S. randypo...@gmail.com wrote: Isn't

Re: inmethod IDataSource

2009-10-19 Thread Matej Knopp
Does it also happen when you call result.setTotalCount(books.size()) before calling getCount()? From IDataSource: /** * Sets the total items count. Alternatively, if the total item count can't be determined, * either {...@link #MORE_ITEMS} or

Re: inmethod IDataSource

2009-10-19 Thread Matej Knopp
on the queryparam variable. Matej Knopp wrote: Does it also happen when you call result.setTotalCount(books.size()) before calling getCount()? From IDataSource:                /**                 * Sets the total items count. Alternatively, if the total item count can't be determined

Re: inmethod datagrid and wicket 1.4 and generics

2009-10-13 Thread Matej Knopp
way. Approx half of inmehtod grid is generic now. Stefan -Ursprüngliche Nachricht- Von: Matej Knopp [mailto:matej.kn...@gmail.com] Gesendet: Montag, 12. Oktober 2009 17:26 An: users@wicket.apache.org Cc: e...@shinsetsu.nl Betreff: Re: inmethod datagrid and wicket 1.4 and generics

Re: One inmethod datagrid question

2009-10-13 Thread Matej Knopp
Why do you call getGrid().setDefaultModelObject() again? You should keep the same data source just let it output different data. -Matej 2009/10/13 François Jeunesse francois.jeune...@a-syst.com: Hi, First, thanks Matej for you job! Here is my question: I use the editable datagrid

Re: inmethod datagrid and wicket 1.4 and generics

2009-10-12 Thread Matej Knopp
I think there is a datagrid project in wicket stuff jira. If you do any work (against current trunk - not 1.3) patch is always welcome. You can create a jira issue for it and attach it there. -Matej On Mon, Oct 12, 2009 at 5:24 PM, Stefan Lindner lind...@visionet.de wrote: Thenk you all for

Re: Two inmethod datagrid questions

2009-10-12 Thread Matej Knopp
On Mon, Oct 12, 2009 at 10:24 PM, Stefan Lindner lind...@visionet.de wrote: I play around with the DefaultDataGrid component and I have two questions: 1. Is it possible to register for a column resized event? This would give us the ability to remember the user's favorite column widths.

Re: London Wicket Event, Saturday November 21st

2009-10-07 Thread Matej Knopp
Hey! My first london wicket event. Certainly looking forward to that. -Matej On Tue, Oct 6, 2009 at 3:10 PM, jWeekend jweekend_for...@cabouge.com wrote: Our next London Wicket Event will be held on Saturday, November 21st. This is going to be quite some event again, with Matej Knopp (SVK

Re: Feedback messages, input and label

2009-10-07 Thread Matej Knopp
try putting inputPwd = Password in your property file. -Matej On Wed, Oct 7, 2009 at 5:33 PM, Tomás Rossi tro...@mecon.gov.ar wrote: Hi, lets say you have this in you html form: -- ... label for=pwdPassword/label input type=password id=pwd wicket:id=inputPwd/ ... --

Re: iPhone webapp support?

2009-10-06 Thread Matej Knopp
On Tue, Oct 6, 2009 at 5:32 PM, Johan Compagner jcompag...@gmail.com wrote: no i did build something special in wicket so that it will never work on those iphones. Stop buying those fully controlled by apple phones.. Think for your self ! Freedom Freedom! Are people still making fun of your

Re: vps hosting for wicket app

2009-10-06 Thread Matej Knopp
On Wed, Oct 7, 2009 at 6:13 AM, Jan Kriesten kries...@mail.footprint.de wrote: Hi, I'm always surprised, how expensive hosting is on the other side of the ocean. ;-) Just two examples from Germany, where server performance make Slicehost look like a lame duck: http://hetzner.de/en/ (my

Re: inMethod DataGrid initial selection

2009-10-02 Thread Matej Knopp
Make sure that the equals method on your model(s) is properly implemented. Also check equals on your entities. -Matej On Fri, Oct 2, 2009 at 1:37 PM, Swanthe Lindgren swanthe.lindg...@megasol.se wrote: Yes, I got that part right, thank you. But somehow the item is not hi-lighted in my grid.

Re: Preventing Copy Pasting URL's In Same Browser Session

2009-09-29 Thread Matej Knopp
On Tue, Sep 29, 2009 at 6:48 PM, Pedro Santos pedros...@gmail.com wrote: We have this requirement in which we cannot allow the customer to copy paste the url that's appearing in the address bar into the same browser. Crazy thing. How about to include an request counter to your url

Re: Preventing Copy Pasting URL's In Same Browser Session

2009-09-29 Thread Matej Knopp
...@gmail.com wrote: could'nt he just have a page map with a size of 0? Of course reloads would'nt work and probably a bunch of other stuff too.. Seems like at strange thing to limit on though. 2009/9/29 Matej Knopp matej.kn...@gmail.com On Tue, Sep 29, 2009 at 6:48 PM, Pedro Santos pedros

Re: Preventing Copy Pasting URL's In Same Browser Session

2009-09-29 Thread Matej Knopp
What happens if the user (perhaps accidentally) refreshes page? -Matej On Tue, Sep 29, 2009 at 11:43 PM, Andreas Petersson andr...@petersson.at wrote: I am not aware that Wicket has direct support for this kind of (mis-)behavior. You can, however employ some kind of cheating here. if you set

Re: inmethod DataGrid javascript error (with fix?)

2009-09-25 Thread Matej Knopp
Thanks. Should be fixed in SVN. -Matej On Fri, Sep 25, 2009 at 2:05 AM, Russell Morrisey rmorri...@csc.com wrote: I'm getting a javascript error using the inmethod DataGrid; it looks to me like a bug with the DataGrid's script code. I am hoping that the DataGrid script can be patched =)

Re: InMethod data grid data source query question

2009-09-17 Thread Matej Knopp
I'm afraid that is not possible. The grid gives you notification immediately when selection status changes and for that it needs to load the items. -Matej On Thu, Sep 17, 2009 at 1:24 AM, Bryce Bell bryce.z.b...@gmail.com wrote: How do you keep a data grid from querying it's data source when

Re: InMethod data grid data source query question

2009-09-17 Thread Matej Knopp
to click the header if the checkbox was not there. The problem is that the data source takes a long time to be queried, so the user continues to click on the check box with no indication as to what is happening. Matej Knopp wrote: I'm afraid that is not possible. The grid gives you notification

Re: HttpSessionStore instead of the default SecondLevelCacheSessionStore

2009-09-15 Thread Matej Knopp
There really is no good reason to use http session store instead of secondlevelcachesessionstore unless you are experiencing performance problems. HttpSessionStore uses more memory and keeps much shorter history so your users will be experiencing page expiration much more often. -Matej On Tue,

Re: HttpSessionStore instead of the default SecondLevelCacheSessionStore

2009-09-15 Thread Matej Knopp
point the DiskStore to Then you will really not see any difference johan On Tue, Sep 15, 2009 at 11:07, Matej Knopp matej.kn...@gmail.com wrote: There really is no good reason to use http session store instead of secondlevelcachesessionstore unless you are experiencing performance problems

Re: inMethod DataGrid row values

2009-09-11 Thread Matej Knopp
onCellClicked gets the row model object as argument. Call model.getObject() to get the actual object. -Matej On Fri, Sep 11, 2009 at 9:32 AM, Oliver-Sven Fritscho...@3blogos.com wrote: Hi group! I want to open a ModalPanel with detailed information when the user clicks on a row in my

Re: Flash/ExternalInterface does not work in IE if movie is fetched via Wicket/Ajax

2009-09-08 Thread Matej Knopp
Well, it's not exactly wrong. Looks like an IE quirk to me. But I suppose we can just move the element anyway. -Matej On Tue, Sep 8, 2009 at 11:10 PM, Matej Knoppmatej.kn...@gmail.com wrote: Hi, can you create jira issue with problem description? The code indeed looks wrong I can fix it once

Re: Flash/ExternalInterface does not work in IE if movie is fetched via Wicket/Ajax

2009-09-08 Thread Matej Knopp
Hi, can you create jira issue with problem description? The code indeed looks wrong I can fix it once the issue is created. -Matej On Tue, Sep 8, 2009 at 9:59 PM, Heikki Uotinenheikki.uoti...@syncrontech.com wrote: There is a bug in wicket-ajax.js:268 (1.4.1) that breaks

Re: Passing parameters from markup to panels

2009-09-07 Thread Matej Knopp
Slight problem here is that onComponentTag is called during render. You can't modify component hierarchy at that point. Only way around this is to find component's markup index in onBeforeRender and then get the tag from markup stream. But this will fail in many cases (borders, transparent

Re: how to debug Wicket Application

2009-08-19 Thread Matej Knopp
You can start by setting a breakpoint and running the application in debug mode. -Matej On Wed, Aug 19, 2009 at 7:39 PM, Oleg Ruchovetsoruchov...@gmail.com wrote: Hi , I am new in wicket. I try to modify wicket in action examples and got such exception:       WicketMessage: Error attaching

Re: Wicket filestore exploded?

2009-08-14 Thread Matej Knopp
Maybe you had 38000 sessions created and didn't clean them up properly? (killed server, etc). -Matej On Fri, Aug 14, 2009 at 11:09 PM, Martin Makundimartin.maku...@koodaripalvelut.com wrote: Hi! Recently the filestore has become huge (I deleted it only two days ago), is this normal?

Re: Prevent Wicket from creating a new user session while user clicks back button

2009-08-12 Thread Matej Knopp
New session will only be created if the page user lands after clicking back button is bookmarkable. It is not possible to change this behavior. If the page is not bookmarkable user will be redirected to expired page. -Matej On Wed, Aug 12, 2009 at 7:17 PM, Andre Bonallibona...@hispeed.ch wrote:

Re: Firefox, be afraid be very afraid!!!

2009-08-05 Thread Matej Knopp
Application.getResourceSettings().setAddLastModifiedTimeToResourceReferenceUrl(true); -Matej On Wed, Aug 5, 2009 at 9:35 AM, Anton Veretennikovanton.veretenni...@gmail.com wrote: how, how? On Wed, Aug 5, 2009 at 3:24 PM, Johan Compagnerjcompag...@gmail.com wrote: wicket can also do that for

Re: Modal window and background color

2009-08-05 Thread Matej Knopp
You can use !important in your override css. -Matej On Wed, Aug 5, 2009 at 9:06 PM, Johannes Schneidermaili...@cedarsoft.com wrote: Hi, I use the modal window (with a component). But unfortunately white is used as background color. This is definied in model.css:164 div.wicket-modal

Re: Modal window and background color

2009-08-05 Thread Matej Knopp
think that could/should be improved in the ModalWindow... Regards, Johannes Matej Knopp wrote: You can use !important in your override css. -Matej On Wed, Aug 5, 2009 at 9:06 PM, Johannes Schneidermaili...@cedarsoft.com wrote: Hi, I use the modal window (with a component

Re: Feedback messages and ajax request

2009-08-03 Thread Matej Knopp
Feedbacks should be processed in prepareRender method which should be called on Ajax requests as well. If it isn't it would be a bug. -Matej On Mon, Aug 3, 2009 at 11:59 AM, Martin Makundimartin.maku...@koodaripalvelut.com wrote: Hi! In normal requests feedbackmessages are processed like

Re: Form tag does not get rendered on a Panel placed in a TabbedPanel within a ModalWindow

2009-08-03 Thread Matej Knopp
From modal window javadoc: * If you want to use form in modal window component make sure that you put the modal window itself * in another form (nesting forms is legal in Wicket). -Matej On Mon, Aug 3, 2009 at 8:15 PM, Marcin Palkamarcin.pa...@gmail.com wrote: Hi, I am experiencing a

Re: Issue with AjaxLinks in ListView

2009-08-02 Thread Matej Knopp
It's hard to say what's going wrong without seeing code for entire page. -Matej On Sun, Aug 2, 2009 at 8:29 AM, Kugakvisagam...@infoblox.com wrote: Anyone??? Thanks Kuga -- View this message in context: http://www.nabble.com/Issue-with-AjaxLinks-in-ListView-tp24765587p24775312.html Sent

Re: Twenty Six Wicket Tricks

2009-07-28 Thread Matej Knopp
On Tue, Jul 28, 2009 at 8:31 PM, Vladimir Kkoval...@gmail.com wrote: Jeremy, from my perspective ModalWindow is a mix of javascript widget that works in non-wicket mode and an wicket wrapper that bridges js widget with wicket. It is always created at the body level. That's why I said it's a

Re: Twenty Six Wicket Tricks

2009-07-28 Thread Matej Knopp
a component tree mismatch with DOM. Is it really? Mind sharing with me how? -Matej Matej Knopp-2 wrote: On Tue, Jul 28, 2009 at 8:31 PM, Vladimir Kkoval...@gmail.com wrote: Jeremy, from my perspective ModalWindow is a mix of javascript widget that works in non-wicket mode and an wicket wrapper

Re: Disable LinkTree iconLink

2009-07-28 Thread Matej Knopp
Both links are created in LinkIconPanel. You can subclass it or replace it by your own class (it's really a tiny class) and disable the links there. -Matej On Tue, Jul 28, 2009 at 7:40 PM, Seven Cornersseven.cor...@gmail.com wrote: I have a LinkTree wherein I need to disable the links on

Re: Twenty Six Wicket Tricks

2009-07-28 Thread Matej Knopp
how to make a quickstart of this problem for you. I have never done Wicket project from scratch. But I have just found a free maven by example book and started to read. I will be back soon :) Matej Knopp-2 wrote: This would be then a bug in nested forms support and not in the modal window

Re: Twenty Six Wicket Tricks

2009-07-28 Thread Matej Knopp
On Tue, Jul 28, 2009 at 11:55 PM, Vladimir Kkoval...@gmail.com wrote: Matej Knopp-2 wrote: Modal Window is an ajax component. Submitting it with regular submit is not supported and it never was. But I would like to have AjaxFallbackModalWindow that survives page refresh. Why not author

Re: [ANN] wicket-tree project

2009-07-26 Thread Matej Knopp
Does TableTree support partial (ajax) updates? -Matej On Sun, Jul 26, 2009 at 3:00 PM, Vladimir Kkoval...@gmail.com wrote: svenmeier wrote: ITreeProvider and IDataProvider are not exactly compatible, I don't think we gain anything by extending the former from the latter. I don't insist.

Re: AjaxSubmitLink does not work in 1.4-rc7

2009-07-26 Thread Matej Knopp
you can always submit a patch you know. -Matej On Sun, Jul 26, 2009 at 8:53 PM, Martin Makundimartin.maku...@koodaripalvelut.com wrote: the link works just fine, wicket tester doesnt work right. Sorry for the inconcise title, yes, the link works, the test doesn't. I am doing test-first

Re: memory leak on FeedbackMessages??

2009-07-21 Thread Matej Knopp
Should be fixed in svn. Can you give it a try? -Matej On Tue, Jul 21, 2009 at 8:58 AM, Tsutomu YANO t_y...@me.com wrote: I created a JIRA: https://issues.apache.org/jira/browse/WICKET-2384 We finally found out the reason of this problem. This was a bug of Wicket (on FeedbackPanel class).

Re: Javascript Header Contribution via Ajax

2009-07-14 Thread Matej Knopp
If the javascript is evaluated that means it's added to page. What exactly is the difference here? And why can't you give it id? (id is used to filter out duplicate javascripts). What does the javascript look like? -Matej On Mon, Jul 13, 2009 at 9:28 PM, Joel Hillhil...@michigan.gov wrote: I

Re: congrats to inmethod

2009-07-11 Thread Matej Knopp
Wicket Stuff SVN -Matej On Sat, Jul 11, 2009 at 5:04 AM, mms770medhat.sa...@verizon.net wrote: Where can we download from?  Thanks,  Medhat Cristi Manole wrote: I was trying to see if the inmethod site still links the (best) wicket data/tree table (although i knew it's been moved to

Re: Updating an inmethod grid, looking for hints

2009-07-11 Thread Matej Knopp
You need to call the update() method during an ajax request after you have marked the items dirty. -Matej On Sat, Jul 11, 2009 at 11:01 AM, Erik van Oostene.vanoos...@grons.nl wrote: Hi, How can I trigger an inmethod grid to do a /complete/ update of itself? The only thing that I see is

Re: Updating an inmethod grid, looking for hints

2009-07-11 Thread Matej Knopp
are you using treegrid or datagrid? -Matej On Sat, Jul 11, 2009 at 1:43 PM, Erik van Oostene.vanoos...@grons.nl wrote: If I remember correctly that only updates the existing items and ignore new items. I am looking for a way to get the new items too. Regards,   Erik. Matej Knopp wrote

Re: How to turn ModalWindow form into multipart form?

2009-06-26 Thread Matej Knopp
If you use modal window with form you have to submit the form using AjaxButton - which rules out multipart form. Also when you have form in ModalWindow the window itself should be placed in Wicket Form. (forms can be nested) - which is stated in javascript. -Matej On Fri, Jun 26, 2009 at 10:49

Re: ModalWindow and IE8 question

2009-06-23 Thread Matej Knopp
couldn't it be old javascript file in your browser cache? -Matej On Tue, Jun 23, 2009 at 8:25 PM, Per Lundholmper.lundh...@gmail.com wrote: I don't know if it helps, but it works with IE8 on XP so there is something nasty about Vista /Per On Tue, Jun 23, 2009 at 8:17 PM,

Re: Usage DiskPageStore causes Session Swapping

2009-06-17 Thread Matej Knopp
What wicket version are you using? DiskPageStore has separate folder for each session so I don't really see why this would happen. -Matej On Wed, Jun 17, 2009 at 8:28 PM, rajendar medishettyrajendar.medishe...@gmail.com wrote: Hi, In one of our application, we are facing session swapping

Re: Usage DiskPageStore causes Session Swapping

2009-06-17 Thread Matej Knopp
Latest release in 1.3 branch is 1.3.6. -Matej On Wed, Jun 17, 2009 at 8:48 PM, rajendar.medishettyrajendar.medishe...@gmail.com wrote: Initially we were using Wicket 1.3.3 and sometime back I upgraded to Wicket 1.3.5. I'm able to produce the scenario with both wicket versions. Matej

Re: session expires after closing modalwindow?

2009-06-11 Thread Matej Knopp
Any exception in your log? What wicket version do you use? -Matej On Thu, Jun 11, 2009 at 1:08 PM, Bas Vrolingbvrol...@cmbi.ru.nl wrote: When I open a modalwindow on a page and then close it, the page from which the modal window was opened does not come back but instead wicket shows a session

Re: session expires after closing modalwindow?

2009-06-11 Thread Matej Knopp
[nl.ru.cmbi.mcsis.web.error.MyPageExpiredErrorPage()],response=BookmarkablePage[nl.ru.cmbi.mcsis.web.error.MyPageExpiredErrorPage()],sessionid=246ot0sbiier,sessionsize=3094,sessionstart=Thu Jun 11 13:03:43 CEST 2009,requests=47,totaltime=3541,activerequests=0,maxmem=2130M,total=2130M,used=341M On 11 Jun, at 13:12, Matej Knopp

Re: Tree collapse very slow on firefox 3 for nodes with large # of children - Quickstart attached

2009-06-09 Thread Matej Knopp
There is good reason why the markup is flat and not nested. Otherwise treetable/grid wouldn't be possible. -Matej On Wed, Jun 10, 2009 at 5:39 AM, Matt Shannonmshannon.wic...@gmail.com wrote: Just looking at the firebug profiler, the removeNodes method from tree.js is the function that is

Re: congrats to inmethod

2009-05-30 Thread Matej Knopp
On Sat, May 30, 2009 at 1:36 AM, Cristi Manole cristiman...@gmail.com wrote: I was trying to see if the inmethod site still links the (best) wicket data/tree table (although i knew it's been moved to wicket-stuff) and I stumbled on the new site. The site looks great and so does the service.

Re: HTTP pseudo streaming for Wicket

2009-05-25 Thread Matej Knopp
or know of Java code/port for the MP4/h264 pseudo-streaming and is willing to share it? Kaspar On 13.04.2009, at 21:10, Matej Knopp wrote: If you want to support http streaming you need to implements servlet/filter that supports Content-Range and Accept-Range headers. You can take a look

Re: IRequestTarget not serializable

2009-05-22 Thread Matej Knopp
redirectSignInPage() {  this.getRequestCycle().setRequestTarget(this.target);  } } On Thu, May 21, 2009 at 8:08 PM, Matej Knopp matej.kn...@gmail.com wrote: IRequestTarget is valid only for one request. Why do you want to keep as instance variable? -Matej On Thu, May 21, 2009 at 11:48 PM

Re: IRequestTarget not serializable

2009-05-21 Thread Matej Knopp
IRequestTarget is valid only for one request. Why do you want to keep as instance variable? -Matej On Thu, May 21, 2009 at 11:48 PM, Juan G. Arias juangar...@gmail.com wrote: Hi all, I want to mantain an IRequestTarget in my component, as an instance attribute. But wicket cries about it's not

Re: Example of ModalWindow misleading

2009-05-20 Thread Matej Knopp
I think modal window example could be fixed by using getPageReference() to pass page reference between pages instead of page instance. -Matej On Wed, May 20, 2009 at 10:29 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote:

Re: Tree Table - Update Model

2009-05-14 Thread Matej Knopp
In order for tree to update items your model must fire treeNodesChanged event. -Matej On Thu, May 14, 2009 at 2:55 PM, Peter Diefenthaeler pdief...@csc.com wrote: Hi every one, I tried the tree table example and get stuck with two problems. How can I avoid links in the tree leavlets? How

Re: inmethod grid generics patch

2009-05-08 Thread Matej Knopp
Hi, it's not abandoned. There's a project created for it in wicketstuff jira that can be used to submit patches. -Matej On Fri, May 8, 2009 at 11:49 PM, Brill Pappin br...@pappin.ca wrote: according to this post; http://tinyurl.com/qlghyf the inmethod grid it he wicketstuff modules was to

Re: inmethod grid generics patch

2009-05-08 Thread Matej Knopp
Found the patch, will assign it to jira issue. And possibly apply after review. -Matej On Fri, May 8, 2009 at 11:54 PM, Matej Knopp matej.kn...@gmail.com wrote: Hi, it's not abandoned. There's a project created for it in wicketstuff jira that can be used to submit patches. -Matej On Fri

Re: [Improvement] getPageParameters()

2009-05-03 Thread Matej Knopp
PagePameters is mutable object. I don't think one shared empty instance is a good idea. -Matej On Sun, May 3, 2009 at 11:44 AM, Johan Compagner jcompag...@gmail.com wrote: make a jira issue for this. On Sun, May 3, 2009 at 11:38, Objelean Alex alex.objel...@gmail.com wrote: When using

Re: custom expired page

2009-04-27 Thread Matej Knopp
can you paste here a link that redirects to login page? -Matej On Mon, Apr 27, 2009 at 9:39 PM, alec a...@distancesoftware.com wrote: sorry if that sounded confusing, but it's not the expiredpage that requires authorization, it's the destination of the link that was clicked. e.g. the user

Re: custom expired page

2009-04-27 Thread Matej Knopp
like: add(new BookmarkablePageLink(home, Application.get().getHomePage()); it's not something special about the link which causes it to redirect to the login page, it's that the homepage class (and several others) requires the user to have a certain role to instantiate it. Matej Knopp wrote

Re: wicket-ajax and IE performance problems for pages with many links

2009-04-17 Thread Matej Knopp
Well, it kinda does. You can submit the links and buttons with keyboard - and when you do it does make sense to preserve focus when you replace the submitting button or link. -Matej On Fri, Apr 17, 2009 at 9:48 AM, Johan Compagner jcompag...@gmail.com wrote: Buttons and links dont make much

Re: HTTP pseudo streaming for Wicket

2009-04-13 Thread Matej Knopp
If you want to support http streaming you need to implements servlet/filter that supports Content-Range and Accept-Range headers. You can take a look at http://code.google.com/p/brix-cms/source/browse/trunk/brix-core/src/main/java/brix/plugin/site/resource/Streamer.java to get the idea. -Matej

Re: EmptyAjaxRequestTarget invokes failurescript when link is pressed on page

2009-04-07 Thread Matej Knopp
Please open jira issue - or assign the code you posted to existing one. I'll apply it. -Matej On Tue, Apr 7, 2009 at 3:30 PM, Mikko Pukki mikko.pu...@syncrontech.com wrote: Hi, We just noticed that if user is on a page and ajax request is executing, pressing a link can cause

Re: Constructor not being called when Back button clicked

2009-04-01 Thread Matej Knopp
You need to add Cache-control: no-store header to prevent firefox from caching the page on back button. Look at WebPage#setHeaders(WebResponse response) -Matej On Wed, Apr 1, 2009 at 5:15 PM, Timm Helbig timm.hel...@th-hosting.net wrote: Is there some way to force the page to be reconstructed?

Re: How to switch Panels with a Tree?

2009-04-01 Thread Matej Knopp
Hi, selectedPanel.replaceWith(currentPanel); java.lang.IllegalStateException: This method can only be called on a component that has already been added to its parent. at org.apache.wicket.Component.replaceWith(Component.java:2717) Obviously your selected panel is not added to page and you

Re: Serious performance degradation

2009-03-29 Thread Matej Knopp
Hi, On Mon, Mar 30, 2009 at 2:08 AM, dtoffe dto...@yahoo.com.ar wrote: Hi all,    I'm testing a small app about to enter in production, and I've found that performance degrades seriously in a rather small amount of time, even with one single session.    The first problem I guess is the

Re: Caching of rendered panels

2009-03-27 Thread Matej Knopp
You have to be really brave to use IComponentSource :-) It's almost never a good idea anyway. It makes sense if you have container with big amount of small component and you can restore the whole hierarchy from e.g. an entity Id. but it was last time used with Wicket 1.3. There's not guarantee

Re: Client-side models for zero-state scalability

2009-03-24 Thread Matej Knopp
Well, there possibly will be extended support for stateless application - something like we implemented in brix. So in a way the statement is true. But there is no timeline for it. -Matej On Tue, Mar 24, 2009 at 11:47 AM, Alex Objelean alex_objel...@yahoo.com wrote: After reviewing the Wicket

Re: Client-side models for zero-state scalability

2009-03-24 Thread Matej Knopp
examples (links) where I can see how it works? Thank you! Alex Matej Knopp-2 wrote: Well, there possibly will be extended support for stateless application - something like we implemented in brix. So in a way the statement is true. But there is no timeline for it. -Matej On Tue, Mar 24

  1   2   3   4   5   6   7   8   >