Re: ajax dropdowns

2008-09-12 Thread Matej Knopp
prepend/append javascript should work. -Matej On Thu, Sep 11, 2008 at 11:15 PM, Scott Swank [EMAIL PROTECTED] wrote: This is apparently an IE6 bug, in that inserting an image in the dom above the select screws up the tabindex/focus in some way. If I have the span/image already in the dom and

Re: Form values lost in combination of Forms plus ModalWindow

2008-09-10 Thread Matej Knopp
that the component does not get the value from the model on rendering. Please see the doubts section at the end of the original e-mail. Thanks again, German 2008/9/9 Matej Knopp [EMAIL PROTECTED] The link that shows the modal window must be AjaxButton/SubmitLink. -Matej On Tue, Sep 9, 2008 at 11

Re: Form values lost in combination of Forms plus ModalWindow

2008-09-10 Thread Matej Knopp
. Thanks, German 2008/9/10 Matej Knopp [EMAIL PROTECTED] I would need a quick start to see where it is going wrong. -Matej On Wed, Sep 10, 2008 at 7:26 PM, German Morales [EMAIL PROTECTED] wrote: Investigating a little more, my problem seems to be caused by AjaxFormSubmitBehavior#onEvent

Re: Form values lost in combination of Forms plus ModalWindow

2008-09-10 Thread Matej Knopp
, not with the root form. Am i right? German PS: meanwhile i'm trying to produce a quickstart... but i guess it will take me some time. 2008/9/10 Matej Knopp [EMAIL PROTECTED] But that is exactly what should happen. Wicket javascript should find root form element and serialize that. Can you

Re: Form values lost in combination of Forms plus ModalWindow

2008-09-10 Thread Matej Knopp
up to that second form. I'm looking at the live Modal window example http://www.wicket-library.com/wicket-examples/ajax/modal-window.1 and i see that this behavior of adding a separated div at body level is normal, not something strange in my structure. German 2008/9/10 Matej Knopp [EMAIL

Re: Form values lost in combination of Forms plus ModalWindow

2008-09-10 Thread Matej Knopp
that the reason of my problem? That is intentional. I don't think that should cause you the problems. -Matej German 2008/9/10 Matej Knopp [EMAIL PROTECTED] Check if your DOM hierarchy is valid, e.g. if you don't have any div tag inside span tags. -Matej On Wed, Sep 10, 2008 at 10:08 PM, German

Re: wicketajaxget and waiting?

2008-09-09 Thread Matej Knopp
It has to be done different way. you can do it with onsuccess callback. This might be a bit tricky with current ajax implementation, it will be much easier in Wicket 1.5 -Matej On Tue, Sep 9, 2008 at 12:16 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi Im doing a mootip

Re: Form values lost in combination of Forms plus ModalWindow

2008-09-09 Thread Matej Knopp
The link that shows the modal window must be AjaxButton/SubmitLink. -Matej On Tue, Sep 9, 2008 at 11:20 PM, German Morales [EMAIL PROTECTED] wrote: Hi all, I've a problem with Forms and ModalWindows. I have this stuff: -a page with a main Form (the only one that is rendered as an HTML form

Re: PropertyModel/TextArea keeps reference to my detached object!

2008-09-06 Thread Matej Knopp
Hi, the problem is that you are doing this: new PropertyModel(getModelObject(),latestVersion.title))); This is not really model chaining, you bind PropertyModel with your Document diretly (not with the DocumentModel). You can try new PropertyModel(getModel(),latestVersion.title))); or just new

Re: Session still valid if user returns?

2008-09-05 Thread Matej Knopp
Yes, if a) the session hasn't expired yet (there's inactivity period after which session expires, usually set to 30 minutes) b) user hasn't closed the browser - the session cookie is still valid or c) session id is encoded in URL. -Matej On Fri, Sep 5, 2008 at 9:47 AM, Liz Huber [EMAIL

Re: Making a Behavior that adds a script after a component?

2008-09-05 Thread Matej Knopp
if you use renderOnDomReadyJavascript method of IHeaderResponse it will be invoked after ajax request. -Matej On Fri, Sep 5, 2008 at 3:41 PM, Pointbreak [EMAIL PROTECTED] wrote: I have a couple of behaviors that add javascript to the header of a document, to change attributes or add event

Re: Stripping Javascript problem

2008-09-04 Thread Matej Knopp
This should be fixed in latest trunk and latest of 1.3 branch. You can either use snapshots or disable javascript stripping until you'll be able to upgrade. -Matej On Thu, Sep 4, 2008 at 3:56 PM, FakeBoy [EMAIL PROTECTED] wrote: Hello all, I have some problem with using my app in DEPLOYMENT

