Re: [ANNOUNCE] Syringe: A New IoC Framework for Wicket...

2009-03-23 Thread Matej Knopp
Hi, The wicket-plugin architecture doesn't define any callbacks.  You can register any object you want as a plugin.  That's why I pass in the application instance.  I tinkered with the idea of having a WicketPlugin interface with an initialize(Application) method, but decided to keep it

Re: inmethod datagrid: how to contribute?

2009-03-20 Thread Matej Knopp
Hi, there isn't Jira project on Wicketstuff for it because I'm unable to connect to Wicket stuff (some firewall issue). Maybe it will help when Johan (finally) moves Wicketstuff... Johan? -Matej On Fri, Mar 20, 2009 at 12:14 PM, Will Jaynes w...@jaynes.org wrote: We have been using the

Re: Increasing DiskPageStore.maxSizePerPageMap

2009-03-17 Thread Matej Knopp
It can be increased (look at DiskPageStore constructor), but it's likely that your problem is somewhere else. Default size should be plenty. Do you get any error in log? -Matej On Tue, Mar 17, 2009 at 6:21 PM, jbonham andre.zelenko...@nokia.com wrote: Hello I have a Wicket application

Re: Increasing DiskPageStore.maxSizePerPageMap

2009-03-17 Thread Matej Knopp
What gets there depends on what references you have in your page. All non-transient references will be serialized. -Matej On Tue, Mar 17, 2009 at 7:29 PM, jbonham andre.zelenko...@nokia.com wrote: Matej Knopp-2 wrote: Look at webapplication#newsessionstore. it is possible that you

Re: Increasing DiskPageStore.maxSizePerPageMap

2009-03-17 Thread Matej Knopp
Hi, if you serialize object tree java serialization takes care of duplicate or circular references. -Matej On Tue, Mar 17, 2009 at 9:16 PM, jbonham andre.zelenko...@nokia.com wrote: Matej Knopp-2 wrote: What gets there depends on what references you have in your page. All non-transient

Re: Correct use of RangeValidator

2009-03-17 Thread Matej Knopp
If you are using a map TextField can't determine the type. -Matej On Tue, Mar 17, 2009 at 9:27 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: if you use a propertymodel alongside a formcomponent then yes, but it is not the generic you declare that is used, it is the model performing a

Re: Modal Window performance problem

2009-03-12 Thread Matej Knopp
Hi, there is good reason why dissablefocuselement is called. Altough there certainly is room for performance improvements. Still, it's javascript, so you can replace disablefocuselements in modal window prototype with an empty function if you don't need it or it causes you problems. -Matej On

Re: null lastPage at restoreAfterSerialization

2009-03-05 Thread Matej Knopp
for sessions that don't survive that first request. An exception that could avoid request cycle to detach the session maybe? Thanks! -Carlos On Wed, Nov 19, 2008 at 7:18 PM, Matej Knopp matej.kn...@gmail.com wrote: This really is weird. I added couple of warnings and null check

Re: Can a TreeTable be pagable?

2009-02-19 Thread Matej Knopp
If you have node that has 10k children then it is obvious that there is something wrong either with your data structure or the way you present it. Pageable tree doesn't make much sense. If you are on 15th page, how do you know what parents the nodes you see have? It's against the purpose of tree -

Re: WicketServlet-filestore and FileNotFoundException

2009-02-11 Thread Matej Knopp
Hi, do you actually have leaking files in the store? Because this looks like wicket tries to create file in folder that has already been removed. How often do you get these? Is it reproduceable? -Matej On Wed, Feb 11, 2009 at 3:05 PM, shetc sh...@bellsouth.net wrote: Hi All, I know this

Re: Bug modal.js when wicket in production mode / setStripJavascriptCommentsAndWhitespace(true)

2009-02-09 Thread Matej Knopp
Hi, thanks for the report. Should be fixed in SVN. -Matej On Mon, Feb 9, 2009 at 5:35 PM, Antoine Angenieux aangeni...@clinigrid.com wrote: Hi all, I can't tell you from which version it started, but in wicket-1.3 (as from the latest version on SVN), as soon as I do a

Re: Problem with Wicket Ajax with IE7 64bits

2009-02-03 Thread Matej Knopp
Hi, wicket-ajax.js is same for both 1.4 (trunk) and 1.3.x branch. -Matej On Tue, Feb 3, 2009 at 5:56 PM, Stefan Lindner lind...@visionet.de wrote: Hi Antoine, we use Vista64 for development and IE 7 64 for testing. We have pages with some dozen components (buttons, labels, optionfields)

Re: What are the consequences on sharing panels between pages?

