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 wrote: > > First of all, congratulations to the new request handling function

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 wrote: > 2010/8/24 Major Péter : >> 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 seeing >> weird redirections: >> * th

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
2010/8/24 Major Péter : >> 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 bookmarkable

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
2010/8/24 Major Péter : >>> 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 regular bookma

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
ill 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 : >>> Hi! >>> >>> As I'm testing wicket 1.5-S

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Matej Knopp
2010/8/24 Major Péter : > 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 urls are a

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 : > 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: > showuser?[0-9]+ The n

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 2010/8/1

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 wrote: > not working on wicket has made you lazy johan! :) > > -igor > > On Tue, Jul 20, 2010 at 7:46 AM, Johan Compagner wrote: >> welcome! >> >> hope you happily merge even more stuff ;) >> >> johan >> >> >> On Tue, Jul 20,

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 wrote:

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 10:5

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 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 > correctly.  There is a thin o

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 wrote: > All data in Java is ultimatel

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 wrote: >> about "unversioned", i have just done a quick test on wicket-examples > >> helloworld, adding serialVersionUID (not informed in the examples) and >> the >

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

2010-01-07 Thread Matej Knopp
why couldn't it be applied a similar mechanism > for the home page? > > On Thu, Jan 7, 2010 at 2:31 PM, Matej Knopp 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)

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 wrote: > if this is the behaviour by default, then, how do you avoid a DoS attack?

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 wrote: > Hi, > > - the scenario is this: > > jmeter stress-testing (10 simultaneous users with no ramp-up and an > in

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 wrote: > Hi, > > I am trying to "adapt" datagrid example a

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 exp

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 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 downloaded the latest

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 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 the AutomaticMultiWind

Re: Limiting PageStore size

2009-12-11 Thread Matej Knopp
e expired. >>> >>> Thanks >>> >>> On Thu, Dec 10, 2009 at 6:11 PM, Matej Knopp >>> wrote: >>> >>>> Are you sure you have been testing it correctly? The pagestore is >>>> cyclic. That means once it reaches it's l

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 wrote: > Hi all, > > We're in the process of going live with our wicket app, so we're trying

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 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 > have focused most

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 : > Hi, > > I'm trying to make my project 1.5-compatible, but I had run into two issues: > First I was stumbled when saw IComponentBorder has bee

Re: Wicket in JBoss cluster

2009-10-22 Thread Matej Knopp
gt; On Thu, Oct 22, 2009 at 4:49 PM, Matej Knopp 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

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. wrote: > Isn't this caused by the storage of past pages in files on disk rather than > in HTTP Session? This is

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: inmethod IDataSource

2009-10-19 Thread Matej Knopp
riable. > > Matej Knopp wrote: >> >> Does it also happen when you call result.setTotalCount(books.size()) >> before calling getCount()? >> >> >From IDataSource: >>                /** >>                 * Sets the total items count. Alterna

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

2009-10-18 Thread Matej Knopp
Hi, InMethod grid is in wicketstuff SVN. -Matej On Sun, Oct 18, 2009 at 9:32 AM, wrote: > > I came across inmethod that has it own wicket component like PropertyColumn. > Is it standard for wicket developement to use it.If so where can i get it and > where can i get the source file > thank y

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 : > Hi, > > > > First, thanks Matej for you job! > > Here is my question: > > I use the editable datagrid example, and I have added

Re: inmethod datagrid and wicket 1.4 and generics

2009-10-13 Thread Matej Knopp
the wrong 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: Two inmethod datagrid questions

2009-10-12 Thread Matej Knopp
On Mon, Oct 12, 2009 at 10:24 PM, Stefan Lindner 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. Override onColumnSta

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 wrote: > Thenk you all for your replies! > > I fo

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 wrote: > Hi, > > lets say you have this in you html form: > -- > ... > Password > > ... > -- > > Then, a properties file for your app with this: > -- > ... > Require

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 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), Jeremy > Thomerson

Re: vps hosting for wicket app

2009-10-06 Thread Matej Knopp
On Wed, Oct 7, 2009 at 6:13 AM, Jan Kriesten 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 favorite!) I'm u

Re: iPhone webapp support?

2009-10-06 Thread Matej Knopp
On Tue, Oct 6, 2009 at 5:32 PM, Johan Compagner 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 huge nokia? ;-)

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 wrote: > Yes, I got that part right, thank you. But somehow the item is not > hi-lighted in my grid. > When the grid instance is

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 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 the http > headers

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

2009-09-29 Thread Matej Knopp
o martinez wael > 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 >> >>>

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 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 > encode/decode strategy? T

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 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 =) > > When using the i

Re: InMethod data grid data source query question

2009-09-17 Thread Matej Knopp
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

Re: InMethod data grid data source query question

2009-09-16 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 wrote: > How do you keep a data grid from querying it's data source when you check > the check bo

Re: HttpSessionStore instead of the default SecondLevelCacheSessionStore

2009-09-15 Thread Matej Knopp
server where you point the DiskStore to > Then you will really not see any difference > > johan > > > On Tue, Sep 15, 2009 at 11:07, Matej Knopp wrote: > >> There really is no good reason to use http session store instead of >> secondlevelcachesessionstore unless yo

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, Se

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 Fritsch wrote: > Hi group! > > I want to open a ModalPanel with detailed information when the user clicks > on a row in my DataGrid. To do so I

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 Knopp wrote: > Hi, > > can you create jira issue with problem description? The code indeed > looks wrong I can fix it

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 Uotinen wrote: > There is a "bug" in wicket-ajax.js:268 (1.4.1) that breaks > IE+Flash/ExternalInterface: > >        // place

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 resolve

Re: FeedbackPanel not displaying in IE6

2009-09-01 Thread Matej Knopp
This is most likely related to your styling. Wicket only generates simple ul/li markup that shouldn't trigger any IE6 bugs. -Matej On Tue, Sep 1, 2009 at 8:51 PM, Dane Laverty wrote: > The FeedbackPanel on my site is not displaying in IE6, unless the user > minimizes and restores the browser wind

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 Ruchovets wrote: > Hi , I am new in wicket. I try to modify wicket in action examples and got > such exception: > >       WicketMessage: Error attaching this container for

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 Makundi wrote: > Hi! > > Recently the filestore has become huge (I deleted it only two days > ago), is this normal? > > >8->8->8---

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 Bonalli wrote: > Hi all > How can

Re: Modal window and background color

2009-08-05 Thread Matej Knopp
ld/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 >> Schneider wrote: >>>

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 Schneider 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 div.w_content { >      

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 Veretennikov wrote: > how, how? > > On Wed, Aug 5, 2009 at 3:24 PM, Johan Compagner wrote: >> wicket can also do that for you >> >> On Wed, Aug 5, 2009 at 06:45, Anto

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 Palka wrote: > Hi, > > I am experiencing a strange issue with a For

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 Makundi wrote: > Hi! > > In normal requests feedbackmessages are processed like follows: >        public final void

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, Kuga wrote: > > Anyone??? > Thanks > Kuga > -- > View this message in context: > http://www.nabble.com/Issue-with-AjaxLinks-in-ListView-tp24765587p24775312.html > Sent from the Wicket

Re: Twenty Six Wicket Tricks

2009-07-28 Thread Matej Knopp
On Tue, Jul 28, 2009 at 11:55 PM, Vladimir K 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 sur

Re: Twenty Six Wicket Tricks

2009-07-28 Thread Matej Knopp
;t know 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

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 Corners wrote: > I have a LinkTree wherein I need to disable the links on certain nodes.  It > was eas

Re: Twenty Six Wicket Tricks

2009-07-28 Thread Matej Knopp
turn form; >        } > } > > I assume I don't understand something. But anyway I expect following the > least surprise rule. > > > > Matej Knopp-2 wrote: >> >> On Tue, Jul 28, 2009 at 8:31 PM, Vladimir K wrote: >>> >>> Jeremy, >>>

Re: Twenty Six Wicket Tricks

2009-07-28 Thread Matej Knopp
p but it is then reparented as top level DOM element. Same thing wicket modalwindow does. > > Anyway it is possible to do what the modal.js is doing by Wicket means and > don't have a component tree mismatch with DOM. Is it really? Mind sharing with me how? -Matej > > > Ma

Re: Twenty Six Wicket Tricks

2009-07-28 Thread Matej Knopp
On Tue, Jul 28, 2009 at 8:31 PM, Vladimir K 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 cheat. Thus >

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 Makundi 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 approach so I sometimes exaggerate,

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 K 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. But y

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 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). > I wrot

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 Hill wrote: > I have a custom behavi

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 Oosten 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. > > > Mate

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 Oosten wrote: > Hi, > > How can I trigger an inmethod grid to do a /complete/ update of itself? > > The only thing that I see is markAllDirty(). Tha

Re: congrats to inmethod

2009-07-11 Thread Matej Knopp
Wicket Stuff SVN -Matej On Sat, Jul 11, 2009 at 5:04 AM, mms770 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 wicket-stu

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 AM

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 Lundholm 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, Flavius wrote: >> >> I'm starting t

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.medishetty 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. > >

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 medishetty wrote: > Hi, > > In one of our application, we are facing session swapping problem when we > use DiskPageS

Re: session expires after closing modalwindow?

2009-06-11 Thread Matej Knopp
time=3541,activerequests=0,maxmem=2130M,total=2130M,used=341M > > > On 11 Jun, at 13:12, Matej Knopp wrote: > >> Any exception in your log? What wicket version do you use? >> >> -Matej >> >> On Thu, Jun 11, 2009 at 1:08 PM, Bas Vroling wrote: >>> >>

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 Vroling 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 expired error me

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 Shannon wrote: > Just looking at the firebug profiler, the removeNodes method from tree.js is > the function that is taking way too long to compl

Re: congrats to inmethod

2009-05-30 Thread Matej Knopp
On Sat, May 30, 2009 at 1:36 AM, 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 wicket-stuff) and I > stumbled on the new site. > > The site looks great and so does the service. Congrats to Matej..

Re: HTTP pseudo streaming for Wicket

2009-05-25 Thread Matej Knopp
the MP4 file in order to get from a time-input ("start playing at >> 00:01:23") to a file offset. Does anymore have 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, M

Re: IRequestTarget not serializable

2009-05-22 Thread Matej Knopp
nPage(); >  } > >  public abstract void signOutSession(); > >  public void redirectSignInPage() { >  this.getRequestCycle().setRequestTarget(this.target); >  } > } > > > On Thu, May 21, 2009 at 8:08 PM, Matej Knopp wrote: > >> IRequestTarget is valid only for

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 wrote: > Hi all, > I want to mantain an IRequestTarget in my component, as an instance > attribute. But wicket cries about it's not serializable. > O

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 wrote: >> http://www.wicket-library.com/wicket-examples/ajax/modal-window.1 is >> pretty misleading : pas

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 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 can I update t

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 wrote: > Hi, > > it's not abandoned. There's a project created for it in wicketstuff > jira that can be used to submit patches. > > -M

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 wrote: > according to this post; > > http://tinyurl.com/qlghyf > > the inmethod grid it he wicketstuff modules was to get generic

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 wrote: > make a jira issue for this. > > On Sun, May 3, 2009 at 11:38, Objelean Alex wrote: > >> When using getPageParameters(), I used to have some tr

Re: custom expired page

2009-04-27 Thread Matej Knopp
ing 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

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 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 clicks the link to home

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 wrote: > Buttons and links dont make much sense yes. > Dont reme

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 O

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 wrote: > Hi, > > We just noticed that if user is on a page and ajax request is > executing, pressing a link can cause AbstractDefaultAjaxBehavior's > failures

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 yo

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 wrote: >> Is there some way to force the page to be reconstructed? > Don't use Ajax, use th

Re: Serious performance degradation

2009-03-29 Thread Matej Knopp
Hi, On Mon, Mar 30, 2009 at 2:08 AM, dtoffe 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 lack of LDMs, I

  1   2   3   4   5   6   7   8   9   >