Re: Google Chrome Wicke

2008-09-04 Thread Matej Knopp
Safari supports DOMParser since 2.0.1, thus both WebKit and Chrome (which uses WebKit) support that as well. -Matej On Thu, Sep 4, 2008 at 5:26 PM, lesterburlap [EMAIL PROTECTED] wrote: This is the related section of wicket-ajax.js (~line 985 in 1.3.4) right before that error message is

Re: Google Chrome Wicke

2008-09-03 Thread Matej Knopp
: Invoking pre-call handler(s)... INFO: Received ajax response (0 characters) INFO: ERROR: Error while parsing response: Could not find root ajax-response element INFO: Invoking post-call handler(s)... INFO: Invoking failure handler(s)... HTH -Chris Matej Knopp-2 wrote: Modal window seems

Re: Discussion on Wicket Interface Speed-Up

2008-09-03 Thread Matej Knopp
There is yet another thing to consider. Iphone doesn't cache resources bigger than 25kb (after unzipping). So instead of grouping files together sometimes it even might be appropriate to split them... -Matej On Wed, Sep 3, 2008 at 4:11 PM, [EMAIL PROTECTED] wrote: It's not the pages that have

Re: Wicket Modal Window - IFrame

2008-09-03 Thread Matej Knopp
On Wed, Sep 3, 2008 at 10:13 PM, Shaun Thompson [EMAIL PROTECTED] wrote: I'm currently running into an issue with the wicket modal window. My situation is this. Wicket App A contains an IFrame sourcing Wicket App B. B has an Wicket IFrame modal window on one of it's pages. When

Re: Google Chrome Wicke

2008-09-02 Thread Matej Knopp
Modal window seems to work fine for me, except that events are not propagated when mouse is over iframe. Tabbed panel works fine, so does editable label and clock example. (tested with latest 1.4 examples) -Matej On Tue, Sep 2, 2008 at 11:53 PM, cstein1206 [EMAIL PROTECTED] wrote: I have

Re: build from the wicket-1.4-m3 source failing

2008-09-01 Thread Matej Knopp
What good it is to tell us which version you are using? The latest is IIRC updated 16 so your JDK/JRE is really outdated. Please update your JDK first before complaining. And when it still doesn't work let us know. -Matej On Mon, Sep 1, 2008 at 3:34 PM, wicket user [EMAIL PROTECTED] wrote: i am

Re: Browser multiple tabs and page expired/class not found issues

2008-08-31 Thread Matej Knopp
Was it bookmarkable URL or hybrid? -Matej On Sun, Aug 31, 2008 at 11:05 PM, Johan Compagner [EMAIL PROTECTED] wrote: This should work find if you version your pages. Can you make an jira issue with a sample? On 8/29/08, Ritesh Trivedi [EMAIL PROTECTED] wrote: Hi, I have tried opening 2

Re: Browser multiple tabs and page expired/class not found issues

2008-08-31 Thread Matej Knopp
this makes the URL to have ?wicket:interface.. Shouldnt mounted bookmarkable pages - even though they are created using constructor have the mounted url format? I will try to create a sample app to reproduce the issue. Matej Knopp-2 wrote: Was it bookmarkable URL or hybrid? -Matej On Sun, Aug 31

Re: Discussion on Wicket Interface Speed-Up

2008-08-29 Thread Matej Knopp
On Fri, Aug 29, 2008 at 9:41 AM, Peter Ertl [EMAIL PROTECTED] wrote: I totally agree that having the version in the filename and not in the query string will be a-lot-better. Just wanted to point you to that option so you can include it in your excellent analysis on caching *thanks* :-)

Re: Can't include DownloadLink in LinkTree

2008-08-29 Thread Matej Knopp
You might want to try putting the link to a panel and returning panel from newContentComponent(); -Matej On Fri, Aug 29, 2008 at 3:38 PM, leroudav [EMAIL PROTECTED] wrote: Hi everyone! First of all, thanks for helping 2 french wicket padawan developers :-) We tried to make a Tree for our

Re: strange ajax hang-up problem at IE6, windows 98

2008-08-28 Thread Matej Knopp
Hi, You can create a jira issue for it, unfortunately I don't think I'll be able to try to reproduce it as I don't have any machine with W98 + IE6 around. Who does use that anyway? Last time I checked it was 2008... (Anyway, even for Windows 98 there are bunch of browsers available that are way

Re: wicket-event added twice problem

2008-08-28 Thread Matej Knopp
:) Lightbox, not livebox 2008/8/28 Tomasz Prus [EMAIL PROTECTED] Wicket 1.3.4 When i add livebox JS script and google maps then livebox doesn't work properly because wicket-event is added twice. 2008/8/27 Matej Knopp [EMAIL PROTECTED] What wicket version? This should be filtered