2009-02-02 Thread Matej Knopp
Don't use loadabledetachablemodel for this. Forget Wicket model implementations. Just look at the IModel interface. It has 3 methods, each of them simple to implement and you get most control of where the object is pulled from and where it is stored. -Matej On Sun, Feb 1, 2009 at 7:09 PM, Per

Re: What are the consequences on sharing panels between pages?

2009-02-02 Thread Matej Knopp
Either there or in your session's subclass constructor. -Matej On Mon, Feb 2, 2009 at 7:25 PM, Per Newgro per.new...@gmx.ch wrote: Thanks Thomas and Matej, storing state in session sounds natural in your explanations. It comes into my mind, that i could initiate the instance in

Re: What are the consequences on sharing panels between pages?

2009-02-02 Thread Matej Knopp
Sharing wicket components between page is a very bad idea. You are about to open large can of very nasty worms. Just don't do it. Proper way is to externalize the navigation state from your component and store it in session. Write couple of detachable models that do that. -Matej On Sun, Feb 1,

Re: Pageable tree?

2009-01-31 Thread Matej Knopp
The whole purpose of tree is to structure your data in way that doesn't need paging. I never really got the concept of pageable tree. How do you know what level you are on second page when your root is on first page? -Matej On Sat, Jan 31, 2009 at 10:53 AM, Martijn Dashorst

Re: Two vertical scrollbars in ModalWindow with Panel content show

2009-01-26 Thread Matej Knopp
...@jorgenpersson.se wrote: There was only links to two png's in your post... But changing the 2 to a 5 in the link shows it *http://www.nabble.com/file/p21635482/5.PNG *Valentine2008 skrev: Attached 5.PNG in my previous post shows there are two vertical scrollbars. Matej Knopp-2 wrote

Re: Performance question

2009-01-24 Thread Matej Knopp
Hi, Yes - overall I do think Wicket is a great framework. I believe there is a lot of tuning at various levels you can do with wicket to improve the performance. e.g. using Terracotta wicket plugin, how exactly is this supposed to help wicket performance? using cache server in the middle

Re: Two vertical scrollbars in ModalWindow with Panel content show

2009-01-23 Thread Matej Knopp
Hi, this is a styling issue. Problem is in your CSS. Also, please don't post screenshots in word document. -Matej On Fri, Jan 23, 2009 at 11:52 PM, Valentine2008 valentine.wic...@gmail.com wrote: I use a ModalWindow with Panel content as a pop-up input form with feedback panel. When an

Re: Two vertical scrollbars in ModalWindow with Panel content show

2009-01-23 Thread Matej Knopp
have another page in modal window (iframe) or a panel. By the way, what format file can I use to post the screenshots? png? -Matej -valentine Matej Knopp-2 wrote: Hi, this is a styling issue. Problem is in your CSS. Also, please don't post screenshots in word document. -Matej

Re: Two vertical scrollbars in ModalWindow with Panel content show

2009-01-23 Thread Matej Knopp
/tr /wicket:extend /html - Valentine Matej Knopp-2 wrote: That depends on what you have in modal window. You need to style modal window content. And that also depends on whether you have another page in modal window (iframe) or a panel. By the way, what format file can I

Re: Page Maps and Expirations

2009-01-22 Thread Matej Knopp
couple of questions: -what wicket version are you using? -are you using httpsessionstore or secondlevelcachesessionstore (default)? -what application server/container are you using? -are you running the application in clustered environment? if yes, what kind of load balancing do you have? -do the

Re: Page Maps and Expirations

2009-01-22 Thread Matej Knopp
. Matej Knopp-2 wrote: couple of questions: -what wicket version are you using? -are you using httpsessionstore or secondlevelcachesessionstore (default)? -what application server/container are you using? -are you running the application in clustered environment? if yes, what kind of load

Re: Page Maps and Expirations

2009-01-22 Thread Matej Knopp
22, 2009 at 1:11 PM, Matej Knopp matej.kn...@gmail.com wrote: Well, as far as I can tell, there is nothing special going on in Wicket that might cause session expiration. Last visited page is basically a normal session property. To me this seems more likely to be servlet container / load

Re: Page Maps and Expirations

2009-01-22 Thread Matej Knopp
through? -Brandon igor.vaynberg wrote: yep. it looks like the servlet container is losing the session. do you have sticky sessions? if not then you need to have http session replication happening. -igor On Thu, Jan 22, 2009 at 1:11 PM, Matej Knopp matej.kn...@gmail.com wrote: Well

Re: [wicket-1.4] Why has ModelT parameter to extend Serializable?

2009-01-20 Thread Matej Knopp
You declare the class with MySerializableClass as generic parameter to BasePanel, but try to put ListMySerializableClass in constructor. That can't work. Why can't you use ListMySerializableClass as generic parameter when extending BasePanel? -Matej On Tue, Jan 20, 2009 at 7:22 PM, Per Newgro