Re: Ajax testing with Selenium

2008-08-28 Thread Matej Knopp
Probably not for 1.3/1.4. We could have something like that for 1.5 (where the ajax pipeline is completely new). -Matej On Thu, Aug 28, 2008 at 6:23 PM, John Krasnay [EMAIL PROTECTED] wrote: I'm testing some Ajax-y Wicket pages with Selenium. One challenge I'm having is finding a good

Re: Problem with multiple browser windows and locked page maps

2008-08-28 Thread Matej Knopp
Hi, the long running process should be executed in separate thread. You can make wicket periodically poll for result (via ajax). It is generally not a good idea to run action that potentially can take long time to complete from a request thread. -Matej On Thu, Aug 28, 2008 at 8:42 PM, Jan

Re: Problem with multiple browser windows and locked page maps

2008-08-28 Thread Matej Knopp
: I agree, that's a better long-term fix. Even so, isn't it wrong that the request from a new window is locked waiting on the other window's page map - I would have thought the new window should have ended up with its own page map? Regards, Jan 2008/8/29 Matej Knopp [EMAIL PROTECTED] Hi

Re: Override HeaderResponse' renderJavascript() method

2008-08-27 Thread Matej Knopp
Don't specify the id. Just put there null, the javascript will be always rendered. -Matej On Wed, Aug 27, 2008 at 3:20 AM, 张伟 [EMAIL PROTECTED] wrote: Hello, I use the renderJavascript(java.lang.CharSequence javascript, java.lang.String id) method in HeaderResponse class to output the

Re: wicket-event added twice problem

2008-08-27 Thread Matej Knopp
What wicket version? This should be filtered by wicket. -Matej On Wed, Aug 27, 2008 at 4:13 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: show us some code..:) Tomasz Prus wrote: Hi I have problem because wicket-event.js is added twice and couse error. (each

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Matej Knopp
Hi, I haven't announced yet publicly but for some time I was working on Ajax implementation for 1.5. The work is available in /repos/asf/wicket/sandbox/knopp/experimental/wicket I will put together a wiki page when I have some free time. I have of course considered jquery. I gave it a proper

Re: wicket frame and tree

2008-08-26 Thread Matej Knopp
Generally it's not a good idea to use frames for things like this. Especially with a stateful framework like wicket. Are you absolutely necessary you need frames? Why? -Matej On Tue, Aug 26, 2008 at 3:45 PM, fish3934 [EMAIL PROTECTED] wrote: Hi, I have a web application that required to use

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

2008-08-26 Thread Matej Knopp
framework is to get rid of most of the low level browser specific code we have currently so that I wouldn't have to maintain it :) -Matej Matej Knopp-2 wrote: Hi, I haven't announced yet publicly but for some time I was working on Ajax implementation for 1.5. The work is available in /repos

Re: IClusterable -- When should it be used?

2008-08-26 Thread Matej Knopp
Right now there really isn't any practical reason for having IClusterable at all. Even terracotta uses regular serialization to get pages over cluster. -Matej On Tue, Aug 26, 2008 at 10:26 PM, Johan Compagner [EMAIL PROTECTED] wrote: if you have objects that would be kept in the session, you

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

2008-08-26 Thread Matej Knopp
in web development :) my 2 pct Am 26.08.2008 um 22:19 schrieb Matej Knopp: Hi, On Tue, Aug 26, 2008 at 9:24 PM, jWeekend [EMAIL PROTECTED] wrote: Matej, What are the implications of the decision to base Wicket Ajax Next Generation on YUI in terms of choosing a Javascript library

Re: Wicket merchandise?

2008-08-21 Thread Matej Knopp
The Apache word needs some kerning adjustments :) -Matej On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote: Thanks for the inspiration... black looks really nice! Imagine a black t-shirt or a black mug with this: http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Re: TreeGrid and DataGrid open source

2008-08-21 Thread Matej Knopp
Hi, the source code is available in the Wicket Stuff SVN https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/inmethod-grid/ -Matej On Wed, Aug 20, 2008 at 5:09 PM, Fkleinko [EMAIL PROTECTED] wrote: Thank you but where can i download the jar or even beter the osgi bundle.

Re: Wicket merchandise?

2008-08-21 Thread Matej Knopp
-wicket-tshirt.png http://stuq.nl/media/image/apache-wicket-tshirt-black.png Regards, Daan On 21 aug 2008, at 14:46, Matej Knopp wrote: The Apache word needs some kerning adjustments :) -Matej On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote: Thanks