Re: DropDownChoice missing in IE6 when has AJAX

2009-01-19 Thread Matej Knopp
Hi, looking at your video this is most probably a CSS issue and it's not directly wicket related. My guess would be position:relative somewhere, which IE6 handles often in very broken way. -Matej On Mon, Jan 19, 2009 at 7:04 PM, alex.bo...@accenture.com wrote: follow all significant code...

Re: BEA WebLogic 9.2 cluster

2009-01-15 Thread Matej Knopp
Looks like this is causing problems in SerializedPagesCache static final Page NO_PAGE = new Page() { }; I wonder why the class is not loaded when the other node is initialized. Please create a JIRA issue. in the meanwhile, you can try load Class.forName(..) the

Re: Bug? The page set by setReponsePage does not process its own response.

2009-01-06 Thread Matej Knopp
Well, page id per pagemap used to be the only option in first 1.3 releases. I don't think we need it now, you can make page id unique per session default. -Matej On Tue, Jan 6, 2009 at 3:32 PM, Johan Compagner jcompag...@gmail.com wrote: This is because of your: getSession().replaceSession();

Re: How to avoid blank node labels in TreeTable?

2009-01-06 Thread Matej Knopp
Actually, rewriting the treetable is probably the only solid solution to this problem. Back then it was not possible to replace table rows using ajax thus the layout was constructed using CSS, which unfortunately causes lot of problems. Rewriting the TreeTable with regular table layout should not

Re: TreeTable nodes not displaying full title?

2008-12-31 Thread Matej Knopp
Hi, unfortunately that's problem with TreeTable layout. There really isn't a way around that currently apart from redoing TreeTable to use html table. -Matej On Wed, Dec 31, 2008 at 9:35 PM, bburton ben.bur...@teachscape.com wrote: I'm working on a TreeTable object to be used for

Re: TreeTable nodes not displaying full title?

2008-12-31 Thread Matej Knopp
? Matej Knopp-2 wrote: Hi, unfortunately that's problem with TreeTable layout. There really isn't a way around that currently apart from redoing TreeTable to use html table. -Matej On Wed, Dec 31, 2008 at 9:35 PM, bburton ben.bur...@teachscape.com wrote: I'm working on a TreeTable

Re: Modal Window height

2008-12-27 Thread Matej Knopp
Hi, try modalwindow.setUseInitialHeight(false); -Matej On Sat, Dec 27, 2008 at 9:39 PM, David Ojeda dojeda-l...@integra.la wrote: Hello all, I am using a modal window with a panel inside. I would like the modal window to have the same height of my panel, so I was wondering if anyone has

Re: TextField in inmethod grid column header - Firefox issue

2008-12-22 Thread Matej Knopp
Well, you can try catching the event in textfields' onMouseDown and then either set e.ignore=true on it or make it stop propagate. -Matej On Fri, Dec 19, 2008 at 11:07 PM, lesterburlap beach_nat...@emc.com wrote: Matej Knopp-2 wrote: it doesn't seem likely for me that the prelight would

Re: java.util.ConcurrentModificationException inorg.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.put

2008-12-18 Thread Matej Knopp
This really looks like page being accessed from multiple threads, but it's quite weird. The serialization is done in request thread and pagemap is locked during request. -Matej On Thu, Dec 18, 2008 at 2:35 PM, leok leo...@gmail.com wrote: Interesting. I wonder if this error occurs when page

Re: TextField in inmethod grid column header - Firefox issue

2008-12-17 Thread Matej Knopp
Hi, it doesn't seem likely for me that the prelight would cause this. But it also isn't impossible. These things are quite difficult to predict and sometimes also to solve unfortunately. -Matej On Wed, Dec 17, 2008 at 9:03 PM, lesterburlap beach_nat...@emc.com wrote: Hi! I'm using the

Re: Wicket session back button support

2008-12-10 Thread Matej Knopp
No. You have to track the changes yourself. Or use Page as the scope. What's the reason to put values in session anyway? -Matej On Wed, Dec 10, 2008 at 11:18 PM, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Dear community, I'm facing with a really ugly problem. In my web app I need to store some

Re: Bug of Wicket when iterate the form using iterator()?

2008-11-30 Thread Matej Knopp
in the public API). Regards - Cemal http://www.jWeekend.co.uk http://jWeekend.co.uk Matej Knopp-2 wrote: this sorted = Arrays.asList((Component[])children); doesn't look right. I think it should have been (Object[])children although a type check would be appropriate. -Matej On Fri

Re: Bug of Wicket when iterate the form using iterator()?

2008-11-28 Thread Matej Knopp
this sorted = Arrays.asList((Component[])children); doesn't look right. I think it should have been (Object[])children although a type check would be appropriate. -Matej On Fri, Nov 28, 2008 at 7:30 PM, jWeekend [EMAIL PROTECTED] wrote: Not quite. String[] bO = (String[])(new