Re: Jobs, opertunities and this mailing list

2008-08-21 Thread Matej Knopp
Go ahead, feel free to post the job ads, as long as they are wicket related. -Matej On Thu, Aug 21, 2008 at 4:07 PM, Wayne Pope [EMAIL PROTECTED] wrote: Hi everyone, whats the policy here about advertising jobs or project/dev oppertunities? I'm creating something new and I'm looking for

Re: url after form submit with redirect

2008-08-21 Thread Matej Knopp
Just mount the page with HybridUrlCodingStrategy. -Matej On Thu, Aug 21, 2008 at 3:50 PM, miro [EMAIL PROTECTED] wrote: Assume I passed my instance in setResponse() method , in this case wicket generates its own url basically from the session , so this means i cannot expect to have the

Re: Page serialisation

2008-08-21 Thread Matej Knopp
That is right. -Matej On Wed, Aug 20, 2008 at 6:46 PM, James Carman [EMAIL PROTECTED] wrote: Ahh, so the information is serialized in the same thread, but the actual saving to disk goes on in another thread. Is that right? On Wed, Aug 20, 2008 at 12:38 PM, Johan Compagner [EMAIL PROTECTED]

Re: Page serialisation

2008-08-21 Thread Matej Knopp
Of course they do need to be saved. What if after the ajax request there is regular request that shows new page. User goes back and expects to see the previous page as it was after the *last* ajax request, so we need to save and serialize it. -Matej On Wed, Aug 20, 2008 at 7:29 PM, John

Re: Page serialisation

2008-08-21 Thread Matej Knopp
I was thinking about implementing it like this. But, it would make code that is already complicated even more complicated. What's worst, it wouldn't work in clustered environment where you need to send the page across cluster on every request. So the possible performance benefit of this would

Re: Page serialisation

2008-08-21 Thread Matej Knopp
I think think it is. Go ahead if you feel like it. -Matej On Thu, Aug 21, 2008 at 5:02 PM, James Carman [EMAIL PROTECTED] wrote: I need to write that down. I think I keep forgetting that. Is this stuff outlined/discussed on one of the wiki pages? On Thu, Aug 21, 2008 at 10:17 AM, Matej

Re: Page serialisation

2008-08-21 Thread Matej Knopp
I hoped for full back button support for ajax... I bet you did... -Matej -Matej On Wed, Aug 20, 2008 at 7:14 PM, John Patterson [EMAIL PROTECTED] wrote: But all access to the session is serialised? I don't see where a version could be lost Normal request for page A: store in

Re: datepicker and inmethod

2008-08-21 Thread Matej Knopp
probably yui version clashes... -Matej On Thu, Aug 21, 2008 at 5:58 PM, miata [EMAIL PROTECTED] wrote: Do you have the solution, I have the same problem... madx wrote: Error: lang.later is not a function Source File:

Re: MetaData Type

2008-08-21 Thread Matej Knopp
perhaps the metadate generification could stand another look. -Matej On Thu, Aug 21, 2008 at 5:22 PM, John Patterson [EMAIL PROTECTED] wrote: Hi fellow wicketeers, I was wondering why Application.setMetaData() is defined to take an Object and not a T or ? extends T. I'm sure there's

Re: FeedbackPanel default outputMarkupId = true

2008-08-19 Thread Matej Knopp
Just making feedback panel write markup id doesn't mean your application has to be all ajaxy... -Matej On Tue, Aug 19, 2008 at 8:25 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: I still for one try to get ajax away for public(unauthorized) parts, for seo and caching

Re: IndicatingAjaxLink with BaseTree appends after /td

2008-08-19 Thread Matej Knopp
Hi, This is caused by the fact that component border is rendered after/before behaviors. We can't really change this for 1.3 because it could break existing applications. I have changed the rendering order in trunk (1.4) though. -Matej On Mon, Aug 18, 2008 at 3:36 PM, Kaspar Fischer [EMAIL

Re: Nested forms

2008-08-18 Thread Matej Knopp
Can't you just override isEnabled() on the inner form and return true/false depending on whether the inner form should be processed? -Matej On Mon, Aug 18, 2008 at 10:42 PM, John Krasnay [EMAIL PROTECTED] wrote: Hi folks, I find myself occasionally using nested forms in my Wicket apps. With

Re: feedback question

2008-08-17 Thread Matej Knopp
Hi, if you add those components in getDependentFormComponents() it probably won't work, because the validate method will only be called if all of those components are valid. Which kinda renders your validator useless :) So your approach with returning empty list is probably right. -Matej On

Re: Pretty URLs depending on a Page's state (not params)

2008-08-13 Thread Matej Knopp
On Wed, Aug 13, 2008 at 5:01 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: On Wed, Aug 13, 2008 at 12:38 AM, pixologe [EMAIL PROTECTED] wrote: but still I would be even happier with wicket if there was a hybrid solution which enabled a page to hold state beyond its pretty URL params There will be

Re: Customizing treeTable.

2008-08-11 Thread Matej Knopp
Hi, with current layout it is not possible for the TreeTable to have variable row height. -Matej On Mon, Aug 11, 2008 at 2:13 PM, kag1526 [EMAIL PROTECTED] wrote: I am using a tree table to display data from a database, however some of the rows in the tree table needs to have multiple values

Re: Feedback messages disappearing before display

2008-08-11 Thread Matej Knopp
If you want to show messages on another page you need to use session feedback messages (getSession().info) -Matej On Mon, Aug 11, 2008 at 9:47 PM, insom [EMAIL PROTECTED] wrote: I have a submit button that adds a message to my FeedbackPanel, like so: if (isTestPassed()) { ... } else

Re: Feedback messages disappearing before display

2008-08-11 Thread Matej Knopp
If you want to show messages on another page you need to use session feedback messages (getSession().info) -Matej On Mon, Aug 11, 2008 at 9:47 PM, insom [EMAIL PROTECTED] wrote: I have a submit button that adds a message to my FeedbackPanel, like so: if (isTestPassed()) { ... } else

Re: Escaping of strings containing in attributes

2008-08-05 Thread Matej Knopp
I think for 1.5 we should escape the tag attributes automatically. -Matej On Tue, Aug 5, 2008 at 4:49 PM, Stefan Fußenegger [EMAIL PROTECTED] wrote: no comments here? Stefan Fußenegger wrote: While validating some of my pages, I found out that some pages do not validate due to in

Re: LinkTree's overridden onNodeLinkClicked not being invoked after migrating from 1.3.3 to 1.4-m2

2008-08-04 Thread Matej Knopp
The method signature has changed. The TreeNode argument has been changed to Object. This you are probably not overriding the method. -Matej On Mon, Aug 4, 2008 at 10:09 PM, Goldstein, Jonathan A [EMAIL PROTECTED] wrote: My tree behavior was working fine using Wicket 1.3.3, but after migrating

Re: LinkTree's overridden onNodeLinkClicked not being invoked after migrating from 1.3.3 to 1.4-m2