Re: Is there any other way? DataProviders must hit the Db twice for (possible) large datasets

2008-11-26 Thread Matej Knopp
Hi Wayne, if you feel brave enough you can take a look at inmethod grid components (available in wicket stuff svn - http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff in trunk and 1.3 branch). The grid contains AbstractPageableView that can perform paging without having to know the

Re: Is there any other way? DataProviders must hit the Db twice for (possible) large datasets

2008-11-26 Thread Matej Knopp
of rows. Thanks everyone for your comments and help Wayne On Wed, Nov 26, 2008 at 5:21 PM, Matej Knopp [EMAIL PROTECTED] wrote: Hi Wayne, if you feel brave enough you can take a look at inmethod grid components (available in wicket stuff svn - http://wicket-stuff.svn.sourceforge.net

Re: ModalWindow and page serialization in 1.4RC1

2008-11-25 Thread Matej Knopp
Does your page inside modal window contain reference to outer page? -Matej On Tue, Nov 25, 2008 at 1:43 PM, Stefan Lindner [EMAIL PROTECTED] wrote: I have a ModalWindow with a page inside it (constructed via modalWindow.setPageCreator). The page contains a lot of AjaxButtons etc. If the

Re: ModalWindow and page serialization in 1.4RC1

2008-11-25 Thread Matej Knopp
-Ursprüngliche Nachricht- Von: Matej Knopp [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25. November 2008 15:01 An: users@wicket.apache.org Betreff: Re: ModalWindow and page serialization in 1.4RC1 Does your page inside modal window contain reference to outer page? -Matej

Re: Extremely confisung onBeforeRender/callOnBeforeRenderIfNotVisible behavior

2008-11-20 Thread Matej Knopp
That's first confusing point. Javadocs on callOnBeforeRenderIfNotVisible promise us that onBeforeRender will be called even if component is not visible, but it is a lie. Bad, bad javadoc! -Matej - To unsubscribe, e-mail:

Re: Memory consumption per session

2008-11-20 Thread Matej Knopp
200kb is quite a lot for page with listview with 50 entries (unless there's lot of other components). It's more likely that you don't detach something properly. Still, what are you hardware specs and number of concurrent users? -Matej On Thu, Nov 20, 2008 at 4:15 PM, Ralf Siemon [EMAIL

Re: Extremely confisung onBeforeRender/callOnBeforeRenderIfNotVisible behavior

2008-11-20 Thread Matej Knopp
actually described your usecase yet... -igor On Thu, Nov 20, 2008 at 7:33 AM, Marat Radchenko [EMAIL PROTECTED] wrote: So. Is there any recommended (and hopefully not error-prone) way of handling conditional visibility? 2008/11/20 Matej Knopp [EMAIL PROTECTED]: That's first confusing point

Re: null lastPage at restoreAfterSerialization

2008-11-19 Thread Matej Knopp
This really is weird. I added couple of warnings and null check to 1.4 trunk. I wonder if that helps it though. -Matej On Wed, Nov 19, 2008 at 12:44 PM, Carlos Pita [EMAIL PROTECTED] wrote: The last one of the saga for now, I badly need to sleep. I've been sampling tomcat work dir every

Re: Page Map File Sizes.

2008-11-17 Thread Matej Knopp
Hi, the maximal file size of each pagemap file is configurable. -Matej On Tue, Nov 18, 2008 at 3:06 AM, Graeme Knight [EMAIL PROTECTED] wrote: I guess I can answer my own question: So let's say our page is 50k. We have 1000 users on a server. With each user having 100 click throughs before

Re: Page Map File Sizes.

2008-11-17 Thread Matej Knopp
] wrote: Thanks Matej! That's awesome! I will look into it! Regards, Graeme. Matej Knopp-2 wrote: Hi, the maximal file size of each pagemap file is configurable. -Matej On Tue, Nov 18, 2008 at 3:06 AM, Graeme Knight [EMAIL PROTECTED] wrote: I guess I can answer my own question: So

Re: Page references and serialization

2008-11-14 Thread Matej Knopp
That would be a bug then. What wicket version are you using? -Matej On Fri, Nov 14, 2008 at 4:11 PM, Cristiano Kliemann [EMAIL PROTECTED] wrote: Martijn, I'm pretty sure it is serializing PageA again. I've put some breakpoints to confirm it (at DiskPageStore.PageSavingThread.run()). Also,

Re: Pretty url for tabs

2008-11-12 Thread Matej Knopp
This is not possible to do with Wicket unless you have each tab on different page. -Matej On Wed, Nov 12, 2008 at 12:46 AM, rmoskal [EMAIL PROTECTED] wrote: I'm familiar with the a lot of the strategies that make for nicer urls in Wicket, but am at a loss for how to make the urls for a

Re: Should/Could ServletWebRequest.isAjax be cached?

2008-11-01 Thread Matej Knopp
Sure this is valid but i can't imagine why this would be a bottleneck. Unless the webserver does something very weird while retrieving the header. -Matej On Sat, Nov 1, 2008 at 6:01 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: looks good, please create a jira issue. -igor On Sat, Nov 1, 2008

Re: inmethod / grid website?

2008-10-30 Thread Matej Knopp
could write a bit about it on wicketstuff wiki.. And which license are it under? It looks really cool btw. Matej Knopp wrote: There is branch for Wicket 1.3 in Wicketstuff SVN. -Matej On Wed, Oct 29, 2008 at 10:41 PM, Edvin Syse [EMAIL PROTECTED] wrote: What version of Wicket

Re: inmethod / grid website?

2008-10-29 Thread Matej Knopp
There is branch for Wicket 1.3 in Wicketstuff SVN. -Matej On Wed, Oct 29, 2008 at 10:41 PM, Edvin Syse [EMAIL PROTECTED] wrote: What version of Wicket is this compiled against? I tried using it with 1.3.5 and it seems AbstractGrid is trying to call a method called init in

Re: Illegal State Exception on DefaultTeeModel.removeNodeFromParent

2008-10-28 Thread Matej Knopp
Might be a big. Jira issue with attached quickstart project to reproduce it would be helpful. -Matej On Mon, Oct 27, 2008 at 11:24 AM, Hannes Schubert [EMAIL PROTECTED] wrote: Hi all, if I call removeNodeFromParent for the last (and only) child node of a parent node on second or deeper

Re: Wicket modals are not working in IE8 and Google chrome browsers

2008-10-24 Thread Matej Knopp
With IE8? That's a bad joke. The browser is nowhere near being usable even in beta2. -Matej 2008/10/24 Anirban Basak [EMAIL PROTECTED]: Hi, I'm using wicket for last 5+ months in my current project. We are planning to go live by mid Nov with a beta version. Yesterday our client came up

Re: inmethod / grid website?

2008-10-21 Thread Matej Knopp
Hi, I'm sorry about it, been a bit busy lately. The grid is in Wicket Stuff SVN. It's likely that it will get to Wicket 1.5 extension. I wanted to put info on wicketstuff wiki (where it imho belongs) but Wicket stuff firewall is blocking me. If anyone could do that for me it would be nice.

Re: ContextImage not generating path relative to context root

2008-10-21 Thread Matej Knopp
Al, do you have any idea? -Matej On Tue, Oct 21, 2008 at 10:18 AM, Gianni Doe [EMAIL PROTECTED] wrote: I'm a bit confused about ContextImage; according to the javadocs the image path will be prefixed such that the image is relative to the context root. In my markup I've got: img

Re: state of new ajax impl in 1.5

2008-10-17 Thread Matej Knopp
Whe ajaxng has package has been moved to _wicket package together with some new requestcycle stuff (that is not integrated in wicket and probably wont' be for quite some time). I don't think ajaxng will make it to 1.4. It's not only about that ajax implementation (that should be pretty stable),

Re: ModalWindow slow in Firefox3

2008-10-15 Thread Matej Knopp
I'm using FF3 on Mac and haven't noticed any speed problems. -Matej 2008/10/15 xiefei [EMAIL PROTECTED]: Anyone else suffer the problem that wicket ModalWindow run slow in Firefox3? This never happens in IE6, and Firefox2, as I remember. We are using 1.4m2

Re: AbstractPageStore memory implementation instead of disk

2008-10-10 Thread Matej Knopp
On Wed, Oct 8, 2008 at 10:30 AM, Ard Schrijvers [EMAIL PROTECTED] wrote: Hello, Again, serialization and writing to filesystem are two completely different things. Are you *really* sure that the writing (which is done in separate thread btw) is really the bottleneck? I have No, I am not

Re: AbstractPageStore memory implementation instead of disk

2008-10-07 Thread Matej Knopp
On Tue, Oct 7, 2008 at 4:24 PM, Ard Schrijvers [EMAIL PROTECTED] wrote: Hello Matej, I'd really be interested in how exactly did you come to conclusion that DiskPageStore writing to disk is the bottleneck. Unless your filesystem caching is broken :) Hmmm, don't think the filesystem cache is

Re: AbstractPageStore memory implementation instead of disk

2008-10-05 Thread Matej Knopp
I'd really be interested in how exactly did you come to conclusion that DiskPageStore writing to disk is the bottleneck. Unless your filesystem caching is broken :) Serialization takes a significant part of request processing, but that is necessary. -Matej On Fri, Oct 3, 2008 at 3:21 PM, Ard

Re: Sequence of wicket (ajax) requests

2008-10-01 Thread Matej Knopp
Ajax requests are queued on the client side, so for same page there would not be two paralel ajax request. It is possible to have more queues on the client side, but even if you do that, the requests are still synced on page serverside. -Matej On Wed, Oct 1, 2008 at 6:02 PM, rmorrisey [EMAIL

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-30 Thread Matej Knopp
, Matej Knopp [EMAIL PROTECTED] wrote: Okay, let's keep this focused. Here is my experimental branch. http://svn.apache.org/repos/asf/wicket/sandbox/knopp/experimental/ There is new Ajax implementation here: http://svn.apache.org/repos/asf/wicket/sandbox/knopp/experimental/wicket/src/main/java

Re: Migrating to 1.3 and ajax tree's

2008-09-30 Thread Matej Knopp
Hi, On Tue, Sep 30, 2008 at 3:10 PM, Alexander Anguiano [EMAIL PROTECTED] wrote: Hi, I'm migrating to 1.3 and the notes recommend the new tree implementation in the 1.3 and not the one in extension. I have a couple of question about this 1) Which Tree class do I use? BaseTree?

Re: Inmethod Grid with wicket 1.3

2008-09-30 Thread Matej Knopp
a blank line to add a new row at the end would be nice too, but I think I can figure that out myself... Thanks, -- Jim. On Mon, Sep 29, 2008 at 5:57 PM, Jim Pinkham [EMAIL PROTECTED] wrote: That did the trick, thanks a million! On Mon, Sep 29, 2008 at 5:20 PM, Matej Knopp [EMAIL PROTECTED

Re: Inmethod Grid with wicket 1.3

2008-09-30 Thread Matej Knopp
AM, Matej Knopp [EMAIL PROTECTED] wrote: If you want to save the entity, SubmitCancelColumn is indeed the right place. but you should be overriding the onSubmitted method. As for custom delete link in SubmitCancelColumn, that might be a bit problematic as the panel is package private. Anyway

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-29 Thread Matej Knopp
/jQuerytoshipwithASPNETMVCandVisualStudio.aspx Jörn On Wed, Aug 27, 2008 at 1:05 AM, Matej Knopp [EMAIL PROTECTED] wrote: On Wed, Aug 27, 2008 at 12:50 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 10:19 PM, Matej Knopp [EMAIL PROTECTED] wrote: Hi, On Tue, Aug 26, 2008 at 9:24 PM, jWeekend [EMAIL

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-29 Thread Matej Knopp
Jörn On Mon, Sep 29, 2008 at 12:54 PM, Matej Knopp [EMAIL PROTECTED] wrote: Are you really that surprised that Microsoft is not shipping YUI after the failed attempts to take over Yahoo? :) Seriously, there are technical reasons why I considered to use YUI, not political. Just because some

Re: The Wicket difference ...?

2008-09-29 Thread Matej Knopp
Hi, On Mon, Sep 29, 2008 at 4:13 PM, Ashley Aitken [EMAIL PROTECTED] wrote: Howdy All, Just trying to explain to some colleagues how some of Wicket works (differently than most other Web frameworks), so please correct me if I am wrong. From my understanding Wicket differs from most other

Re: Inmethod Grid with wicket 1.3

2008-09-29 Thread Matej Knopp
I don't think the grid snapshots in maven are recent enough. You should fetch it from svn and build it yourself if you want to use it. Also keep in mind that grid version for 1.3 is in the 1.3 branch of wicket stuff, not the trunk:

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-29 Thread Matej Knopp
was: What library would you recommend but your own?. Two of the three non-jQuery guys recommened jQuery On Mon, Sep 29, 2008 at 1:41 PM, Matej Knopp [EMAIL PROTECTED] wrote: On Mon, Sep 29, 2008 at 1:18 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: It would be a big plus for me if Wicket would adopt

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-29 Thread Matej Knopp
Okay, let's keep this focused. Here is my experimental branch. http://svn.apache.org/repos/asf/wicket/sandbox/knopp/experimental/ There is new Ajax implementation here:

Re: Javascript in wicket:head via Ajax

2008-09-26 Thread Matej Knopp
That's not a bug in Wicket. If you place javascript in head you have to either enclose the content in cdata block or escale and with lt; and gt; Otherwise it's not valid xml. -Matej On Fri, Sep 26, 2008 at 2:40 AM, Dreamage [EMAIL PROTECTED] wrote: Hi, Is the content of wicket:head tags is

Re: Model object not geeting updated inside a RefreshingView

2008-09-26 Thread Matej Knopp
That's probably because refreshing view is creating new components on every request. Try using listView nad don't forget to call setReuseItems(true) on it. -Matej On Fri, Sep 26, 2008 at 4:49 PM, krisnv [EMAIL PROTECTED] wrote: can any of you please respond. krisnv wrote: pI have

Re: Hooking AJAX requests

2008-09-25 Thread Matej Knopp
You can do it in javascript using Wicket.Ajax.registerPostCallHandler(yourhandler); -Matej On Thu, Sep 25, 2008 at 9:04 PM, John Krasnay [EMAIL PROTECTED] wrote: Hi folks, I'm trying to integrate the Dean Edwards IE7.js script (http://dean.edwards.name/IE7/) into my Wicket app. For those

Re: Wizard in Modalwindow getting alert message upon using the Wizard buttons

2008-09-24 Thread Matej Knopp
Please create jira issue for this. Quickstart project to demonstrate the behavior would be welcome. -Matej On Wed, Sep 24, 2008 at 7:45 AM, Kuga [EMAIL PROTECTED] wrote: Can anyone please help me with any possible solution or hints? Greatly appreciate your comments, help. Thanks kuga Kuga

Re: Conceptual Ajax problem?

2008-09-24 Thread Matej Knopp
Well, you can reverse the order of behaviors. Unfortunately currently in wicket behavior index identifies the behavior which doesn't seem to be the most solid approach. Maybe we could do something better in 1.5. -Matej On Wed, Sep 24, 2008 at 1:26 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL

Re: Ajax calls loads my server

2008-09-24 Thread Matej Knopp
If it doesn't call the server than it's not Ajax... Anyway, you can accomplish what you want by writing the javascript by yourself. Or use Check, CheckGroup and CheckGroupSelector components that user client side javascript to change the state of checkboxes. -Matej On Wed, Sep 24, 2008 at 6:12

Re: Wicket critique

2008-09-23 Thread Matej Knopp
I don't think it really is Wicket critique. It's more critique of Maven. -Matej On Tue, Sep 23, 2008 at 10:44 AM, Yiannis Mavroukakis [EMAIL PROTECTED] wrote: http://stackoverflow.com/questions/116978/can-anyone-recommend-a-simple-java-web-app-framework Anyone interested in replying to this?

Re: MultiFileUploadField on a ModalWindow close issue

2008-09-23 Thread Matej Knopp
Hi, perhaps the easiest way to accomplish would be to add AjaxTimerBehavior to page in modal window on submit. The bavior could have time set for 1 second and close the modal window from within the ajax request it invokes. -Matej On Tue, Sep 23, 2008 at 7:06 AM, Flavius [EMAIL PROTECTED] wrote:

Re: Wicket Markup parse doesn't handle Conditional Comments

2008-09-23 Thread Matej Knopp
report this as a bug? On Mon, Sep 22, 2008 at 6:57 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: We are using conditional comments in our base page without any issues. Dunno if that page isn't parsed my the MarkupParser for some reason... Jörn On Mon, Sep 22, 2008 at 5:49 PM, Matej Knopp [EMAIL

Re: AjaxRequestTarget is null in Internet Explorer 6

2008-09-23 Thread Matej Knopp
What happens if you change AjaxFallbackLink to simple AjaxLink? That would mean problems with xmlhttprequest in IE6. There are some users complaining with cetain IE6 revisions, but so far I have been unable to reproduce this problem. And unless I reproduce it there really is no way for me to fix

Re: AjaxRequestTarget is null in Internet Explorer 6

2008-09-23 Thread Matej Knopp
.040803-2158 My AjaxRequestTarget is still null even if I use AjaxLink instead of AjaxFallbackLink. Matej Knopp-2 wrote: What happens if you change AjaxFallbackLink to simple AjaxLink? That would mean problems with xmlhttprequest in IE6. There are some users complaining with cetain IE6

Re: Best to strategy to have a Wicket page returns a binary content by default

2008-09-23 Thread Matej Knopp
You don't have to do this from the pages. You can create your own simple IRequestTargetUrlCodingStrategy that resolves to your request target and mount the strategy. -Matej On Tue, Sep 23, 2008 at 12:45 PM, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Guys, I'm using Wicket to create pdf content

Re: error parsing ajax response

2008-09-22 Thread Matej Knopp
looks like there is an ecoding problem. which is quite weird. Please open jira issue for this. A quickstart project would be welcome. -Matej On Mon, Sep 22, 2008 at 1:16 PM, lars vonk [EMAIL PROTECTED] wrote: I did some more debugging and found this more detailed error message: XML Parsing

Re: error parsing ajax response

2008-09-22 Thread Matej Knopp
the complete char array to the response. That caused some strange characters being added to the response object that the javascript DomParser can not handle. Do you still want me to create a jira issue for this? I don;t think it is a bug right? Lars On Mon, Sep 22, 2008 at 2:16 PM, Matej Knopp

Re: Wicket Markup parse doesn't handle Conditional Comments

2008-09-22 Thread Matej Knopp
Well, if it is a valid xml then it is bug in our parser. -Matej On Mon, Sep 22, 2008 at 5:44 PM, Igor Vaynberg [EMAIL PROTECTED]wrote: you are going to have to output the whole thing using a label or header contributor. our parser cant handle the non-standard comment tags yet. -igor On

Re: Adding jquery effects to paging navigator

2008-09-22 Thread Matej Knopp
You can add simple AbstractBehavior i.e. link.add(new AbstractBehavior() { pubic void onComponentTag(Component component, Tag tag) { tag.put(onclick, onclickscript); } }); but you have to make sure you'll adding it to the right component. -Matej On Mon, Sep 22, 2008 at 11:12 PM, Serkan

Re: Kill session on closing browser

2008-09-19 Thread Matej Knopp
Either the browser doesn't kill cookie on close or she has cookies disabled, had url with session id encoded and returned back to that url while the session was still active server side. -Matej On Fri, Sep 19, 2008 at 9:34 PM, James Carman [EMAIL PROTECTED]wrote: Are they closing all instances

Re: Scalability PageMaps

2008-09-18 Thread Matej Knopp
I don't you you want to come anywhere near the amount of 32k files in single folder. I wouldn't assume that every filesystem can handle such amount without performance problems. -Matej On Thu, Sep 18, 2008 at 1:49 PM, Johan Compagner [EMAIL PROTECTED]wrote: yes having this configurable looks

Re: Scalability PageMaps

2008-09-18 Thread Matej Knopp
Also, looking at this whole thing. 32000 concurrent sessions on one machine? What are you trying to achieve? I have yet to see a machine that can handle 32k concurrent users... -Matej On Thu, Sep 18, 2008 at 4:12 PM, Matej Knopp [EMAIL PROTECTED] wrote: I don't you you want to come anywhere

Re: head after /body

2008-09-17 Thread Matej Knopp
Anyway, I don't think the cache pragma makes some difference as we set the proper http headers. Pragmas are just alternative thing to do so. -Matej On Wed, Sep 17, 2008 at 10:28 PM, Stefan Lindner [EMAIL PROTECTED]wrote: A microsoft tech tip (http://support.microsoft.com/kb/222064) for IE

Re: Scalability PageMaps

2008-09-16 Thread Matej Knopp
I had a quick glance at the patch. The folder hierarchy it creates seems to be quite deep, i'm not sure if that is necessary. Perhaps 3-4 levels would be enough? Also I'm afraid that this approach would leave lot of empty folders. -Matej On Tue, Sep 16, 2008 at 3:55 PM, Uwe Schäfer [EMAIL

Re: AjaxLink setResponsePage Channel busy - postponing

2008-09-16 Thread Matej Knopp
For some reason the redirect didn't happen. What wicket version are you using? -Matej On Tue, Sep 16, 2008 at 5:43 PM, Louis Letourneau [EMAIL PROTECTED] wrote: When I click on an AjaxLink that does a setResponsePage towards a ResourceStreamRequestTarget, afetr the download, the links on the

Re: AjaxLink setResponsePage Channel busy - postponing

2008-09-16 Thread Matej Knopp
on 'fileDownload'. Louis Matej Knopp wrote: For some reason the redirect didn't happen. What wicket version are you using? -Matej On Tue, Sep 16, 2008 at 5:43 PM, Louis Letourneau [EMAIL PROTECTED] wrote: When I click on an AjaxLink that does a setResponsePage towards

Re: Scalability PageMaps

2008-09-16 Thread Matej Knopp
Another approach would be just counting hash from session id and mod it. -Matej On Tue, Sep 16, 2008 at 6:00 PM, Uwe Schäfer [EMAIL PROTECTED]wrote: Matej Knopp schrieb: I had a quick glance at the patch. The folder hierarchy it creates seems to be quite deep, i'm not sure

Re: Having trouble with ajax link

2008-09-16 Thread Matej Knopp
Try using AjaxButton. -Matej On Tue, Sep 16, 2008 at 10:57 PM, walnutmon [EMAIL PROTECTED]wrote: All, This seems like a simple issue, but I have been stumped for hours... Basically I have a form that includes a text area where you can enter HTML, to the right of this text area is a

Re: Scalability PageMaps

2008-09-16 Thread Matej Knopp
Knopp [EMAIL PROTECTED] wrote: Another approach would be just counting hash from session id and mod it. -Matej On Tue, Sep 16, 2008 at 6:00 PM, Uwe Schäfer [EMAIL PROTECTED]wrote: Matej Knopp schrieb: I had a quick glance at the patch. The folder hierarchy it creates seems

<    1   2   3   4   5   6   7   8   >