2008-08-04 Thread Matej Knopp
585.422.4161 Internal 8*702-4161 Ease of Use Common Room 585.422.0731 Internal 8*702.0731 Fax 585.422.8116 [EMAIL PROTECTED] PSG.Workflow Business Unit.Workflow Business Team.FFPS Ease of Use Team www.xerox.com -Original Message- From: Matej Knopp [mailto:[EMAIL PROTECTED] Sent

Re: HybridURLs

2008-08-01 Thread Matej Knopp
[EMAIL PROTECTED] wrote: you have to encode the necessary state yourself into the page parameters. There is no way for Wicket to be able how to serialize the state in the URL in some magic way. Martijn On Fri, Aug 1, 2008 at 9:41 AM, Uwe Schäfer [EMAIL PROTECTED] wrote: Matej Knopp schrieb

Re: Let us list the frameworks and tools we use together with Wicket!

2008-08-01 Thread Matej Knopp
On Fri, Aug 1, 2008 at 2:23 PM, Paul Logasa Bogen II [EMAIL PROTECTED] wrote: I develop in Eclipse with SVN for source control. I user FFX3 with WebDeveloper Toolbar to debug CSS and Venkman to debug js (although if someone knows of a better js debugger please tell me). My project uses MySQL

Re: Dynamically Making changes to Tree Node

2008-08-01 Thread Matej Knopp
if it is possible to add different node components if I want to use the CheckBoxIconPanel or id what you suggested the only way to get this working... Thanks in advance, vishy Matej Knopp-2 wrote: You have to use different panel for each Tree item (depending on the tree node for that item

Re: HybridURLs

2008-07-31 Thread Matej Knopp
Hi, mount the page using HybridUrlCodingStrategy. The url for page instance (you can use PageLink for that) will than look like /foo/document/21.5 (where .5 denotes page instance). Note that such url *is* bookmarkable, the page instance number doesn't matter. Unfortunately wicket has to store

Re: Dynamically Making changes to Tree Node

2008-07-31 Thread Matej Knopp
You have to use different panel for each Tree item (depending on the tree node for that item). If you use BaseTree, implement the #newNodeComponent method accordingly. You can look at LinkTree or LabelTree for an example of how the implementation can look like. Or you can use LinkTree, override

Re: Refreshing a form inside a Modal Window

2008-07-31 Thread Matej Knopp
You need to show some code. -Matej On Fri, Aug 1, 2008 at 1:33 AM, vishy_sb [EMAIL PROTECTED] wrote: Is there anyone who has any clue about how this has to be done??? vishy_sb wrote: Hi all, I have Modal Window which contains a panel. Inside the panel I am trying to perform a

Re: Strange behavior with inMethod DataGrid inside a Panel inside a ModalWindow

2008-07-25 Thread Matej Knopp
Firefox) under Debian i686 and Debian x86_64 I am using Wicket 1.3.4 and the inMethod DataGrid is the current SVN code under the 1.3.x branch. plb Matej Knopp wrote: We use grid in modal window all the time. Can you be more specific about the setup (browser, grid version, wicket version

Re: This time last year .... is Wicket really a disappointment?

2008-07-24 Thread Matej Knopp
Too many constrains? Really? Just write a model that pull the image from whatever you want (even as static object property for that matter). Just because the model is serializable doesn't mean that the model object has to be serializable. That's a big differece. I've done a lot of JCR related

Re: Strange behavior with inMethod DataGrid inside a Panel inside a ModalWindow

2008-07-24 Thread Matej Knopp
We use grid in modal window all the time. Can you be more specific about the setup (browser, grid version, wicket version)? -Matej On Thu, Jul 24, 2008 at 10:56 PM, Paul Logasa Bogen II [EMAIL PROTECTED] wrote: Howdy, First of I'd like to say that I think Wicket is fantastic and after trying

Re: Error -channnel busy ..postponing

2008-07-21 Thread Matej Knopp
The postponing message should only be visible in ajax log. It only says that another request is in progress so the current one is postponed until the previous one finishes. -Matej On Mon, Jul 21, 2008 at 8:16 PM, Arun Wagle [EMAIL PROTECTED] wrote: Hello, I have a Modal dialog box which has

Re: Error -channnel busy ..postponing

2008-07-21 Thread Matej Knopp
the modified data again. It does nothing. How should I handle this if I have to do multiple submit one after another immediately ? Can you suggest some solution ? Regards, Arun Wagle Matej Knopp-2 wrote: The postponing message should only be visible in ajax log. It only says that another

Re: Versioning Ajax Calls

2008-07-15 Thread Matej Knopp
Wicket does not support back button for ajax requests. The problem is that ajax request can not modify the URL without reloading the page (apart from changing the hash part (after #), bu that never makes to the server. There are solutions for enabling back button for ajax applications, but they

Re: ModalWindow PageCreator Bug?

2008-07-14 Thread Matej Knopp
I'm sorry about this. It should be fixed in trunk. Did the broken revision made it to 1.4m3? -Matej On Mon, Jul 14, 2008 at 7:31 PM, Matthew Hanlon [EMAIL PROTECTED] wrote: I just updated my 1.4 SNAPSHOT to revision 676639 and I've started noticing an error in ModalWindow when using

Re: ModalWindow PageCreator Bug?

2008-07-14 Thread Matej Knopp
Looks like M3 should be fine. -Matej On Mon, Jul 14, 2008 at 7:51 PM, Matej Knopp [EMAIL PROTECTED] wrote: I'm sorry about this. It should be fixed in trunk. Did the broken revision made it to 1.4m3? -Matej On Mon, Jul 14, 2008 at 7:31 PM, Matthew Hanlon [EMAIL PROTECTED] wrote: I just

Re: Avoid page serialization

2008-07-10 Thread Matej Knopp
It is necessary as wicket uses serialization to make snapshot of page state to be able to revert it back on back button. -Matej On Thu, Jul 10, 2008 at 10:37 AM, Daniele Dellafiore [EMAIL PROTECTED] wrote: I am wondering if page serialization in wicket is always necessary. I have read this:

Re: Register Session end

2008-07-08 Thread Matej Knopp
Holding a JDBC connection in session is hardly a good idea. Anyway, take a look at HttpSessionListener. -Matej On Tue, Jul 8, 2008 at 5:39 PM, Stefan Lindner [EMAIL PROTECTED] wrote: How can I handle the end of a Session? I have a Session thet holds a JDBC-Connection. Now I want to close this

Re: Modal window and resource request target

2008-07-08 Thread Matej Knopp
This is a bit tricky thing to do. You'd have to redirect from ajax request. so you could get URL for the request listener and then use RedirectRequestTarget. -Matej On Tue, Jul 8, 2008 at 10:23 PM, jwray [EMAIL PROTECTED] wrote: Hi, I have the situation in which an action applied to a

Re: generics

2008-07-03 Thread Matej Knopp
functionality. On Thu, Jul 3, 2008 at 5:32 AM, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Wed, 02 Jul 2008, Matej Knopp wrote: I still don't see what's wrong with GenericPanel. It's certainly much easier to type than ModelContainingPanel. Nothing wrong with that either, it's just very generic

Re: generics

2008-07-03 Thread Matej Knopp
Ligther? Does it meen with no Compund and ComponentAssignedModel? Wouldn't that feel more like crippled? The default model slot doesn't take any runtime space when you don't use it, property would. And removing four methods from component will hardly make it much lighter. -Matej On Thu, Jul 3,

Re: generics

2008-07-03 Thread Matej Knopp
And there is some functionality in there that Wicket might be better without. For example, onModelChanged / Changing things become tricky when you share the same model between different instances. And when using setModelObject() with an object that is equal to the current model object, but a

Re: generics

2008-07-03 Thread Matej Knopp
On Thu, Jul 3, 2008 at 9:51 AM, Matej Knopp [EMAIL PROTECTED] wrote: And there is some functionality in there that Wicket might be better without. For example, onModelChanged / Changing things become tricky when you share the same model between different instances. And when using

Re: generics

2008-07-03 Thread Matej Knopp
On Thu, Jul 3, 2008 at 10:02 AM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 12:47 AM, Matej Knopp [EMAIL PROTECTED] wrote: Ligther? Does it meen with no Compund and ComponentAssignedModel? Wouldn't that feel more like crippled? The default model slot doesn't take any

Re: generics

2008-07-03 Thread Matej Knopp
at 10:08 AM, Matej Knopp [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 10:02 AM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 12:47 AM, Matej Knopp [EMAIL PROTECTED] wrote: Ligther? Does it meen with no Compund and ComponentAssignedModel? Wouldn't that feel more like crippled

Re: generics

2008-07-03 Thread Matej Knopp
On Thu, Jul 3, 2008 at 10:02 AM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 12:47 AM, Matej Knopp [EMAIL PROTECTED] wrote: Ligther? Does it meen with no Compund and ComponentAssignedModel? Wouldn't that feel more like crippled? The default model slot doesn't take any

Re: How to configure the max space used for all Session store on a WebApplication ?

2008-07-03 Thread Matej Knopp
Yeah, we don't shrink the files. We can't, that's not how DiskPageStore works. Anyway, what's the usecase? Are you trying to suggest that you're running out of disk space? :) -Matej On Thu, Jul 3, 2008 at 10:18 AM, Johan Compagner [EMAIL PROTECTED] wrote: that wont work. Because pages are

Re: generics

2008-07-02 Thread Matej Knopp
On Wed, Jul 2, 2008 at 4:28 AM, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Tue, 01 Jul 2008, Matej Knopp wrote: There is one thing that helped me quite a lot when migration the project I'm working out. I've created GenericPanel, GenericWebMarkupContainer and GenericFragment classes. In most

Re: IE/Safari - AjaxLink raises exception on Session-Expiry

2008-07-02 Thread Matej Knopp
Committed fix to trunk and 1.3. -Matej On Wed, Jul 2, 2008 at 7:10 PM, mfs [EMAIL PROTECTED] wrote: Can someone take a look into thisits a blocking issue for me Thanks in advance mfs wrote: Guys, I am facing this issue (with Safari/IE) with the usage of AjaxLink when used on a

Re: [PROPOSAL] Use path in URL when target is instance of BookmarkablePageRequestTarget

2008-07-02 Thread Matej Knopp
I'm not very eager about this. The interface listeners URLs are quite long, why making them even longer while bringing no additional benefit? Also are you sure thath your patch won't break under any circumstances relative urls? It took us a while to get relative URLs working reliably, I wouldn't

Re: generics

2008-07-01 Thread Matej Knopp
There is one thing that helped me quite a lot when migration the project I'm working out. I've created GenericPanel, GenericWebMarkupContainer and GenericFragment classes. In most cases the only change was renaming PanelMyClass to GenericPanelMyClass. I was wondering, even though those classes

Re: Firefox 3 Back button and BaseTree

2008-06-27 Thread Matej Knopp
Firefox caches the wrong version of DOM with the page. Unfortunately the only workaround I know about is to force firefox reloading page on backbutton by sending the no-store header. Look at WebPage#setHeaders. -Matej On Fri, Jun 27, 2008 at 11:06 PM, Kaspar Fischer [EMAIL PROTECTED] wrote: I

Re: Tomcat 6 clustering problem

2008-06-25 Thread Matej Knopp
Any chance you can try it with latest trunk? -Matej On Wed, Jun 25, 2008 at 3:18 PM, Artem D. [EMAIL PROTECTED] wrote: Hi all, I've got wicket 1.4-m2 based application running on two different network hosts configured as Tomcat 6 Simple TCP cluster. I try to simulate failover with session

Re: DefaultAbstractTree or BaseTree?

2008-06-21 Thread Matej Knopp
DefaultAbstractTree is indeed still deprecated and will be removed in 1.5. Closest to DefaultAbstractTree in the terms of functionality comes LinkTree, that uses LinkIconPanel as content component. LinkIconPanel does contain node icons. Look at the LinkTree source code, it's really short. -Matej

Re: Contributing CSS with Panel components?

2008-06-17 Thread Matej Knopp
Mind showing us some code? The pattern you are describing here is very common and it should work quite well. -Matej On Wed, Jun 18, 2008 at 12:55 AM, David Nedrow [EMAIL PROTECTED] wrote: Hmm, Google is not being helpful. Is there a way to contribute CSS when a Panel is added to a page? I

Re: Contributing CSS with Panel components?

2008-06-17 Thread Matej Knopp
. If it does it might be problem with Ajax header contribution. -Matej On Wed, Jun 18, 2008 at 1:04 AM, Matej Knopp [EMAIL PROTECTED] wrote: Mind showing us some code? The pattern you are describing here is very common and it should work quite well. -Matej On Wed, Jun 18, 2008 at 12:55 AM

Re: Making Component easier to Generify

2008-06-12 Thread Matej Knopp
Apart from the fact that this would be even more verbose than current generics approach this would probably also radically increase component memory footprint. -Matej On Thu, Jun 12, 2008 at 7:03 AM, cowwoc [EMAIL PROTECTED] wrote: Have you considered moving from subclassing to composition in

Re: Localizer cache with 150.000+ entries causing OutOfMemory

2008-06-12 Thread Matej Knopp
I think that should be already fixed in SVN. We didn't remove the entries on session expiration. -Matej On Thu, Jun 12, 2008 at 2:26 PM, Juha Alatalo [EMAIL PROTECTED] wrote: We are now using patched version of 1.3.X in a production environment and usage of memory seems to be much more stable.

Re: AbstractTree expandAll is missing

2008-06-10 Thread Matej Knopp
Looks like you are using the old tree... -Matej On Tue, Jun 10, 2008 at 8:40 AM, Dimedrol [EMAIL PROTECTED] wrote: jwcarman wrote: getTreeState().expandAll()? Hmmm, seems like I dont' have this procedure. See screenshot - http://i27.tinypic.com/30sg3t4.gif

Re: wicket generics

2008-06-10 Thread Matej Knopp
which is exactly what we are trying to avoid - having generics in Component. -Matej On Tue, Jun 10, 2008 at 6:19 PM, Ricky [EMAIL PROTECTED] wrote: I don't know if i was clear enough, sorry about that. I meant if you have something like : public ComponentMODEL extends IMODELID, ID extends

Re: wicket generics

2008-06-07 Thread Matej Knopp
The decoupling doesn't have to be extremely painful. We could leave support for the default slot in component, something like this: class Component { protected void setDefaultModel(IModel? model); protected IModel? getDefaultModel(); } class MyComponentT extends Component { public void

Re: strange links

2008-06-06 Thread Matej Knopp
The dots are there for a reason. Wicket generates relative URLs. -Matej On Fri, Jun 6, 2008 at 8:44 AM, Tomasz Prus [EMAIL PROTECTED] wrote: I have links like this a class=B href=../../../Logowanie in page source. My boss wants i remove these dots. Can anyone help me ?

Re: Inmethod grid: Paging calls DataSource.query twice

2008-06-04 Thread Matej Knopp
Hi, it shouldn't be called twice. I'll take a look into it. -Matej On Wed, Jun 4, 2008 at 9:36 AM, RUMikeP [EMAIL PROTECTED] wrote: Hi Please can someone let me know if it is bug or if there is a reason why when paging using the inmethod data grid, two calls are made to the datasource,

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-04 Thread Matej Knopp
There are also implementation issues that need to be considered. Currently the model is stored in a way that it doesn't take any place when not used. Having multiple models is rare, however, having one model that can (but doesn't have to) be used is more common imho. Wicket is kinda optimized for

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-04 Thread Matej Knopp
I don't really think this is the right discussion we should be having now :) Maybe 1.5 would be the right release for changes like that (if they are justified, which i'm not really convinced it is. Anyway, as I said before, storing (single) model in component has no overhead, so I don't really see

<    1   2   3   4   5   6   7   8   >